text:
Meta label missing bug

Brief overview of changes
Addressed a bug where a metadata CSV could have a missing label for a filter / indicator but still pass the screening.
Why are these changes being made?
Missing metadata labels are important to catch as they will prevent files from being uploaded to EES (and because all filters / indicators should have human readable versions for use in the service).
Detailed description of changes
Added example test file and test case under 'edge cases', and then fixed the offending function by accounting for blanks as well as NAs.
Additional information for reviewers

No idea how this hasn't come up before now, though a good one to have found and fixed.

Looking at the example file we had reported to us (left), you can see if opening in notepad that each cell is wrapped in quotes, which differs from the label.csv example we had in the main tests, an equivalent of this is on the right of the image.

I also updated the debugging script as I realised after my recent PR #109, we needed to source more dependencies for the debugging to work (as we make use of Shiny autoloading scripts from the R folder for normal app running, so the global script no longer sources all dependencies alone).

The final UI test for the QA tabs was also failing intermittently on me, adding an extra wait seems to have made it pass reliably, so hoping this will also fix the existing failure in the GitHub actions on the master branch.

 Fix blank label bug in screener


text:
Condition for uploading codacy report action is incorrect

It is possible that the condition for uploading the codacy report is not working correctly?
It seems that the latest action runs always skip the upload step: https://github.com/dfetch-org/dfetch/actions/runs/7126301482/job/19403900008
Code
        env:
          secrets.CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
        if: "${{ (!!env.CODACY_PROJECT_TOKEN) }}"

https://github.com/dfetch-org/dfetch/blob/3f55e9d173fa7413e4a11000e957af082bc189d4/.github/workflows/test.yml#L45C12-L45C12
I think that the env variable should drop the secret. prefix.
        env:
          CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
        if: "${{ (!!env.CODACY_PROJECT_TOKEN) }}"

Fixed by #559

source: gharchive/issue

authors: ben-edna jgeudens

repo: dfetch-org/dfetch

license: MIT

license_type: permissive

license_source: github-api


text:
refactor!: move Rust code generation logic from candid_parser.

SDK-1589
Description
We are going to make ic-cdk-bindgen support more use cases, e.g. generating types only, generating bindings for canister implementation.
The first step is to move the Rust code generation logic from the candid_parser crate so that we can have complete control of Rust codegen.
The added code_generator.rs file was the rust/candid_parser/src/bindings/rust.rs in the candid crate.
The only difference:
diff cdk-rs/src/ic-cdk-bindgen/src/code_generator.rs candid/rust/candid_parser/src/bindings/rust.rs
0a1
> use super::analysis::{chase_actor, infer_rec};
3d3
< use candid_parser::bindings::analysis::{chase_actor, infer_rec};

How Has This Been Tested?
Example tests
Checklist:

[ ] The title of this PR complies with Conventional Commits.
[ ] I have edited the CHANGELOG accordingly.
[ ] I have made corresponding changes to the documentation.

How do you make sure the bindgen stays in sync with candid_parser::bindings::rust? candid_parser is currently going through a major revamp, likely the Rust binding module will look completely different soon.

How do you make sure the bindgen stays in sync with candid_parser::bindings::rust?

There is no need to keep sync. This PR is just setting a starting point for my following rewrite of ic-cdk-bindgen crate. I will soon make it very different from candid_parser::bindings::rust.

Currently, we keep the language bindings in candid_parser crate in the candid repo. While some of the language codegen logic was for some particular downstream projects, e.g. cdk-rs. agent-rs, agent-js, etc. This introduced a circular dependency which makes it really hard to maintain both sides.
There were a few cases illustrated why it is not a good idea to have such circular dependency:
Case 1
When we needed to change the generated Rust code in ic-cdk-bindgen. We had to go through following steps:

Open a PR in the candid repo which change the codegen logic.
Open a cdk-rs PR which updated the candid dependency (with a temporary git commit ref) to see if the change is as expected.
Merge the candid PR and make a new release of candid_parser.
Change the cdk-rs PR to use the new release of candid_parser and merge the PR.

Case 2
When there was a change in the candid_parser crate that accidentally altered the Rust codegen, a patch release was made. However, this change was blindly passed to the ic-cdk-bindgen, causing it to break. To fix the issue, we had to go through the cumbersome steps in case 1.

I'm envisioning a more clear separation of responsibilities which will make the projects more cohesive and reduce coupling.

The candid repo (candid_parser, didc bind) can still keep some language codegen functionality.

But such codegen should be usage agnostic, hence no circular dependency.

ic-cdk-bindgen is in charge of bindgen from Candid to Rust only for the usage inside Rust CDK.

If we want to change the generated Rust code, we will only need one cdk-rs PR and have proper CI check there.

source: gharchive/pull-request

authors: chenyan-dfinity lwshang

repo: dfinity/cdk-rs


text:
ic-ref-run: Execute heartbeats before any submitted message

fixes #68.
I did not check if this matches drun’s semantics (heartbeat before
each message? after each message? time-based). But shouldn’t matter.

@crusso, this should do. You can test it on your PR by temporarily switching the ic-hs pin to this branch (niv update ic-hs -b joachim/ic-ref-run-heartbeat).

@nomeata sorry - completely overlooked this - still want me to test it?

Yes, testing would be good :-)

Where does the time go? Doing a quick test now...

Not so quick after all - the run-drun/heartbeat.mo test just hangs for me after outputting:
[nix-shell:~/motoko/test/run-drun]$ more _out/heartbeat.ic-ref-run
→ update create_canister(record {settings = null})
← replied: (record {hymijyo = principal "cvccv-qqaaq-aaaaa-aaaaa-c"})
→ update install_code(record {arg = blob ""; kca_xin = blob "\00asm\01\00\00\00\
0…
← replied: ()
→ update go()

c.f. https://github.com/dfinity/motoko/pull/3071

On ic-ref, the heartbeat seems to get invoked only once AFAICT (verified by inserting a debug print in heartbeat.mo's heartbeat function).

@nomeata any idea what's going wrong?

Good point. I've asked @stefan-at-dfinity if drun could provide that, but I can just easily do as you propose and add some dummy ingress messages to drive the heartbeat.  I think my test just exits after n heartbeats at the moment, so is hanging on ic-ref.

User relying on this in wild:
https://github.com/enzoh/motoko-qr/blob/master/app/Demo.mo

I would say that what we want is a drun command, like query and call, called heartbeat  which invokes the heartbeat of a specific canister once. And then use that to script our tests.

I'm not that's an appropriate interface.
I see drun is a simple language to script calls compliant with the public spec. In theory, you could implement DRUN by talking to the mainnet (maybe except debug.prints).
There is no call to the IC to execute a heartbeat. If we want to make it controlled, I suggest extending drun to support tick command that submits an empty block and waits for the state height to increase. This will be pretty straightforward to implement (unlike heartbeat <cid>, which needs a new tunnel through component interfaces).

Giving drun more control over execution of heartbeats sgtm in general.
My main concern is that drun is a wrapper around our main implementation. Supporting callable heartbeats would require plumbing in the production code of the execution environment and would add more the complexity there. So the main question is whether the added complexity is worth it given that there is a simple workaround of using  "some dummy ingress messages to drive the heartbeat."

Fully agree: it's a trade off whenever non-production features enter production code, and if the tick command is a good compromise, then that's of course fine. I'm just saying that it'd be a compromise, and not the ideal.

@nomeata I wanted to resolve conflicts and this made this PR closed. I've opened #114 as a follow-up.

authors: crusso mraszyk nomeata roman-kashitsyn ulan

repo: dfinity/ic-hs


text:
Crear base de Datos MySQL

• Cree una base de datos llamada práctica, con una tabla llamada arbol
• La tabla arbol debe tener al menos 5 columnas, una de ellas debe ser un campo llave primaria y autoincrementa y un campo de texto para almacenar la ruta de la imagen del arbol
• Los otros 4 campos deben ser unos numéricos y otros de texto
• Debe crear un usuario llamado "usuario_practica" que tenga como clave "la_Clave" y pueda tener acceso a todos los objetos de la base de datos práctica.
• La tabla árbol se refiere a tipos de árboles, donde puede existir el nombre común, tipo de flor, dureza de su madera y demás.

Se realizo la base de datos satisfactoriamente


text:
Added initial support for macOS

This PR is just to make it work on macOS. It's still missing some features in the CodeEditorUI but it's a starting point.

Thank you so much for this!
I've tested it both on Linux and Windows and everything works just like before. I went through code, looks alright maybe except formatting but that's okay!

That’s the way Clion formats code if there are no rules defined.
If you add a .editorconfig file to the root of the project all IDE and text editors will use it when auto-formatting the code.

Thank you for the tip! I didn't know about the .editorconfig file. I will probably add it at some point.

repo: dfranx/SHADERed


text:
Feature request: Support for TLS

It'd be useful to have a way to enable TLS in the chart. Ideally, the chart would allow you to enable TLS and configure the tls_client_auth flag (defaulting to REQUIREANDVERIFY), and allow you to provide your own TLS CA and node certificates. It would need a way to provide a client certificate for health checking, to conditionally replace the livenessProbe (so it'd use curl).

Dgraph TLS feature can be supported through adding a configuration file, see https://github.com/dgraph-io/charts/tree/master/charts/dgraph/example_values.  I have tested this with public trusted CA certs and self-sign ones generated by dgraph cert.
Optimaly, I would recommend using cert-manager for north-south traffic, such as an ingress, or use an east-west (eBPF CNI or service mesh).

repo: dgraph-io/charts


text:
New homepage UI

Related Issue
Changing UI of website #33
email ID : raunaksingh9800@gmail.com
Description

added the UI as per the video
Filled Up the Project List now its not random data
Added Search Feature
Added the glow card on search
all other projects not effected

Type of PR

[ ] Bug fix
[ X] Feature enhancement
[ ] Documentation update
[ ] Security enhancement
[ ] Other (specify): _______________

check in issue by entering [X] in boxes
Screenshots / Videos (if applicable)
https://drive.google.com/file/d/1dqJnZ7BFMszBgIn1CY0PhCZQjc2lkB-l/view?usp=sharing
Checklist

[X] I have performed a self-review of my code.
[X ] I have read and followed the Contribution Guidelines.
[ X] I have tested the changes thoroughly before submitting this pull request.
[ X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ X] I have commented my code, particularly in hard-to-understand areas.
[ X] I have followed the code style guidelines of this project.
[ X] I have checked for any existing open issues that my pull request may address.
[ X] I have ensured that my changes do not break any existing functionality.
[ X] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.
[X ] I have read the resources for guidance listed below.
[ X] I have followed security best practices in my code changes.

check in issue by entering [X] in boxes
Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Contribution Guidelines
Thank you for considering contributing to our project! To ensure smooth collaboration and effective contribution management, please adhere to the following guidelines:
Issue Creation

Limit on Issues:

Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.

Contribution Levels

Basic Contributions:

This project is primarily focused on documentation. Most of the setup has been completed, so contributors will generally need to work on basic code tasks, such as writing tests.
For these tasks, issues will be assigned the Easy label.

Acknowledging Hard Work:

If a contributor puts in significant effort on a task, the issue will be upgraded to Medium. This is our way of recognizing and appreciating extra effort.

Feature Additions and Component Work:

Contributors working on new features or components using JSX/TSX will be assigned a level based on the complexity and quality of their work.
The more complex and valuable the contribution, the higher the level assigned.

Level Definitions

Easy:

Tasks are straightforward, such as fixing minor bugs, writing tests, or making simple documentation updates.

Medium:

Tasks require more effort, such as addressing complex bugs, improving existing features, or making substantial documentation improvements.

Hard:

Tasks are highly complex and involve significant new feature development, major refactoring, or extensive contributions to the project’s core components.

We look forward to your contributions and appreciate your effort in helping us improve the project!

@raunaksingh9800 make a new PR of changes u have closed it


text:
UI is not user friendly

🖥 Frontend Issue
Description
Two Chatbot icons on the home page:
One on the top left corner and another at the bottom right corner making users confused which one is correctly working.
Unnecessary option of translating the website content into different languages using google translator as there is already an available feature of converting website content into different languages in browser
Still if required it should be adjusted in some proper manner that does not make the page look bad.
Wrong colors are used for text:
White color on white background
Black color on dark part of background
There should be only one background image
Steps to Reproduce

Go to '...'
Click on '...'
See error '...'

Expected behavior
Only one chatbot button should be there
If required a translating content option then it should be in the navigation bar or in this case in the hamburger options.
Dark color and light color should be used on light and dark backgrounds respectively for text
only one background image should be there.
Actual behavior
Two chatbot icons
wrong use of colors
translating option is displayed in wrong manner making bad user experience
Screenshots or Video
<!-- If applicable, add screenshots or video to help explain your issue. --
![Capture - 3](https://github.com/user-attachments/assets/503f75a5-c517-4183-886e-a2acfc2cc7a2)
![Capture-2](https://github.com/user-attachments/assets/1bab36fd-67dd-45ae-a1a6-050fa217de17)
>

### Are you participating in GSSoC?
- [+] Yes
- [ ] No

Please assign this issue to me under gssoc-ext and hacktoberfest

yaa bro check current PR merged i think your issue is resolved if anything else let me know

Only two icons for Chatbot has been solved but rest of the issues are same
Translating content option is not looking good on the page
color combinations on the page are not good

image of the page available on render

dont change figma design UI
first check Stationguidefigma.md

repo: dhairyagothi/StationGuide


text:
FileHeader: make PartId required

Why is part_id optional? Possibly it's to support older file formats. At this time there's no need though, so it should be made required I think.

Changed to required

repo: dhardy/pippin

license: ISC


text:
Скласти блок контактної інформації

Посилання на соцмережі (Facebook чи Instagram, тощо), номер телефону чи адреса електронної скриньки, тощо. Може не всі лінки в світі, а тільки ті, що дійсно доречні.

Donald Trump
President of United States of America

DonaldTrump

realDonaldTrump@whitehouse.gov

realDonaldTrump

realDonaldTrump/

+++

authors: diKantur noproblemua

repo: diKantur/homepage


text:
chore: split core and action-server in two projects (#8)

Description
Split project in two sub projects core and action-server
Checklist

[X] PR title follows Commit Convention
[X] All relevant PR sections are populated, irrelevant ones are removed
[ ] Draft PR is opened for WIP changes
[ ] PR review requested from groups not individuals
[ ] PR link is posted to the corresponding Slack channel

Sinon LGTM!

authors: dmorand fparga

repo: dialoguemd/covidflow


text:
文档补充

hello
有没有架构图和压测结果文档？
SQL解析请问下是用druid开源的，还是自己实现的？
另能否有个QQ等交流工具，方便交流 :)

文档我们正在补充过程中。你留一个微信联系方式吧。我加你

微信号：jun_ge1

已加

repo: dianping/zebra

license_source: bigquery


text:
Rogue attack sprite incorrect

Rogue attacking with a bow looks glitchy.
We're probably passing the wrong width to some of the CLX conversion commands
https://github.com/diasurgical/devilutionx-mpq-tools/blob/0938147fb350e9ee3472bb8d7bc9a28489229416/data/diabdat-clx.txt#L77-L78

Warrior attack sprites were also wrong, fixed in https://github.com/diasurgical/devilutionx-mpq-tools/commit/65b04c1d21006e3861de4d9bda52b1fb7892ed3f

repo: diasurgical/devilutionx-mpq-tools

license: Unlicense


text:
能否提供DexGuard的混淆规则

Android 中使用此规则还是不行
-keep class com.didichuxing.doraemonkit.** {*;}
-dontwarn com.didichuxing.doraemonkit.**

麻烦能把混淆错误贴一下吗

repo: didi/DoraemonKit


text:
编译速度太慢

最近遇到跨平台小程序框架的选型问题，基于简单的测试需求采用chameleon/uni-app/mpx三种框架分别编写代码。仅就编译速度而言，chameleon的速度好像过于慢，明显影响到开发了。

[INFO] alipay Compiled successfully in 9656ms
[INFO] wx Compiled successfully in 10125ms

首次启动较慢的问题已经列入优化TODO工作，
启动后会watch文件变化，速度几十毫秒级别。

难道不是因为 webpack@3 导致的吗

authors: Airkro DarcyXf beatles-chameleon

repo: didi/chameleon


text:
kafka请求的支持

下游kafka的请求可以回放到吗

只要是网络 IO 都会录制和回放。

请问下如果有两次请求，两个请求都调用了某个下游，并且他们的调用参数是一样的，在回放这两个请求的时候的时候是怎么区分录制的请求是哪个呢。
因为有可能虽然参数一致，但有一个调用失败了，一个调用成功了，这里还是要区分两次下游调用

匹配的位置会记录，尽量是往后面录制的流量偏移的。
即，第一次会匹配上失败的。下一次会匹配上成功的。

repo: didi/rdebug


text:
Fulltext index support

Versions

Rust:
1.46.0-nightly
Diesel:
1.4.1
Database:
MySQL 8.0.21
Operating System
KDE Neon 5.19

Is there any support for the following syntax:
SELECT * from table where match(col1, col2) against ("query_term" in boolean mode)
Or am I stuck using a raw sql query for fulltext searches.

It's not supported by diesel's dsl out of the box, but it is possible to extend diesels query-dsl in such a way to add support for such operations in a third party crate. See diesel_full_text_search as an example of such an extension crate.
Additionally as support for postgres fulltext functionality is provided as third party crate, I would like to handle this for MySQL similarly. This does not mean that we as the diesel team are interested in writing such a crate in a foreseeable future, just that we currently don't want to include this functionality in diesel itself.

Makes sense. If I could ask, is the specific match(...) against (...) syntax of mysql too involved to be extended in using diesel_infix_operator?

match (…) against (…) likely needs a fully custom query node implementation.

authors: ShaneEverittM weiznich

repo: diesel-rs/diesel


text:
feat(Accordion): use native  element

Fixes #2100 🥳
Deprecates #2176
Built on top of <u-details> for better accessibility on mobile
Removes level from AccordionHeader as this is not supported by native <details>
Removes onHeaderClick from AccordionHeader as this is identical to adding a onClick handler
JS-based animation can be removed and replaced by CSS when calc-size(auto) is fully supported 🚀
Fixes shrinking chevron on mobile/zoom
Fixes text-align in AccordionHeader on mobile/zoom
TODO: Check dir="rlt"

Question: It is now implemented so search-in-page only works when using defaultOpen, as a controlled open should not be affected by user interaction. Just checking - does this make sense to you guys as well? :)

Welcome back from vacay!
Thanks for making this, we'll have a look at this when the rest of the team is back :D
Just fyi, I am making some bigger architecture and ci improvements during the summer so things might be broken in next and/or so merge conflicts might arise 😅

Thanks @mimarz :D
No stress - not back until next week anyway here - looking forward to hear and learn about rewrites :)
Hope summer was good!

Closed as this will be replaced by #2363

authors: eirikbacker mimarz

repo: digdir/designsystemet


text:
Support OIDC for Azure

Currently, CLIENT_SECRET environments variables is required for login to Azure.
https://github.com/diggerhq/digger_azure_demo/blob/main/.github/workflows/plan.yml
I think It might be a good idea to able to login with OIDC same as AWS and GCP.
https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure

hey @sat0ken that's a great suggestion! We need to improve our azure suport indeed and include OIDC.

repo: diggerhq/digger


text:
Certificate Form - Form Header

name: Certificate Form - Form Header
about: Certificate Form - Form Header Component
Summary
This is in relationship to the ticket HYP-96.
Motivation
Develop the UI
Describe alternatives you've considered
N/A
Additional context
Developed:

FigmaDesign:

Note that the cert number , hydrogen producer id and energy producer id don't need to be input fields.

Closing in favour of #16

authors: dc-andysign mattdean-digicatapult

repo: digicatapult/dscp-hyproof-client


text:
feat: dataType.on('updated-docs') when docs update

Emits an array of updated docs for the data type whenever the docs
update (rather than emitting one doc at a time, it waits for indexing to
complete, then emits all the docs that have been updated. If there are
several updates to a particular docId, then only the resolved head
version is returned).
Attaching this listener to a data type that has many values / is
frequently updated will have a performance impact, because large amounts
of data could be read from the database and there is no limit, e.g. if
this was attached to the observation dataType and a new device synced
with a project with 10,000 observations, an attached listener would be
called with 10,000 observations.
The main reason for this feature is for internal use for capabilities,
listening for changes and modifying permissions accordingly, initially in order to implement #268, which requires adding cores as device capabilities are updated.
This is implemented in a particular way with performance considerations in mind. My initial idea was to return all decoded indexed docs from the index writer, but this would have a high performance cost because:

the plan is to move the index writer to a separate worker thread, and sending all docs back over the worker message channel would be expensive.
we are not interested in subscribing to all doc updates (it wouldn't make sense to listen for all observations being updated because it would be too many, particularly after a large sync),
The docs that are indexed could contain multiple versions of a doc id (e.g. all the edits to that doc) and for an 'update' event we're only actually interested in the resolved "head" doc, so we have to re-request the doc from the index anyway (e.g. getByDocId(), which returns the "head").

So, the indexer now returns the docIds of the documents it indexed, then the DataStore de-dupes those and emits them for each schemaName (but only if a listener is attached) when indexing finishes, and the DataType class listens for updated doc ids (but only if a listener is attached) and looks up the docs by those docIds, and emits the updated-docs event.

lgtm. seems like you ran into some potentially gnarly TS issues - think you made the right choice to ignore them 😄

Yeah, I wasted quite a lot of time trying to make TS happy, then just had a realization "why am I bothering". In the internals of functions like these dealing with complex data types, I don't think jumping through hoops to keep TS happy really gains us anything, especially we're hitting limitations of TS. The issue I keep getting frustrated by is trying to narrow a type with arrayOfValidTypes.includes(maybeValidType), but dependent types is often an issue (TS does not support them).

repo: digidem/mapeo-core-next


text:
IGAPP-1279: Fix Symmetry

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

Good catch, thanks for fixing!

authors: LeandraH SteffiStuffel

repo: digitalfabrik/integreat-app


text:
DOKS link is broken in podinfo-example/README.md

Should be: https://docs.digitalocean.com/products/kubernetes/getting-started/quickstart/
Currently is:
A [DOKS](https://docs.digitalocean.com/products/kubernetes/quickstart) cluster configured and running.

Noticed this took, in the doks-example, with https://docs.digitalocean.com/products/kubernetes/quickstart/ also 404.

authors: JayWStapleton adamkdean

repo: digitalocean/kubernetes-sample-apps


text:
🛑 Grundsteuer is down

In 7ad5dae, Grundsteuer (https://www.grundsteuererklaerung-fuer-privateigentum.de/?check=upptime) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Grundsteuer is back up in 0e4b864.

repo: digitalservicebund/uptime-monitor


text:
Add License file

I assumed the license from the crates.io page, and back-dated it to the genesis of the repo. Hope that's all ok.

Quick ping on this. I'm hoping to use this crate soon, and I need this in place before I can for legal reasons.

thank you

repo: dignifiedquire/pin-cell


text:
'Rate limit exceeded' issue

안녕하세요! 올드 트윗덱을 감사히 사용하고 있는 유저입니다.
최근 팀에 새로운 계정을 추가한 뒤, [Link another account you own]를 눌러 팀에 추가한 계정을 추가하려고 하면 'Rate limit exceeded'라는 문구가 출력되며 아무런 변화도 없는데 혹시 해당 이슈에 대한 해결법이 있을까요?
항상 좋은 하루 되시길 바랍니다.

https://github.com/dimdenGD/OldTweetDeck/issues/259#issuecomment-2281786253

*번역기를 사용했습니다.
[Manage team]에서 새로운 계정을 추가하는 것은 성공했습니다. 관리 권한을 admin으로 수정도 완료했습니다!
하지만 위의 단계를 마친 것 만으로는 '새로 추가한 계정'의 탭을 추가할 수 없는 것으로 알고 있습니다.
그래서 [Link another account you own] 단계에서 '새 계정'을 추가하려고 했습니다. 하지만 캡쳐의 화면이 출력되며 '새 계정'을 추가할 수 없는 것으로 확인됩니다.
*I used a translator.
Adding a new account in [Manage team] was successful. You have also modified admin privileges to admin!
However, I understand that just completing the above steps does not allow us to add the tab of 'newly added accounts'.
So I tried to add a 'new account' in the [Link another account you down] phase. However, the screen of the capture is printed and it is confirmed that I can't add a 'new account'.

repo: dimdenGD/OldTweetDeck


text:
🛑 android-13.0.0_r3 is down

In 6b22170, android-13.0.0_r3 (http://aospxref.com/android-13.0.0_r3/) was down:

HTTP code: 404
Response time: 8154 ms

Resolved: android-13.0.0_r3 is back up in e8191c8 after 8 minutes.

repo: dimenspace/aosp-uptime


text:
🛑 android-14.0.0_r2 is down

In 2ebca83, android-14.0.0_r2 (http://aospxref.com/android-14.0.0_r2/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: android-14.0.0_r2 is back up in f6d6c0c after 7 minutes.


text:
Ci test

Which problem is this PR solving?

Short description of the changes

Codecov Report

Merging #3 (a035a16) into master (556e3ba) will increase coverage by 0.02%.
The diff coverage is 91.30%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   95.10%   95.12%   +0.02%
==========================================
  Files         213      214       +1
  Lines        9491     9512      +21
==========================================
+ Hits         9026     9048      +22
+ Misses        388      387       -1
  Partials       77       77

Impacted Files
Coverage Δ

cmd/collector/app/server/http.go
0.00% <0.00%> (ø)

cmd/collector/app/server/zipkin.go
0.00% <0.00%> (ø)

cmd/collector/app/collector.go
74.64% <100.00%> (+0.36%)
:arrow_up:

pkg/httpmetrics/metrics.go
100.00% <100.00%> (ø)

plugin/storage/integration/integration.go
77.90% <0.00%> (+0.55%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io dimitarvdimitrov

repo: dimitarvdimitrov/jaeger


text:
selected / favorite node

Hi!
Great job with the tree viewer.
It is not clear to me how to use the favorite Renderer, or how to handle select at all.
The idea is to provide the tree picker with an array of selected nodes and to manage the change through the states. I see this is what you attempted to show with the Basic demo with the favorite Renderer, but I am not able to find it documented properly.
Do you have a concrete example / code snippet on how to handle select and change?

Hi @mlp73.
Thanks for you comments and for exposing this.
The tree is not very opinionated about those things by design. During my experience developing this kind of applications it was always clear in my head that different people like to handle this things differently and small differences in the UX can make the tree look less flexible.
There isn't a Select renderer included in the package, I can add one in the future but it should be straight forward for you to implement one. Maybe this is something that would make sense to add as an extension to the main package.
Based on the example presented in the public website I will take you step by step on the approach taken:

Create a renderer for selection https://github.com/diogofcunha/react-virtualized-tree//blob/master/demo/src/examples/Extensions.js#L13.
This renderer receives node, children, onChange, node represent the node object itself, children represents any child components and onChange is the way you lift up changes
As selection is not included as a default action, an extra handler needs to be added https://github.com/diogofcunha/react-virtualized-tree//blob/master/demo/src/examples/Extensions.js#L80, This is just a map between action types and functions, when you lift up some action using onChange described in the previous point, your action type is looked up in this map and the corresponding function executed.
Inside your node renderer fire onChange whenever it suits your use case (https://github.com/diogofcunha/react-virtualized-tree//blob/master/demo/src/examples/Extensions.js#L25), don't forget to specify the type of action to be picked up by the previous point.

I have plans to improve the examples website and the docs. Will mark this as a point that needs a clear explanation.

Thanks for the great control @diogofcunha , it is awesome and much faster than TreeBeard :DI implemented a little bit of a simpler solution than what was mentioned above, although I am looking forward to a built in solution.
Here is what I did to get selected functionality:

Add a selectedNode state property

  state = {
        nodes: [],
        loading: true,
        **selectedNode**: **null**
    }

Create a nodeSelected handler that sets the state selectedNode to a node that was clicked

nodeSelected = (node) => {
        this.setState({selectedNode: node})
        this.props.onSelect(node);
    }

Add an onClick handler to the Node generator portion of the Tree, and route the selected node to the nodeSelected method. Then within the node generator, I have the text of the node switch between a bolded and non-bolded className based on if the currentNode is the same as the state selectedNode. I also added an icon that is only visible if the node is selected.

  <Tree nodes={nodes} onChange={this.handleChange}>
                                        {
                                            ({ node, ...rest }) => {
                                                **let amISelected = this.state.selectedNode && node.id === this.state.selectedNode.id;**
                                                return (

 {this.nodeSelected(node)}}>
                                                        <Expandable
                                                            node={node} {...rest}
                                                            iconsClassNameMap={{
                                                                expanded: 'minusIcon',
                                                                collapsed: 'plusIcon'
                                                            }}>
                                                            **
**

                                                            **
{node.name}
**
                                                        </Expandable>

                                                );
                                            }
                                        }
                                    </Tree>

Thanks for your kind words @mishaberman
That is a nice solution for your use case, the concept behind this library is that you can apply your own logic and manage state as you wish, what you did it's great and I'm really proud it worked for you 😊

authors: diogofcunha mishaberman mlp73

repo: diogofcunha/react-virtualized-tree


text:
Want to add some documentations

There is no CODE_OF_CONDUCT.md file in your repo. Want to add that

Okay you can do that

repo: diptanshumahish/watch


text:
notebooks

Added jupyter notbooks and minimal modifications that may help students boot up in either the py or ipynb files

Thanks for your interest in the discrete optimization class!
At this time I do not have the time to review this or take on the maintenance of these notebooks into the master repo.  However, I welcome to you to make your own spin-off project that can support class participants to engage in the course in this way.

authors: ccoffrin robbiemu

repo: discreteoptimization/assignment

license: mit


text:
Failed to parse gateway message

Describe the bug
Seeing lots of snowflake parsing logs
Error
ERROR error while parsing gateway message name=gateway shard_id=0 shard_count=1 err="failed to unmarshal message data: {\"t\":\"GUILD_CREATE\",\"s...: failed to unquote snowflake: invalid syntax"

To Reproduce
Seems to be happening for presence updates as well.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Disgo Version(please complete the following information):
github.com/disgoorg/disgo v0.18.8
github.com/disgoorg/snowflake/v2 v2.0.1
Additional context
Add any other context about the problem here.

discord sending ids as non strings again bruh,
can you enable debug logs and send those so we can see which field is causing this?
in case you dont know how you should just need this line at the start of your program
slog.SetLogLoggerLevel(slog.LevelDebug)

I'm not seeing any more specific field failure logs, just the same error messages. For presence updates it's:
2024/07/19 15:33:59 ERROR error while parsing gateway message name=gateway shard_id=0 shard_count=1 err="failed to unmarshal message data: {\"t\":\"PRESENCE_UPDATE\",\"s\":328,\"op\":0,\"d\":{\"user\":{\"id\":\"1214960289343348779\"},\"status\":\"online\",\"guild_id\":\"412794678791110664\",\"client_status\":{\"desktop\":\"online\"},\"broadcast\":null,\"activities\":[{\"type\":0,\"timestamps\":{\"start\":1721401839000},\"name\":\"TLauncher\",\"id\":\"c747a5611b48b02b\",\"details\":\"Vues de la page d'accueil\",\"created_at\":1721401839648,\"assets\":{\"large_image\":\"1142030771398385665\"},\"application_id\":\"1140558605771350016\"},{\"type\":0,\"state\":\"with Medal.tv\",\"session_id\":\"8419ad9930d88b0759363ef310e544d9\",\"name\":\"Medal\",\"id\":\"30523a5df503d9a3\",\"details\":\"Recently clipped Minecraft\",\"created_at\":1721403236352,\"buttons\":[\"Follow on Medal\",\"Download Medal\"],\"assets\":{\"large_text\":\"Minecraft\",\"large_image\":\"859167360925564958\"},\"application_id\":\"307998818547531777\"},{\"type\":0,\"timestamps\":{\"start\":1721377578201},\"state\":\"Joue a Grand Theft Auto VI\",\"session_id\":\"8419ad9930d88b0759363ef310e544d9\",\"name\":\"Grand Theft Auto VI\",\"id\":\"e1b62882f0b1f451\",\"flags\":1,\"details\":\"Bienvenue a Vice City!\",\"created_at\":1721377582295,\"buttons\":[\"Jouer a Grand Theft Auto VI\"],\"assets\":{\"large_image\":\"mp:attachments/1221893448110575669/1262758010069979168/1635795-la-sortie-de-grand-theft-auto-vi-est-prevue-pour-l-annee-2025.png?ex=6697c28a&is=6696710a&hm=8a92d346a018b513a9f679cf0f8f084c54855d26eaf0e9f9da2da16e6b9c006e&\"},\"application_id\":1}]}}: failed to unmarshal event data: {\"user\":{\"id\":\"1214960289343348779\"},\"status\":\"online\",\"guild_id\":\"412794678791110664\",\"client_status\":{\"desktop\":\"online\"},\"broadcast\":null,\"activities\":[{\"type\":0,\"timestamps\":{\"start\":1721401839000},\"name\":\"TLauncher\",\"id\":\"c747a5611b48b02b\",\"details\":\"Vues de la page d'accueil\",\"created_at\":1721401839648,\"assets\":{\"large_image\":\"1142030771398385665\"},\"application_id\":\"1140558605771350016\"},{\"type\":0,\"state\":\"with Medal.tv\",\"session_id\":\"8419ad9930d88b0759363ef310e544d9\",\"name\":\"Medal\",\"id\":\"30523a5df503d9a3\",\"details\":\"Recently clipped Minecraft\",\"created_at\":1721403236352,\"buttons\":[\"Follow on Medal\",\"Download Medal\"],\"assets\":{\"large_text\":\"Minecraft\",\"large_image\":\"859167360925564958\"},\"application_id\":\"307998818547531777\"},{\"type\":0,\"timestamps\":{\"start\":1721377578201},\"state\":\"Joue a Grand Theft Auto VI\",\"session_id\":\"8419ad9930d88b0759363ef310e544d9\",\"name\":\"Grand Theft Auto VI\",\"id\":\"e1b62882f0b1f451\",\"flags\":1,\"details\":\"Bienvenue a Vice City!\",\"created_at\":1721377582295,\"buttons\":[\"Jouer a Grand Theft Auto VI\"],\"assets\":{\"large_image\":\"mp:attachments/1221893448110575669/1262758010069979168/1635795-la-sortie-de-grand-theft-auto-vi-est-prevue-pour-l-annee-2025.png?ex=6697c28a&is=6696710a&hm=8a92d346a018b513a9f679cf0f8f084c54855d26eaf0e9f9da2da16e6b9c006e&\"},\"application_id\":1}]}: failed to unquote snowflake: invalid syntax"

But I'm not sure about posting the intial gateway message as it's like 3Mb, followed by a "one of those fields isn't a snowflake"

bruh \"application_id\":1
there seems to be an open issue on discords end: https://github.com/discord/discord-api-docs/issues/6763

I think the initial guild create also contains the presences, hence why the both error

Yes, \"application_id\":1, is present in the ERROR error while parsing gateway message name=gateway shard_id=0 shard_count=1 err="failed to unmarshal message data: {\"t\":\"GUILD_CREATE\" sync message

since this issue seems to be happening quite frequently with discord I went ahead and added an option to allow for unquoted ids in the snowflake package
you can enable this by setting snowflake.AllowUnquoted = true and go getting https://github.com/disgoorg/disgo/commit/bc3930878ecbb7c6b89c02247c3ff2d818bdd044
this will also be included in the next release

I would not recommend to turn this option on unless you get this error tbh, this is just to workaround discords incompetence to address these issues in a timely manner

ERROR error while parsing gateway message name=gateway shard_id=0 shard_count=1 err="failed to unmarshal message data: {\"t\":\"PRESENCE_UPDATE\",\"s\":15001,\"op\":0,\"d\":{\"user\":{\"id\":\"1015370136045228112\"},\"status\":\"dnd\",\"guild_id\":\"412794678791110664\",\"client_status\":{\"desktop\":\"dnd\"},\"broadcast\":null,\"activities\":[{\"type\":0,\"timestamps\":{\"start\":1721340000922},\"state\":\"Ticket na Cash Mods\",\"session_id\":\"18551ae30f2c038415a2eaf3f616ee45\",\"name\":\"bobusss\",\"id\":\"146c7a3ce0041e7b\",\"flags\":1,\"details\":\"Pomoc z modsami i reduxami?\",\"created_at\":1721417629055,\"buttons\":[\"Cash Mods\",\"YouTube\"],\"assets\":{\"large_image\":\"mp:attachments/908084735719403521/1242513635201519739/a787c37735287b605d185019707cec71.png?ex=667c40ff&is=667aef7f&hm=49f61926c8a2685413b10737f5dbbffa4ccc3d7b1b8d352effdd14ad5ceb9876&\"},\"application_id\":1}]}}: failed to unmarshal event data: {\"user\":{\"id\":\"1015370136045228112\"},\"status\":\"dnd\",\"guild_id\":\"412794678791110664\",\"client_status\":{\"desktop\":\"dnd\"},\"broadcast\":null,\"activities\":[{\"type\":0,\"timestamps\":{\"start\":1721340000922},\"state\":\"Ticket na Cash Mods\",\"session_id\":\"18551ae30f2c038415a2eaf3f616ee45\",\"name\":\"bobusss\",\"id\":\"146c7a3ce0041e7b\",\"flags\":1,\"details\":\"Pomoc z modsami i reduxami?\",\"created_at\":1721417629055,\"buttons\":[\"Cash Mods\",\"YouTube\"],\"assets\":{\"large_image\":\"mp:attachments/908084735719403521/1242513635201519739/a787c37735287b605d185019707cec71.png?ex=667c40ff&is=667aef7f&hm=49f61926c8a2685413b10737f5dbbffa4ccc3d7b1b8d352effdd14ad5ceb9876&\"},\"application_id\":1}]}: failed to parse snowflake as uint64: strconv.ParseUint: parsing \"\": invalid syntax"

my logic was a bit flawed lol, try this commit please: https://github.com/disgoorg/disgo/commit/564ae163b9bb6ea2e3263503eb6bbb927166ae87

That worked, not seeing errors anymore

this has been fixed as of https://github.com/disgoorg/disgo/releases/tag/v0.18.9, please update to this version if you're experiencing this issue and check the release notes for instructions.

repo: disgoorg/disgo


text:
Registry for OKD Registry Mirror changed

Old repository: registry.svc.ci.openshift.org/origin/release:4.7.0-0.okd-2021-03-07-090821
New repository: quay.io/openshift/okd:4.7.0-0.okd-2021-03-07-090821
Fix soon!

Done in 1.0.1


text:
Ability to specify the event type to trigger notifications on

In many cases, we don't need to fire a notification when we get "pull" event, we only need to fire it when we get a "push" one. While it's not critical for many setups as you can simply reject unneeded events, it's critical for highload setups.

Closing, notification filtering by action was somewhat sneakily added in https://github.com/distribution/distribution/pull/2550.

authors: milosgajdos vsizov

repo: distribution/distribution


text:
Amend bylaws

This adds a provision to permit election of net-new directors. If there are other things to clean up, this is a good opportunity.
Amendment requires a majority vote from the board, but our bylaws also permit action without a meeting if it is unanimous. So, that would require:

[x] @stvnrlly approval
[x] @mattbailey0 approval
[ ] @justgrimes approval

lgtm


text:
KMP Algorithm Implementation in C

Pull Request Template
What have you Changed(must)
Added a C implementation of KMP Pattern Searching Algorithm
Issue no.(must) - #588
Pr will be closed and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[X] This issue was assigned to me if not it will marked as spam.
[X] My file is in proper folder.
[X] I am following clean code and Documentation.
[X] I have added title and what program will do first in the file.

README - How to Contribute

@div-bargali This is ready for review.


text:
Add Pagination to Search Pages

When going to the search page, it loads all the users in the database and shows it in the UI.  We should add some type of pagination so that it only displays maybe 10 at a time, and the user has to click a "load more" button to fetch more.

the ability to hit api/users/?page=1 now exists on the api

@codyseibert api/users/?page=1 is till returning all 200+ users

Has anyone decided to accept this task? Seems like we can use lazy load here and on in the feed

I'll work on this...

Thank you Mani!

@mani-barathi let me know if you have any questions. We can get on a call

@divanov11 sure

@divanov11  I figured out how to do implement it.. I have some questions can we get on a call?

@divanov11 No worries it's almost done.. will make a PR tomorrow.

authors: codyseibert divanov11 mani-barathi


text:
change direction up to down

调整线性回归配图两层的顺序，改为自上而下。

全书都是按自下而上的，与大多数文献保持一致

authors: astonzhang hufuyu


text:
🛑 Docentes API is down

In 5bb7a22, Docentes API ($DOCENTES_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Docentes API is back up in bbb86b2.

repo: diveliastudio/upptime


text:
Folder plugin issues

File is not guaranteed to have the image descriptor that points to the Image related instance. Using the polymorphic API seems more robust

@mkoistinen @czpython anything else to get this in?

LGTM, thanks!

authors: mkoistinen yakky

repo: divio/cmsplugin-filer


text:
Static_placeholder in a main menu dropdown

Am trying to display a static_placeholder within a menu.html file. I have a custom menu.html file that has a few {% static_placeholder %} tags to display a different image or some other type of content in the main menu drop down; however, I am not seeing an edit area for those when I click to Edit.
    {% if child.parent.get_menu_title == "Personal" %}
        {% static_placeholder 'personal_menu_content' %}
    {% elif child.parent.get_menu_title == "Business" %}
        {% static_placeholder 'business_menu_content' %}
    {% elif child.parent.get_menu_title == "Who We Are" %}
        {% static_placeholder 'who_menu_content' %}
    {% endif %}

Is this even doable? If not, is there another way to add an editable area within a main menu?
Expected behaviour
When I click the icon to show the different placeholders I would expect the "Personal Menu Content" and the other two static placeholders seen above to appear.
Actual behaviour
I do not see any of the above placeholders in the edit area. I see regular placeholders and even a static placeholder I put in the footer, but none of the ones I have in the main menu are showing
Environment

Python version: 3.6.6
Django version: 1.11.15
django CMS version: 3.5.3

@leslieewing I would create a template for each menu title/static placeholder. Use template inheritance to avoid code duplication. In my projects, my base template specifies
<footer class="footer">
{% block footer %}{% endblock footer %}
</footer>

and inheriting templates then, for instance would use
{% block footer %}
    {% static_placeholder "personal_menu_content" %}
{% endblock footer %}

Create a such a template for each page requiring a special static placeholder.

authors: jrief leslieewing

repo: divio/django-cms


text:
#1536 Refactor CMSToolbar to prevent unnecessary access to request user

Login form processing moved to middleware
CMSToolbar now built when needed by the template tag.
Changed how get_items works to make it possible to modify toolbar components

Changes Unknown when pulling bbc1f4290a6b28697bf0b8fef983473d8965412d on adaptivelogic:bugfix-toolbar into ** on divio:develop**.

authors: adaptivelogic coveralls


text:
Tests for copy_relations, see #4143

Here's the pull request for the passing tests on copy_relations as suggested in Issue #4143 - for review...
I've set up three environments with Django 1.6, 1.7, and 1.8. In each one the two new tests pass.
Somehow, Django's built in makemigrations does not create the correct files, while the South schemamigration command works. But ... the tests work without the migration files, too...

Any idea why tests are failing?

@mkoistinen Do you mean why one commit is called "Tests for copy_relations. Two fail."?
copy_relations does not work for relations between plugins. This was dicussed in issue #4143 .
If you ask why the Travis build fails ... I could have a closer look at it if you want. But when I checked out my branch, the build for the development branch failed as well.

@philippze I think here https://github.com/divio/django-cms/pull/4466/files#diff-1a778a76252565e5890a771389dff1f9R12 you should use get_user_model function instead of importing User model. Also: check if migrations involves User and eventually change like https://github.com/divio/django-cms/blob/develop/cms/south_migrations/0041_auto__add_usersettings.py

@philippze thanks for this contribution!

Coverage increased (+60.4%) to 89.574% when pulling ad15e1e75b93e01a348d214236674eec8bb288d0 on philippze:Issue-4143/tests into 99cf8668bc577334a98f83f35a798ad445f57f23 on divio:develop.

Coverage increased (+60.4%) to 89.574% when pulling ad15e1e75b93e01a348d214236674eec8bb288d0 on philippze:Issue-4143/tests into 99cf8668bc577334a98f83f35a798ad445f57f23 on divio:develop.

Coverage increased (+60.4%) to 89.574% when pulling ad15e1e75b93e01a348d214236674eec8bb288d0 on philippze:Issue-4143/tests into 99cf8668bc577334a98f83f35a798ad445f57f23 on divio:develop.

Coverage increased (+60.4%) to 89.574% when pulling ad15e1e75b93e01a348d214236674eec8bb288d0 on philippze:Issue-4143/tests into 99cf8668bc577334a98f83f35a798ad445f57f23 on divio:develop.

Coverage increased (+60.4%) to 89.574% when pulling ad15e1e75b93e01a348d214236674eec8bb288d0 on philippze:Issue-4143/tests into 99cf8668bc577334a98f83f35a798ad445f57f23 on divio:develop.

authors: coveralls mkoistinen philippze yakky


text:
A noob starter guide is needed !

I am completely alien to java server deployment workflow. Looking through README and examples, I have not been able to figure out how about I go to setup the endpoint which would collect the clickstreams from a particular webpage provided that webpage has javascript file hooked. Many issues and README suggest
Go into the bin directory of your installation and run:
cd divolte-collector-0.2/bin
./divolte-collector

I don't see any bin folder under any releases i downloaded.
I even tried to follow the default README
eg.
./gradlew tarball
I got following for master branch git checkout.
* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find io.divolte:divolte-schema:0.5.0-SNAPSHOT.
  Searched in the following locations:
      file:/root/.m2/repository/io/divolte/divolte-schema/0.5.0-SNAPSHOT/maven-metadata.xml
      file:/root/.m2/repository/io/divolte/divolte-schema/0.5.0-SNAPSHOT/divolte-schema-0.5.0-SNAPSHOT.pom
      file:/root/.m2/repository/io/divolte/divolte-schema/0.5.0-SNAPSHOT/divolte-schema-0.5.0-SNAPSHOT.jar
      https://repo1.maven.org/maven2/io/divolte/divolte-schema/0.5.0-SNAPSHOT/maven-metadata.xml
      https://repo1.maven.org/maven2/io/divolte/divolte-schema/0.5.0-SNAPSHOT/divolte-schema-0.5.0-SNAPSHOT.pom
      https://repo1.maven.org/maven2/io/divolte/divolte-schema/0.5.0-SNAPSHOT/divolte-schema-0.5.0-SNAPSHOT.jar
  Required by:
      io.divolte:divolte-collector:0.5.0-SNAPSHOT

The documentation includes a Getting Started chapter:
http://divolte-releases.s3-website-eu-west-1.amazonaws.com/divolte-collector/0.4.1/userdoc/html/getting_started.html
Does this help?

I download from https://github.com/divolte/divolte-collector/archive/divolte-collector-0.4.1.tar.gz and followed through the link.
% tar xzvf divolte-collector-0.4.1.tar.gz
% cd divolte-collector-divolte-collector-0.4.1
% touch conf/divolte-collector.conf
% ./bin/divolte-collector

There is no conf folder and there is no bin/divolte-collector either !

Ahh. Indeed, the guide mentions the wrong place to download the release. Instead you have the source code. Try: http://divolte-releases.s3-website-eu-west-1.amazonaws.com/divolte-collector/0.4.1/distributions/divolte-collector-0.4.1.tar.gz

authors: asnare kajisaap

repo: divolte/divolte-collector


text:
Error installing Jampack via npm install -g on MacOS

I just tried installing Jampack via:
npm install -g jampack

But I ran into a compilation error related to the msgpack dependency:
[…]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../deps/msgpack/object.cpp:18:
npm ERR! In file included from ../deps/msgpack/msgpack/object.hpp:23:
npm ERR! ../deps/msgpack/msgpack/zone.hpp:42:27: error: no template named 'auto_ptr' in namespace 'std'
npm ERR!         void push_finalizer(std::auto_ptr<T> obj);
npm ERR!                             ~~~~~^
[…]

Any suggestions about how this might be resolved?
Environment

OS: MacOS Sonoma 14.4.1
NodeJS: Version 20.11.1 LTS (installed via asdf)
Python: Version 3.12.2 (installed via asdf)

Full Traceback
(tap to display full traceback)
~ ➤ npm install -g jampack
npm ERR! code 1
npm ERR! path /Users/myuser/.asdf/installs/nodejs/20.11.1/lib/node_modules/jampack/node_modules/msgpack
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! CXX(target) Release/obj.target/libmsgpack/deps/msgpack/object.o
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@10.1.0
npm ERR! gyp info using node@20.11.1 | darwin | arm64
npm ERR! gyp info find Python using Python version 3.12.2 found at "/Users/myuser/.asdf/installs/python/3.12.2/bin/python3"
npm ERR! gyp info spawn /Users/myuser/.asdf/installs/python/3.12.2/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/Users/myuser/.asdf/installs/nodejs/20.11.1/lib/node_modules/jampack/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/myuser/.asdf/installs/nodejs/20.11.1/lib/node_modules/jampack/node_modules/msgpack/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/myuser/.asdf/installs/nodejs/20.11.1/lib/node_modules/jampack/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/myuser/Library/Caches/node-gyp/20.11.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/myuser/Library/Caches/node-gyp/20.11.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/myuser/.asdf/installs/nodejs/20.11.1/lib/node_modules/jampack/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/myuser/Library/Caches/node-gyp/20.11.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/myuser/.asdf/installs/nodejs/20.11.1/lib/node_modules/jampack/node_modules/msgpack',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../deps/msgpack/object.cpp:18:
npm ERR! In file included from ../deps/msgpack/msgpack/object.hpp:23:
npm ERR! ../deps/msgpack/msgpack/zone.hpp:42:27: error: no template named 'auto_ptr' in namespace 'std'
npm ERR!         void push_finalizer(std::auto_ptr<T> obj);
npm ERR!                             ~~~~~^
npm ERR! ../deps/msgpack/msgpack/zone.hpp:148:19: error: variable has incomplete type 'void'
npm ERR! inline void zone::push_finalizer(std::auto_ptr<T> obj)
npm ERR!                   ^
npm ERR! ../deps/msgpack/msgpack/zone.hpp:148:39: error: no member named 'auto_ptr' in namespace 'std'
npm ERR! inline void zone::push_finalizer(std::auto_ptr<T> obj)
npm ERR!                                  ~~~~~^
npm ERR! ../deps/msgpack/msgpack/zone.hpp:148:48: error: 'T' does not refer to a value
npm ERR! inline void zone::push_finalizer(std::auto_ptr<T> obj)
npm ERR!                                                ^
npm ERR! ../deps/msgpack/msgpack/zone.hpp:147:20: note: declared here
npm ERR! template <typename T>
npm ERR!                    ^
npm ERR! ../deps/msgpack/msgpack/zone.hpp:148:51: error: use of undeclared identifier 'obj'
npm ERR! inline void zone::push_finalizer(std::auto_ptr<T> obj)
npm ERR!                                                   ^
npm ERR! ../deps/msgpack/msgpack/zone.hpp:148:55: error: expected ';' at end of declaration
npm ERR! inline void zone::push_finalizer(std::auto_ptr<T> obj)
npm ERR!                                                       ^
npm ERR!                                                       ;
npm ERR! ../deps/msgpack/msgpack/zone.hpp:149:1: error: expected unqualified-id
npm ERR! {
npm ERR! ^
npm ERR! 7 errors generated.
npm ERR! make: *** [Release/obj.target/libmsgpack/deps/msgpack/object.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.<anonymous> (/Users/myuser/.asdf/installs/nodejs/20.11.1/lib/node_modules/jampack/node_modules/node-gyp/lib/build.js:209:23)
npm ERR! gyp ERR! System Darwin 23.4.0
npm ERR! gyp ERR! command "/Users/myuser/.asdf/installs/nodejs/20.11.1/bin/node" "/Users/myuser/.asdf/installs/nodejs/20.11.1/lib/node_modules/jampack/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /Users/myuser/.asdf/installs/nodejs/20.11.1/lib/node_modules/jampack/node_modules/msgpack
npm ERR! gyp ERR! node -v v20.11.1
npm ERR! gyp ERR! node-gyp -v v10.1.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: /Users/myuser/.npm/_logs/2024-03-26T13_20_06_644Z-debug-0.log
~ ➤

We probably don't support global install - will try to fix 👍

I did this myself, check the README again… The package name is @divriots/jampack!

I tried and indeed you need to do npm install -g @divriots/jampack

It seems I missed the memo that NPM packages can be name-spaced. Good to know!
Thanks for the guidance. Much obliged. 😊

authors: georges-gomes justinmayer wrboyce

repo: divriots/jampack


text:
🛑 ArtChart is down

In aee40d0, ArtChart (https://artchart.net/en) was down:

HTTP code: 504
Response time: 15817 ms

Resolved: ArtChart is back up in 4848192 after 41 minutes.

repo: divtiply/artupptime


text:
🛑 Darz is down

In 868d2b8, Darz (https://darz.art/en) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Darz is back up in 5379bb2 after 15 minutes.


text:
🛑 Arcadja is down

In 68ca30d, Arcadja (https://www.arcadja.com/auctions/en/) was down:

HTTP code: 302
Response time: 1503 ms

Resolved: Arcadja is back up in f2ac9e1 after 16 minutes.


text:
Unable to use rclone copy or sync with teldrive backend {Detailed logs added}

I'm experiencing an issue with the teldrive backend in rclone. While I can successfully use rclone tree, ls, and lsd commands to view files uploaded from the WebUI, I'm unable to use rclone copy or sync commands to upload files to Telegram.
Error Message:
When running rclone copy "rclone.1" "tele:" -vvPP, I receive the following error:
HTTP error 500 (500 Internal Server Error) returned body: "{\"code\":500,\"message\":\"callback: no channels found\"}"

The file size of the upload keeps increasing, but the upload itself fails.
rclone tree
rclone tree tele:
/
└── Software
    └── rclone-v1.66.2-windows-amd64.zip

rclone copy Error
rclone copy "rclone.1" "tele:" -vvPP
2024/04/22 11:57:27 DEBUG : rclone: Version "v1.66.2" starting with parameters ["rclone" "copy" "rclone.1" "tele:" "-vvPP"]
2024/04/22 11:57:27 DEBUG : Creating backend with remote "rclone.1"
2024/04/22 11:57:27 DEBUG : Using config file from "C:\\Users\\W11\\AppData\\Roaming\\rclone\\rclone.conf"
2024/04/22 11:57:27 DEBUG : fs cache: adding new entry for parent of "rclone.1", "//?/C:/Users/W11/Downloads/rclone-v1.66.2-windows-amd64/rclone-v1.66.2-windows-amd64"
2024/04/22 11:57:27 DEBUG : Creating backend with remote "tele:"
2024/04/22 11:57:28 DEBUG : Saving config "access_token" in section "tele" of the config file
2024/04/22 11:57:28 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2024/04/22 11:57:29 DEBUG : rclone.1: Need to transfer - File not found at Destination
2024/04/22 11:57:30 DEBUG : pacer: low level retry 1/10 (error HTTP error 500 (500 Internal Server Error) returned body: "{\"code\":500,\"message\":\"callback: no channels found\"}")
2024/04/22 11:57:30 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2024/04/22 11:57:31 DEBUG : pacer: low level retry 2/10 (error HTTP error 500 (500 Internal Server Error) returned body: "{\"code\":500,\"message\":\"callback: no channels found\"}")
2024/04/22 11:57:31 DEBUG : pacer: Rate limited, increasing sleep to 40ms
2024/04/22 11:57:32 DEBUG : pacer: low level retry 3/10 (error HTTP error 500 (500 Internal Server Error) returned body: "{\"code\":500,\"message\":\"callback: no channels found\"}")
2024/04/22 11:57:32 DEBUG : pacer: Rate limited, increasing sleep to 80ms
Transferred:          732 KiB / 2.397 MiB, 30%, 211.982 KiB/s, ETA 8s
Transferred:            0 / 1, 0%
Elapsed time:         5.0s
Transferring:
 *                                      rclone.1: 29% /2.397Mi, 211.949Ki/s, 8s^C

Rclone Config:
My rclone config is as follows:
[tele]
type = teldrive
access_token = redacted
api_host = http://localhost:8080
channel_id = -100redacted

I have added the channel in the WebUI, and it's showing files in both the WebUI and rclone. However, I'm unable to copy or upload files to Telegram using rclone.
Steps to Reproduce:

Add a channel in the WebUI.
Configure rclone with the Telegrive backend.
Run rclone copy or sync command to upload a file to Telegram.

Expected Behavior:
The file should be successfully uploaded to Telegram.
Actual Behavior:
The upload fails with an HTTP error 500, and the file size keeps increasing.

@bolavefasfas  remove -100 from start  or set default channel from UI settings

Worked Thanks.
I've successfully deployed Teledrive and created a folder and upload a file. However, when I redeployed Teledrive on a fresh VPS with the same account and channel, the old files did not show up in the same channel. (The old files were still present in the channel.
Can someone explain why the files are not persisting across deployments? Is there a configuration or setting I'm missing?
I guess I changes the vps so new postgress so old database not their thats why right ?
And please can you send a ideal rclone config for uploading decent amount of data ?


text:
Write documentation

Needs to be done before release of tag v1.0.0
Basic explanation of the config file given to the zipcelx method.

Added Initial Wiki, and links in the README.md
Closing.

repo: dixieio/zipcelx


text:
🛑 Radio France Open API is down

In a4e7f23, Radio France Open API ($SECRET_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Radio France Open API is back up in e6798d9.


text:
where to find the rosbag data?

Could anyone tell me where to find the test data "radar_2016-10-12-15-59-24-walking.bag"?

Same question.

authors: StoneJia heroacool


text:
Create plugin for execution trace

monk can collect execution traces of individual processes across both user space and kernel space. It's a little slow (very slow), but in some cases that might be fine. It's a cool example of what the framework can do.

[ ] Create a plugin to hook and step execution of a single process
[ ] Output trace file in DrCov format (drcov appears to be the most widely used coverage tool, most trace visualization tools support it)

Initial plugin created in #22

repo: dizzyspiral/monk


text:
removed inline style for CSP compliancy

This change works in my local project, and removes the CSP issues related to crispy_forms.
However, you might want to check whether the omission of the min-width has any effect, or whether this can be acheived through the different flex-{}-grow- classes. Unfortunately, I am not an expert on bootstrap5 classes.

Thanks for the patch. 👍
This is on my list to have a look at next time I get some time.
In the meantime could you have a look at updating the tests to address the failures?

@Lueders-Martin -- do you still have time to carry on working on this?

Follow up in #115


text:
Preload initial commands in config.

Hi. Is there the way to run commands on every shell_plus init ?
Thanks.
Example:
%load_ext autoreload
%autoreload 2

One way of doing that would be to create an ipython profile that executes those commands and then load that profile by using IPYTHON_ARGUMENTS in settings.py or using it as an environment variable.
https://ipython.org/ipython-doc/3/config/intro.html

Btw if this works for you please consider creating a Pull Request to update the documentation and explain the steps you took with an example so other people can find that later 👍

I've managed to add these lines to the default profile at ~/.ipython/profile_default/ipython_config.py
c = get_config()
c.InteractiveShellApp.extensions = ['autoreload']
c.InteractiveShellApp.exec_lines = [
    '%autoreload 2',
    'print("Hello world!")',
]

autoreload works
In [1]: %load_ext autoreload
The autoreload extension is already loaded. To reload it, use:
  %reload_ext autoreload

however c.InteractiveShellApp.exec_lines are never executed, any ideas why?

Update:
it seems to work with manage.py shell_plus --ipython, but not with manage.py shell_plus --ptipython, I'm investigating as to why...

authors: danihodovic trbs zelds

repo: django-extensions/django-extensions


text:
Add makefile for easier development

Problem
Lots of commands, and they are quite difficult to remember.
Solution
Makefile

Coverage remained the same at 96.348% when pulling fd62d558a8c73987ac929c04eef4642cc319725d on andrewgy8:add-makefile into 44dde10042fca269992968833898f761cfb4109e on django-import-export:master.

Coverage remained the same at 96.348% when pulling fd62d558a8c73987ac929c04eef4642cc319725d on andrewgy8:add-makefile into 44dde10042fca269992968833898f761cfb4109e on django-import-export:master.


text:
Overriding Templates

I along with other users (according to the stackoverflow link) am having trouble overriding the templates located in:
https://github.com/praekelt/django-recaptcha/tree/develop/captcha/templates/captcha
In particular, I want to override widget_v3.html and js_v3.html.
https://stackoverflow.com/questions/60924414/how-to-override-external-app-template-in-django
This is happening even after following the django docs method of overriding templates:
https://docs.djangoproject.com/en/3.0/howto/overriding-templates/
What is the proper way to override templates without needing to override the entire recaptcha app (like in my last statement)? It would be preferable to override the templates and not the entire app so that upgrades of this package can be done more easily.
One way that this could be completed is if you edit the virtualenv location in
/home/user/.local/share/virtualenvs/PROJECT/lib/python3.7/site-packages/captcha/templates/captcha
which is not really desirable.
But the main way to do it without relying on pip3 install is to remove the package using pip3 uninstall django-recaptcha and to copy the entire app to your project folder. This is also not desirable if there are django-recaptcha updates then users need to update their templates / code again to match with the main branch.

This is likely due to the templates being rendered within the widget. widgets use the render as described in FORM_RENDERER. From there looking at the docs listed for the default render it reads.
(unconnected to what you might have configured in the TEMPLATES setting)
It then states it loads from the built-in django/forms/templates directory and then loads by installed apps. It does not include TEMPLATES DIRS directories.
https://docs.djangoproject.com/en/3.0/ref/settings/#form-renderer
Instead of using a widget and template rending the files, it would probably be best to manually add the javascript to the page that has the form itself. (or at least in your own file that you can include).

Additionally, you can specify in your settings.py file
FORM_RENDERER = 'django.forms.renderers.TemplatesSetting'

and add django.forms to your installed apps or manually add forms/templates directory from your Django installation to DIRS setting in TEMPLATES, but be aware that this change will switch all forms used by Django to use TEMPLATES settings instead of built-in defaults. If you've changed this setting significantly (for example by switching to Jinja2), it may break all forms in your project.

I'm having the same issue. Anyone found a solution?
@9mido Have you maybe figured anything out?

@duplxey I decided not to use this github project for my form captchas. I decided to incorporate captchas myself into each of my forms manually and separately. When I did that, I had no problems. You can also take a look at something like the hcaptcha docs or use another github project like django-hcaptcha to see if you are having the same problems. I liked hcaptcha better because you get paid when people complete your forms and people are not tracked and have privacy problems like in recaptcha. Even though hcaptcha can be a bit annoying for your users.

@gbdlin's solution worked for me.[^1]
[^1]: I opted to "add django.forms to [my] installed apps", not "manually add forms/templates directory from [my] Django installation to DIRS setting in TEMPLATES".

For others who stumble on this and are unable to set the FORM_RENDERER, I did the following which ended up working for me:

Subclass the ReCaptchaV3 and override the render method:

# myproject/widgets.py

from captcha.widgets import ReCaptchaV3

from django.template import loader
from django.utils.safestring import mark_safe

class CustomReCaptchaV3(ReCaptchaV3):
    template_name = "recaptcha/widget_v3.html"

    def render(self, name, value, attrs=None, renderer=None):
        context = self.get_context(name, value, attrs)
        template = loader.get_template(self.template_name)
        return mark_safe(template.render(context))

Add it to your form:

# myproject/forms.py
from captcha.fields import ReCaptchaField

class MyForm(forms.Form)
    ...
    captcha = ReCaptchaField(widget=CustomReCaptchaV3, label="")

Then, assuming you have a templates directory in the root of the project, create a subdirectory called recaptcha and add your custom templates:

<!-- templates/recaptcha/includes/js_v3.html -->
{# The provided implementation caters for only one reCAPTCHA on a page. Override this template and its logic as needed. #}
<script src="https://{{ recaptcha_domain }}/recaptcha/api.js?render={{ public_key }}{% if api_params %}&{{ api_params }}{% endif %}"></script>
<script type="text/javascript">
    function updateRecaptcha() {
      grecaptcha.execute('{{ public_key }}', {action: 'form'})
      .then(function(token) {
          console.log("reCAPTCHA validated for 'data-widget-uuid=\"{{ widget_uuid }}\"'. Setting input value...")
          var element = document.querySelector('.g-recaptcha[data-widget-uuid="{{ widget_uuid }}"]');
          element.value = token;
      });
    };
    grecaptcha.ready(function() {
        updateRecaptcha();
        setInterval(updateRecaptcha, 110000); // 110 seconds since the token expires after 120 seconds
    });
</script>

Taken from comment in #183

<!-- templates/recaptcha/widget_v3.html -->
{% include "recaptcha/includes/js_v3.html" %}
<input class="g-recaptcha"
    type="hidden"
    name="{{ widget.name }}"
    {% for name, value in widget.attrs.items %}{% if value is not False %} {{ name }}{% if value is not True %}="{{ value|stringformat:'s' }}"{% endif %}{% endif %}{% endfor %}/>

It’s not clear to me whether there’s anything to change in django-recaptcha based on this thread, so I’ll move to Discussions. If I got that wrong, please open a bug report / feature request. Or we can add more docs if it helps.

authors: 9mido duplxey gbdlin msf-dev thibaudcolas wesleyboar

repo: django-recaptcha/django-recaptcha


text:
Not respecting STATIC_URL

Ok, this has been brought up numerous times before and the answer is always to use Webpack's publicPath to configure the URL base. This seems wrong. Even your documentation is wrong saying that STATIC_URL is used.
Is integrating webpack into a DJANGO project not the entire point of this repo? Why do I want more configuration files when I could just append the STATIC_URL to the start when generating urls in render_bundle. If you don't want it to do that, then remove your STATIC_URL.
Bottom line, I think this package is making too many assumptions and decisions on the users behalf. For example, I have a large app that I'm trying to integrate right now. It has about 30 static media servers including random CDN providers. My STATIC_URL is dynamic based on connection locale. Webpack build does not know anything about this when building locally before deploy. If this package would just respect STATIC_URL the way every other Django integration does, this would just work.
I'm going to fork this package and use my hacked version, but I would SERIOUSLY recommend taking this into consideration.

This is confusing me too. The offending code seems to be  in webpack_loader/loader.py:
    def get_chunk_url(self, chunk):
        public_path = chunk.get('publicPath')
        if public_path:
            return public_path

        relpath = '{0}{1}'.format(
            self.config['BUNDLE_DIR_NAME'], chunk['name']
        )
        return staticfiles_storage.url(relpath)

which cause both the BUNDLE_DIR_NAME and the STATIC_DIR to be ignored whenever publicPath is present in the chunk, which it always is, no? There's no comment on this code, so I can't tell what the intention is, but it means that my webpack bundle URL in my template code is always wrong. Django serves it from /[STATIC_DIR]/[BUNDLE_DIR_NAME]/[bundle_name].js but the template code just uses the publicPath and generates /[bundle)name].js, which is of course not found by Django.
So we either have a major misunderstanding or fundamental bug. I'm guessing it's the former, but I could use clarification.
Thanks!

Is this new behavior? I have an app running a previous version of this library that works fine without specifying publicPath?

I resorted to set webpack's publicPath to an empty string to test false at if public_path:
output: {
        path: path.resolve(__dirname, '../dist/assets'),
        filename: '[name].js',
        publicPath: ''
    },

It does prevent having to lookup multiple files when using django's manifest storage though. So keeping that behaviour as an optional thing would be nice

@carlos-avila Too bad this hack doesn't work if publicPath actually needs to be set.

Just wanted to say I got here after trying to work out why my STATIC_URL and BUNDLE_DIR_NAME settings weren't doing anything.
I'm using vue-cli and added this option to my vue.config.js file:
module.exports = {
  ...
  publicPath: "",
  ...
};

I don't think I'll need to use the publicPath setting but this is definitely unintuitive behaviour and would be great if it was fixed. :)

If you want to use the django STATIC_URL for your bundle files in your template while at the same time still having publicPath set to something in your webpack config you can override the loader get_chunk_url method to ignore the publicPath.
Need to subclass the WebpackLoader class and add the LOADER_CLASS option to the config
https://github.com/django-webpack/django-webpack-loader#extra-settings
Remove this part of the method:
public_path = chunk_file.get('publicPath')
if public_path:
    return public_path

and end up with:
from webpack_loader.loader import WebpackLoader

class CustomWebpackLoader(WebpackLoader):
    def get_chunk_url(self, chunk_file):
        # Use os.path.normpath for Windows paths
        relpath = os.path.normpath(
            os.path.join(self.config['BUNDLE_DIR_NAME'], chunk_file['name'])
        )
        return staticfiles_storage.url(relpath)

authors: calocan carlos-avila harrywhite4 iMerica jabelone joshuajonah keikoro sbrand83

repo: django-webpack/django-webpack-loader


text:
fix #33295: datatype of msg handled in self.stdout.write management function

Ticket link: https://code.djangoproject.com/ticket/33295

Closing per ticket.

authors: felixxm vishalpandeyvip

repo: django/django


text:
Avoided creating default form fields in fields_for_model() when declared on form.

Noticed when reviewing #16614.

@nessita Thanks for checking :+1: pushed edits.


text:
Fixed #24846 -- Added support to MySQL DatabaseSchemaEditor.skip_default() for all blob/text data types

Ticket 24846

Do we want any tests for this? Even creating a stub field that returns each of the values and then a test which calls this method?

Possibly, but it doesn't bring much value IMHO. Doesn't hurt, though!

I'll be a good code citizen and write a test

The test seems better suited for tests/schema since this change is limited to the schema backend.

flake8 checked.

isort checked.

docs checked.

merged in e60cce4e401ae9481b66b6c7821e85237f1baa1a, thanks!

authors: adamchainz claudep timgraham


text:
Fixed #8851: Added default filter option to the admin.

Added an option to add default values for filters in the admin, to be able to
distinguish between having no filter select and disabling the filter I added
a per ModelAdmin configurable sentinel value.

Looks to me like the docs build failure is unrelated to the changes I made. It seems to have been a connectivity issue.
Could someone give the docs build another try?

Buildbot, test this please.

buildbot, add to whitelist.

I'll rebase/squash tomorrow.

Fixed most of the issues you had, the problem with sentinel values is that you can't leave them out, because then it's the same as None which might not be the default value you want.
If anyone has good ideas on how to improve this without making the ListFilters aware about all the things; feel free to let me know.

@hvdklauw isort and docs builds are still failing. +merge conflict need to be resoled too

I'll take a look tomorrow

The isort errors are gone after rebase (they where in unrelated files anyway)
The docs it throwing warnings which I have no clue how to fix, as they are related to djangodocs extension for sphinx.
I'll push in the hopes that it will also be fixed.

awesome. everything is passing

could you rebase again and check if everything is ok

It failed on the windows build, but that seems to be a connectivity issue between jenkins and github.

I have unchecked the patch need improvement. hope this will be get into 1.11

@auvipy, you marked the patch as Ready for Checkin but did you review it using the patch review checklist? From a quick look, at least 1.11 release notes are missing.

i misunderstood ready for checkin. @hvdklauw could you please do the remaining tasks?

Ah, yes.. this disappeared to the bottom of my todo list. (thanks for reminding me @auvipy) Added the entry, please check it for typo's ;-)

Hello! Am wondering what the status of this is (other than obvious conflict)? Would be really good to have default list filter values.

authors: auvipy charettes hvdklauw nikbora timgraham


text:
Fixed #28369 -- Added ModelAdmin hooks for reversing URLs.

https://code.djangoproject.com/ticket/28369#ticket

Closing due to inactivity.

authors: felixxm yeago


text:
change color to red

This is for issue #7

I like blue better

@jinpark  please review :+1:

For demo purpose only

authors: hassanabidpk jinpark

repo: djangogirlscodecamp/lightandleadership


text:
Use OS certificate stores by default

Currently we depend on webpki-roots to bake in sane defaults. This is better than nothing, but doesn't expose user-installed certificates or handle live changes. While those can be accomplished by users employing custom certificate validation logic, it would be nice to handle them correctly out of the box.
Blocked on https://github.com/ctz/rustls-native-certs being released

https://github.com/ctz/rustls-native-certs/issues/1

Can you add this via a (default-on) optional feature? I do my own certificate validation and don't rely on the OS store at all. I'd love if I didn't have to include that additional dependency :).

I'm also interested in use cases that are independent of the conventional web PKI, so I'd like to support that well. Feels weird to have disabling a feature change the semantics of existing interfaces, although I'm not sure it'd be strictly wrong. Maybe a dedicated ClientConfigBuilder::without_trust_roots() constructor that becomes your only option when the feature's disabled, with all the Default impls disappearing? Or is that too harsh?

authors: Ralith djc est31

repo: djc/quinn


text:
ssp: gather CNV templates

We intentionally look in all the namespaces, even though
we expect to have them in the openshift namespaces, to get
a clue about weird states (e.g. duplicated or misplaced templates)
Signed-off-by: Francesco Romani fromani@redhat.com

testing of this PR is still in progress on my side.

tested the script in isolation and works as expected

tested the script in isolation and works as expected

To clarify, I mean I just run "/usr/bin/gather_cnv_ssp" alone, and not the "oc adm must-gather" command as per README.

repo: djfjeff/cnv-must-gather


text:
release & versions

Hi,
I use version 0.4.0 for a while now and I see many commits. Any plan to release?
Thanks!

Hi @pascalandy, that is probably a good idea. I will have a look at releasing 0.5.0 soon.

thanks!

Interesting!

Finally done.. https://github.com/djmaze/shepherd/releases/tag/0.5.0

authors: djmaze hakuno pascalandy

repo: djmaze/shepherd


text:
Renames BLACKLIST_SERVICES variable

Hello,
first of all, congrats for the job with shepherd, it helps a lot the CI/CD environment on PencilLabs, a tech brazilian company that i'm cofounder and developer.
This MR renames the BLACKLIST_SERVICES  env variable to IGNORELIST_SERVICES. As a black man and developer we must avoid using racist terms that the tech industry for so long has normalized. At Pencillabs, our swarm cluster already is using a custom shepherd image with IGNORELIST_SERVICES, so we can tag a shepherd version with BLACKLIST_SERVICES, to avoid breaking other environments.

Oh, yes, that was well needed. Thanks!
Since it is a breaking change, it will require a new minor release at least. Have to see when that could be done.

authors: davidCarlos djmaze


text:
Add Pastebin Mobile by @Aecasorg

[✓] Project URL: https://github.com/jonluca/PasteBinApp
[✓] Update contents.json instead of README
[✓] One project per pull request
[✓] Avoid iOS or open-source in description as it is assumed
[✓] Use this commit title format if applicable: Add app-name by @github-username
[✓] Use approved format for your entry

Uhm, links that I have no control over, what do I do?

@Aecasorg Hi! Don't worry about them, we'll fix the ones later.

@vpeschenkov OK, great thanks!

@Aecasorg Thank you for the contribution!

Thanks!

On 8 Apr 2018, at 18:06, Victor Peschenkov notifications@github.com wrote:
@vpeschenkov approved this pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/dkhamsing/open-source-ios-apps/pull/586#pullrequestreview-110291849, or mute the thread https://github.com/notifications/unsubscribe-auth/ATB5Y8WjLiDuTq7ntgW3xOoiMP4WoGZ5ks5tmjVrgaJpZM4TLlMd.

authors: Aecasorg vpeschenkov

repo: dkhamsing/open-source-ios-apps


text:
Dragon Damage on main screen

For units optimized around shapeshifting, is it possible to get that damage on the main screen? For most units shapeshifitng isn't optimal for DPS but stuff like Audric, Euden, etc gain a lot from dragon damage. A relevant example of how this is important is that the new dragon G&C is a stronger pick for Xain than Siren and even scales better with team DPS, but Siren is displayed because shapeshifting isn't taken into account. It just makes sense to me that dragon damage should be considered in these cases.
In any case, thanks for this awesome tool!

there are people helping me with that rn, soon:tm:

repo: dl-stuff/dl


text:
новые теги not_user_name и аналогичные

Было бы просто шикарно, если появятся новые теги для еще более красивого оформления шаблона email сообщения.
раз есть тег user_name
то тег not_use_name мог бы выводить свое содержимое в том случае, если данное поле не заполнено.

Да, как то вылетело из головы это. Сделаем.

Будет так:
[user_email]{user_email}[/user_email]
[not_user_email] user_email is empty [/not_user_email]
[user_name]{user_name}[/user_name]
[not_user_name] user_name is empty [/not_user_name]
[user_news_num]{user_news_num}[/user_news_num]
[not_user_news_num] user_news_num is empty [/not_user_news_num]
[user_comm_num]{user_comm_num}[/user_comm_num]
[not_user_comm_num] user_comm_num is empty [/not_user_comm_num]
[user_group]{user_group}[/user_group]
[not_user_group] user_group is empty [/not_user_group]
[user_lastdate]{user_lastdate}[/user_lastdate]
[not_user_lastdate] user_lastdate is empty [/not_user_lastdate]
[user_reg_date]{user_reg_date}[/user_reg_date]
[not_user_reg_date] user_reg_date is empty [/not_user_reg_date]
[user_banned]{user_banned}[/user_banned]
[not_user_banned] user_banned is empty [/not_user_banned]
[user_allow_mail]{user_allow_mail}[/user_allow_mail]
[not_user_allow_mail] user_allow_mail is empty [/not_user_allow_mail]
[user_info]{user_info}[/user_info]
[not_user_info] user_info is empty [/not_user_info]
[user_signature]{user_signature}[/user_signature]
[not_user_signature] user_signature is empty [/not_user_signature]
[user_foto]{user_foto}[/user_foto]
[not_user_foto] user_foto is empty [/not_user_foto]
[user_fullname]{user_fullname}[/user_fullname]
[not_user_fullname] user_fullname is empty [/not_user_fullname]
[user_land]{user_land}[/user_land]
[not_user_land] user_land is empty [/not_user_land]
[user_favorites]{user_favorites}[/user_favorites]
[not_user_favorites] user_favorites is empty [/not_user_favorites]
[user_pm_all]{user_pm_all}[/user_pm_all]
[not_user_pm_all] user_pm_all is empty [/not_user_pm_all]
[user_pm_unread]{user_pm_unread}[/user_pm_unread]
[not_user_pm_unread] user_pm_unread is empty [/not_user_pm_unread]
[user_time_limit]{user_time_limit}[/user_time_limit]
[not_user_time_limit] user_time_limit is empty [/not_user_time_limit]
[user_logged_ip]{user_logged_ip}[/user_logged_ip]
[not_user_logged_ip] user_logged_ip is empty [/not_user_logged_ip]
[user_timezone]{user_timezone}[/user_timezone]
[not_user_timezone] user_timezone is empty [/not_user_timezone]

допполя

[user_xfield_xxx]{user_xfield_xxx}[/user_xfield_xxx]
[not_user_xfield_xxx] user_xfield_xxx is empty [/not_user_xfield_xxx]

authors: pafnuty tcse

repo: dle-modules/DLE-UniForm


text:
ssh user@host implementation (draft)

approaching issue  #38

I'm afraid the test with ssh node0 will ask the user password ... So user creation and ssh key configuration must be implemented before .

Ah, sorry, hadn't fully realised what we needed to do. I think all should be fine if we tune all the places where we ssh in from:
footloose --config %t.yaml ssh node0

to:
footloose --config %t.yaml ssh root@node0

That seems to include;

README.md, telling people how to ssh as root in with that change
footloose/tests/test-docker-in-docker.cmd
footloose/tests/test-ssh-remote-command.cmd

authors: dlespiau ilmanzo

repo: dlespiau/footloose


text:
截图大小自适应&

根据wx的官方文档 canvasToTempFilePath api是可以自适应的,是否可以考虑在调用api时候使用自适应来达到截图自适应,而且现在确实出现了截图后宽高失真的情况
wx.canvasToTempFilePath(OBJECT)
把当前画布指定区域的内容导出生成指定大小的图片，并返回文件路径。
OBJECT参数说明：
参数  	       类型	      必填	说明	                            最低版本
x	               Number	否	画布x轴起点（默认0）	1.2.0
y	               Number	否	画布y轴起点（默认0）	1.2.0
width	       Number	否	画布宽度（默认为canvas宽度-x）	1.2.0
height	       Number	否	画布高度（默认为canvas高度-y）	1.2.0
destWidth      Number	否	输出图片宽度（默认为width）	1.2.0
destHeight	Number	否	输出图片高度（默认为height）	1.2.0
canvasId	        String	是	画布标识，传入  的 cavas-id
success	        Function	否	接口调用成功的回调函数
fail	                Function	否	接口调用失败的回调函数
complete	Function	否	接口调用结束的回调函数（调用成功、失败都会执行）
示例代码
wx.canvasToTempFilePath({
x: 100,
y: 200,
width: 50,
height: 50,
destWidth: 100,
destHeight: 100,
canvasId: 'myCanvas',
success: function(res) {
console.log(res.tempFilePath)
}
})

真机上会出现宽高失真的情况吗？

authors: KameraSui dlhandsome

repo: dlhandsome/we-cropper


text:
Multiple Url are  feature is not working

As mentioned in the documentation, Each URL is added on a new line. but indexing for only one URL.
Example:
When I added 5 URLs in the urls.txt, but indexing  for 5th URL only, remaining  1to 4 URLs are skipped

As mentioned in the documentation, Each URL is added on a new line. but indexing for only one URL.
Example: When I added 5 URLs in the urls.txt, but indexing for 5th URL only, remaining 1to 4 URLs are skipped

It works. Here is an example of a successful response from Google about adding 5 URLs to the indexing queue. If you get the same response from your links, then the library has done its job!
But Google may indeed not index your pages for some of its internal reasons: See https://developers.google.com/search/docs/fundamentals/get-on-google#do-you-serve-high-quality-content-to-users
Google may not have liked the quality of pages 1-4, but it liked page 5.
{
    "response-1410898662": {
        "urlNotificationMetadata": {
            "url": "https://grand-service.su/",
            "latestUpdate": {
                "notifyTime": "2024-04-05T12:50:44.043333568Z",
                "type": "URL_UPDATED",
                "url": "https://grand-service.su/"
            }
        }
    },
    "response-1549321495": {
        "urlNotificationMetadata": {
            "url": "https://grand-service.su/remont-televizorov/bang-and-olufsen",
            "latestUpdate": {
                "notifyTime": "2024-04-05T12:50:44.047527414Z",
                "type": "URL_UPDATED",
                "url": "https://grand-service.su/remont-televizorov/bang-and-olufsen"
            }
        }
    },
    "response-1578195267": {
        "urlNotificationMetadata": {
            "url": "https://grand-service.su/remont-duhovyh-shkafov/kitfort",
            "latestUpdate": {
                "notifyTime": "2024-04-05T12:50:44.042969840Z",
                "type": "URL_UPDATED",
                "url": "https://grand-service.su/remont-duhovyh-shkafov/kitfort"
            }
        }
    },
}

Hello @dllpl,
Upon debugging, I discovered that $response = $batch->execute(); will only occur for the last URL, as it lies outside the foreach loop. I've submitted a PR addressing this issue. Kindly review and consider the matter.
Thank you.

repo: dllpl/google-fast-indexing


text:
Incorrect labels for second-level nodes if "Edge Size" metric is selected

Hi.
I've noticed an issue with node labels after updating this plugin from the 6-dev branch. I'm currently running Kibana 6.1.0.
Steps to reproduce:

Create a "node-node" visualization. The network is displayed without any issues.
Now select the "Edge Size" metric and refresh the visualization. Second-level nodes now have numbers on their labels instead of the actual values. I assume those are doc counts from the terms aggregation.
Remove the "Edge Size" metric and select the "Node Size" one. Second-level nodes now have correct labels and the first-level nodes are scaled accordingly.

I think that keys and values from the terms aggregation are getting mixed up somewhere when the "Edge Size" metric is selected.

Hi @NeonSludge,
You are right, I'm going to fix this bug, sorry for the inconvenience.

Updated release

Can confirm, this fixes the problem.
Thank you again.

authors: NeonSludge dlumbrer


text:
Does code achieve benchmarks

Does this code achieve the benchmarks given in the paper? I modified this to work on my system, but it doesn't converge after running it for a few days.

Unfortunately we were never able to get Feudal Networks to converge successfully.  I've talked to some other researchers that have had difficulty reproducing the paper as well.  Its likely that there are a few implementation differences as the paper doesn't fully describe the architecture.

I met same problem,  loss doesn't decrease.

authors: CrazySssst dmakian sidharthramesh98


text:
No connection. Digitalocean host

Connected to server. Sending site
/Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/net/ftp.rb:228:in initialize': Connection refused - connect(2) for "maukasta.fi" port 21 (Errno::ECONNREFUSED)         from /Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/net/ftp.rb:228:in open'
from /Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/net/ftp.rb:228:in block in open_socket'         from /Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/timeout.rb:74:in timeout'
from /Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/net/ftp.rb:223:in open_socket'         from /Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/net/ftp.rb:248:in block in connect'
from /Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize'         from /Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/net/ftp.rb:247:in connect'
from /Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/net/ftp.rb:160:in initialize'         from /Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/net/ftp.rb:133:in new'
from /Users/andreaskoutsoukos/.rbenv/versions/2.2.1/lib/ruby/2.2.0/net/ftp.rb:133:in open'         from /Users/andreaskoutsoukos/.rvm/gems/ruby-2.2.1/gems/glynn-1.2.2/lib/glynn/ftp.rb:23:in connect'
from /Users/andreaskoutsoukos/.rvm/gems/ruby-2.2.1/gems/glynn-1.2.2/lib/glynn/ftp.rb:16:in sync'         from /Users/andreaskoutsoukos/.rvm/gems/ruby-2.2.1/gems/glynn-1.2.2/bin/glynn:88:in <top (required)>'
from /Users/andreaskoutsoukos/.rvm/gems/ruby-2.2.1/bin/glynn:23:in load'         from /Users/andreaskoutsoukos/.rvm/gems/ruby-2.2.1/bin/glynn:23:in '
from /Users/andreaskoutsoukos/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in eval'         from /Users/andreaskoutsoukos/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in '
My setting are _glynn.yml
ftp_host: 'maukasta.fi'
ftp_dir: '/var/www/maukasta.fi/public_html/'
ftp_passive: false
optional
ftp_port: 21                  # default 21
ftp_username: 'root'     # default read from stdin
ftp_password: '....' # default read from stdin
ftp_secure: true              # default false
But why console says ftp secure false?

This error indicates glynn wasn't able to connect to that host. It would indicate an error with your hosting provider, or your server configuration, not this library.

But if i change the option on _glynn.yml they will not effect?

My bad. Nice catch actually.
It would look like the _glynn.yml config is loaded after we set some ftp vars.
https://github.com/dmathieu/glynn/blob/b84f4648fce0d869cb90caabacbe0cccd1694761/bin/glynn#L27
Moving that file loading before we set those vars would fix your issue. Want to open a PR?

So will the _config.yml setup loaded before?
I am not good at open, this is not my core skills. :)

Yes. If you set your config in _config.yml, things should be working properly. I'll fix this in the next few days.

Great thanks.

authors: dmathieu vjandrei

repo: dmathieu/glynn


text:
Initial implementation of http namespace resolver

Added a base generic resolver allowing for decent configuration.
TODOs:

resolve all the small TODOs in code
get the API of testing servers right

which codes are sent in case of which errors?
use json message for complex error reporting?

Resolves #495

Hi Derek, is this the right place for such a pull request? Or shall I submit it at docker/distribution:master branch with your work included?

Yes, here is fine for review. I will ask you to make a new pull request against master when namespaces are merged in

Thank you for implementing to spec. Since this is the first attempt at implementing it, do you see any changes that should be necessary? I had a conversation with @stevvooe before and he suggested possibly having the content of the meta tag look similar to an entry line in the plain text file. WDYT?
Also I think you exposed a need to break up the resolver into CacheResolver, and HTTPResolver, and possibly a RecursiveResolver.  Although ideally the logic for the recursive resolver would work with the mutli resolver implementation, which is attempting to interpret the namespace action.

@dmcgowan So the discovery endpoint would reply with something like:
<meta name="docker-scope-entry" content="example.com push https://registry.example.com/v2/ version=2.0 trim">
<meta name="docker-scope-entry" content="example.com pull https://registry.example.com/v1/ version=1.0">
<meta name="docker-scope-entry" content="example.com push https://registry.mirror.com/v2/ version=2.0">
<meta name="docker-scope-entry" content="example.com pull http://registry.mirror.com/v2/ version=2.0">
<meta name="docker-scope-entry" content="example.com index https://search.mirror.com/v1/ version=1.0">

? It would simplify client's parser a lot. But I'm not sure if tying content's value with local configuration format is a good idea. Local configuration may later have other entries (namespace-less targets, aliases, custom attributes, etc.). Making them same from the beginning may lead to an impression that they are interchangeable. But, for example, I wouldn't want discovery endpoint to define aliases.
So I believe there's a benefig in having tags like docker-registry-push, docker-index, etc., parsing them and ignoring all the others.

Hopefully I've covered your points. But there are some shortcomings to current implementation:

Any failed attempt to contact momentarily unreachable discovery endpoint results in a fail. IMHO there should be a way to tell recursive http resolver to ignore errors occurring on extension namespaces.

No easy way to define recursive http resolver. In tests I do it this way:
  const recursionLimit = 10
  resolvers := make([]Resolver, recursionLimit)
  hr := NewHTTPResolver(&HTTPResolverConfig{Client: newMockHTTPClient()})
  for i := 0; i < recursionLimit; i++ {
      resolvers[i] = hr
  }
  r := NewMultiResolver(resolvers...)

Does it justify an addition of new recursiveResolver in addition to multiResolver?

Thinking...thinking...an additional recursiveResolver may make sense for the reason you specified. Either that or multiResolver should be updated to begin recursion of a namespace element at the current resolver, instead of the next.

I would advocate for the underlying cache implementation to be made generic, such as https://github.com/hashicorp/golang-lru. But right now the cache implementation is not important, I would create a simple CacheResolver and maybe a cache interface which can be implemented by either a simple map[string]interface{}, your garbage collection implementation, or an LRU implemenation. The point is that it does not need to be decided here, but the interface and use should be clearly defined.

authors: dmcgowan miminar

repo: dmcgowan/distribution