Proposal for a reworked Code of Conduct

The current Code of Conduct suffers from multiple weakness as of today and sounds a limited tool to protect free expression of the LDK contributors, prevent harassment of any kind, guarantee high standards of behaviors among LDK contributors vetted with janitorial roles and solve inter-personal conflict in a way protective of the rights of the defense.
This proposal keeps the same of Code of Conduct team: TheBlueMatt, valentinewallace and devrandom, while introducing a complete framework under which the Code of Conduct should be interpreted (i.e a public forum), ethical responsibilities for the Code of Conduct team and a incident response answering minimal criteria of a due process.
This new proposal aims to prevent in priority the following wrongdoings among the LDK community:

abusive free expressions restrictions by the technical admins of the LDK communication channels (e.g Github admins, Twitter feed owners or Discord servers operators)
moral or sexual harassment committed by a LDK contributor towards another LDK contributor
publication of obscenous content or false statement of facts
ethical wrongdoing or conflict of interests from contributors trusted with janitorial roles damaging the LDK project reputation

There is probably a need to split in multiple documents, each scoped to address its own concern.
One subject absent of the list of wrongdoings, I would like to address is the spam, either being pure troll or machine-driven. We have a real concern to have all our communication spaces DoSed by auto-supervised learning framework in the future (e.g GPT).
In matters of public forum, it does introduce an explicit list of the communication channels we consider constituting the forum, and the guiding principles (“content-neutral” and “time, place or manner”) under which the restrictions can happen, while deferring to future works precise restrictions rules.
In matters of ethical responsibilities, the ACM Code of Ethics and Professional Conduct is mentioned with an invitation to read to all the community contributors. The ACM is a 76-years old international associations dedicated to the advance of computing in society, strong of 100 000 members, and organizing multiples world-class in-person conferences (e.g the CSS conf in infosec). While the proposed Code of Ethics might be seen as covering too much dimensions for an open-source project of the maturity of LDK, I think it constitutes a reasonable ground for any Code of Ethics we might refer too.
Additionally, the Code of Conduct team are recognized specific ethical duties of integrity, spirit of independence, impropriety or appearance of impropriety, fairness, impartiality and diligence in the conduct of their responsibilities. They’re recalled the risk of conflict of interests, and I still think it’s missing a recusal process.
Harassment has its own sections, with the warning than it’s preempted by considerations of free expression and the risk of hijack of the harassment process by conspiracy or collusions. By essence the development of cryptocurrencies is adversarial and competitive, in the sense that stakeholders are competing for ideas, code and organization interests. This has been already discussed in the past in the ecosystem during the block war (e.g Adam Back’s opinion on social check-and-balances for Bitcoin FOSS process). I think we would be naive as a community if we don’t discuss openly of that type of “cultural hijack” or “corporate capture” risks.
The incident process is framed steps by steps in inspiration of real-world conflict-resolution process (mediation, arbitrage, disciplinary process from law bars, criminal offence process). There is normally a time-bound for each step and what actions the Code of Conduct team should take. There is an open question if we should have a different member of the Code of Conduct team doing the investigation and the prosecution. The accused is offered a delay to prepare a defense and can be assisted by another LDK contributor during the whole process. There is an appeal step introduced, if the sentence rendered by the Code of Conduct team does not seem fair, in favor of the accused.
W.r.t to the incident process there is a real equilibrium to find between the rights of the defense, the public interest of the LDK project, the protection of the victim and the amount of time and energy we’re ready to dedicate as a community. It turns out a clear and formal process, inspired from real-world experience is far more likely to lead to better conflict resolution than the previous Code of Conduct inspired from the world of open-source. The past discussion in the Rust community, on who is moderating the moderators is a good example.
Finally, there is a recall of the presumption of innocence, a fundamental principle of all modern jurisdictions, and recognized international declaration of rights (e.g the ECHR or the UDHR). There is a process duty made to have all the communications made by the Code of Conduct team towards all the parties timestamped in the Bitcoin chain with a notary protocol (e.g OpenTimestamps), to enable decentralized and cryptographic audit of the Code of Conduct process if needed. The protection of the Code of Conduct team in the conduct of its responsibilities against retaliations and threats is also introduced as an open questions.
For sure, this new Code of Conduct is inspired by legal considerations in anticipations of future social attacks we might face from internal or external adversaries. I will consult the Bitcoin Legal Defense Fund on this new revamped version of the Code of Conduct in face of US constitutional law.
Additionally, I think there is a legal due diligence to be done to ensure our documentation at the project-level is compatible with other major jurisdictions, I’m thinking the UK and the major European jurisdictions (and ideally we would consider some prominent common law jurisdictions like Canada, Australia or South Africa ?) . Opened to share the legal risks framework with other LDK senior contributors, as we’re doing on the Core-side.

This is my reasonable opinion all the members of the Code of Conduct team should have a 101 legal training and ensure they have access to competent lawyers in case of issues arising in the conduct of their Code of Conduct responsibilities. Those legal risks already exist with the current Code of Conduct and I don’t think we understand well our liabilities here.

This seems mostly fine enough, but I'm not sure why this is a good use or anyone's time.

Sorry it's unclear to me - Are you the Benevolent Dictator For Life of the LDK project ?
In case of disagreement between the two oldest active contributors on what should be the norms of this project, I think all the contributors should have an opportunity to express their opinions, and as such building consensus.

Sure, this isn't locked, people can chime in, but I can't say I'm gonna expect others to want to spend their time on this over real work :)

Can you re-opened it and let people have their says ? Otherwise closing it is already a judgement on the worthiness of this proposal, from my perspective.
You'll note there is no mention of personal matters in this document and it only aims to serve the future :)

Closing in favor of #210 a minimal version addressing my main concern of process separation.


Change to v10 endpoint

#820  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alanvardy and the rest of your teammates on  Graphite

The v9 deprecation looks like a mistake on Doist's part, closing for now.


fix NewWithTokenWithClient so it preserves the original http client t…

…ransport
/kind bug
What this PR does / why we need it:
We recently added a new function that creates a new github client using an existing http client, which people can configure things like a rate limiter.  It looks like a new http client is always created when a token is passed.  This PR will preserve the transport of the original http client.
Special notes for your reviewer:
Does this PR introduce a user-facing change?
NONE

/ok-to-test
thanks!


[FEATURE] Allow @Value classes not to be final

Using the @Value annotation currently creates a value object with a final class. Effectively, the final modifier's only purpose is to prevent subclassing of that type which is an honorable goal and probably okay in most of the cases. In combination with staticConstructor it's actually not even needed as the constructor generated is turned private anyway and all the user ends up with is a public static factory method anyway.
Why would I want a value object not to be final?
As indicated there are use cases that require subclassing of the types. #892 describes one where user code would do this. However, frameworks might want to create short lived proxies for those types to allow e.g. the application of a method reference for sole invocation recording purposes. E.g. in Spring Data we'd like to provide a Sort abstraction that's supposed to allow the following:
Sort.sort(Person.class).by(Person::getName).asc();

We already have infrastructure in place that creates a proxy for the given type, takes the method reference, executes it on the proxy and in the method interceptor find out about the method that was invoked, the reference invokes to build up the sort expression. This requires a type that we can create a proxy of in the first place.
The code that's generated by @Value creates a type that's effectively immutable anyway as it doesn't expose any means to change state of an instance. So while it's perfectly fine to resort to making that type final by default, it would be cool if the user could opt out of that for convenience reasons

Hmm, doesn't @NonFinal on the class do exactly this?

In fact it does. It just didn't cross my radar as it's in the experimental package and closely aligned with @FieldDefaults, which sort of created the impression it was usable with fields not with types.
I'd be fine with the documentation being updated to mention this more prominently. A boolean flag right within @Value would still be slightly nicer, I guess.

In fact, the javadoc isn't really clear at this point. This should be improved, together with the website documentation on @Value.

The code that's generated by @Value creates a type that's effectively immutable anyway as it doesn't expose any means to change state of an instance.

Yes, but you can add new fields and setters for them in the subclass . So if you want a really immutable class, it must be final. That said, I agree with you.

I welcome a suggestion on how to improve the documentation.

Raised a tiny PR for this https://github.com/rzwitserloot/lombok/pull/2111

PR integrated :)


Https support

Added https support

change http to https in http files
frontend and backend secured using certificate generated using mkcert, both share same certificate
frontend now hosted at https://localhost/
update run-services.sh to auto generate certificates for frontend and backend
update README.md with extra dependencies

closes #64

Also need to add these 2 to gitignore

makes sense, working on it


core: fix segfault on register_plugin

This should fix a segfault due to a race which seldomly happened, about 1/100 or 1/1000 cases.
The events leading to the segfault are as follows:

A plugin is constructed and calls register_plugin.
register_plugin calls enable() of the plugin which does all message registrations/subscriptions.
While the plugin is still initializing, MAVLink messages are already being received and distributed to the plugins.
Before the callbacks are called from the _mavlink_handler_table the lock is released and acquired again after the callback.
If it now happens that a new message is registered right at the moment after the unlock before the callback is called, the iterator might be invalidated. (For instance if the vector data is moved
because its capacity needs to be doubled.)
We then call the callback of the invalid iterator and segfault.

The patch fixes the problem by never unlocking during the callback. This means that it is not possible to register new message handlers inside a message handler callback. It will deadlock. However, this
should be found during development and can be documented. Also, plugins usually subscribe to everything required in the initialization and don't tend to change this later. I don't know of any plugin which would currently do that.
Presumably ixes #932.

I ran 3500 test flights over night and have not seen the segfault since.


Add support for eslint for inline js

https://github.com/BenoitZugmeyer/eslint-plugin-html
with this plugin eslint support inline js.

That works already. You need to configure ALE so you can run JavaScript linters on HTML files.
let g:ale_linter_aliases = {'html': ['html', 'javascript']}
let g:ale_linters = {'html': ['eslint', ...]}

You can also use the b: variables.


database conversion failes "ddev debug migrate-database mysql:5.7/mariadb:10.4"

Is there an existing issue for this?

[X] I have searched the existing issues

Run a Diagnostic and Paste Link Here
No response
Expected Behavior
accomplish migration/conversion of database
Actual Behavior
with "watch -n 1 ls -lisah ./" in the folder .ddev/.downloads/ I figured out, that the folder .ddev/.downloads/ gets deleted before the error occurs.
Every 1.0s: ls -lisah ./
sh: 0: getcwd() failed: No such file or directory
total 0
Steps To Reproduce
Create a Project in mariadb 10.4 or mysql 5.7 and run a debug migrate to the other db
Anything else?
changed actual project name to "projectname" and user to "user"...
$ ddev debug migrate-database mysql:5.7
Is it OK to attempt conversion from mariadb:10.4 to mysql:5.7?
This will export your database, create a snapshot,
then destroy your current database and import into the new database type.
It only migrates the 'db' database [Y/n] (yes): Y
Wrote database dump from project 'projectname' database 'db' to file /home/user/project/.ddev/.downloads/db.sql.gz in gzip format.
Creating database snapshot projectname_remove_data_snapshot_20230403124527
Container ddev-projectname-db  Removed
Container ddev-projectname-dba  Removed
Container ddev-projectname-web  Removed
Network ddev-projectname_default  Removed
Volume projectname-mariadb for project projectname was deleted
Volume projectname-postgres for project projectname was deleted
Volume projectname_project_mutagen for project projectname was deleted
Project projectname was deleted. Your code and configuration are unchanged.
Network ddev-projectname_default  Created
Container ddev-projectname-db  Started
Container ddev-projectname-dba  Started
Container ddev-projectname-web  Started
Container ddev-router  Started
failed to import-db /home/user/project/.ddev/.downloads/db.sql.gz: Unable to validate import asset /home/user/project/.ddev/.downloads/db.sql.gz: invalid asset: file not found

You didn't do the ddev debug test and put in a gist and give a link, so I don't know much about your environment or even what version of DDEV you're using. Could you please do that and edit? You can put it on any pastbin, or attach as a file if you want.

ddev debug test.txt

Thanks for doing that; It looks like you're not able to resolve *.ddev.site or something? Anyway, failed on external access, but that wouldn't affect the database conversion.
BTW, the ddev debug migrate-database mysql:5.7 is not expected to be something you'd ordinarily use. Why don't you just use ddev config --database=mysql:5.7 ?

Thanks for doing that; It looks like you're not able to resolve *.ddev.site or something? Anyway, failed on external access, but that wouldn't affect the database conversion.
BTW, the ddev debug migrate-database mysql:5.7 is not expected to be something you'd ordinarily use. Why don't you just use ddev config --database=mysql:5.7 ?

yeah... i cannot reach it from my local network... but on my local machine.
because I already have a mariadb-dump from my local env, which is also mariadb but the live system has mysql 5.7. so im forced to convert it to mysql.


Cocoapods integration

Will be possible to install this picker using cocoapods in the future?
Thanks.

Hello,
Yes it's basically all already setup: I just need to add the .podspec and LICENSE files, I'll do that in the next 1-2 days. Stay tuned!

+1

I've just finished the CocoaPods integration and updated the README.md accordingly. Please let me know if everything is working as it should.

It worked :)
Thanks


w2v embedding loading function modified

Add a parameter in loading function, in order to solve the w2v embedding loading memory issue.

why are u creating 2 PRs for the same thing?

I just followed the guideline to resubmit a pull request.

@danielwonght Did CI passed locally?

All test cases in  passed locally.

All test cases passed by calling "make test".

It is because of tqdm.  See #811


Feature: Insert Patient and Caregivers to Address Book

Feature: Add Patient and Caregiver Details with Validation
Step 1: Add Patient Details
Command Format:
addpatient /fname  /lname  /nric  /phone  /address  /email
Example Commands:
addpatient /fname John /lname Doe /nric S1234567A /phone 91234567 /address 123 Clementi Ave /email<EMAIL_ADDRESS>addpatient /fname Sarah /lname Tan /nric T9876543Z /phone 98765432 /address 45 Upper Thomson /email<EMAIL_ADDRESS>Parameters and Validation:
1. First Name (fname)
Acceptable Values:

Alphabetical characters only (A-Z, a-z), spaces allowed
Length: 1-50 characters

Error Message:
"First name must contain only alphabetical characters and cannot exceed 50 characters."
2. Last Name (lname)
Acceptable Values:

Alphabetical characters only (A-Z, a-z), spaces allowed
Length: 1-50 characters

Error Message:
"Last name must contain only alphabetical characters and cannot exceed 50 characters."
3. NRIC (nric)
Acceptable Values:

Valid Singapore NRIC format (e.g., S1234567A or T9876543Z)
Length: Exactly 9 characters

Error Message:
"NRIC must be in the valid Singapore NRIC format (e.g., S1234567A or T9876543Z)."
4. Phone (phone)
Acceptable Values:

Singapore phone number (8 digits, starting with 6, 8, or 9)

Error Message:
"Phone number must be 8 digits and start with 6, 8, or 9."
5. Address (address)
Acceptable Values:

Alphanumeric characters, spaces, and punctuation marks
Maximum length of 100 characters

Error Message:
"Address must not exceed 100 characters."
6. Email (email)
Acceptable Values:

Valid email format (e.g<EMAIL_ADDRESS>
Error Message:
"Email must be in a valid email format (e.g., example@example.com)."
Outputs:
On Success:

Message: "Patient <First Name> <Last Name> has been successfully added."
UI Change: Patient details are saved to the CSV and the patient table.

On Failure:

Message: Appropriate error message depending on the invalid parameter (e.g., "NRIC must be in the valid Singapore NRIC format").
UI Change: Invalid data will not be saved.

Step 2: Add Caregiver Details and Link to Patient
Command Format:
addcaregiver /fname  /lname  /nric  /phone  /address  /email  /patientid
Example Commands:
addcaregiver /fname Emma /lname Tan /nric S2345678B /phone 91234567 /address 456 Yishun Ave /email<EMAIL_ADDRESS>/patientid 1 addcaregiver /fname Liam /lname Lee /nric T8765432Y /phone 87654321 /address 78 Serangoon Ave /email<EMAIL_ADDRESS>/patientid 2
Parameters and Validation:
1. First Name (fname)

Same rules as the patient’s first name.

2. Last Name (lname)

Same rules as the patient’s last name.

3. NRIC (nric)

Same rules as the patient’s NRIC.

4. Phone (phone)

Same rules as the patient’s phone number.

5. Address (address)

Same rules as the patient’s address.

6. Email (email)

Same rules as the patient’s email.

7. Patient ID (patientid)
Acceptable Values:

Numeric values representing the patient’s ID from the patient table.

Error Message:
"Patient ID must refer to an existing patient."
Outputs:
On Success:

Message: "Caregiver <First Name> <Last Name> has been successfully added and linked to patient <Patient ID>."
UI Change: Caregiver’s details are saved to the caregiver table, and they are linked to the patient based on the patientid.

On Failure:

Message: Appropriate error message, e.g., "Patient ID must refer to an existing patient."
UI Change: Invalid data will not be saved.

Duplicate Handling:
For Patients:

Rule for Duplicates: Patients are considered duplicates if their NRICs are identical.
Behavior: If a duplicate NRIC is detected, the system rejects the new entry.
Error Message: "Patient with NRIC <NRIC> already exists in the system."

For Caregivers:

Rule for Duplicates: Caregivers are considered duplicates if their NRICs are identical.
Behavior: If a duplicate NRIC is detected, the system rejects the new entry.
Error Message: "Caregiver with NRIC <NRIC> already exists in the system."

Pradyu: Add patient
Lavanya: Add caregiver

caregivers and patients both use the add command
they are differentiated by tags

Proposal: Introduce Role Enum vs. Using Tags in Person Class
Current Setup
We planned to use the tags attribute (Set) in the Person class to mark someone as a patient or caregiver.
Proposed Change
Create a Role enum (with PATIENT and CAREGIVER) and add a Set<Role> to the Person class.
Why I Think This Might Be Better

It's more specific - we'd have a dedicated way to handle roles.
Less chance of typos - can't accidentally write "paitent" instead of "patient".
Makes our code clearer - easier to understand at a glance what we're checking for.
IDE Support: Enums provide better autocomplete and refactoring support in IDEs.

We'll add two new fields to Person:

Set dependentICs
Set caregiverICs

These will store the IC numbers of a person's dependents and caregivers.
I chose "dependent" instead of "patient" to avoid confusion with the PATIENT role we already have.
By storing just the IC numbers, we can:

Save memory
Avoid circular references
Make it easier to add or remove relationships without loading whole Person objects

We'll need to add methods like:

addDependent(String IC)
removeDependent(String IC)
addCaregiver(String IC)
removeCaregiver(String IC)

And update equals(), hashCode(), and toString() to include these new fields.
Also, we'll need to update other parts of the code that work with Person objects


READ_RESTART_BY_FACE is broken

This feature would require that the "face" restarts have been written by WRITE_RESTART_BY_FACE. Otherwise the code fails when checking for existence of the "per face" restarts. Even when we have the individual "face" restarts, the reading is still broken. The part that checks if the file exists is working, but then the code is trying to open a "regular" restart (written with WRITE_RESTART_BY_FACE = NO) and it fails in the nfopen call

Long terming. This is being worked on.


Confirming study through Dataporten should have better error-handling

As it stands right now, errors on the side of Dataporten propagates to our server, causing a 500-error, examples would be:

https://sentry.io/organizations/dotkom/issues/1143315937/?environment=PRODUCTION&project=204971&query=is%3Aunresolved&statsPeriod=14d
https://sentry.io/organizations/dotkom/issues/1133738025/?project=204971&query=is%3Aunresolved
Note: you need to be in dotkom to read the sentry messages due to personal information.

This is likely an issue related to the account not being registred in fully / correct at Dataporten/Feide, and should give more meaningful error-messages than "Null"

Fixed in part by #2290


fix(DIST-1131): Allow comas in hidden fields

Array and object attributes can have values with coma. It needs to be escaped with backward slash.

:tada: This PR is included in version @typeform/embed-v1.17.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Nit. Public profile not showing full address

User has a full address specified in the profile.

but not shown on the public profile:

Note also that the label for 'Working Groups' here is not found in the de.yml file and should be 'Arbeitsgruppen'. More so, the different group names should be separated by ', ' and not glued together.


Fix sass files location issue

This fixes "Individual stylesheets must be in the sass directory." error, when you have compass project deeper than your gulpfile root.
Explanations:
https://github.com/appleboy/gulp-compass/issues/61#issuecomment-137358981

This fixes my issues too! Would be great if you can merge it in..


Fixed #29138 -- Added ModelAdmin.autocomplete_fields support for ForeignKeys that use to_field.

Bug fix for 29138; creating PR as requested.

Note I've been able to update all unit tests and create some new ones, however I haven't been able to leverage to_field_allowed to prevent data leaks. I've tried to implement it (see here), however I can't get it to play nicely with the unit tests. When uncommented, the id_field isn't properly being considered as to_field_allowed. I'm not familiar with this function, so could use some help troubleshooting.

Oh by the way, you'll should base your branch off master and not stable/2.1.x and will backport will take place if necessary.

The unit tests admin_views.test_autocomplete_view doesn't pass due to a DisallowedModelAdminToField error being raised; I'm not sure how to resolve this issue as I'm not familiar with to_field_allowed() function.

Superseded by #11990.


[WIP] Added DescendUpdater training to Neural Nets

This implements a general DescendUpdater training in nn.cpp
It currently has no functionality to set the data members for the DescendUpdater object, so GD goes forth with the default values (the gradient_descent unit test is passed).
Is this implementation design correct? I'll modify it or complete it accordingly.

@arasuarun it is a good thing to do! Maybe we can drop the enum and just pass the object instead?

@yorkerlin thought it would be better to do it this way #2967.
If we used an object, the user would have to create one separately himself and then pass it while creating the neural net. It seems like extra effort on his part... or is there a better way to do it?

And as of now, there is no way to set the data members of the DU object (hence WIP). I opened #2972 to make this easier.

@yorkerlin What about this one? :)

Okay, I'll remove the enum and just keep a DescendUpdater object as a data member for NeuralNetworks. I think that'll easily wrap up this entire training algorithm.

@lisitsyn @yorkerlin I've now changed it to the user setting an object instead of passing an enum.

@yorkerlin @lisitsyn @anyone? :P

Ping :)

ping :)

@yorkerlin @lisitsyn , please review. With the user passing the DescendUpdater object, it's not actually a [WIP] anymore, unless you guys would like to have anything else added.


spring.aad.webapi breaking change in 3.7.0

Describe the bug
As we tried to update com.azure.spring:azure-spring-boot-starter-active-directory from 3.4.0 to 3.7.0  we did not expect any breaking changes on the API but there were several. This is especially unexpected when you use a custom configuration.
e.g.: com.azure.spring.aad.webapi.AADResourceServerClientConfiguration was removed.
To Reproduce
Upgrade from version 3.4.0 to 3.7.0.
Expected behavior
Follow semantic versioning where a minor version change does not cause a breaking change.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

@stliu can you please follow up on this?
@JonathanGiles was this missed in apiview?  @benbp @kurtzeborn are there extra gates we could add to catch this in the build pipeline?

@praveenkuttappan

As far as I can see, this is not on APIView. I'm not sure how this was released - something @stliu can chase up. I would expect that going forward these will go through the standard APIView review process too.

@JonathanGiles I totally agree, @chenrujun is working on it, to have all our release go through the standard api review process

Hi, @spoptchev-extern .
Thanks for reaching out.
It's our mistake to have breaking change.
We are trying to avoid breaking change by some tool in the following release versions.
If you want to find com.azure.spring.aad.webapi.AADResourceServerClientConfiguration in 3.4.0, please use com.azure.spring.aad.AADOAuth2ClientConfiguration in 3.7.0 instead.
Sorry to cause you trouble.

No problem, thank you for improving the process.

Closing this issue. Use https://github.com/Azure/azure-sdk-for-java/issues/23471 to track this problem.


Create multiple classes that extend CI_Form_validation not using the default name MY_Form_validation

I am using CI 3.x and I wanted to create multiple validation classes for forms.
I just learned from this StackOverflow thread that only the name MY_Form_validation.php (given the default prefix MY_ is set in the configuration) is allowed.
If this is legitimate why isn't this supported? I just want to create separate validation classes for different business logics and I want to keep all my validations in their classes, not in the controllers.
If not, is this mentioned in the documentation?
I am looking forward to your support.

Have you post this on the CodeIgniter forums? That's probably a more appropriate place to ask this.

how about: /application/third_party/CustomFValidation.php

This is a bug tracker, not a support ticketing system.
As already pointed out, our forums are a the place to ask such questions.


Added FLAC encoder + ofstream type deduction + fast pcm encoding

Finally got around to finishing it.
Main highlights:

FLAC encoding is added

includes tests

ofstream container based on file type

no need to explicitly declare encoder anymore

fast pcm encoding added
vcpkg is now a proper submodule

Todo (in another update/lifetime):

Add vector_sink

Closing this as I will refactor the PR to reduce the scope.


.NET 8 (Blazor) support

The problem
Current version does not work with last .NET 8
The proposed solution
Update dependencies?
Additional context
warning NU1608: Detected package version outside of dependency constraint: Mapsui.Blazor 4.1.1 requires Microsoft.AspNetCore.Components.WebAssembly (>= 7.0.5 && < 8.0.0) but version Microsoft.AspNetCore.Components.WebAssembly 8.0.0 was resolved.
NU1107
Mapsui.Blazor 4.1.1 -> Microsoft.AspNetCore.Components.Web (>= 7.0.5 && < 8.0.0).
1>Done building project "XXX.csproj" -- FAILED.

As a workaround, add nuget package Microsoft.AspNetCore.Components.WebAssembly 8.0.0 to your project.

Microsoft.AspNetCore.Components.WebAssembly

I do not understand blazor project (which reference Mapsui,Blazor already have Microsoft.AspNetCore.Components.WebAssembly reference (as i think it is included by default in blazor client project)

I can not give a lot of attention to these platform specific issues. The issue you face is caused by the upper limit we set in our nuget. It is easy to remove that limit but it still may not function. I am not sure how Blazor compatibility works. We are building with Blazor 7 and I would think you really need to build with Blazor 8 to deal with breaking changes. If so, you need to wait for Mapsui v5.
@p2pbsh did you get Mapsui 4 to work in Blazor 8?

@pauldendulk  Can confirm, Mapsui 4 does work in a Blazor 8 project, based on the new webapp auto rendering template.
@jirisykora83  Sorry, was a long day, gave you duff advice, install 'Microsoft.AspNetCore.Components.Web 8.0.0' nuget into your wasm client project, not 'Microsoft.AspNetCore.Components.WebAssembly'
One thing though...Mapsui works great in Blazor, thanks again @inforithmics, but have discovered if I publish the wasm client with AOT enabled, the map fails to load. I don't get any exceptions, no trim warnings during publish, nothing, AOT just seems to break something. Curious if that's a know issue or something to do with the dotnet 7 dependencies?

@pauldendulk Can confirm, Mapsui 4 does work in a Blazor 8 project, based on the new webapp auto rendering template.
@jirisykora83 Sorry, was a long day, gave you duff advice, install 'Microsoft.AspNetCore.Components.Web 8.0.0' nuget into your wasm client project, not 'Microsoft.AspNetCore.Components.WebAssembly'
One thing though...Mapsui works great in Blazor, thanks again @inforithmics, but have discovered if I publish the wasm client with AOT enabled, the map fails to load. I don't get any exceptions, no trim warnings during publish, nothing, AOT just seems to break something. Curious if that's a known issue or something to do with the dotnet 7 dependencies?

Thank you adding Microsoft.AspNetCore.Components.Web fix build. There are still some warnings but at least build works.
I do not use AOT but there was LinkerConfig not sure if it is still supported.

I can not give a lot of attention to these platform specific issues. The issue you face is caused by the upper limit we set in our nuget. It is easy to remove that limit but it still may not function. I am not sure how Blazor compatibility works. We are building with Blazor 7 and I would think you really need to build with Blazor 8 to deal with breaking changes. If so, you need to wait for Mapsui v5.
@p2pbsh did you get Mapsui 4 to work in Blazor 8?

Yes, I am building with (migrating to) .net 8. As for all projects we have it was just updating nuget (or wait for nuget to update if their use upper limit as for us it was just npgsql and mapsui) & change version basically. I am not too familiar with MAUI & android/ios developing but I guess there is lot more works between version. If blazor isn't priority maybe you can remove the upper limit as if it isn't working then we still have to wait for new major release anyway and if it works then it is fine.

AOT can not be used in all situations. Mapsui has a lot of dependencies so it is likely there is something in there which is not compatible with AOT. I think this is a problem Blazor 8 as well. It would be nice if we could support AOT though.

Ok, cheers Paul. I'm guessing there's something in there that needs reflection, which seems to be the primary crusher of aot dreams.
Hardly a high priority, but currently mapsui will happily build in aot then silently fail, not sure how to do it, but would be handy to propogate an aot compatability behaviour warning to the user like you see in the dotnet libs.

I have not investigated AOT at all so far. Guess it is time to start to think about it, but I don't think we will support it in v5. A quick search shows we use System.Reflection in a couple of places.
About showing an error to the user. If it writes something to the logger this would be enough for me (perhaps that already happens). We are working on ways to make the logging more visible to developers.

dotnet AOT is a bit wild west at the moment so I imagine the migration path will be a little smoother further down the road. That said, basic dotnet performance on wasm is not particularly great, being able to AOT buys huge performance gains, so Mapsui support would be pretty cool :)
I did check on Skia out of curiosity, apparently its used in AOT on UNO, but don't quote me on that, haven't ran it personally.

I have a quite complicated blazor component with a SKGLView and a lot of skiasharp in the code and it works in wasm AOT but no map in a mapsui component. If this can be of any help

@pilotshamn So SkiaSharp support AOT, good. That is one requirement checked.

Pull Request to Add .NET 8 To Blazor in 4.1 Branch
https://github.com/Mapsui/Mapsui/pull/2329

.NET 8 is now supported in v4 van v5. Work has been done on AOT. This is the issue for that https://github.com/Mapsui/Mapsui/issues/2327


[stable/fluent-bit] #1785 namespace defined templates with chart name

#1785

/assign
/ok-to-test

Please resove conflict @kevinschumacher
Sorry about that.

/lgtm
/approve


APPCMD failed with error code 4312

I have a very simple image with ASP.NET application:
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-1803
RUN Install-WindowsFeature MSMQ-Server
ENV CONNECTION_STRING=empty
RUN md C:\Customization; md C:\Snapshots; md C:\Backup
COPY ./Site/ /inetpub/wwwroot

I create a container with this command:
docker run -p 8085:80 --name test1 myimage -e CONNECTION_STRING='Data Source=(local);Initial Catalog=mydb;User Id=sa;Password=mypass'
But it immediately stops with the following error:
 Service 'w3svc' has been stopped

APPCMD failed with error code 4312

Failed to update IIS configuration

Please advise why I receive this error.

You have two problems with your approach. First one is myImage needs to come last, after the environment variables. You also need double quotes around your connection string as it has spaces. This has worked successfully on my machine:
docker run -p 8085:80 --name test1 -e CONNECTION_STRING="Data Source=(local);Initial Catalog=mydb;User Id=sa;Password=mypass" myimage

Since I tracked this down I thought I'd share... ServiceMonitor by default starts DefaultAppPool, if you delete the defaultAppPool and intend to use a different name, then you get this error. To solve it/workaround you need to pass the correct app pool name... Yeah, after spending 40 minutes on this I ran the command with no arguments and had my answser.
USAGE: C:\ServiceMonitor.exe [windows service name]
       C:\ServiceMonitor.exe w3svc [application pool]

Options:
    windows service name    Name of the Windows service to monitor
    application pool        Name of the application pool to monitor; defaults to DefaultAppPool


Only first 100 tracks loaded

this playlist had 1k tracks https://open.spotify.com/playlist/2S2bAjLaE0CN2V0cTwAeEL, but with package this only get 100 tracks, any way to get all tracks?

oh [https://github.com/microlinkhq/spotify-url-info/issues/69](also getting this), closing


PR: Retrieve the volunteer info for a specific volunteer

Rolve: #19
Short description
The supervisor should be able to visible the detail about a specific volunteer. The volunteer should be able to visible their personal detail.
Test cases

Test case
Result

/v2/volunteer?user_id=25, authenticated as supervisor

/v2/volunteer?user_id=25, authenticated as volunteer

/v2/volunteer?user_id=25, unauthenticated
Does not return any information from the database

I've tested that the supervisor is visible for volunteers' detail, and the volunteer is invisible for other volunteers' detail. However, the volunteer is also invisible for their personal detail.

Development
I have reorganized the volunteer folder by removing everything from it and transferring all the contents into the volunteers folder. Additionally, I have made improvements to the API by refactoring them.
Test

Test case
Result

/v2/volunteers, authenticated as a supervisor and show all volunteers' info

/v2/volunteers/25, authenticated as a supervisor and show the personal detail for volunteer id=25

/v2/volunteers/25, unauthenticated
Does not return any information from the database and shows up the TypeError

/v2/volunteers/8, authenticated as a volunteer id=8 This is not a finished implementation
"message": "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required."

/v2/volunteers/25, authenticated as a volunteer id=8
"message": "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required."


Compilation issue for Dart 1.3 branch on CentOS 6.5

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

Follow "How to Build and Test the Dart Project"
During 'dartanalyzer' compilation phase, "javac" check doesn't work in "editor/tools/compile_analyzer.py" script

What is the expected output? What do you see instead?
An error occurred during compilation :
"You do not have JDK installed, can't build the analyzer"
What version of the product are you using? On what operating system?
CentOS 6.5
Pyhton 2.6.6
Please provide any additional information below.
In fact, on line 98, 'subprocess.check_output([javac_path, "-version"])' should be replaced by 'subprocess.check_call([javac_path, "-version"])', because 'check_output' isn't defined on Python 2.6.6. (see https://docs.python.org/2/library/subprocess.htm)

Closing as stale as this is more than 12 months old. If this is still an issue, please file a new bug.


dashboard_overview_data() is often quite slow.

I have instrumented dashboard_overview_data() to log duration of most of the functions it calls.
  It could be placed in a spawn_blocking.  That would help concurrency, but not RPC response time.  Better yet, I think it should be removed from the dashboard overview RPC, and from neptune-core entirely.  Since the dashboard and neptune-core are supposed to reside on the same machine, I think the temp stuff should be client-side.  For more advanced usage, plenty of remote monitoring solutions exist.
the bulk of the time is used by unconfirmed_balance(), synced_unspent_available_amount() and synced_unspent_timelocked_amount(), with each one around 1.5 seconds.   It is concerning that these functions are so slow even when the wallet doesn't hold any utxos.  read-lock is already held by the rpc method, so acquisition time is not included in these numbers.  anyway, digging into these shoudl be fruitful.

Regarding point 2, I'm pretty sure the culprit is in Utxo::can_spend_at. Everytime we calculate the hash of a program, the program's assembler code is assembled and the resulting list of instructions hashed. Especially the assembling is expensive. The relevant trait implementations are on ConsensusProgram:
    /// Get the program as a `Program` object rather than as a list of `LabelledInstruction`s.
    fn program(&self) -> Program {
        Program::new(&self.code())
    }

    /// Get the program hash digest.
    fn hash(&self) -> Digest {
        self.program().hash()
    }

But the hash value never changes, as the implementations of ConsensusProgram has no dynamic parameters. So we can change the implementation of hash on a per-implementation level to be:
/// Cache for program hash, for faster claim production.
static PROGRAM_HASH: LazyLock<Digest> =
    LazyLock::new(|| TransactionIsValid.program().hash());

And then overwrite the default implementation of hash (or maybe even get entirely rid of it) to be:
impl ConsensusProgram for TransactionIsValid {
    fn hash(&self) -> Digest {
        *PROGRAM_HASH
    }

yeah, I came to the same conclusion.   I impled hash() for all ConsensusProgram implementors.
I also disabled the cpu_temp() call in dashboard_overview that was taking nearly 0.1 secs, so now it just returns None.  Aside from it being slow,  I really don't believe it belongs in neptune-core at all.  out-of-scope, adds extra crate, etc.  can be done in dashboard, or with other solutions.  etc, etc.   anyway, there is still a separate rpc call for it if really wanted.
With these changes, dashboard_overview rpc times are now sometimes under 0.001 ms.   never (yet) over 0.01.  I tested during all stages of operation that were previously slow/hanging.

0.001 ms. never (yet) over 0.01. I tested during all stages of operation that were previously slow/hanging.

I'm a bit confused about the units you're using here. I dashboard_overview RPC less than 1µs, or less than 1ms. And never above 0.01 what? seconds?

I'm a bit confused about the units you're using here. Is dashboard_overview RPC less than 1µs, or less than 1ms. And never above 0.01 what? seconds?

Sorry that's a typo.  I meant 0.001 secs (ie 1 ms).    That's presently the default threshold value of the slow_scope_duration logger and also the slow-lock loggers.   Meaning that sometimes dashboard-overview rpc is completing without any warning.


PB2NC bug in the hdr_vld array when computing time summaries.

Perry Shafran at NOAA/EMC uncovered a bug in pb2nc when computing time summaries for air quality data.  Here's the RT Ticket:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=89921
I copied sample data down to dakota to replicate this behavior.  Please look on dakota in:
/d3/projects/MET/MET_Help/shafran_data_20190606
Run this pb2nc command:
/d3/projects/MET/MET_releases/met-8.1/bin/pb2nc
prepda.2019060312 prepda.2019060312_debug.nc PB2NCConfig_aqmmax
-pbfile prepda.2019060212 -nmsg 10 -log run_pb2nc.log
And run these commands to see the contents of the "hdr_vld_table" and "hdr_vld" variables:
ncdump -v hdr_vld_table prepda.2019060312_debug.nc
hdr_vld_table =
"20190602_040000" ;
ncdump -v hdr_vld prepda.2019060312_debug.nc
hdr_vld = 0, 2, 2, 2, 2, 2, 2, 2, 2 ;
The hdr_vld values are supposed to be indexes into the hdr_vld_table array.  But as you can see, the first hdr_vld index value of 0 is valid... but all the rest (2) extend past the end of the hdr_vld_table array.  In Perry case, instead of 2 he sees a value of 40.  I suspect this is just uninitialized values which never get set.
This needs to be fixed in the met-8.1.1 release.

Charge 2780541

Created bugfix_1137_pb2nc_hdr_vld branch and modified nc_obs_util.cc.
Merged bugfix branch into develop and master_v8.1 branches.


Manage the sorting order of Bereiche and Module should be possible

Currently it is sorted after day of creation with no possibility to change it.

Solution: https://medium.com/elements/getting-the-most-out-of-django-admin-filters-2aecbb539c9a


Create a Gitter community

Hello there!
I suggest to create a Gitter community to talk about kotlintest development/features/issues. What do you think?

I'd be up for that. @helmbold ?

I've not used Gitter yet, but why not?!

https://gitter.im/kotlintest/Lobby


docs: fix typo in getting started guide

Assuming this should read userRef instead of user based on previous const name.

thanks!


yarn format command

What is the feature you are proposing?
Add yarn format command for prettier in package.json.

If you like this image, I can make it.
{
"scripts": {
"format:fix": "prettier --write ." ,.
"format": "prettier --check ."
}
}
I'll also create GitHub Actions.

Hi @watany-dev
I think we have to specify the directories. These two should be applied:

src
runtime_tests


Super Admin: ActiveAdmin replacement

We need to replace ActiveAdmin with something simpler, more minimal, and preferably without a DSL to learn.
How does https://github.com/thoughtbot/administrate look?
Demo: https://administrate-prototype.herokuapp.com/admin

Fixed by b54c1cf3e3d35a53ddaacb4e5ae202191e1d7d66 ? =)

I think we should only build out the controllers for the 2 use cases @sjDCC mentions in #131 and the few lookup tables we maintain (e.g. identifier_schemes, languages, etc.).

re-opening because it has not yet been part of a PR

This doesn't seem to be working correctly with all of the html litter and red "Confirm...data method" messages in the last column of each table (screenshot below)

This looks like an en_US translation issue, @briri can you try copying config/locales/administrate.en_GB.yml to config/locales/administrate.en_US (editing the 2nd line to say en_US)?

The file does exist. It looks like passenger needed to be restarted. The translations appear to be working now.

@stephaniesimms this all looks ok to me. Good for you now too?

@sjDCC @vyruss I receive the errors below when I try to Edit or Destroy users. Everything else working as expected.
Edit user

Destroy user

@stephaniesimms deleting users is a big no-no due to data integrity issues so that's as expected. I'll look into the edit issue

Perhaps we should remove the delete user button if this is a big no no? Or change it to 'archive' or 'deactivate' user. There's no point having something there that we don't want people to do.
I'm getting the same error with being able to edit users. I assume this page shows their permissions?

@vyruss @sjDCC we definitely don't want to provide admins w/ability to delete users, per our discussion a couple of weeks ago. So we shouldn't present the expectation that they can—I agree that we need to remove the "Destroy" button. I agree w/the suggestion to remove "Destroy" under Organisations too.

Ability to destroy removed from super admin for now. A more sensible action will be implemented to disable users in the future.
Edit bug fixed.
@sjDCC can you please check on dmponline-test ?

moving this back as it's not deployed to Roadmap server for UAT yet

Edit user working as expected. Removal of Destroy option confirmed. Good to go. Closing out.


Usage with containers and application-level metrics

Hello,
I have a couple of questions:

Can Eco2AI be used in a private cloud in containerized applications orchestrated by K8s?
Does it track only the code's execution (just the application) or the total energy consumption of the system? and if it can track only the application's, how is it done?
Thank you :)

Hello, fatma-laribi!
First of all, thank you for your attention to eco2ai!
I'm sorry you had to wait so long for an answer.

eco2ai have a certain specialization: tracking python code. If your application include python code execution, then you can use our library to track it. Although, we didn't test eco2ai in containerized applications, so I can't give you certain answer wether it will work or not
eco2ai tracks full GPU consumption of the system and only the process on CPU, that involves current code execution. Unfortunately, for now we don't track certain GPU processes, but we will definitely add it in future versions if such functionality will exist!

I hope I managed to answer all your questions. If not, we are open to additional questions
Thank you,
eco2ai team

Hello, fatma-laribi!
First of all, thank you for your attention to eco2ai!
I'm sorry you had to wait so long for an answer.
eco2ai have a certain specialization: tracking python code. If your application include python code execution, then you can use our library to track it. Although, we didn't test eco2ai in containerized applications, so I can't give you certain answer wether it will work or not
eco2ai tracks full GPU consumption of the system and only the process on CPU, that involves current code execution. Unfortunately, for now we don't track certain GPU processes, but we will definitely add it in future versions if such functionality will exist!
I hope I managed to answer all your questions. If not, we are open to additional questions
Thank you,
eco2ai team


How to use 'continue' variant in ApplePayButton

Describe the bug
Hi guys, I'm using the latest package version 0.24.0 and I'm trying to use 'continue' type for my Apple Pay button. But it doesn't work and shows me a plain version of this button.
To Reproduce
Steps to reproduce the behaviour:
  <ApplePayButton
    type="continue"
  />

Screenshots

instead

Smartphone (please complete the following information):

Device: iPhone 14
OS: iOS 16.2

ApplePayButton doesn't support that option, but PlatformPayButton does (it's a newer, cross platform version of ApplePayButton and GooglePayButton)
 <PlatformPayButton
          type={PlatformPay.ButtonType.Continue}
 />

Thank you @charliecruzan-stripe


Use winrm v2 implementation

Test-Kitchen using winrm v2 has just been released. I'll be removing the WIP from kitchen-inspec momentarily as well.

This looks awesome @mwrock Is this also addressing the issue, where we are only able to transfer scripts with a limited size?

Thats right. There will be no script length limitation and according to local benchmarking, file uploads will be 15-30x faster. You can also run scripts within the same scope. So you could do:
shell.run("$blah = 'val'")
shell.run("write-host $blah")

Previously the second run call would have an entirely different $blah.
And winrmV2 can talk to and transfer files to Windows Nano server.

Created a separate PR for the travis/appveyor changes #123

No longer WIP :)

💯 @mwrock


New icons do not render properly in tmux

Discussed in https://github.com/ayamir/nvimdots/discussions/720

Originally posted by AngelontheRoad May  7, 2023
I just merged #447 and updated all plugins. I tried to use the new nerd font with Mono and Propo and everything works perfectly without tmux. But inside tmux I found that icons were not rendered properly.
inside tmux:

outside tmux is OK:

I found a reddit post that has a similar problem, but no solution works for me.
By the way, I noticed that icons baseline is not a straight line (marked above).😥
Is there any help? Thanks

Occurs on zellij too. Maybe have to do with environment variables.

Have no idea about it now.

According to the issue posts in wezterm and tmux, the render problem may caused by ConPTY which used only in Windows system.  I don't know if this is a problem in a real linux box.
As mentioned in the post, ssh is a feasible way to bypass ConPTY. B/C alacritty is not a multiplexier, I tried in wezterm and it rendered OK.

Steps:

set systemd=true under /etc/wsl.conf [boot]
download openssh in wsl2.
shutdown wsl2 by wsl --shutdown
uncomment or add below in /etc/ssh/sshd_config (Port number larger than 1000 is recommended)

Port 2222
ListenAddress <IP_ADDRESS>
PasswordAuthentication yes
PubkeyAuthentication yes
PasswordAuthentication yes
AcceptEnv LANG LC_*

if using Ubuntu-22.*,  set ListenStream=2222 in /lib/systemd/system/ssh.socket
restart ssh service by sudo systemctl restart ssh
get wsl2 IP address by wsl hostname -I
establish ssh connection by wezterm ssh username@ip:2222. If ssh key exists, use wezterm ssh -oIndentityFile='~/.ssh/yoursshkey' username@ip:2222. But I recommend to set ssh_domains in wezterm configuration file.

Summary
In general, this solution may be effective for solving render problems that exist only in wsl (such as undercurl) unless microsoft updates ConPTY. In my short using experience, the only bug is that spawning a new cmd or powershell tab in ssh window will crash wezterm. I don't know how it works in other terminals. IMHO, wsl users who rely on tmux but hate trivial settings, use wezterm straightly is a better choice

According to the issue posts in https://github.com/wez/wezterm/issues/3704 and https://github.com/tmux/tmux/issues/3566, the render problem may caused by https://github.com/wez/wezterm/issues/3704#issuecomment-1542533272 which used only in Windows system.

Indeed, it doesn't occurs on my gentoo linux.


http

asd

Thanks buddy☺
Chandru
Thanks..
On Oct 28, 2017 2:31 PM, "xMagerx"<EMAIL_ADDRESS>wrote:

asd
You can view, comment on, or merge this pull request online at:
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209
Commit Summary

Merge pull request #187 from Bearded-Hen/develop
Merge branch 'develop'
Fix broken Markdown headings
Merge pull request #197 from bryant1410/master
Update FontAwesome to 4.7.0
Update FontAwesome to 4.7.0
Make AwesomeTextView disappear when empty text or bootstrapText
Merge pull request #201 from knightkill/update-fontawesome
Merge pull request #202 from knightkill/awesometv-emptytext
Merge pull request #5 from Bearded-Hen/master
fix #192
update gradle dependencies
increment version
Merge branch 'master' of https://github.com/fractalwrench/Android-
Bootstrap
Merge pull request #204 from fractalwrench/master
Update README.md

File Changes

M AndroidBootstrap/build.gradle
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209/files#diff-0
(6)
R AndroidBootstrap/src/main/assets/fontawesome-webfont-v470.ttf
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209/files#diff-1
(0)
M AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap/
AwesomeTextView.java
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209/files#diff-2
(10)
M AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap/
BootstrapEditText.java
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209/files#diff-3
(2)
M AndroidBootstrap/src/main/java/com/beardedhen/
androidbootstrap/font/FontAwesome.java
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209/files#diff-4
(371)
M README.md
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209/files#diff-5
(9)
M build.gradle
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209/files#diff-6
(2)
M gradle.properties
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209/files#diff-7
(4)
M gradle/wrapper/gradle-wrapper.properties
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209/files#diff-8
(4)
M sample/build.gradle
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209/files#diff-9
(6)

Patch Links:

https://github.com/Bearded-Hen/Android-Bootstrap/pull/209.patch
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Bearded-Hen/Android-Bootstrap/pull/209, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AZBnaHNGvJDqEiW9tMArariCiPJE6q1Uks5swu1wgaJpZM4QJ34G
.


Add option to full screen the video display.

Full screen the video display with the inference boxes (if enabled).

https://github.com/PokemonAutomation/Arduino-Source/commit/e98641e1155d10ce76bb7c45b90e9bea6e4934e6
https://github.com/PokemonAutomation/Arduino-Source/commit/0e83f2f838994dc26817425c20677f53b90d7b62


AuthShop middleware fails to authenticate if request contains other parameters than described

Expected Behavior
HMAC should contain all parameters from request, but it only contains the most common ones.
Current Behavior
HMAC validation fails if there are other than shop, hmac, timestamp, code, locale, state, id or ids parameters in request.
Failure Information
OhMyBrew\ShopifyApp\Exceptions\SignatureVerificationException
Unable to verify signature.
Steps to Reproduce
Executing js script to load page within embedded application:
const redirect = AppBridge.actions.Redirect.create(app);
redirect.dispatch(AppBridge.actions.Redirect.Action.APP, '{{ route('shop.billing', ['something' => 'else'], false) }}');
In this case parameter something makes the request to fail.
Sometimes I need to refresh the page with F5 to make it crash.
Context

Package Version: 10.2.1
Laravel Version: 6.5.2
PHP Version: 7.3.4

Failure Logs
OhMyBrew\ShopifyApp\Exceptions\SignatureVerificationException
Unable to verify signature.
How To Fix This
If I edit Middleware/Authshop.php::getQueryDomain() function like this:
private function getQueryDomain(Request $request)
    {
        // Extract the referer
        $shop = $request->input('shop');
        if (!$shop) {
            return false;
        }

        $verify = $request->all();
        foreach ($verify as $key => $value) {
            if (is_array($value)) {
                $verify[$key] = '["'.implode('", "', $value).'"]';
            }
        }

        // Make sure there is no param spoofing attempt
        if (ShopifyApp::api()->verifyRequest($verify)) {
            return $shop;
        }

        throw new SignatureVerificationException('Unable to verify signature.');
    }

It validates all requests I tried it with.

And it seems that getRefererDomain() method needs to be fixed too.
This made my requests to validate:
private function getRefererDomain(Request $request)
    {
        // Extract the referer
        $referer = $request->header('referer');
        if (!$referer) {
            return false;
        }

        // Get the values of the referer query params as an array
        $url = parse_url($referer, PHP_URL_QUERY);
        parse_str($url, $refererQueryParams);
        if (!$refererQueryParams) {
            return false;
        }

        foreach ($refererQueryParams as $key => $value) {
            if (is_array($value)) {
                $refererQueryParams[$key] = '["'.implode('", "', $value).'"]';
            }
        }

        // Make sure there is no param spoofing attempt
        if (ShopifyApp::api()->verifyRequest($refererQueryParams)) {
            return $refererQueryParams['shop'];
        }

        throw new SignatureVerificationException('Unable to verify signature.');
    }

@marko-behm Would you submit a PR?

I have no idea how that is done.

@marko-behm No worries then, I will tackle it :)

Fix is in place. Will be part of next release.

Do we need to update getHeaderDomain() too?

When it the next release happening as this is a production level issue which is breaking a lot of live apps.

Hi @ohmybrew , today i got also a new issue by verifying the signature. I added a new parameter that comes from the shopify redirect for the hmac check. The parameter is called 'session'

@ohmybrew  This issue is still happening on the latest version

@eleazargan the fix has not been released yet but is in master. For now, you can consider switching to the master  branch temporarily while we wait for a new release.

For my production fix I’ve overridden the middleware with my own logic that’s causing the error. Since there are many users using the application so I had to come up with a quick solution. I understand that the package is in the midst of being refactored.

This started to happen on an app that worked nicely before. App gets into authentication loop that never ends. We were using 2019-04 version of shopify api at the moment. We fixed the code by manually overwriting the source file and are hoping to get the fixed published version of it in near future.

This started to happen on an app that worked nicely before. App gets into authentication loop that never ends. We were using 2019-04 version of shopify api at the moment. We fixed the code by manually overwriting the source file and are hoping to get the fixed published version of it in near future.

@marko-behm you probably want to move away from 2019-04 as it is being deprecated.
The fix is in master but just waiting on the proper release, understandably ohmybrew does have a life outside this package 👍

Great news everyone, @ohmybrew has just released v10.3.0 which includes the fix for this.

I just upgraded to 10.3 :)
but now I get the redirect loop on auth...
I checked the cookie, and I got two:

laravel session, that is set with samesite "none" and secured
ugly token, but not secured and no "samesite" set

But when I alter the "ugly token" cookie, and set samesite to "none" and update to secured.
Im able to login through shopify...
any ideas?

@jedimdan previously I did something similar to your initial middleware fix.
So all my cookies would be set with "sameSite" rules.
But with 10.3 we now set sameSite only on the ShopSession service cookies.
Im not really sure what is the weird looking cooking...
"laravel_session" cookie is easy...
but what is the other one that is not secure :|

@tzookb The 10.3 update actually works the same as the middleware, in that it changes the flags globally. So all cookies from the same request will be set to SameSite None. The only difference is that unlike the middleware, only requests that involve the ShopSession will have the flags set. So there shouldn’t be a case of one cookie set and another not set if they came from the same request.
I’m not actually sure what this ugly cookie is though.

I agree...
in some weird way, the middleware does store the cookie properly
but with 10.3 it doesnt
will try to find what is that :|

@darrynten mentioning you as I know you did the great initial work on the middleware, so maybe you have more ideas.
I decoded the "ugly cookie"
and it seems like its laravel session stuff:
{"data":"a:3:{s:6:\"_token\";s:40:\"dT7bX6bY2FuoNKabdKSxoJ5L7tIctHjEXudTxvVe\";s:9:\"_previous\";a:1:{s:3:\"url\";s:30:\"http:\/\/55f086c4.ngrok.io\/login\";}s:6:\"_flash\";a:2:{s:3:\"old\";a:0:{}s:3:\"new\";a:0:{}}}","expires":1580924577}

@tzookb I just encountered something similar to what you were describing (a seemingly random cookie) and figured out what it was. That random cookie shows up when your SESSION_DRIVER is set to cookie. It's actually your entire session data in the form of a cookie. You should change the driver to something else and that cookie will be gone. For some reason, that cookie doesn't seem to honour the session flags which is why it "breaks" your app even if you have the right flags set.

thanks @jedimdan
I did notice that as well, I should have posted that here 😑
my bad.
I just moved my session driver to anything else and it got resolved.


feat: add '*.mov' to client.d.ts

fix #15183

I think we also need to add it here: https://github.com/vitejs/vite/blob/73ef074b80fa7252e0c46a37a2c94ba8cba46504/packages/vite/src/node/constants.ts#L112-L120

Thanks @bluwy. Sorry for the delay.
I was able to apply the change and update the pr.
@patak-dev I think we're ready now :)
P.S. This is my first contribution to open source 🙌🏼
Thank you Vite.js team for the amazing work 🔥


feat: Action redesign: Updating the config for SMTP plugin to use sections and zones format

Description
Action redesign: Updating the config for SMTP plugin to use sections and zones format
Fixes #35505
Automation
/ok-to-test<EMAIL_ADDRESS>:mag: Cypress test results

[!TIP]
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/10659691143
Commit: 3917fdbff066acdcdf2104e0f690956a640254e5
Cypress dashboard.
Tags: @tag.All
Spec:
Mon, 02 Sep 2024 04:23:47 UTC

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

Summary by CodeRabbit

New Features

Enhanced styling capabilities for the dynamic input text control with a new CSS class.
Redesigned SMTP plugin email configuration interface with a multi-section layout, improving usability and flexibility.
Added new fields for CC, BCC, and conditional visibility for reply settings in the email configuration.

Bug Fixes

Removed minimum height and width constraints for dynamic input text elements, allowing for more flexible sizing.

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

Adding @AmanAgarwal041 for review


Terminal cursor doesn't change when in override / insert mode

Test: https://github.com/Microsoft/vscode/issues/19071

VSCode Version: 1.9
OS Version: Windows

Steps to Reproduce:

start cmd.exe
toggle between insert and override mode (insert key)

Observe: the cursor stays the same however the functionality works as expected. Would be nice if the cursor would change like in cmd.exe

How other terminals behave:
Windows 10:

cmd.exe: Toggle insert mode
powershell: Ignore
git bash: Paste

Linux:
gnome-terminal/bash: Add ~
gnome-terminal/zsh: Ignore

@dbaeumer is this more of a completeness request or is there a good reason for it? I'm hesitant to add since it's only cmd and I wouldn't think that many people would rely on it.

CMD.exe behaves correct however the feedback is missing. For sure not critical.

Support for this would need to be added in https://github.com/rprichard/winpty, closing off since it's a minor feature request.


Testing

Test:

My profile test
Missions test
Rocket test
Nav test

@digia3d  Thank you for reviewing my project.


Not possible to push a layer over 10GB using the S3 driver.

We had a user of our registry try to push a layer that was over 10GB and the PUT to blobs/uploads  fails with a 404.
The error in the logs was upload resumed at wrong offest:<PHONE_NUMBER>0 != <image_size>"
Which comes from here:
https://github.com/docker/distribution/blob/749f6afb4572201e3c37325d0ffedb6f32be8950/registry/handlers/blobupload.go#L80
The reason for this error is  that this call does not account for pagination
		resp, err := d.S3.ListParts(&s3.ListPartsInput{
			Bucket:   aws.String(d.Bucket),
			Key:      aws.String(key),
			UploadId: multi.UploadId,
		})

https://github.com/docker/distribution/blob/749f6afb4572201e3c37325d0ffedb6f32be8950/registry/storage/driver/s3-aws/s3.go#L555
Therefore you would only receive the first 1000 parts when trying to calculate the size of the multipart upload, due to the fact that the max size of each part is 10485760 bytes it means that any layer over 10GB (1000 * 10485760 bytes) cannot be pushed to the registry.

Same issue for me. Expecting the progress on the PR. @manishtomar @bainsy88


Download fails: ValueError: too many file descriptors in select()

The Issue
Happened during a TTFB run:
019-02-16 09:52:55,955 INFO     lbrynet.blob_exchange.client:126: downloaded 74a9672d from <IP_ADDRESS>:3333
2019-02-16 09:52:55,965 INFO     lbrynet.stream.downloader:49: added head blob to search
2019-02-16 09:52:55,967 INFO     lbrynet.stream.stream_manager:302: got descriptor 74a9672d5224672d2aac06cb6904e5a70dc0b094ac70623435760645b11f14aba42fc7e476563257036623bf84bf9ff9 for how-to-make-muons
Traceback (most recent call last):
  File "c:\users\thoma\documents\lbry\lbrynet\extras\cli.py", line 277, in main
    loop.run_until_complete(daemon.stop_event.wait())
  File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 571, in run_until_complete
    self.run_forever()
  File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 539, in run_forever
    self._run_once()
  File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 1739, in _run_once
    event_list = self._selector.select(timeout)
  File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\selectors.py", line 323, in select
    r, w, _ = self._select(self._readers, self._writers, [], timeout)
  File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\selectors.py", line 314, in _select
    r, w, x = select.select(r, w, w, timeout)
ValueError: too many file descriptors in select()

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\thoma\Documents\lbry\venv-lbry\Scripts\lbrynet-script.py", line 11, in <module>
    load_entry_point('lbrynet', 'console_scripts', 'lbrynet')()
  File "c:\users\thoma\documents\lbry\lbrynet\extras\cli.py", line 281, in main
    loop.run_until_complete(daemon.stop())
  File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 571, in run_until_complete
    self.run_forever()
  File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 539, in run_forever
    self._run_once()
  File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 1739, in _run_once
    event_list = self._selector.select(timeout)
  File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\selectors.py", line 323, in select
    r, w, _ = self._select(self._readers, self._writers, [], timeout)
  File "C:\Users\thoma\AppData\Local\Programs\Python\Python37-32\lib\selectors.py", line 314, in _select
    r, w, x = select.select(r, w, w, timeout)
ValueError: too many file descriptors in select()

System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

Internal Use
Acceptance Criteria

Definition of Done

[ ]  Tested against acceptance criteria
[ ] Tested against the assumptions of user story
[ ] The project builds without errors
[ ] Unit tests are written and passing
[ ] Tests on devices/browsers listed in the issue have passed
[ ] QA performed & issues resolved
[ ] Refactoring completed
[ ] Any configuration or build changes documented
[ ] Documentation updated
[ ] Peer Code Review performed

This has not happened since, knocking down the priority. This may have to be handled in the connection manager https://github.com/lbryio/lbry/issues/1910

Duplicate of https://github.com/lbryio/lbry/issues/2145


Overall website color scheme

@hao-fang  I notice that you changed the colors on the schedule and paper tabs to make more closer to ACL color schema (aka red). But I think this makes the overall website look a bit dark to me. The older 'green' color scheme made it look brighter. Just my opinion though. Wanted to see what you think before changing anything.
We can keep it as it is now and see what PCs have to say in the dry run.
@jcklie  Tagging you as well to see if you have any thoughts/preferences.

@hao-fang  I have created a PR for this https://github.com/acl-org/acl-2020-virtual-conference/pull/213
It might be good to get this merged before the dry run (if it looks good to you).


ADAM überscript: Do not use cgcloud's --share to distribute toil-scripts to workers

Not needed and potentially dangerous because it could conflict with Toil's built-in hot deployment

I thought we were just rsync'ing to the toil leader. Where's this going on?

Where's this going on?

I wasn't aware that was our current procedure and I misinformed one of our production members.
@fnothaft -- Do you guys just clone toil-scripts to /home/mesosbox on the leader?  I want to add that step to cluster setup in my uber script.

@fnothaft -- Do you guys just clone toil-scripts to /home/mesosbox on the leader? I want to add that step to cluster setup in my uber script.

Yeah, we do a clone but not to the leader, we do it to the head node (generic-ubuntu-trusty-box). See here: https://github.com/BD2KGenomics/toil-scripts/blob/master/src/toil_scripts/adam_uberscript/README.md

Ah I see, wouldn't have that of doing it that way. Thanks for the example.

We are not currently using the --share option to cgcloud. We are using rsync to put the scripts on the toil-leader. That directory is being passed to the uberscript using an option --share that should be renamed.

using the --share option to cgcloud.

The production team has to use --share to pass in the master encryption key and configuration file, so initially I thought I was saving a step by piggybacking off of that .

Yes. So let's rename the überscript parameter from --share to --toil-scripts. There should be no need to use cgcloud's --share for Spark/ADAM. It should only be used for files that need to be present on a worker as soon as it comes up. The toil-scripts repository is not one of these things because it get hot-deployed by Toil.


Cut New Release

Any chance we can get a new release cut? =) We anxiously await use of https://github.com/vmware-tanzu/carvel-vendir/pull/64?
We use the release to distribute the packages we depend on.

published v0.20.0 with these changes. Thanks for the contribution!


Bundle fails to export enum correctly

Given rust code which exports an enum:
#[wasm_bindgen]
pub enum MyEnum {
    Bar, Zot
}

The bindgen compiled code contains this:
export const MyEnum = Object.freeze({ Bar:0,Zot:1, });

But for some reason that gets exported on exports rather than __exports:
const MyEnum = Object.freeze({
  Bar: 0,
  Zot: 1
});

exports.MyEnum = MyEnum;

// Everything else is on __exports, and works fine!
__exports.some_fn = function (f) {
  // ...
};

__exports.__wbindgen_throw = function (ptr, len) {
  throw new Error(getStringFromWasm(ptr, len));
};
// ... etc.

As a result the exported enum is unavailable in the bundled code. I have no idea if this is a bug in parcel or if its an issue in babel or something.
Using the latest versions of everything:
    "@babel/core": "^7.4.3",
    "@babel/preset-env": "^7.4.3",
    "parcel-bundler": "^1.12.3",
    "parcel-plugin-wasm.rs": "^1.2.8"

🙌 cheers!


fix(Resource Manager): update service after recent API changes and generate examples

PR summary
This PR updates the Resource Manager service, adds examples and move configuration values out from tests into a configuration file.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 0.17.16 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fixes paths that starts with mount path followed by dash

This is an addition to https://github.com/tim-vandecasteele/grape-swagger/pull/260
There is still a bug in which too many endpoints are hidden when documentation path is hidden.
Changed regex to only disallow

/mount_path
/mount_path/*
/mount_path(.:format)

Specifically, I still had a bug if an endpoint has "#{mount_point}-" in it. See the spec.

Thanks for the review :)
Both issues fixed and squashed.

Merged, thanks!

Thanks :)


Could not confirm collaborative revert

Collaboratively closing a channel without channel details did fail as the transaction could not get broadcasted.
{"timestamp":"2023-11-24T15:04:48.662741758Z","level":"ERROR","fields":{"message":"Could not confirm collaborative revert: Could not broadcast transaction: Failed to broadcast transaction d711c1eddc953e34b5c0da678ac3c0e0748d9d96f02535f180f5e03f6a9e8521. Esplora client error: HttpResponse(400)","channel_id":"91384e297f21b04cc005cdff059cd39450706a3851cc53b105d63700d2e0f081"},"target":"coordinator::routes","span":{"name":"collaborative_revert_confirm"},"spans":[{"name":"collaborative_revert_confirm"}]}

@luckysori tried to collab revert the channel with 03bc1d67449b1c09942475e39ad29b77a6393ab0244543e7ad0e87aa8cf137196c

The created transaction was invalid, the input was the genesis transaction 😅
{
  "txid": "d711c1eddc953e34b5c0da678ac3c0e0748d9d96f02535f180f5e03f6a9e8521",
  "hash": "08672b1a714631ea429b0ffe0b4d7bbd688c70943d94448506652b03b5355cce",
  "version": 2,
  "size": 333,
  "vsize": 168,
  "weight": 672,
  "locktime": 0,
  "vin": [
    {
      "txid": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",
      "vout": 0,
      "scriptSig": {
        "asm": "",
        "hex": ""
      },
      "txinwitness": [
        "",
        "[... sensitive data hidden ...],
        [... sensitive data hidden ...],
        [... sensitive data hidden ...],
	 ],
      "sequence":<PHONE_NUMBER>
    }
  ],
  "vout": [
    {
      "value": 0.00092944,
      "n": 0,
      "scriptPubKey": {
        "asm": "0 b23ed4c80aad42691d2a03a1dc43aeaee655e832",
        "desc": "addr(bc1qkgldfjq244pxj8f2qwsacsaw4mn9t6pjsp70hc)#ehg6spfw",
        "hex": "0014b23ed4c80aad42691d2a03a1dc43aeaee655e832",
        "address": "bc1qkgldfjq244pxj8f2qwsacsaw4mn9t6pjsp70hc",
        "type": "witness_v0_keyhash"
      }
    },
    {
      "value": 0.00092944,
      "n": 1,
      "scriptPubKey": {
        "asm": "0 cc146eafc06b42fa78bbaf2681023ff30c06f529",
        "desc": "addr(bc1qes2xat7qddp0579m4ungzq3l7vxqdaff4tlaeh)#zrj5n5yu",
        "hex": "0014cc146eafc06b42fa78bbaf2681023ff30c06f529",
        "address": "bc1qes2xat7qddp0579m4ungzq3l7vxqdaff4tlaeh",
        "type": "witness_v0_keyhash"
      }
    }
  ]
}

https://mempool.space/tx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
I'm also questioning the correctness of the remainder of this transaction because both parties receive exactly the same...

I'm also questioning the correctness of the remainder of this transaction because both parties receive exactly the same...

That was on purpose. The channel was evenly split and without a position.

lets retry with the current version and ensure that we use the api right :) reopen if this error is happening again.


Can't uninstall helmchart: no matches for kind

Helm version v3.13.2
Kube client: 1.27.2
Kube server: 1.29.6
What I tried:
Trying to helm install --upgrade or even helm uninstall -n monitoring prometheus and re-install.
What I saw:
uninstall.go:102: [debug] uninstall: Deleting prometheus
uninstall.go:124: [debug] uninstall: Failed to delete release: [unable to build kubernetes objects for delete: resource
  mapping not found for name: "prometheus-kube-state-metrics" namespace: "" from "": no matches for kind
  "PodSecurityPolicy" in version "policy/v1beta1"

There's no such thing as a "PodSecurityPolicy" resource type in kubernetes 1.27 nor 1.29, and the from "" bit puzzled me -- no file for the error?  Then I figured it out: it's referring to the helm-history not anything I'm saying.
My guess is: this is a helmchart that was installed a long time ago, when PodSecurityPolicy was still part of Kubernetes core.  The statefile (helm-history? the k8s Secret) describes an api resource type that no longer exists, for an object that no longer exists, so the Kubernets API sensibly says "can't delete what isn't there, friend," and helm aborts.
My current idea is to crack open the k8s Secret, double-unencode and gunzip the string, edit it by hand, then pack it back up.  This feels like a terrible idea.

Have a look at https://github.com/helm/helm-mapkubeapis -- this describes the problem and the solution

That did the trick and unblocked me.


chrisdpk

Happy Hacking.

Thanks! Maybe you could put your art in a  so its visible outside of source code. Thats your call though. If you want to merge it as it is just let me know

Nice idea.

Thanks for your contribution!


the link problem of libmxnet.so

Dear all,
This may be wired. I put the cuda, cudnn and other dependencies in a folder together. At the same time, I change their specific CLFAGS and LDFLAGS path in the Makefile. I can compile mxnet successfully.
But when I do the command ld libmxnet.so, it shows that undefined reference to the cudnn like this:
ld lib/libmxnet.so
ld: warning: cannot find entry symbol _start; not setting start address
lib/libmxnet.so: undefined reference to `cudnnGetConvolutionBackwardDataAlgorithm'
lib/libmxnet.so: undefined reference to `cudnnSetDropoutDescriptor'
lib/libmxnet.so: undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Rect_<int> const&)'
lib/libmxnet.so: undefined reference to `cudnnSetLRNDescriptor'
lib/libmxnet.so: undefined reference to `cv::Mat::copySize(cv::Mat const&)'
lib/libmxnet.so: undefined reference to `cuLaunchKernel'
lib/libmxnet.so: undefined reference to `cudnnSetTensorNdDescriptor'
lib/libmxnet.so: undefined reference to `cudnnGetConvolutionForwardAlgorithm'
lib/libmxnet.so: undefined reference to `cudnnDestroyConvolutionDescriptor'
lib/libmxnet.so: undefined reference to `cudnnSetFilterNdDescriptor'
lib/libmxnet.so: undefined reference to `cudnnCreateConvolutionDescriptor'
lib/libmxnet.so: undefined reference to `cv::String::allocate(unsigned long)'
lib/libmxnet.so: undefined reference to `cudnnRNNForwardInference'
lib/libmxnet.so: undefined reference to `cudnnPoolingBackward'
lib/libmxnet.so: undefined reference to `cudnnCreateTensorDescriptor'
lib/libmxnet.so: undefined reference to `cudnnCreateDropoutDescriptor'
lib/libmxnet.so: undefined reference to `cudnnSetPoolingNdDescriptor'
lib/libmxnet.so: undefined reference to `cudnnSpatialTfSamplerBackward'
lib/libmxnet.so: undefined reference to `cudnnCreatePoolingDescriptor'
lib/libmxnet.so: undefined reference to `cudnnActivationBackward'
lib/libmxnet.so: undefined reference to `cudnnDestroyFilterDescriptor'
lib/libmxnet.so: undefined reference to `cudnnAddTensor'
lib/libmxnet.so: undefined reference to `cudnnSoftmaxForward'
...

All the libs are exported to LD_LIBRARY_PATH in my environment, but mxnet cannot link the cudnn lib well. How to solve this? Really really thanks.

I will close this issue.
The type of problem like libmxnet.so cannot link mkl, cudnn, or any other libs you want to bind. Or when import mxnet in python, it report undefined symbol {what}. Check out their -llib name are kept aside their CFLAGS and LDFLAGS with specific path in Makefile.


How to change url when you scroll to the target

I'm using Next.js and i want to change the url when i scroll to the target..?

I'm using Next.js and i want to change the url when i scroll to the target..?

Hey @samydevv,
I believe you can use hashSpy property from the Link component.
<Link activeClass="active" to="test1" spy={true} hashSpy={true}>Test 1</Link>
I hope that I could help you! :)


Include apparently-forgotten functions in docs

Some functions in scipy.morestats are not mentioned in the giant table of functions and therefore do not show up in the online docs; people occasionally ask for them to be implemented. Added several. It'd be nice to have some kind of check that they all appear somewhere; an Sphinx do that?

I confirm that it does add the new functions to html docs. Merging, thanks @aarchiba!

@aarchiba welcome back!


Error: Command failed with exit code 101: /home/vscode/.cache/prisma/binaries/cli/4.2.0/2920a97877e12e055c1333079b8d19cee7f33826/prisma-query-engine-debian-openssl-1.1.x --enable-raw-queries cli dmmf

Command: prisma generate
Version: 4.2.0
Binary Version: 2920a97877e12e055c1333079b8d19cee7f33826
Report: https://prisma-errors.netlify.app/report/14373
OS: x64 linux 5.10.0-18-amd64

Hi there,
As part of our effort to clean up our GitHub repo, we’re closing this issue to help focus on features and improvements that align with our focus areas and those of our community.
This issue was originally created for internal tracking purposes, but if you feel this is important to you, feel free to reopen the issue and get like-minded users to upvote as we will prioritize fixing issues based on community interest.
For more insight into our priorities and how we’re thinking about the future of Prisma, please see our blog post: https://www.prisma.io/blog/prisma-orm-manifesto.
Thank you for your understanding and support!


DOC: Update contributing notes

This could be added to the development-guidelines.rst in the documentation instead (or apart from).
I think it is important to be clear in this respect to avoid frustration and to avoid wasting your time or anybody's time.
Examples of:

Ignored PRs for years or months: https://github.com/quantopian/zipline/pull/1976, https://github.com/quantopian/zipline/pull/1804, https://github.com/quantopian/zipline/pull/2510, https://github.com/quantopian/zipline/pull/2512
Closed PR implementing the same solution on your own: https://github.com/quantopian/zipline/pull/2511

Those are just based on my experience, but I am guessing I am not being treated differently and this may apply to anybody contributing to the project.
Also, it seems clear from the Git logs that you are not really integrating much contributions from the community:
git log --merges --pretty=format:"%h %<(15)%ar %s"

In the last year in particular, it seems all merged changes were from Quantopian and none from external/community contributions.

Just to be clear, this is not an attempt to troll anybody. I just think it is important to be clear in that respect.
I do appreciate the fact that you share this project with the community and understand how hard it may be to handle community contributions when your project becomes popular. :heart:

Coverage decreased (-0.2%) to 87.357% when pulling e53bdae5ac13d1983e7b4f99b78e3ff70f05a289 on Peque:readme into f0e34f88f9f80884295f005d303d433ab504cd81 on quantopian:master.

Coverage decreased (-0.2%) to 87.357% when pulling e53bdae5ac13d1983e7b4f99b78e3ff70f05a289 on Peque:readme into f0e34f88f9f80884295f005d303d433ab504cd81 on quantopian:master.

Hey @Peque, thanks so much for your thoughtful PR and comments!
As it looks like you've guessed, we've been pretty heads-down on our internal roadmap for a while now, and haven't had a lot of spare cycles to devote to communication with the community on GitHub. (Our community team is more active on our forums, but GitHub tends to be the realm of our engineers, who tend to be pretty shy and focused on our own internal goals.)
I totally agree: we should improve our communication with our GitHub community, and especially help to manage contributors' expectations. Ironically, I don't think anyone on our team actually saw this PR until I opened it just now; but I'll bring it up with the team and see what we can do. (In the spirit of improved communication: I can't promise any specific timeline for an official response, because we're a small team with a lot of work to manage; but I think your point is an important one, and I will personally carve out whatever time I can to work on it.)
In the meantime, if you're really raring to help give this community the attention it deserves, we are hiring for software engineers :) https://www.quantopian.com/about#careers

Hey again! Just wanted to let you know that, in part based on your feedback, we are currently kicking off our first dedicated Quantopian open source focus day: we've gathered some engineers together in a conference room in order to spend the day triaging issues and PRs, and come up with a better approach to engaging with the open source community across all our projects.
Stay tuned for more updates!

@quantophred Good to hear that. Happy New Year! :blush:


visjs-network#40: fix type of zoomSpeed

This is an original contribution from @geminoa: https://github.com/visjs-community/visjs-network/pull/40
this is an addition to https://github.com/almende/vis/pull/3657 that is already merge here.
partially fixes #7

This solved the following error:


please support ManyVids preview vids (NSFW)

thank you in advance
> youtube-dl -v https://www.manyvids.com/Video/421154/Playing-with-my-huge-natural-tits/
[debug] System config: [u'--recode-video=mp4', u'-f', u'bestvideo+bestaudio/best']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.manyvids.com/Video/421154/Playing-with-my-huge-natural-tits/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.10 - Darwin-16.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.3.3, ffprobe 3.3.3, rtmpdump 2.4
[debug] Proxy map: {'http': 'http://<IP_ADDRESS>:8118', 'https': 'http://<IP_ADDRESS>:8118'}
[generic] Playing-with-my-huge-natural-tits: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Playing-with-my-huge-natural-tits: Downloading webpage
[generic] Playing-with-my-huge-natural-tits: Extracting information
ERROR: Unsupported URL: https://www.manyvids.com/Video/421154/Playing-with-my-huge-natural-tits/
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2116, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2539, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2528, in _XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: mismatched tag: line 42, column 2
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 776, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 434, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2989, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.manyvids.com/Video/421154/Playing-with-my-huge-natural-tits/

youtube-dl -v https://www.manyvids.com/Video/421154/Playing-with-my-huge-natural-tits/

[debug] System config: [u'--recode-video=mp4', u'-f', u'bestvideo+bestaudio/best']

[debug] User config: []

[debug] Custom config: [


add: Simple linear regression under another directory called asregression techniques

Describe the algorithm/code
Linear regression is a statistical method for modeling relationships between a dependent variable with a given set of independent variables. Please assign this to me under hacktober fest tag
Do you want to work on this feature?

[X] I am willing to implement this feature.

Hi @adi271001! 👋🏻
You can start working on this issue! Do let me know if you need any help. ✨


harmonize metadata columns and add breakdown of private mutations

@j23414   -- this PR has the simple fixes we discussed. And it adds 3 columns to the metadata that will start to exist next Tue. So we should aim to merge this Tue night or Wed.

Thanks, @rneher! Changes looks good to me, and I'll set a calendar reminder to merge on Tues/Weds