Vulnerability in some popular programming frameworks

Proposal Submission
[Security] Vulnerability in some popular programming frameworks
Proposed article introduction
With programming frameworks, developers can write codes faster and with less risk of errors. They go from the overwhelming tasks of writing codes from the ground up to utilizing these specialized tools that produce clean codes, make debugging easier, and provide more protected software. So, it is no surprise that frameworks are one of the many best friends of a developer.
With the popularity of these frameworks, there has been an increase in the search for vulnerabilities by attackers, making some tech companies skeptical about adopting any framework. Vulnerabilities in any framework give an attacker the opportunity to gain control of the software to carry out malicious acts like stealing data or corrupting the system. With the infamous belief that frameworks would ultimately protect the software, developers tend to be careless and ignore how these vulnerabilities can be exploited by a bad person.
In this article, we will highlight vulnerabilities in some popular programming frameworks, how poor knowledge of these vulnerabilities can expose the software and the steps to take for a more secure software.
Key takeaways
At the end of this article, readers would be able to:
●	Understand how important the security of a framework is, in terms of mitigating its vulnerabilities
●	Comprehend the common vulnerabilities in some popular programming frameworks
●	Learn the best measures to take as a developer to ensure that these vulnerabilities are not exploited
●	Have knowledge of the security features to look out for when choosing a framework for a project
Article quality
While other sites focus on the vulnerabilities in popular programming languages or analyze the underlying languages for some frameworks; this in-depth article focuses on the vulnerabilities of frameworks as an entity. It goes further to show the security features a developer should look out for when choosing a framework or even trying out a new version. Furthermore, this article sheds light on the role developers play in ensuring that the vulnerabilities of these frameworks are not exposed by their actions.
These are the content details that make the article unique from what has been published.
References
Vulnerabilities in web and app frameworks fall, but weaponization rate jumps – study
(https://portswigger.net/daily-swig/vulnerabilities-in-web-and-app-frameworks-fall-but-weaponization-rate-jumps-study)
What is a Framework in Programming & Why You Should Use One (https://www.netsolutions.com/insights/what-is-a-framework-in-programming/)
Top Programming Languages and Frameworks List For Software Development for 2022
(https://www.softermii.com/blog/top-programming-languages-and-frameworks-for-software-development)
How Secure Are Popular Web Frameworks? Here Is a Comparison (https://www.veracode.com/blog/secure-development/how-secure-are-popular-web-frameworks-here-comparison)
Conclusion
There is a saying that no matter how functional and extraordinary a framework is, it is the developer and not the tool that makes the difference in security. When the vulnerability of a framework is exploited by an attacker, not only the software but devices and systems connected to it will be severely damaged.
So, I hope this article would be vital in showing developers how some of their actions have exposed the vulnerabilities of the framework they use and the security features that mitigate these dangerous vulnerabilities. Consequently, developers and companies alike would be more informed when making decisions on the programming framework to use in a software project.

@AfubeAngel
👋
Sounds like a helpful topic - lets please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (We're really looking for unique/original content. EngEd articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it).
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure.
Please reference any relevant EngEd articles in yours. - Approved


Multi_user mode but for other model not user

I would like to integrate this into a Laravel Spark application, so that each "Team" can upload images to a specific private directory for that "Team". So it would be like "multi_user" mode but instead of using the User model, I want to use the "Team" model. Any way to handle this?

Hi @nfunwigabga
This is a good question.
I think it can simply be done by setting the user_field config.
For example, set user_field to your config provider
    'user_field' => Your\Own\UserFieldConfigProvider::class,

Inside UserFieldConfigProvider
<?php
namespace Your\Own;

class ConfigHandler
{
    public function userField()
    {
        return auth()->user()->team_id;
    }
}

where unique_team_id (or any DB field matching your purpose) should be a field represents the user's team identity.
an example table will look like
user table:
  id int autoincrease
  username varchar(64)
  team_id varchar(64)

with  'allow_multi_user' => true,, the team members are sharing their uploads inside their own specific  team_id folder

Closing inactive issue.


Fixed: Update RELOAD_PARTICIPANT_TARGET URL in production settings to avoid double slashes in social media share url

Update the RELOAD_PARTICIPANT_TARGET URL in the production settings to remove the trailing slash. This ensures consistency in the URL format.

refactor: Make string formatting of social media share link url more readable
Refactor the string formatting of the social media share link URL to improve readability. This change does not affect the functionality of the code.
test: Add test for social media info in BaseTest

Resolves #950

Thanks for that! I thought that we should actually go over our code and replace string formatting by os.path.join, wherever we want to combine paths, as this will effectively prevent this bug in the future (#952)


The remote server returned an error: (404) Not Found

I am developing a bot using Microsoft Bot Framework, botBuilder SDK v4 for Node.js.
I am using Azure blob storage in order to store the userState and the conversationState. The Blob storage contains 3 containers for production, staging and integration enivrements.
So, I configured that this way:
  try {
    const blobStorageConfig = botConfig.findServiceByNameOrId(
      process.env.BLOB_STORAGE_NAME
    );
    const blobStorage = new BlobStorage({
      containerName: blobStorageConfig.container,
      storageAccountOrConnectionString: blobStorageConfig.connectionString
    });
    conversationState = new ConversationState(blobStorage);
    userState = new UserState(blobStorage);
  } catch (error) {
    console.error(error);
  }

The userState and the conversationState was stored successfully while running the bot, but I got this Error in Azure logs, and the bot is not responding anymore:
2019-06-29T15:23:48
Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
   --- End of inner exception stack trace ---
   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
   at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.PutBlock(String blockId, Stream blockData, String contentMD5, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
   at Microsoft.WindowsAzure.WebSites.Diagnostics.AzureBlobTraceListener.AddNewBlockToBlob(Stream stream, List`1 blockIds, CloudBlockBlob blockBlob)
   at Microsoft.WindowsAzure.WebSites.Diagnostics.AzureBlobTraceListener.AppendStreamToBlob(Stream stream)
   at Microsoft.WindowsAzure.WebSites.Diagnostics.AzureBlobTraceListener.ConsumeBuffer()
Request Information
RequestID:m2d...
RequestDate:Wed, 29 June 2019 15:23:47 GMT
StatusMessage:The specified resource does not exist.
ErrorCode:ResourceNotFound

If you restart the bot, does it work again?
Is your storage service still running?
Are you developing from a sample? I can try to repro, but I'd like my bot to be as close to yours as possible.
If you can provide your appId, I can look into this further, as well.

Hi @mdrichardson, Thank you for your cooperation.

The bot worked after the restart.
The storage service is running and I can see new written data in the blob.
I am developing the bot based on the Basic Bot sample.
I am sorry, I can not provide the appId for security purpose.
I did not add the BLOB_STORAGE_NAME in the Application settings, should I?

For now the bot is working well, but I still get that exception randomly.

bot-docs/botframework-config

@montacerdk 	The code you posted has process.env.BLOB_STORAGE_NAME, which means that when deployed, your bot tries to read the Blob Storage Name from Application Settings. So yes, you should have that in there.
There aren't any known service outages that would cause your issue. Without your code or an AppId, there's not much other help I can give, unless you run the bot locally until it breaks and can copy/paste the code block where the exception is thrown.

Thank you @mdrichardson :)


ProjectSearchFiles error

input :ProjectSearchFiles and and enter return，then input file name, result is nothin，and then enter, an error is happen

d

Hi, thanks for your feedback.
I've fixed the error. It will show a message on opening an empty target. https://github.com/leafOfTree/vim-project/commit/4cc1c69e91387e0c4df19438a36f0fbba2a1284e


About the Evercrypt. AEAD file

Hi，
If I want to achieve AES encryption and decryption, which functions in this file need to be called? I do not understand the functions of each function in AEDE, I hope to get your answers, thank you

We currently don't expose standalone AES and recommend the AEAD construction for all your needs. Have you seen https://hacl-star.github.io/EverCryptAEAD.html?

Yes, but I'm a little confused about this. For example, the EverCrypt AEAD create in function implements the key extension, and the encryption and decryption function uses the extended key, but there is no connection between the return value of the two functions.

What do you mean there is no connection? EverCrypt_AEAD_create_in modifies its dst parameter. Sketch:
EverCrypt_AEAD_state *st = NULL;
if (EverCrypt_AEAD_create_in(Spec_..._AES128_GCM, &st, key) != EverCrypt...Success)
  // handle error
if (EverCrypt_AEAD_encrypt(st, ...) != EverCrypt_...Success)
 // handle error

Yeah, I mean the extended key that's used in the decryption function, how is it passed from EverCrypt AEAD create in to the decryption function

Same as with my encrypt example above? See my usage of st

Thank you for your answer, I still have some places I don't understand, such as:

I don't know what some parameters are: AD,plain, cipher
Some functions called in decryption functions, such as GCM128 Decrypt opt, AES256 key Expansion, I can only find their references in vale.h, there is no specific function body

Hello :)
I will try to answer the first question:
AEAD is authenticated encryption with associated data. So you have two components - a message that will be encrypted and some associated data. The associated data WILL NOT be encrypted, but it could be authenticated. The message to encrypt should be in the buffer plain, the associated data in is AD.
Then, the encryption produces a result. The result is written down to the cipher buffer.

There are some cases when you don't need the AD buffer. It's possible not to use it.

Regarding the second point, if the functions are not exposed in EverCrypt_AEAD.h then you should not use them -- Vale.h is an internal header and you are not expected, as a client of the library, to be using these functions directly.

Thank you for your answer to the first point. As for the second point, I cannot directly use the functions called by EverCrypt aead. c functions. In this case, can the encryption and decryption function be normal? Or do I just call the function in EverCrypt aad.c and not worry about the function call?

We have now documented the header file extensively. Please file a separate issue if the documentation is not helpful here: https://github.com/hacl-star/hacl-star/blob/main/dist/gcc-compatible/EverCrypt_AEAD.h
Thanks


Feature adition

Describe your idea
Hello!
Would it be at all possible to include 'features' in with a skyblock world?
I am using MCreator to generate structures in the world
But it seems that these arn't registered with /locate and therefore are not registered with your mod!
Enclosed is a test mod created that generates a ton of little starting islands!
Let me know if you can help!
package.zip

TechnoCraft.zip

TechnoCraft.zip
Well if it generates for you and not me, that means we likely have some sort of issue with a mod incompatibility. Here is the little modpack I am assembling.


Mesos HTTP Adaptor

This PR migrates SDK to use Mesos HTTP Adaptor.
By default, with Mesos HTTP Adaptor frameworks will continue to use V0 API of Mesos. Optionally, an operator can set MESOS_API_VERSION environment to V1 to make framework use Mesos HTTP API.
For more details refer: https://github.com/mesosphere/mesos-http-adapter

@mesosphere-ci retest this please.

What about universe plumbing for the env var?

@triclambert We need to plumb that on a per-framework basis inside framework's own universe package.
And, because we are using a monorepo, let me wire this feature inside the helloworld and kafka frameworks.

The PR fails to deploy currently due to:
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.apache.mesos.v1.scheduler.V0Mesos.initialize()V

We need to get libmesos for 1.1.0 uploaded to downloads, and configure the frameworks to use that.

@mesosphere-ci retest this please

@mohitsoni:  Now that we have the libmesos-bundle, this shim can be plausibly merged correct?

@mesosphere-ci retest this please

@mesosphere-ci retest this please

@mesosphere-ci retest this please


Updating readme file for AzP.20200308.ubuntu16.0 version 20200308

New pull request

Hi @ravikantcool2019, we merge the release branch version of the readme files once the changes have rolled out to all customers. This looks like an automated tool generating the PRs, can you please avoid creating this please?
Thanks.


Awesome Theme

Is it possible to flip the box art to the right and the game list to the left. This theme is beautiful but I'm so used to reading the games on the opposite side.

I just pushed an update to include "Flipped" variants of text list and detailed-grid :) Give it a try and see if that works for you!

You are amazing and I'll try it later today. Thanks for all the work, it's awesome.

Working! Your awesome.

Glad it's working for you!


Composite Tables

Describe the solution you'd like
I'd like to be able to extend the definition of tables into multiple files or projects.  For example In SharedProject have a table FooBar and then in MyProject have a file FooBarCustom where the definition is alter table FooBar add MyCustomColumn.
Describe alternatives you've considered
As an alternative I do not use database references instead I include my project as git sub module and just include / exclude individual files to accomplish similar behavior.  However, if a column is added in the SharedProject to a table it needs to be manually added to my custom table definition.

Making sure I understand this correctly - you want a single table where in 1 project you define a few columns on it, and in another project you define other columns on it.
shared project
create table dbo.FoorBar (
    Id INT PRIMARY KEY,
    SomeColumn NVARCHAR(100)
)

MyProject
create table dbo.FoorBar (
    Id INT PRIMARY KEY,
    MyCustomColumn NVARCHAR(25)
)

MyProject has a database reference to the shared project
The end result is the table definition from SharedProject is layered under MyProject and any deployment plans are created from a combination of the 2 tables.
if both have a primary key defined that doesn't match, does that cause a build error?

That is all correct and yes it would cause a build error with more than one primary key, duplicate column names, etc. I would think that it would be easier to do it like the below but either way would work.
shared project
create table dbo.FoorBar (
Id INT PRIMARY KEY,
SomeColumn NVARCHAR(100)
)
MyProject
Alter table dbo.FoorBar
Add MyCustomColumn NVARCHAR(25)

From: Drew Skwiers-Koballa @.>
Sent: Friday, November 10, 2023 10:47:20 PM
To: microsoft/DacFx @.>
Cc: Nick Walker @.>; Author @.>
Subject: Re: [microsoft/DacFx] Composite Tables (Issue #362)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Making sure I understand this correctly - you want a single table where in 1 project you define a few columns on it, and in another project you define other columns on it.
shared project
create table dbo.FoorBar (
Id INT PRIMARY KEY,
SomeColumn NVARCHAR(100)
)
MyProject
create table dbo.FoorBar (
Id INT PRIMARY KEY,
MyCustomColumn NVARCHAR(25)
)
MyProject has a database reference to the shared project
The end result is the table definition from SharedProject is layered under MyProject and any deployment plans are created from a combination of the 2 tables.
if both have a primary key defined that doesn't match, does that cause a build error?
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/DacFx/issues/362#issuecomment-1806663295, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKJPXBUO65ZOLXSHQNIUGELYD3YMRAVCNFSM6AAAAAA7GNJRSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGY3DGMRZGU.
You are receiving this because you authored the thread.Message ID: @.***>


Cluster labels section does not show up#22433

https://github.com/stolostron/backlog/issues/22433

@KevinFCormier  -- for this one: https://github.com/stolostron/console/pull/1800#pullrequestreview-1029299051
matchLabels work as long as the key is unique--if a user wanted to say cloud=aws and azure, they would need matchExpressions--iow they can't do:
matchLabels:
cloud: 'AWS'
cloud: 'AZR'

@KevinFCormier -- for this one: #1800 (review)
matchLabels work as long as the key is unique--if a user wanted to say cloud=aws and azure, they would need matchExpressions--iow they can't do: matchLabels: cloud: 'AWS' cloud: 'AZR'

For a PlacementRule with multiple matchLabels:
spec:
  clusterSelector:
    matchLabels:
      foo: bar
      good: bye
      "yes": "no"

I see:

matchLabels is not an array, and your code is trying to substitute the first element of the array.
As I mentioned, I don't think matchExpressions has ever been supported in the UI. It might be good to support it, but your code ignores the operator value and uses = for everything.

/hold

Thanks for all the fixes. I have a few other minor concerns.

When using an existing placement rule that matches by labels, the label controls are filled in when you first enter the editor (as in the first repository in this screenshot) but not if you change to one that does (as in the 2nd repository in this screenshot).
The delete button for the repository does not work with the new styling you added.
operator value still not handled properly for matchExpressions.

I have put a hold on this PR because I think @fxiang1 or @chenz4027 should also review this since it's in the app lifecycle UI. I'll leave the remainder of the review to them.

/lgtm

/unhold


Querier handler

What this PR does:
Reduce the latency in communication between querier and query-frontend by replacing the current Prometheus API handler with a new query api. Instead of converting the PromQL response into a JSON that is then compressed with gzip and sent over gRPC to be unmarshalled again, the new query api handler will return a serialized protobuf PrometheusResponse / PrometheusInstantQueryResponse directly to query-frontend over gRPC. The gzip compression is also replaced with an optional faster snappy compression wrapper.
Which issue(s) this PR fixes:
Fixes #
Checklist

[ ] Tests updated
[ ] Documentation added
[ ] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@afhassan Can you add some integration tests to make sure it works as expected? https://github.com/cortexproject/cortex/blob/master/integration/querier_test.go


Flushing out win32 support

@jasonsandlin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Fix: Replace usage dialogue box with New Usage Activity

Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Apply the AndroidStyle.xml style template to your code in Android Studio.

[x] Run the checks with ./gradlew check to make sure you didn't break anything

[x] If you have multiple commits please combine them into one commit by squashing them.

Usage Activity UI

@saketkumar95
Thanks for the review.

@saketkumar95 Thanks for reviewing it.

@Hiteshgautam01 Thanks for the UI improvement.


Support SuperSU when available

To access the whole filesystem on a rooted phone, the app should make use of the SuperSU library when it's available on the phone.
This should be an additional feature and not a requirement.

I read the SuperSU docs and it seems you can only use it to call console commands. As I don't want to implement a file manager by parsing ls outputs and stuff like that, I'll close this issue.


Error message not showing in case of 'Select' component

Hi
not sure if this is a bug or I'm doing something wrong :)
https://codesandbox.io/s/summer-wave-n62je?file=/src/index.js
the email validation is working ok.
but I have a problem with the 'Select' element validation
I have an array named 'tags' and it holds all the selected values.
in the validation I'm checking the array is not empty (i.e. at least one item is selected)
the problem is the error message ('Required') is not showing when trying to submit.
in fact, the validation occurs since nothing happens if no values were selected but the message is not showing
the expected result should be that the error message is rendered to the from, but the current behavior is that nothing happens

similar problem here, with Arrays, i think some of the checks in ErrorMessage doesn't work well with arrays, so the component always believes there are no errors. :/
e.g. for arrays the formik.touched  is never set.
checked using
 <pre>{JSON.stringify(formik.touched.mylist, null, 2)}</pre>

Hi
not sure if this is a bug or I'm doing something wrong :)
https://codesandbox.io/s/summer-wave-n62je?file=/src/index.js
the email validation is working ok.
but I have a problem with the 'Select' element validation
I have an array named 'tags' and it holds all the selected values.
in the validation I'm checking the array is not empty (i.e. at least one item is selected)
the problem is the error message ('Required') is not showing when trying to submit.
in fact, the validation occurs since nothing happens if no values were selected but the message is not showing
the expected result should be that the error message is rendered to the from, but the current behavior is that nothing happens

Hi @dardar4
To show error messages in select you can use  formik ErrorMessage or  FormHelperText
hope its helps
https://codesandbox.io/s/quizzical-framework-0m03h?file=/src/index.js

@sukesh-s
thanks bro. the codeSandBox really helped. using FormHelperText seems a better choice cause it keeps all errors in the same style :)

Closed as seems to be solved


Difficult to mock when unit testing [JIRA: CLIENTS-520]

Right now, none of the API classes implement equals, hashCode or toString() which makes mocking and comparing them to mocked copies difficult.  Would you accept a pull request to implement these methods in at least RiakCommand but others may be required?

Sure! PR's with good ideas are always welcome.

sure thing, I'll submit one

This was merged into the develop branch, and should be out with the next release (today or next week).

See also #557, which in the same spirit adds equals(), hashCode() and toString() methods to RiakObject and dependent classes. This is useful when mocking out RiakClient.


🌐 Add Indonesian translation for docs/id/index.md

📝 Docs preview for commit 4a90773a1ec8455849c0e036fed109732cc987f0 at: https://4e253171.fastapitiangolo.pages.dev

📝 Docs preview for commit 8a266d8e7f33afe5fc61b22d0a872072b6fd5383 at: https://993fccfd.fastapitiangolo.pages.dev

📝 Docs preview for commit bd53c1f3bb0fea5bd99ecc01e90d360ef9656e31 at: https://39701b0c.fastapitiangolo.pages.dev

Do you happen to know three Indonesian developers that you can ask a PR review from?

Do you happen to know three Indonesian developers that you can ask a PR review from?

Hi, I am Indonesian, and I would like to help.


Publishing to crates.io

Hi @stepankuzmin , are you the only person who publishes this crate to crates.io? I see that github team georust:tilejson-publishers also has that right, and I was wondering if you want me to participate in that process? I do plan to add a number of other features to this crate, possibly some validation code, etc. Thanks!

Hey @nyurik 👋
Sure, that would be great! I've added you to the georust:tilejson-publishers team, so you can publish a new release.

Hey @nyurik 👋
Sure, that would be great! I've added you to the georust:tilejson-publishers team, so you can publish a new release.


[WFLY-12590] Add a fault-tolerance layer test to testsuite/layers

Follow-on to #12800 to add a test in testsuite/layers.
Also prunes some cruft from the equivalent test for openapi.

This was implemented as part of #12853


Infer parameters' types on exported objects

For some reason Flow throws a hard error when you don't define the types of function parameters in exported objects/classes/etc.
This seems very inconsistent because it doesn't complain about their return types.
Thus you have to manually tag every argument with arg: *, which also loses any magic the the type inference might be able to do.
It would be great if there was an option to suppress these errors!

Closing since now types-first requirement is much stricter.


savemat incorrectly saves logical arrays

import scipy.io
scipy.io.savemat("scipy_bool_array.mat", {'bool_array':[False, True, False]}, format = '5')
Matlab 2007b, 2010b and 2012a load bool_array as [True, False, False]
I assume that it's based on missing 'b1' type definition in mio5_params.py:
scipy.io.matlab.mio5.py:
VarWriter5.write_numeric() for boolean array cannot find correct mclass ('b1' is not in NP_TO_MXTYPES) and assumes mclass = DOUBLE but converts data to 'i1' (int8). As result matlab matrix with class DOUBLE and elements INT8 is written.
Matlab saves logical array in matrix with class UINT8 and elements UINT8.
Solution would be to add 'b1' to NP_TO_MTYPES and NP_TO_MXTYPES with same settings as 'u1'
Quick fix is to set in code :
scipy.io.matlab.mio5_params.NP_TO_MTYPES['b1'] = scipy.io.matlab.mio5_params.NP_TO_MTYPES['u1']
scipy.io.matlab.mio5_params.NP_TO_MXTYPES['b1'] = scipy.io.matlab.mio5_params.NP_TO_MXTYPES['u1']

Sorry for the delay, but this fix did work for me (at least with scipy.io.savemat("bool.mat", {'x': [False, True, False]})).


Add goproxyio into CNCF Landscape

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[x] ~5 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit 58e33c0b937a848073c27fc469320c1a62e335e2
https://deploy-preview-1640--landscape.netlify.app

LGTM

We require logos to include the project name. Please update, or if you request it, we can modify the logo for you as we did with https://landscape.cncf.io/selected=metal-lb.

@dankohn Help me modify the logo please, thanks very much.

I updated the logo, and pulled a new request, close this one. see: #1647


Release CLI to repository asset

Is your enhancement related to a problem? Please describe.
Release CLI to repository asset, then other project, like template could use this tools

Release only on tags

Available in v0.4.0-rc4.


[Improvement][K8s] Adapt to the latest alert-server with updated config and port 50052

What is the purpose of the pull request
[Improvement][K8s] Adapt to the latest alert-server with updated config and port 50052
Brief change log

Remove outdated config for alert-server
Suppor port 50052 for alert-server
Update outdated readme

Verify this pull request
This change added tests and can be verified as follows:
(example:)

Manually verified the change by testing locally.

Codecov Report

Merging #4783 (ef59174) into dev (d41dd10) will decrease coverage by 0.22%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #4783      +/-   ##
============================================
- Coverage     45.44%   45.21%   -0.23%
+ Complexity     3414     3394      -20
============================================
  Files           537      537
  Lines         23074    23074
  Branches       2690     2690
============================================
- Hits          10487    10434      -53
- Misses        11651    11710      +59
+ Partials        936      930       -6

Impacted Files
Coverage Δ
Complexity Δ

...he/dolphinscheduler/common/enums/SqoopJobType.java
0.00% <0.00%> (-88.89%)
0.00% <0.00%> (-3.00%)

.../server/master/runner/DependentTaskExecThread.java
51.57% <0.00%> (-16.85%)
10.00% <0.00%> (-5.00%)

...ver/master/consumer/TaskPriorityQueueConsumer.java
43.33% <0.00%> (-10.00%)
16.00% <0.00%> (-4.00%)

...olphinscheduler/server/utils/DependentExecute.java
61.84% <0.00%> (-9.22%)
17.00% <0.00%> (-4.00%)

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
3.00% <0.00%> (-1.00%)

...inscheduler/service/zk/CuratorZookeeperClient.java
60.97% <0.00%> (-4.88%)
7.00% <0.00%> (-1.00%)

...olphinscheduler/plugin/alert/email/ExcelUtils.java
78.18% <0.00%> (-3.64%)
8.00% <0.00%> (-1.00%)

...inscheduler/server/master/config/MasterConfig.java
42.42% <0.00%> (-3.04%)
11.00% <0.00%> (-1.00%)

...inscheduler/common/task/sqoop/SqoopParameters.java
74.00% <0.00%> (-2.00%)
25.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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

mark


(tests) - coverage

Decided to push my changes on a new branch after a mistake....

[x] component tests
[x] useSubscription handler test
[x] debugExchange tests
[ ] toSuspenseSource is missing cases for cancellation -->  figuring it out
[x] missing teardown case for fetch
[x] cacheExchange missing undefined data case

Sorry but before I continue this I'll have to familiarize myself a bit more with the concepts used in toSuspenseSource  etc

@JoviDeCroock No worries, this has already upped the coverage by a lot :tada:
The toSuspenseSource extra test isn't that important anyway, since we're only using it for SSR in which case we'll never hit that cancellation branch :+1:

The timing, just when I hit ready for review, you respond haha

I'm happy with it, having some issues figuring toSuspenseSource out. Have gotten a better grasp of the codebase which was my intention.

@JoviDeCroock Yea, no worries; toSuspenseSource is definitely a bit of a weird one. I'll see if I find time to write the missing tests and add some more explanations on what it's supposed to do 🙌

💪


esp_get_free_heap_size return wrong values (IDFGH-834)

Development Kit:      Geekworkm KE32-WROVER-C10

Kit version

Module or chip used:  ESP32-WROVER-B

IDF version (run git describe --tags to find it): v3.1.1-6-g2aa9a2118

Build System:         Make

Compiler version (run xtensa-esp32-elf-gcc --version to find it): (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 5.2.0

Operating System:    Windows

Power Supply:         USB

Problem Description
esp_get_free_heap_size returns very huge amount<PHONE_NUMBER> .
Related SDK config:
CONFIG_SPIRAM_SUPPORT=y

SPI RAM config

CONFIG_SPIRAM_BOOT_INIT=y
CONFIG_SPIRAM_IGNORE_NOTFOUND=
CONFIG_SPIRAM_USE_MEMMAP=
CONFIG_SPIRAM_USE_CAPS_ALLOC=y
CONFIG_SPIRAM_USE_MALLOC=
CONFIG_SPIRAM_TYPE_ESPPSRAM32=y
CONFIG_SPIRAM_SIZE=4194304
CONFIG_SPIRAM_SPEED_40M=y
CONFIG_SPIRAM_MEMTEST=y
CONFIG_SPIRAM_CACHE_WORKAROUND=y
CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST=
CONFIG_MEMMAP_TRACEMEM=
CONFIG_MEMMAP_TRACEMEM_TWOBANKS=
CONFIG_ESP32_TRAX=
CONFIG_TRACEMEM_RESERVE_DRAM=0x0

It was problem in wiring. I was controlling GPIO 16,17 which causes a lot of errors including this one.

@HankLloydRight

The ESP32 pins GPIO16 and GPIO17 are not broken out to the ESP32-WROVER-B module and therefore not available for use. If you need to use these pins, please solder a module without PSRAM memory inside, e.g. the ESP32-WROOM-32D or ESP32-SOLO-1.

My mistake, sorry.  The boards I'm using are  ESP32-WROVER, not  ESP32-WROVER-B.
The  ESP32-WROVER  does have pin 16 broken out.


Does anyone have working cover-art version?

if so could you share your .py files?

from my research, Spotify checks login or any credential for web art, and current script doesn't do the credential part.

Are you even able to login?

My version of spotify-ripper does not downloading cover-art with audio
files anymore.
Sincerely, Graco Babeuf.
Em Ter, 7 de mai de 2019 10:53, awsms<EMAIL_ADDRESS>escreveu:

Are you even able to login?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hbashton/spotify-ripper/issues/51#issuecomment-490089503,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABW5U6PFFUZDOARDT7UQ4ODPUGCWVANCNFSM4HJA5RLA
.

Hey, I'm extremely sorry for disturbing here, but has anyone the spotify ripper working till as of now? Cause I am absolutely new to this (tryed yesterday) and it won't let me create an API-Key. So if it somehow still works to grab the audio files from spotify (I don't care about covers etc. since I'm blind), could someone for whom it works please help me?

I've made a spotfiy-ripper-web version basing on the spotify-ripper project here. And i've implemented a workaround for the cover art. You can check it out if you want.
https://github.com/hedwiggggg/spotify-ripper-web

Well, interesting, however I do not have an appkey and it also won't let me create one. That is why I asked whether anyone knows if this still works. I just used that cover-tread to ask since it was the latest active one. So when someone can still manage to rip spotify songs, I would ask him to contact me and help me get it running as well please.

Just google for "spotify_appkey.key" and take the first github link you find. Download it and you are ready to go.

https://github.com/search?l=&q=filename%3Aspotify_appkey.key&type=Code

Ah well, 321 Bytes is that possible? And then I need some help with the docker stuff as I am primarily a Windows XP-User. I do have an computestick running fedora linux for the sake of whapp-irc, but I'm not really well with the SSH and stuff, the whapp-irc maintainer was as friendly as to set things up for me and I kept it that way ever since.

You can also use the appkey for this project. you don't have to use it for my web-port.
I don't really have expirience in docker for windows.

well, has anyone managed to get the " pyspotify" work on Windows? Otherwhise I could just give you the SSH-credentials of the fedora.

Okay, just leave your email or something; Than i'll contact you;

Well, you can write to<EMAIL_ADDRESS>it's a forward, then I reply with my real address.

@XP-Fan https://github.com/richardk80/spotify-ripper/raw/master/spotify_appkey.key Here you go.

I've made a spotfiy-ripper-web version basing on the spotify-ripper project here. And i've implemented a workaround for the cover art. You can check it out if you want.
https://github.com/hedwiggggg/spotify-ripper-web

nice, but it's works for albums only
thanks you!

@XP-Fan https://github.com/richardk80/spotify-ripper/raw/master/spotify_appkey.key Here you go.

Thats down my man.

@XP-Fan https://github.com/richardk80/spotify-ripper/raw/master/spotify_appkey.key Here you go.

Thats down my man.

try https://github.com/search?l=&q=filename%3Aspotify_appkey.key&type=Code

@ttmx It’s not down. It’s private.

I fixed this issue and pulled a request. The only file to be changed is tags.py and you can get it here #53

I fixed this issue and pulled a request. The only file to be changed is tags.py and you can get it here #53

Attempting to retrieve track from Spotify's Web API
https://api.spotify.com/v1/tracks/3CaZuQC9Y4pKaF0X9c2T3D
URL returned non-200 HTTP code: 401
Am I missing something or is there a such one time authorization step after the installation that I didn't do it?

@seandex Sorry, I just use my Spotify Premium credentials to login and the api key I generated years ago. Have you done that?

@seandex Sorry, I just use my Spotify Premium credentials to login and the api key I generated years ago. Have you done that?

Yes, I could do everything except for the album art that means I guess I had api.
I also use ID/PW. and created that 1 API was required from the installation page.
2nd attempt was re-install clone but no helps. still no arts.
long time ago i remember the oauth.html something that is missing in this github.

@seandex Sorry, I just use my Spotify Premium credentials to login and the api key I generated years ago. Have you done that?

Yes, I could do everything except for the album art that means I guess I had api.
I also use ID/PW. and created that 1 API was required from the installation page.
2nd attempt was re-install clone but no helps. still no arts.
long time ago i remember the oauth.html something that is missing in this github.

I see you have tried many things. Sorry, it's getting hard for me to think of what's left for you to do. Have you tried the changes I included in the tags.py file? What's the error message, if any?

So far, I tried to overwrite tags.py to the build and re-installed it. maybe it's my settings and cache.
let me create a vps and try it again, if that fails, by any chance would you be able to rsync your directories except for your credential and api? I guess rsync method should work.

@ttmx The file I linked to on here is in a private repo, and I'm not planning on making it public. Made a separate repo with just the spotify_appkey.key file: https://github.com/richardk80/spotify-appkey/raw/master/spotify_appkey.key

@pauloup I made the changes to my tags.py file, and I'm able to get album art again. Thank you! Now if we can figure out how to download playlists like before without using text files that would be great.

So far, I tried to overwrite tags.py to the build and re-installed it. maybe it's my settings and cache.
let me create a vps and try it again, if that fails, by any chance would you be able to rsync your directories except for your credential and api? I guess rsync method should work.

I really think you don't need to reinstall spotify-ripper to apply these changes. I just changed the tags.py file located in:
/usr/local/lib/python2.7/dist-packages/spotify_ripper-2.9.1-py2.7.egg/spotify_ripper/tags.py
If you don't mind, I would prefer if you could share a google drive link with a copy of the folder /usr/local/lib/python2.7/dist-packages/spotify_ripper-2.9.1-py2.7.egg/, instead of messing with rsync. So I could compare your version to mine.

@pauloup I made the changes to my tags.py file, and I'm able to get album art again. Thank you! Now if we can figure out how to download playlists like before without using text files that would be great.

Yeah, that's my next goal.

@pauloup I have not had chances to try it due to in real-life business, and today, I tried it in brand new ubuntu but it is the same no album pictures.
what is your config.ini?

@richardk80 what have you changed in tags.py?

what is your config.ini?
The relevant parameter in it is
cover-file-and-embed = "cover.jpg"

what is your config.ini?

@seandex The relevant parameter in it is
cover-file-and-embed = "cover.jpg"

Is there an option or modification to accept DRM policy?
because now it query the cover but however the script doesn't answer to the DRM policy from open.spotify.com then 10 seconds error exit.
Searching for query: https://open.spotify.com/track/3ZWCWArPYr1v0iF763oSOz?si=_ZnxfbleQICci7GfLn6EoQ

Operation did not complete in 10.000s

what is your config.ini?

@seandex The relevant parameter in it is
cover-file-and-embed = "cover.jpg"

It generates 0 bytes of cover.jpg in the same directory where the audio file successfully ripped but no cover art embedded.

It doesn't seem to do the process or commands near "Adding cover image" prints, from the strace result.

what is your config.ini?

@seandex The relevant parameter in it is
cover-file-and-embed = "cover.jpg"

it works actually. Thanks!

@pauloup hey Paul. the cover art downloads the biggest size of cover art which is 640x640 and it won't display on native portable music players with builtin LCD.
is there way to make it 600x600?
it should be something like
get(meta['albumPic'] + '?param=600y600')
or
replace('-large', '-t500x500') but if I edit the code with the current replace(':', '/') i get errors at the end. it's hard for me to fix
Hope you could look into it please. it is a little bit bigger than before which is over the limit of 600x600 that compatible to most of native players.

@seandex Spotify changed the available sizes for cover art. Now there are only three options:

0: 300px
1: 64px
2: 640px

To select of these, change the number in the line 85 of tags.py.
Example: Use image_link = str(track.album.cover_link(0)) to get a 300px cover art
Also note that I just updated this file tags.py in #53 to reflect a recent change in Spotify. The cover art URL now starts with "i.scdn.co", and no more "open.spotify.com.
Let me know if you need more help.

@seandex Spotify changed the available sizes for cover art. Now there are only three options:

0: 300px
1: 64px
2: 640px

To select one of these, change the number in the line 85 of tags.py.
Example: Use image_link = str(track.album.cover(0).link) to get a 300px cover art.
Also note that I just updated this file tags.py in #53 to reflect a recent change in Spotify. The cover art URL now starts with "i.scdn.co", and no more "open.spotify.com.
Let me know if you need more help.

Can I buy you a cup of coffee


[Protection Level] Page "Item Availability by Location" Function "UpdateSubfom" or global var "AmountType"

Please make either function "UpdateSubfom" or global var "AmountType" accessible. We have some fields in our page extension whose validate requires the update of subpage.

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. We will update this issue with information about availability. 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.


stdenv: fix pkgsMusl

Description of changes
I broke pkgsMusl with #209870.
Something odd is happening with xgcc (the temporary compiler that should be used only to compile gcc, although we are using it to compile a temporary patchelf too) and libstdc++.
The temporary fix in this commit is to use -static-libstdc++ for the ephemeral patchelf built by xgcc.  It isn't pretty, but it appears to work.
I'm starting to think we shouldn't even be trying to recompile patchelf until we build the final gcc.  But that is too big of a change to be making this close to ZHF.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

pkgsMusl.stdenv builds for me with this commit.  Let's see if ofborg agrees.
@ofborg build pkgsMusl.stdenv

ofborg says:  pkgsMusl.stdenv on x86_64-linux — Success

Is there any way we could get this to not cause any rebuilds for non-musl, so we can get it into staging-next?  If we just merge this into staging now, we'll have a cycle where musl is completely broken.

Is there any way we could get this to not cause any rebuilds for non-musl, so we can get it into staging-next?

Let me see.

So it turns out this can be separated from https://github.com/NixOS/nixpkgs/pull/224945 , which is what causes the rebuilds.
Verifying that it still works...

@ofborg build pkgsMusl.stdenv

 pkgsMusl.stdenv on x86_64-linux — Success

 pkgsMusl.stdenv on x86_64-linux — Success

Rebased to staging-next
@ofborg build pkgsMusl.stdenv

OfBorg looks like it had a networking hiccup on aarch64-linux, but I built pkgsMusl.stdenv successfully on the community builder.


Add transaction HASH in the did/schema related transactions in metadata

This is to find out which blockchain transaction this did operation is associated to.

The field transactionHash has been added to Credential Status structure.
PR: https://github.com/hypersign-protocol/hid-node/pull/157


Building ZNC on SmartOS (Illumos) Fails to ./configure and build properly

During the configure, "checking whether openssl is usable...no" will get triggered every time. Ive tried setting --with-openssl, openssl_CFLAGS, openssl_LIBS, CXXFLAGS, LDFLAGS, just about everything.
I got it to compile by removing that check entirely and hardcoding SSL=yes and specifiying --with-openssl=/path/to/my/openssl.
I also had to remove the '-mt' flag that was getting set in all the Makefiles. It was trying to pass a Sun WorkShop flag to gcc even tho it detected the compiler as gcc.
also the library path to libssl.so.1.0.0 had to be set via crle, this was probably due to the way I built it but anyhow, I got it built and it works flawlessy so far.
Id like to help assist in making this build correctly on SmartOS

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Curious if anyone has gotten this successfully build.

What is the case with 1.6.1?


Can't ban with user_id

Hi,
I'm trying to ban a user based on the user_id as per the method:
https://core.telegram.org/bots/api#banchatmember

Here's how I call it
but I keep getting this error

I'm sending in the ID I get from msg.from.id
Can someone point me what I am doing wrong?
thanks!

Because you pass wrong the params. The last param is a object with the optional params
bot.banChatMember(chatId, userId, { unitilDate })


Add score to Pong data type

This just adds the score to the Pong data type but does not modify the score if the ball reaches the left or right hand side of the screen.
Maybe we can discuss about how best that should be implemented since it will likely require changes to boundary and checkBounds? Either boundary needs to be in State Pong b or it can be inlined in checkBounds. Essentially, player1 scores if x <= 1 and player2 scores if x >= xLim, but also instead of bouncing, the state of the game should be update to start the next serve.

There's actually alot of other things that need to be implemented before the scoring can make sense, like implementing paddles with control, start/stop of game and play, reset/save game, read/write config settings, read playfield from screen attributes, etc.
Yes, we should discuss and define & plan the various parts.


HTML Tags (Codechef LunchTime)

Aim

@ravikr126 Please assign this issue to me.
Details

What the features will your script have

Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

@ravikr126 i want to add solution of this in Java under LGMSOC'21. Please assign me this.


cilium install --config only takes one key=value

Bug report

General Information

Cilium CLI version (run cilium version) 0.10.4
Orchestration system version in use (e.g. kubectl version, ...) 1.23.4
Platform / infrastructure information (e.g. AWS / Azure / GCP, image / kernel versions) n/a
Link to relevant artifacts (policies, deployments scripts, ...) n/a
Generate and upload a system zip: cilium sysdump n/a

I would like to request clarification in the --help that --config needs to be called for each key=value that you wish to set.
I just set up my cluster with  --config enable-ipv6=true enable-ipv6-masquerade=false k8s-api-server=https://ebpf-test.example.com:6443 and i was a bit surprised that it didn't take the second+third key=value because the current flag states the plural strings not string.
Perhaps I should report this as a bug with the --config option instead because it only parses the first string?
Output from cilium install with --config enable-ipv6=true enable-ipv6-masquerade=false k8s-api-server=https://ebpf-test.example.com:6443
🚀 Creating ConfigMap for Cilium version 1.11.2...
ℹ Manual overwrite in ConfigMap: enable-ipv6=true
🚀 Creating Agent DaemonSet...

And with a  --config for each key-value:
🚀 Creating Cluster roles...
🚀 Creating ConfigMap for Cilium version 1.11.2...
ℹ Manual overwrite in ConfigMap: enable-ipv6=true
ℹ Manual overwrite in ConfigMap: enable-ipv6-masquerade=false
ℹ Manual overwrite in ConfigMap: k8s-api-server=https://ebpf-test.example.com:6443
🚀 Creating Agent DaemonSet...

Thanks for the report @vosdev.

I would like to request clarification in the --help that --config needs to be called for each key=value that you wish to set.
I just set up my cluster with  --config enable-ipv6=true enable-ipv6-masquerade=false k8s-api-server=https://ebpf-test.example.com:6443 and i was a bit surprised that it didn't take the second+third key=value because the current flag states the plural strings not string.
Perhaps I should report this as a bug with the --config option instead because it only parses the first string?

It should work if you specify the --config options separated by comma (but without space), i.e.
cilium install --config enable-ipv6=true,enable-ipv6-masquerade=false,k8s-api-server=https://ebpf-test.example.com:6443

Otherwise all but the first option will be recognized as positional arguments by the github.com/spf13/pflag library (namely the StringSliceVar function) which cilium-cli uses for command line argument parsing.
We should probably extend the usage message for cilium install --config to say that the strings need to be comma-separated. Are you interested in sending a PR?


Rookie Here, Could Someone Please Explain How to Run This? I'm Easy. All Modules are loaded

It's not you, tensorpack. It's me.
I'm 100% ready to go with everything installed I just don't know how to code what needs to be coded here.
I've installed gym. The full version.
I have every program and every module set to go in my virtualenv but I'm not sure what to write in run-atari.py, train-atari.py, I'd like to see this play Breakout so I have the Breakout-v0.tfmodel file, all in my folder with the modules. There's also different algorithms for the games, like this one...
https://gym.openai.com/evaluations/eval_L55gczPrQJamMGihq9tzA
I'd appreciate if someone could tell me where this code goes as well.
I've run SpaceInvadors-v0 from a tutorial, the repo of which is here...
https://github.com/llSourcell/Game-AI
If there's an easy way to swap SpaceInvaders with another game and algorithm in this setup, that works for me too.
I've installed additional modules so just to make it clear, if someone could spell out, in specific code what needs to happen to deploy...
run-atari.py and train-atari.py, and have them play this file... Breakout-v0.tfmodel
and where this algorithm goes... https://gym.openai.com/evaluations/eval_L55gczPrQJamMGihq9tzA
Thank You!

I don't understand what you're asking. What exactly do you want to do?
If you just want to see it play Breakout, use run-atari.py as the instructions in the readme and it'll produce a directory with videos.
./run-atari.py --load Breakout-v0.tfmodel --env Breakout-v0

That is all I want to do. I'm just beyond my depth. When I type...
$ python run-atari.py --load Breakout-v0.tfmodel --env Breakout-v0
Traceback (most recent call last):
File "run-atari.py", line 24, in
from common import play_one_episode
ImportError: cannot import name play_one_episode
I think the...
Enable import tensorpack:
export PYTHONPATH=$PYTHONPATH:readlink -f path/to/tensorpack
... part from your instructions is my problem. I don't know.
It's to make Python able to find the tensorpack file?
I enter this and get an error...
$ export PYTHONPATH=$PYTHONPATH: readlink -f /Users/me/PE11/gym/tensorpack
-bash: export: -f': not a valid identifier -bash: export: /Users/me/PE11/gym/tensorpack': not a valid identifier

There is a symbolic-link common.py in the OpenAIGym directory, it looks like you lost that file somehow.

the command readlink -f may not work on MacOSX. You just need to use
export PYTHONPATH=$PYTHONPATH:/absolute/path/to/PE11/gym/tensorpack

Thank for all the responses
The export PYTHONPATH=$PYTHONPATH thing seems to have worked
I think I'm down to one last thing...
That common.py file is pointing to another common.py file in the /Atari2600 folder if I'm not mistaken.
I know I should know how to do this before bothering a software wizard but I don't know how to get it to point to the Atari2600 common file
The original way it's written I get
../Atari2600/common.py
^
SyntaxError: invalid syntax
I dug online and couldn't figure out how to do it for python (OSX)
I tried saving the path as this instead (in the common.py file)...
~/Users/AnthonyCelio/PE11/gym/tensorpack/examples/Atari2600/common.py
^
SyntaxError: invalid syntax
and tried
~/Atari2600/common.py
 ^

SyntaxError: invalid syntax

If you had the file but it's not pointing correctly, then either your filesystem doesn't support such link, or you have copied the project to other filesystem (which doesn't support link) before.
In this case you can just copy the file from Atari2600/ to here.
This has nothing to do with python.

I got past the parts discussed earlier, and thank you again.
I though I was set up to go but I don't know what I'm doing with this. I'm taking a break from this for a while
$ python run-atari.py --load Breakout-v0.tfmodel --env Breakout-v0
[1020 12:37:33 @run-atari.py:87] Environment Name: Breakout-v0
[2016-10-20 12:37:33,622] Making new env: Breakout-v0
[2016-10-20 12:37:33,672] Making new env: Breakout-v0
Traceback (most recent call last):
File "run-atari.py", line 98, in
run_submission(cfg)
File "run-atari.py", line 66, in run_submission
player = get_player(dumpdir=dirname)
File "run-atari.py", line 27, in get_player
pl = GymEnv(ENV_NAME, dumpdir=dumpdir, auto_restart=False)
File "/Users/me/PE11/gym/tensorpack/RL/gymenv.py", line 33, in init
self.gymenv.monitor.start(dumpdir)
File "/Users/me/PE11/gym/gym/monitoring/monitor.py", line 138, in start
You should use a unique directory for each training run, or use 'force=True' to automatically clear previous monitor files.'''.format(directory, ', '.join(training_manifests[:5])))
gym.error.Error: Trying to write to monitor directory gym-submit with existing monitor files: gym-submit/openaigym.manifest.0.67134.manifest.json.
You should use a unique directory for each training run, or use 'force=True' to automatically clear previous monitor files.

The error is saying that the output file gym-submit/* already exists. If you delete the directory then it will run.

It's running. Thank you so much for your help.
Do need to add
'--display true'
to the end of...
$'python run-atari.py --load Breakout-v0.tfmodel --env Breakout-v0'
to see it play?

Nevermind. I see know. It saves as an mp4.
Thank you again!!!!!!!!


The file './ganache.sh' is marked as an executable but could not be run by the operating system.

This is the error I receive when trying ./ganache.sh in governance-with-multisig.

The file './ganache.sh' is marked as an executable but could not be run by the operating system.

The file has these contents:
mkdir -p ganache
ganache-cli --gasLimit 6000000 --defaultBalanceEther 1000 --networkId 8888 --db ganache --port 9545 --deterministic

If anyone has any advice, I'd be very grateful!!

It does work when:

I change the name to ganache.bash instead of ganache.sh
I add this to the top of the file: #!/bin/bash

Thanks @mesqueeb! My gut feeling is that it should work just with the shebang (ie item 2), and it should not be necessary to change the extension. Would you be willing to submit a PR with that change? Thanks!


As an admin I want to be able update locations that have been loaded to the site

what is the current process of updating locations? Do we delete the old one?


Serializing/Deserializing Optional with Jackson

http://jira.baeldung.com/browse/BAEL-665

I see those changes were already incorporated


ENH: Add support for pytorch embedding layers

Problem Description
if I use bert as an embedding layer and then use other pytorch modules just like cnn, lstm and dense to construct my prediction model, however, SHAP can not work in such model.
In your doc, just make a simple example for transfomer, it is not enough in real situation.
Alternative Solutions
I don't know how to solve it.
Additional Context
No response
Bug report checklist

[X] I have checked the issue tracker for duplicate issues.
[ ] I'd be interested in making a PR to implement this feature

Hi,
A possible workaround that I used when dealing with a PyTorch model using an Embedding layer is to compute SHAP values using Captum. Then use the attributions to build a shap.Explaination object.
For my use case I did not try a text plot, but I guess it could work.


CRD changes for monitoring

Signed-off-by: Saad Khan<EMAIL_ADDRESS>This PR contains following changes:

Updated dockerFile to remove dependency on the rolebindings, service account etc when deploying on openshift.
Moved the configs and CRD files in a new autotune directory to keep it separate from monitoring yaml.
Handled watcher exception when no CRDs are applied in case of monitoring.
Added a new file  kruize-monitoring-openshift.yaml to include all the configs and CRDs as part of single file for monitoring use case ( Still in progress.. )

App_logs :
kruize-openshift-monitoring-app-logs.log
After running the monitoring demo -

Result logs on openshift :

Openshift_Demo_Test_logs.log

Result logs on Minikube:

Minikube_Demo_Test_logs.log

@khansaad Please rebase to latest mvp_demo as have added the profiles dir in manifests now

The performance-profiles dir also needs to be inside the autotune dir

@khansaad It looks like the rebase was not done right :( I see that we now have two copies of the performance profile yamls

#541 added perf profiles and it looks like it was duplicated here.


Allow for using block_api.get_block API

Prepares for eventual deprecation of condenser_api.get_block.

Handle new output format (inner block parameter)
Handles HIVE/HBD nai assets used in transfer op and commentOptions op
Reformatting beneficiaries in commentOptions to match old API

Also

Minor fixes to debuggability (hash verification mode)

It looks like you've changed the enableHashVerification setting to hashVerificationNode, but forgot to make the corresponding update to config.example.json.
Also, can you please document on the PR what each of the new streamerConfig settings is for, and confirm that the default values you've selected are good values for production use (so node operators can simply copy the example when upgrading)?

Done with config. Updating PR.


Docs about

Some of the default values/behaviors are present only when <OutputType> is specified as Exe. For example, dotnet run doesn't produce a .runtimeconfig.json if <OutputType> is omitted.

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

ID: 910cd365-d63a-00dc-417c-db017f83bf6f
Version Independent ID: 5e495ddd-140e-de5c-a793-d4a9f88be51e
Content: dotnet build command - .NET Core CLI
Content Source: docs/core/tools/dotnet-build.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @mairaw
Microsoft Alias: mairaw

Thanks for your feedback @NextTurn. @dsplaisted @livarcocc who would be a good person to talk to about the default behaviors for dotnet build? I wanna make sure the article is completely accurate, especially with the new changes introduced by 3.0.

From MSBuild targets
<_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true</_IsExecutable>
<HasRuntimeOutput>$(_IsExecutable)</HasRuntimeOutput>
<GenerateRuntimeConfigurationFiles Condition=" '$(GenerateRuntimeConfigurationFiles)' == '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and ('$(HasRuntimeOutput)' == 'true' or '$(EnableComHosting)' == 'true' or '$(EnableDynamicLoading)' == 'true') ">true</GenerateRuntimeConfigurationFiles>


Getting an error while creating a new engine "EN-AR"

Hello support team,
I followed the instructions mentioned here https://github.com/ModernMT/MMT/issues/208#issuecomment-266766252, but I am getting the following error when I type the following command:
./mmt create en ar examples/data/train
I am also getting the same error when using the command in readme
./mmt create en ar examples/data/train
Here is the full error log:
`root@modernmt-VirtualBox:/home/modernmt/Downloads/mmt# ./mmt create en ar examples/data/train

WARNING: more than 0G of RAM recommended, only 0G available

=========== TRAINING STARTED ===========
ENGINE:  default
BILINGUAL CORPORA: 15 documents
MONOLINGUAL CORPORA: 0 documents
LANGS:   en > ar
INFO: (1 of 7) TMs clean-up...                                         DONE (in 3s)
ERROR Unexpected exception:
Command 'java -cp /home/modernmt/Downloads/mmt/build/mmt-0.14.1.jar -Dmmt.home=/home/modernmt/Downloads/mmt -Djava.library.path=/home/modernmt/Downloads/mmt/build/lib eu.modernmt.cli.CleaningPipelineMain -s en -t ar --output /home/modernmt/Downloads/mmt/runtime/default/tmp/training/clean_tms --input /home/modernmt/Downloads/mmt/examples/data/train' failed with exit code 1
Traceback (most recent call last):
File "./mmt", line 549, in
main()
File "./mmt", line 526, in main
actionscommand
File "./mmt", line 357, in main_create
debug=args.debug, steps=args.training_steps, split_trainingset=args.split_corpora)
File "/home/modernmt/Downloads/mmt/cli/engine.py", line 222, in build
unprocessed_bicorpora, self._get_tempdir('clean_tms'), log=logger.stream)
File "/home/modernmt/Downloads/mmt/cli/mt/processing.py", line 99, in clean
shell.execute(command, stdout=log, stderr=log)
File "/home/modernmt/Downloads/mmt/cli/libs/shell.py", line 55, in execute
raise ShellError(str_cmd, returncode, stderr_dump)
cli.libs.shell.ShellError: Command 'java -cp /home/modernmt/Downloads/mmt/build/mmt-0.14.1.jar -Dmmt.home=/home/modernmt/Downloads/mmt -Djava.library.path=/home/modernmt/Downloads/mmt/build/lib eu.modernmt.cli.CleaningPipelineMain -s en -t ar --output /home/modernmt/Downloads/mmt/runtime/default/tmp/training/clean_tms --input /home/modernmt/Downloads/mmt/examples/data/train' failed with exit code 1
`
How can this be fixed?
thanks,
Mohamed
P.S. I am using Ubuntu 14.04 VirtualBox image to run this test.

Hi @memoday !
can you please post the file runtime/<engine-name>/logs/training.log?

Here it's:
2017-02-17 12:14:22,779 [INFO] - Training started: engine=default, bilingual=15, monolingual=0, langpair=en-ar 2017-02-17 12:14:22,779 [INFO] - Training step "TMs clean-up" (1/7) started 2017-02-17 12:14:22,779 [DEBUG] - Shell exec: java -cp /home/modernmt/Downloads/mmt/build/mmt-0.14.1.jar -Dmmt.home=/home/modernmt/Downloads/mmt -Djava.library.path=/home/modernmt/Downloads/mmt/build/lib eu.modernmt.cli.CleaningPipelineMain -s en -t ar --output /home/modernmt/Downloads/mmt/runtime/default/tmp/training/clean_tms --input /home/modernmt/Downloads/mmt/examples/data/train 2017-02-17 12:14:23,863 main INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory. Exception in thread "main" java.io.IOException: Invalid TMX eu.modernmt.io.FileProxy$1@3da673d1 	at eu.modernmt.model.corpus.impl.tmx.TMXBilingualLineReader.read(TMXBilingualLineReader.java:54) 	at eu.modernmt.cleaning.FilteredBilingualCorpus.initialize(FilteredBilingualCorpus.java:114) 	at eu.modernmt.cleaning.FilteredBilingualCorpus.getContentReader(FilteredBilingualCorpus.java:54) 	at eu.modernmt.training.CleaningTask.call(CleaningTask.java:27) 	at eu.modernmt.training.CleaningTask.call(CleaningTask.java:11) 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 	at java.lang.Thread.run(Thread.java:745) Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog. 	at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:596) 	at com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventReaderImpl.java:83) 	at eu.modernmt.model.corpus.impl.tmx.TMXPairReader.read(TMXPairReader.java:43) 	at eu.modernmt.model.corpus.impl.tmx.TMXBilingualLineReader.read(TMXBilingualLineReader.java:52) 	... 10 more 2017-02-17 12:14:26,337 [INFO] - Training step "TMs clean-up" completed in 3s 2017-02-17 12:14:26,338 [ERROR] - Unexpected exception Traceback (most recent call last):   File "/home/modernmt/Downloads/mmt/cli/engine.py", line 222, in build     unprocessed_bicorpora, self._get_tempdir('clean_tms'), log=logger.stream)   File "/home/modernmt/Downloads/mmt/cli/mt/processing.py", line 99, in clean     shell.execute(command, stdout=log, stderr=log)   File "/home/modernmt/Downloads/mmt/cli/libs/shell.py", line 55, in execute     raise ShellError(str_cmd, returncode, stderr_dump) ShellError: Command 'java -cp /home/modernmt/Downloads/mmt/build/mmt-0.14.1.jar -Dmmt.home=/home/modernmt/Downloads/mmt -Djava.library.path=/home/modernmt/Downloads/mmt/build/lib eu.modernmt.cli.CleaningPipelineMain -s en -t ar --output /home/modernmt/Downloads/mmt/runtime/default/tmp/training/clean_tms --input /home/modernmt/Downloads/mmt/examples/data/train' failed with exit code 1

If the above is not clear, you may check this on codeshare
https://codeshare.io/5wnvlR

so, it seems that (at least) one of your TMX files is corrupted. Unfortunately from the log is not clear which one is it, can you please run the training on one TMX at time (just create a folder for each TMX) and see which one is causing the problem?
You can ctrl+c the training as soon as it passes the TMX cleanup step, that will ensure the validity of the TMX file.

Thanks David for your reply. I tested it with one tmx and it threw the same error. There could be something wrong with the Arabic tmx I am using, but how come it threw the same exact error when I try to create the en>it engine with the supplied files that exist under "examples/data/train".

Hi David,
I installed MMT on a new Ubuntu server, not a virtual machine, with 8 GB of Ram and 5 GB hard disk and I copied a totally new tmx that I know it's good, but I am getting the same exact error.

Hi Mohamed,
I suspect the problem could be with the encoding of the TMX. Run this command:
file --mime your/tmx/file.tmx

If the output is not charset=utf-8, then convert the file in utf-8 like so:
iconv -f <charset_from_file_command> -t utf-8 your/tmx/file.tmx > your/tmx/utf8file.tmx

For example, file return utf-16 you will run:
iconv -f utf-16 -t utf-8 example.tmx > utf8example.tmx

Then check if the first line of your TMX is:
<?xml version='1.0' encoding='utf-8'?>

Important: there must be no leading characters before <?xml version='1.0' encoding='utf-8'?>, if there are any, just delete them.
Let me know if this solve the issue!

Hi David,
Thanks for your input. I now followed this instruction on a new TM file and the first output I got matches what you mentioned:
UN_fixed.tmx: application/xml; charset=utf-8
I ran the training command and it worked for a while, at least it passed step 1, but it failed again in step 2 "corpora processing....". The fail exit code is not 1 though, but exit code -6. Here is the new output:
`root@ubuntu:~/mmt# ./mmt create en ar examples/data/train
=========== TRAINING STARTED ===========
ENGINE:  default
BILINGUAL CORPORA: 1 documents
MONOLINGUAL CORPORA: 0 documents
LANGS:   en > ar
INFO: (1 of 7) TMs clean-up...                                         DONE (in 4s)
INFO: (2 of 7) Corpora preprocessing...                                DONE (in 1m 56s)
ERROR Unexpected exception:
Command 'java -cp /root/mmt/build/mmt-0.14.1.jar -Dmmt.home=/root/mmt -Djava.library.path=/root/mmt/build/lib eu.modernmt.cli.TrainingPipelineMain -s en -t ar -v /root/mmt/engines/default/models/vocabulary --output /root/mmt/runtime/default/tmp/training/preprocessed --input /root/mmt/runtime/default/tmp/training/training_corpora --dev /root/mmt/engines/default/data/dev --test /root/mmt/engines/default/data/test' failed with exit code -6
Traceback (most recent call last):
File "./mmt", line 549, in
main()
File "./mmt", line 526, in main
actionscommand
File "./mmt", line 357, in main_create
debug=args.debug, steps=args.training_steps, split_trainingset=args.split_corpora)
File "/root/mmt/cli/engine.py", line 237, in build
(self._engine.data_path if split_trainingset else None), log=logger.stream)
File "/root/mmt/cli/mt/processing.py", line 148, in process
shell.execute(command, stdout=log, stderr=log)
File "/root/mmt/cli/libs/shell.py", line 55, in execute
raise ShellError(str_cmd, returncode, stderr_dump)
cli.libs.shell.ShellError: Command 'java -cp /root/mmt/build/mmt-0.14.1.jar -Dmmt.home=/root/mmt -Djava.library.path=/root/mmt/build/lib eu.modernmt.cli.TrainingPipelineMain -s en -t ar -v /root/mmt/engines/default/models/vocabulary --output /root/mmt/runtime/default/tmp/training/preprocessed --input /root/mmt/runtime/default/tmp/training/training_corpora --dev /root/mmt/engines/default/data/dev --test /root/mmt/engines/default/data/test' failed with exit code -6`
In case the above is not clear, please see this: https://codeshare.io/G787d1
Hope we find a solution for this.
Thanks

Ok, first step solved, let's see next: can you please post the file runtime//logs/training.log? (Just drag and drop it here)

Please find it enclosed. I had to add '.txt' to the extension because '.log' it not accepted on gihub.
Thanks again for your great support and follow-up.
training.log.txt

Hi @memoday
sorry for the delay but I've been out-of-office. So, looking at the logs it seems that your hitting a problem with the native library.
We already observed that with other users: basically the problem is the different hardware configuration of you machine. Nothing impossible to solve, of course!
What I would suggest is to follow the instruction for Installing MMT from source. If you compile the whole MMT on your machine, it will be optimized for your hardware and you should solve the problem.
Please, let me know any updates.
Cheers,
Davide

Thanks a million, David and sorry for bothering you during your time-off.
I will follow the instructions and let you know. I hope this will resolve the issue.
I will report back if this resolves the issue so other users know.
Thanks again for your great support.

No problem! :)
Thanks.

Hi David,
I confirm that installation from source on Ubuntu 16.04 works just fine :-).
On Ubuntu VirtualBox image, I got a kafaka error, but I believe it's a memory issue with VB image.
Thanks a million David for your support. I appreciate it.
Any idea when you plan to create interface or a plugin for main translation memory tools like Trados or MemoQ. Also, what about an interface to MateCat?
Thanks again for the all the work you do. You are really reshaping the language technology.
My best wishes and greetings to your team.
Kind regards,
Mohamed Zeid

One last thing:
This command won't work on Ubuntu 16.04
sudo apt-get install libbz2-dev libboost1.55-all-dev libsparsehash-dev cmake openjdk-8-jdk git maven
The problem lies in 'libboost1.55-all-dev', so I had to replace it with the following and it worked just fine.
sudo apt-get install libbz2-dev libboost-all-dev libsparsehash-dev cmake openjdk-8-jdk git maven

Hi @memoday
thank you very much for the support, it's really appreciated :)
Regarding CAT tools integration, we have good news: MMT is currently integrated into the MyMemory Plugin for Trados. If you activate MyMemoryPRO, you will receive MT coming directly from our MMT servers.
We currently support 3 language pairs: EN > FR, EN > ES and DE > EN.
More CAT tool integrations are coming in the next months: MateCat will probably be the next so, stay tuned!
Thanks  again for your support, if you need any other infos please don't hesitate to contact me.
Davide


[DataFactory]Merge new features into master

Added encryption property for Customer Managed Key: Azure/azure-rest-api-specs#10867

Added encryption property for Customer Managed Key: Azure/azure-rest-api-specs#10867

Added custom events trigger definition: Azure/azure-rest-api-specs#12503

Added Policy property into Databricks linkedService, Added admin property in Custom Activity typeProperties

Azure/azure-rest-api-specs#12383

Added managed identity support for authentication in Databricks linkedService: Azure/azure-rest-api-specs#12628

Added dualStandbyPairName property: Azure/azure-rest-api-specs#12357

Added managedVirtualNetwork reference to IR:Azure/azure-rest-api-specs#12339

@markcowl  This changes has been merged into ADFDev branch.  https://github.com/Azure/azure-sdk-for-net/pull/18309 and https://github.com/Azure/azure-sdk-for-net/pull/17399


Documentation: Adding Orderable superclass in code example in "Bindin…

Documentation: Adding Orderable superclass in code example in "Binding Pages to Snippets". If this is not included sorting in InlinePanel won't work so good to include it in documentation.

Merged in 72ee81fbe5e4d52083935d75200bf0d359cbc464.


the dimension of image

The dimension of the input picture in maple is (3,224,224), where 3 is the RGB three-channel? Or GBR?

Hi @SHIBOYA,
The input image to MaPLe is (3, 224, 224) with RGB channel sequence.
Thank you.


Add webhook functionality

This will close #3.
I also messed with the config system a little bit, and used pip freeze to get requirements.txt so that versions are pinned.

I will play with this over the weekend. Sorry I haven't got to it yet, thanks for knocking it out so fast!

No worries! I may also add variable substitution into the payload depending on how the weekend looks, but I figure basic functionality comes first.


an endpoint for lead and maintainers to see latest pr updates

an endpoint for me<EMAIL_ADDRESS>where I can see opened prs, sort by createdAt
an endpoint for maintainers where he/she can see project wise pr opened prs, sort by createdAt
create config.json where owner (me) and maintainer's email ids are there
in short an api with which we can track prs, we don't have to go to github and see if there is a new pr opened

/assign
Also tell me if you have specific response structure

i Have created 2 routes and here is the response of both.
1. /api/stats/prs/opend
{
  "totalOpenPRs": 3,
  "prs": [
    {
      "prNumber": 123,
      "title": "Add new feature X",
      "createdAt": "2024-10-15T10:20:30Z",
      "repository": "clubgamma/club-gamma-frontend",
      "points": 10,
      "author": {
        "githubId": "user123",
        "name": "John Doe"
      }
    },
    {
      "prNumber": 124,
      "title": "Update documentation",
      "createdAt": "2024-10-14T12:10:15Z",
      "repository": "clubgamma/club-gamma-backend",
      "points": 5,
      "author": {
        "githubId": "user456",
        "name": "Jane Smith"
      }
    },
    {
      "prNumber": 125,
      "title": "Fix critical bug",
      "createdAt": "2024-10-13T08:40:05Z",
      "repository": "clubgamma/club-gamma-utils",
      "points": 8,
      "author": {
        "githubId": "user789",
        "name": "Alice Doe"
      }
    }
  ]
}

2. /api/stats/prs/opend/projects
{
  "totalOpenPRs": 3,
  "response": [
    {
      "repository": "clubgamma/club-gamma-frontend",
      "prCount": 1,
      "prs": [
        {
          "prNumber": 123,
          "title": "Add new feature X",
          "createdAt": "2024-10-15T10:20:30Z",
          "updatedAt": "2024-10-16T11:25:00Z",
          "points": 10,
          "author": {
            "githubId": "user123",
            "name": "John Doe"
          }
        }
      ]
    },
    {
      "repository": "clubgamma/club-gamma-backend",
      "prCount": 1,
      "prs": [
        {
          "prNumber": 124,
          "title": "Update documentation",
          "createdAt": "2024-10-14T12:10:15Z",
          "updatedAt": "2024-10-15T09:45:00Z",
          "points": 5,
          "author": {
            "githubId": "user456",
            "name": "Jane Smith"
          }
        }
      ]
    },
    {
      "repository": "clubgamma/club-gamma-utils",
      "prCount": 1,
      "prs": [
        {
          "prNumber": 125,
          "title": "Fix critical bug",
          "createdAt": "2024-10-13T08:40:05Z",
          "updatedAt": "2024-10-14T07:50:10Z",
          "points": 8,
          "author": {
            "githubId": "user789",
            "name": "Alice Doe"
          }
        }
      ]
    }
  ]
}

Both API can be access by Owner and maintainers
"I still haven't opened a PR. Let me know the changes you have in mind.

ok so, you can keep it like
/api/stats/prs - for owner
/api/stats/prs/:projectId - for maintainer

also don't forget to put check with emails.

Ok bro i got it once you merge previous PR (Thank-You Mail) i raise a new one.

for owner, array will work with like below structure
[
  {
    "project/repo-name": [{prData}, {prData}]
  },
  {
    "project/repo-name": [{prData}, {prData}]
  }
]

for a maintainer:
[
  {prData}, {prData}
]

**_### api/stats/prs (Owner)

Insted of this
[
  {
    "project/repo-name": [{prData}, {prData}]
  },
  {
    "project/repo-name": [{prData}, {prData}]
  }
]

i suggest to go with this so you can access by key as we are keeping RepoID as key
we can iterate it as well
{
  "clubgamma/club-gamma-frontend": [
    {prData},
    {prData},
    {prData}
  ],
  "clubgamma/club-gamma-backend":[
    {prData},
    {prData},
    {prData}
  ],
}

api/stats//prs/:projectId (Owner & Maintainer)_**

{
"repository": "clubgamma/club-gamma-frontend",
"prCount": 2,
"prs": [
{prData},
{prData},
]
}

i suggest to keep structure like this so you can iterate it and direct access by key
{
  "clubgamma/club-gamma-frontend": [
     {prData},
     {prData},
  ],
  "clubgamma/club-gamma-backend": [
      {prData},
      {prData},
  ]
}

i suggest to keep structure like this so you can iterate it and direct access by key
{
  "clubgamma/club-gamma-frontend": [
     {prData},
     {prData},
  ],
  "clubgamma/club-gamma-backend": [
      {prData},
      {prData},
  ]
}

for owner na? if yes then okay, keep like this, raise pr.


user claims technology found in his repo is wrong

The following user said on twitter "Cool app! One thing though, my "mpnetwork" repo on GitHub (same username) is not CSS, it is Elixir (although there is definitely original CSS present!)"
https://sourcerer.io/pmarreck

We've updated the profile. It's showing elixir and scss as tech.
I'm closing the issue.


Add support for Cargo workspaces

This pull request add the ability for cargo multi to run the cargo commands across any crates in the workspace members section of a Cargo.toml file in the current directory, if there are none then it just reverts to the old behavior. I have also added that the first error code reported gets returned by cargo multi to make it easier for scripts using cargo multi.

@cswindle Thanks for your contribution! I am on vacation till the end of the month and will act on it as soon as I 'm back

@cswindle Just released a new drop to crates.io with workspaces support integrated. Many thanks for doing the heavy lifting !


Update field gui to display segments and extractors

There will be a two column table:

segment name shows the JSON path for the segment
the second column shows the associated extractors

Each row has an

edit button to open a dialog the select extractors, and to edit the JSON path (should validate that JSON path is syntactically valid)
delete button to delete the segment

Above the table is a Add Segment button.

The extractors are:

all our predefined extractors
spacy rules
glossary

Working on extractors will be the next big thing for Sherya to work on

I think this is obsolete in etk2


Add release notes for 0.11 release

https://github.com/n1analytics/anonlink/milestone/14?closed=1

Done in #183.


In-App Notifications - Dismiss Notifications

As a User of the application
I want to be able to dismiss notifications from my log
so that I can no longer see notifications that I've actioned/have no relevance anymore

Assumptions & Scope
What are the assumptions for this story?
This story will show how dismissing notifications are handled
This functionality will work the same for both assigned requests, and watching requests
What is IN scope?
The function of dismissing notifications in the log
What is NOT in scope?
Navigation from Notifications (Separate user story #856)
Events that trigger a notification (separate user stories #855)
Acceptance Criteria
Scenario 1: Notifications Log – Dismiss a single Notification

GIVEN a user has activated the notification log, and is on either the "My requests" or "Watching Requests" tab
WHEN they click on the x button on a specific notification
THEN that notification will disappear from the log

Scenario 2: Dismiss all notifications

GIVEN a user has activated the notification log
WHEN they click on the space where "Dismiss All" sits
THEN all notifications will disappear from the tab the user is on

Design
https://jacklyn808742.invisionapp.com/console/FOI---Intake-ckpq19frj032r013q6gpm8t1m/ckvl79z2u04k5012uctn2cyxn/play
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

Dismiss notification story - a little smaller, could roll it up with marking notifications as read... Just a thought while I was writing this - should a user be able to dismiss an unread notification? I can update the AC if so - I think creating that condition may annoy, especially for simple notifications that a user just needs to see once.
Comments welcome @lmullane @arielleandrews @JHarrietha-AOT @mpilchar

@m-prodan, @JHarrietha-AOT, why do you think we need both a 'Read' and a 'Dismiss'?

@lmullane I included a read and a dismiss as in discussions @arielleandrews & @m-prodan they mentioned how helpful it would be to have the quick access link to click into requests. This made me think users would then want to be able to show that they have completed the task or want to show they have actioned the notification but may want to keep it in there notifications to have quick access to it. If they decide they no longer want it to appear in their list than they can dismiss it and it will disappear from the list.
@m-prodan @arielleandrews Feel free to add any additional thoughts to the benefit of this.

Thanks @JHarrietha-AOT, I think that captures it. The user may want to mark for themselves that they've read the notification but leave it displayed if they haven't actioned it yet and want the link and reminder easily accessible

I wonder if this would be used more like a flag (i.e. flag this for later because it is important).

I like that @lmullane I'll update the icon from read to be a flag instead of a checkmark. I'll comment in #852 when its updated

QA completed, all scenarios passed as expected.


feat: add Windows support

Hi!
This adds support for the Windows platform, and fixes #22.
This is implemented using the ICU library that ships with Windows. Since I'm only including icu.h and linking icu.lib here, Windows versions earlier than Windows 10 1903 aren't supported. If this is an issue, this could be extended back to 1703 with more Windows-version-specific #includes and linking (as described in the link above).
I've split this up into three commits for easier reviewing 🙂

This is great, thank you!
Unfortunately, given that I don't have any way to test this and I have zero experience working with windows, my best assessment is basically that I can't see anything in here that would be outright harmful :D I'm just going to have to take your word for it that this is working as intended.
Would you say that this is ready to be merged?

As for testing: best way I can think of is doing it in CI by setting the runner's time zone and region to different values and checking that the plugin returns the correct IANA identifier. It doesn't look like it's too much effort, so if you want I can add that.

Thanks, that would be brilliant!

I added the tests 🙂
The run_integration_test_windows.ps1 script has a set of test parameters and loops through them, setting the Windows system's time zone and region and then running the local_timezone_test.dart integration test and verifying that the output is as expected. I've tried to keep it fairly general so that extending these integration tests to run on other platforms in the future is as easy as possible.
To keep the integration test simple I split the timezone label into its own Text widget, and since I was already at it I touched up the UI just a little bit, and added a refresh button (which I found useful for development). Hope you don't mind!

Amazing, thanks!

Published as 2.1.0


Apache configuration to Host Blazor webassembly

Adding Apache2 (httpd) example configuration to Host and deploy for Blazor webassembly.
Example is tested on CentOs7.

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

Thanks @harrison314 ...
Is it ok to break the long line for AddOutputFilterByType? We try to keep code lines <=85 characters so that we don't have horizontal scrollbars in the topics. If it isn't possible to break that line as I did on the update commit, I'll revert that back to one line.

Open an issue for major changes prior to submitting work. Management needs to be able to track everything outside of small patches and bug fixes via issues. No worries tho ... I opened one ... we're good here. :+1: :smile:

Is it ok to break the long line for AddOutputFilterByType? We try to keep code lines <=85 characters so that we don't have horizontal scrollbars in the topics. If it isn't possible to break that line as I did on the update commit, I'll revert that back to one line.

I fixed in commit fcb258b7161a0b0d713d2217e83f3b41b39f86f1 and tested it.

Open an issue for major changes prior to submitting work. Management needs to be able to track everything outside of small patches and bug fixes via issues. No worries tho ... I opened one ... we're good here

Thank you for the info.

Thanks @harrison314 ... that's perfect. We sometimes must allow a long line (and thus end up with a scrollbar), but it's good for us if we can keep them short like that.

ping @danroth27

I can't say either ... I have limited experience. Do you want to ping Sourabh to take a look?

@Rick-Anderson This wasn't reviewed by @shirhatti yet. Of course, we could let the community let us know if it 💥 later.


pytest 7

currently the pyproject.toml specifies ^6.0.1, will it work with pytest 7+?

Hi @indigoviolet, looking at the breaking changes list for 7+ I reckon this will just work. But I will do some testing and release an updated releases explicitly supporting 7.

I have done some QA and released 1.2.1 which allows pytest 7.
Nice work with nbmd by the way.

thank you!


🚀 - Language search input box

Which @codeimage/* package(s) are relevant/releated to the feature request?
Don't known / other
Description

This is the current situation. The support list might get longer and longer. Introducing a search bar in the menu or the possibility to write and filter for the languages in the input itself would be a great thing.
Thank you!

[!NOTE]

must add combobox input to https://github.com/riccardoperra/codeui
https://kobalte.dev/docs/core/components/combobox
Minimal implementation for tab name: https://github.com/riccardoperra/codeimage/blob/main/apps/codeimage/src/components/Terminal/Tabs/TabName/TabName.tsx


Implementation on web env

Since #196 has been merged, we can drive forward to web implementation.
After we've tested implementing UI components in web, we can think of publishing our new packages and deprecate all previous @dooboo-ui/native-* packages.
TODO

[ ] Web story book implementation and publishing to github pages.
[ ] Web implementation for all components we've worked on.

cc @JeffGuKang

We can notify others on implementation after we finish up the storybook integration for react.


Get price diff for other amounts

Would be nice if you can get the price diff per x liters to compare to a different fuel tank capacity.

you have the price per liter so should be straithforward to caluclate any tank capacity (see example Markdown on homepage)
Or do you see any other need?


add verbose terminal logging

would be nice to have a verbose mode that logs out a message to the terminal everytime something happens, like:
$ gist-snap
#...
$ rendered index.html
$ captured image
$ saved image as preview.png
$ resized image
$ saved image as thumbnail.png
# ...

I removed the auto git committing and added Nightmare({show: true}) so you can see what's getting screen shotted. Probably don't need more logging?

👍


Update source link page with deterministic builds

Fixes https://github.com/dotnet/docs/issues/17735
Fixes https://github.com/dotnet/docs/issues/17710
I think longer term we would want to link to instructions provided by the Source Link or NuGet repo, but https://github.com/clairernovotny/DeterministicBuilds seems fine to me for now.
@clairernovotny @tkp1n @mgravell

@JamesNK do you want the repo to be in my user account or would it be better to put it somewhere else (not sure where)?

The logical "somewhere else" would be "here in detail". I don't have a dog in the race of "here vs there".

@JamesNK do you want the repo to be in my user account or would it be better to put it somewhere else (not sure where)?

Should the discussion and instructions around deterministic builds be added to the Source Link repo? Your repo is fine. I don't feel strongly about it.

We should probably have more instructions there...and probably better verbiage around reasons for deterministic builds. What I had was done in 30 seconds trying to whip up a sample.
/cc @jaredpar @tmat

@clairernovotny From the sample repo readme:

Deterministic builds require two properties set to true during CI: ContinuousIntegrationBuild and Deterministic. These should not be enabled during local dev or the debugger won't be able to find the local source files.

Deterministic should be enabled always, and it's in fact enabled by default in .NET SDK projects. Deterministic itself won't trigger path mapping. DeterministicSourcePaths is a property that controls the mapping. Setting ContinuousIntegrationBuild to true will result in DeterministicSourcePaths enabled (if Deterministic is also enabled).
tldr: The only property that should be set in CI and not locally is ContinuousIntegrationBuild.

It'd also be useful to explain why GetPathMap target is needed for now:
https://github.com/clairernovotny/DeterministicBuilds/blob/master/Directory.Build.targets#L15

Should the discussion and instructions around deterministic builds be added to the Source Link repo?

I'd prefer it to be in dotnet/docs. Source Link is just one component that participates. Source Link would then link to dotnet/docs.

@tmat I just updated the sample. removed the Deterministic property and the extra Target. Coverlet's instructions will include the proper target to add for their workaround.

@JamesNK It looks like there is some feedback to incorporate. Are you still working on this PR?

I'm happy with the PR as it currently is. Feel free to approve and merge.


*: an (old) procfile for running libvirt/rkt examples and tests

This is for @dghubble's reference, but probably shouldn't be merged in it's originally proposed form.

Thanks for sharing this Joe. The Procfiles are nice, but I'm just not sure how best to integrate them into examples while still showing users how everything works (their main goal). I thought about putting them in contrib too, but I'm worried about maintaining them. https://github.com/coreos/coreos-baremetal/blob/master/Documentation/config.md has several commands already.
For now I'll close this, but feel free to open if there are other ideas.


Refactor codebase to async/await - spo serviceprincipal set until spo site apppermission set, Closes #5103

Closes #5103

Thank you, we'll review it ASAP.

Marked as priority because of discussion here

It's taken a while due to holidays, but I've merged it manually while fixing the smaller comments I'd made. Thank you! 🖖


WIP: Add roles (multisig wallets)

This addresses issue #150 and is a nice demo of adding a simple module with all the parts (handler, middleware, storage, custom errors, custom tx).
It can be used to create N-of-M accounts, to release with enough sigs.

Lint cleanup required for new files - There are some exported structs without comments under modules/roles/