text:
Twitter popup login does not work

I am not sure why issue #177 was closed. Twitter login still does now work.
Here's the error -
Refused to display 'https://api.twitter.com/oauth/authenticate?oauth_token=VRVdnwAAAAAA6-NZAAAFGHgZffG' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://tweetdeck.twitter.com https://tdapi-staging.smf1.twitter.com https://tdapi-staging.atla.twitter.com https://tweetdeck.localhost.twitter.com".

I think I have a similar issue. I got:
Refused to display 'https://accounts.google.com/o/oauth2/auth.....' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

When I'm trying to authenticate a Google user. Seems that the issue is being thrown during acquireTokenSilent operation.
I configured my Azure B2C with both Multi-Tenant AD and Google, with AD authentication works fine.

@vladkosarev @jrebagliatti Is this issue still seen? I am able to login with twitter using the basic SUSI policy. Please let us know if this issue still persists.

Thanks @vladkosarev . We ended up implementing [hello.js|https://adodson.com/hello.js/] due to the limitation described above. I'll give a try to the new version of MSAL and let you know.
Thanks!

authors: jrebagliatti sameerag vladkosarev


text:
create config.yml

create config.yml  and disallow blank issues

Coverage remained the same at 78.528% when pulling 7eb7a04baa2d45dd960458b4e14427ef1f0017dd on sameerag/issue-templates into e65a909267a727d78894eba3f54e48591dea8918 on dev.

source: gharchive/pull-request

authors: coveralls sameerag

license: MIT

license_type: permissive

license_source: github-api


text:
How do you reconstruct the internal geometry of the car in multi-view reconstruction?

Hi! @B1ueber2y Thanks for your wonderful work! I have successfully run your multi-view reconstruction code. But I find that car‘s internal geometry can be well reconstructed, which seems unreasonable under multi-view guidance. Could you please share your dataset for your pre-trained DeepSDF model?

Thanks for the questions. As stated in the paper, we use the same training set as DeepSDF, which is from ShapeNet. Yes the internal geometry can not be reconstructed under multiview guidance from the geometric perspective. So that could be the case when the shape priors are generalized to the test case successfully, thanks to the DeepSDF representation.

source: gharchive/issue


text:
AUTOBUILD Script

yarn autobuild command
wasm/ directory to .gitignore

I have change wasm directory to canisters, do we still need it inside .gitignore ?

I guess not, let me confirm.

This script is super useful, Also can you add the --help command for this?

yes. will do.. closing this PR till then.

You were right. wasm in the .gitignore no longer needed.

Use Ai for this. the result should be great on this type of script.

To add a --help command to your script, you can include a section at the beginning of the script that checks if the first argument ($1) is --help. If it is, the script should print a help message describing what the script does and how to use it, then exit without executing any further commands.
Here's an example of how you can modify your script to include a --help command:
#!/bin/bash

# ... [Your existing variable definitions] ...

log() {
  local color="$1" # First argument
  local message="$2" # Second argument
  echo -e "${color}${message}${NO_COLOR}"
}

# Help message function
print_help() {
  echo "Usage: $0 [command] [options]"
  echo
  echo "Commands:"
  echo "  clean        Remove all files and clone repositories"
  echo "  predeploy    Run pre-deployment scripts"
  echo "  start        Start DFX, optionally with bitcoin support"
  echo "  deploy       Deploy the application"
  echo "  --help       Display this help message"
  echo
  echo "Options for 'start':"
  echo "  bitcoin      Enable bitcoin support in DFX"
  echo
  echo "Example:"
  echo "  $0 deploy         # Deploy the application"
  echo "  $0 start bitcoin  # Start DFX with bitcoin support"
}

# Check if the first argument is --help
if [ "$1" = "--help" ]; then
  print_help
  exit 0
fi

# ... [Rest of your script] ...

In this modification:

I added a print_help function that prints the usage instructions and descriptions of the available commands.
The script checks if the first argument is --help. If it is, it calls the print_help function and then exits.
Users can now run your script with --help to get information about how to use it.

This approach provides a clear and user-friendly way to inform users about the script's functionality and usage.


text:
Add cancel button to forms

This story is to add cancel buttons to both the encounter and habitat form pages to allow the user to escape any changes that they have made and don't want to save.
This story also includes adding sticky button functionality to the buttons outlined below.
Behaviour of cancel button:
If edits have been made on the page:
Both encounter and habitat forms:
User presses Cancel button -> Confirmation modal is displayed -> User presses 'Leave' -> No changes are saved and user is taken to Encounter overview page
If no edits have been made on the page:
Both encounter and habitat forms -
User presses Cancel button -> Encounter overview page
The next two scenarios are dependant on if it is possible / effort required
If edits have been made on the page:
Both encounter and habitat forms:
User presses back button in browser-> Confirmation modal is displayed -> User presses 'Leave' -> No changes are saved and user is taken to Encounter overview page
If no edits have been made on the page:
Both encounter and habitat forms -
User presses back button in browser -> Encounter overview page
Sticky button behaviour
Sticky buttons should stay in their position on the page, unless the length of the page or scrolling means that they will not be visible. Sticky buttons should stick when the position of the button hits the bottom of the view. Sticky buttons should have a full width light grey background container.
Wireframes:
Encounter form - https://drive.google.com/drive/folders/1uKHXZovMhH_8NhEIhdQlVPDxtEs8Hukl?usp=sharing
Habitat form - https://drive.google.com/drive/folders/1ckTCxGm4X4OGMVRpF3wwn2DskMIwadgM?usp=sharing
In Scope:

[ ] Adding cancel button to encounter form page
[ ] Adding cancel button to habitat form page
[ ] Adding confirmation modal to encounter form page
[ ] Adding confirmation modal to habitat form page

Adding sticky functionality to the following buttons on all viewports:

[ ] Encounter overview page - End encounter button
[ ] Habitat form page - Save and Cancel buttons
[ ] Encounter form page - Save, Save & End, Cancel buttons

If possible:

[ ] Adding confirmation modal if the user uses the browser back button after edits have been made to any form field

Tasks:

Cancel button:

[ ] Add 'cancel' button to encounter form that navigates to encounter overview page
[ ] Add 'cancel' button to huds form that navigates to encounter overview page
[ ] Create Confirmation Modal to be used in encounter and huds forms
[ ] Change login in cancel button to check for changes in the form and show modal
[ ] Investigate how to know when the user clicks back button in the browser

Sticky button behavior:

[ ] ...

Notes:

[onbeforeunload](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload) works when user navigates away from the page (goes to a different URL or refreshes the page), but it doesn't work when user clicks on the back button.
[onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate) is triggered when the user clicks the back/forward button.
In both cases, the pop-up shown to the user is not customizable.
React Router has a component that can be used to prompt the user before navigating away from the page. But this does not exist in reach router (see 3rd bullet point in "Trade-offs" section in https://reach.tech/router/credits)

Resources:

https://medium.com/@dioscarey/react-beforeunload-component-c7198f955ee

authors: flaviarodriguesf jhughes-tw

repo: BMMRO-tech/BMMRO


text:
using external nlohmann-json?

Is there a plan to allow building nopayloadclient with an external nlohmann-json distribution?  This will help us greatly, since nlohmann-json is used in a number of different places and we'd like to avoid unintentional conflicts.

You can now specify to use an external nlohmann-json header like so:
cmake -S . -B build -DINCLUDE_DIR_NLOHMANN_JSON=<nlohmann_include_dir>
If omitted, the header that is shipped with nopayloadclient (under contrib/) will be used.

Thank you!
Lynn

From: Lino Gerlach @.***>
Sent: Wednesday, October 25, 2023 3:54 AM
To: BNLNPPS/nopayloadclient
Cc: Lynn A Garren; Author
Subject: Re: [BNLNPPS/nopayloadclient] using external nlohmann-json? (Issue #6)
You can now specify to use an external nlohmann-json header like so:
cmake -S . -B build -DINCLUDE_DIR_NLOHMANN_JSON=<nlohmann_include_dir>
If omitted, the header that is shipped with nopayloadclient (under contrib/) will be used.
—
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_BNLNPPS_nopayloadclient_issues_6-23issuecomment-2D1778811843&d=DwMFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=P0Z7nIv69Nz5OP_L9NyELQ&m=cJ_aYT61cAcusWKbJtNYFX1VxjTYbygRaV7bqJee07ffHKSa0POVY2CNGe1SZRsa&s=SNK_qJLgy69hvnpDXOIJaiCnJqyusUsgeQimNn_4lkY&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABKYH2MO6TM3LGXS2IASPATYBDHUDAVCNFSM6AAAAAA6OKGIOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZYHAYTCOBUGM&d=DwMFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=P0Z7nIv69Nz5OP_L9NyELQ&m=cJ_aYT61cAcusWKbJtNYFX1VxjTYbygRaV7bqJee07ffHKSa0POVY2CNGe1SZRsa&s=uVi4pgkocSBWSQXMBdtinHTs53LYHljAU-l-u9cSAew&e=.
You are receiving this because you authored the thread.Message ID: @.***>

@ligerlac Would you make a new tag that includes this functionality?  Thanks!

Done. It is now tagged as v0.0.2

@ligerlac  It seems that json.hpp is still being installed from contrib.  When an external distribution of  nlohmann-json is used, we would prefer that the nopayloadclient include/nlohmann directory not be installed.  Is that a problem?

I had forgotten to delete the header under include. It should be fixed now. Let me know if it's okay like this and I will create a new tag.

This works.  Waiting for the new tag.

Happy with v0.0.3.  Closing this, but see new PR.

authors: lgarren ligerlac

repo: BNLNPPS/nopayloadclient


text:
Dogecoin open source contributor

https://github.com/dogecoin/dogecoin/pull/2236

LG!!! Bitcoin is for everyone!
Tell your friends to use promo code DOGE for 10% off any Bitcoin 2022 passes on Tixr checkout, which also has a payment plan!
🌋
https://bit.ly/3AIOQGV

authors: aioromo sabotagebeats


text:
how do i get my bitcoin privet with my Zcl coin

hi I have zcl in my zclwallet how do I get my bitcoin privet

Make sure it was the electrum wallet and not just the ZCL wallet

repo: BTCP-community/electrum-zcl


text:
Interest in Bright Peeps

I have interest in the Bright Peeps project and connect and identify with its goals and purpose.  With social platforms seemingly becoming a more divisive, controversial space,  I love the idea of bringing brightness to the internet.  Through our team I hope we are able to create a marketable, easy-to-use product that is effective in bringing about wholesomeness into the daily tech routine of its users.
I am able to offer programming experience in ASP.NET Core's C# Web API framework.  I have familiarity in React and in SQL and NoSQL databases as well.  I am open to learning, being flexible, and helping where needed.

You're in!


text:
线程池相关

引擎层scheduler_queue创建了指定数量的线程，应用层动态创建graph过程中，线程缺少管理方案，未来有考虑线程池方案吗。或者能将exec_loop发送给外部线程池管理吗

目前这方面的需求不太强，原因有几个：

线程数量不多。框架引擎层的线程使用数量是相对固定的，且数量较少，只用于多个scheduler。
线程没有频繁的创建销毁动作。

给外部线程池管理，是从哪些角度的考虑？

目前这方面的需求不太强，原因有几个：

线程数量不多。框架引擎层的线程使用数量是相对固定的，且数量较少，只用于多个scheduler。
线程没有频繁的创建销毁动作。

给外部线程池管理，是从哪些角度的考虑？

单个graph的线程使用数量相对固定，多个(3~5个)graph，同时单个graph动态更新时，线程会频繁创建销毁

单个graph的线程使用数量相对固定，多个(3~5个)graph，同时单个graph动态更新时，线程会频繁创建销毁

动态更新场景是个值得加入线程池的地方。 如果有可参考的这种demo，后续可以基于demo场景专门做一波优化。

repo: BabitMF/bmf


text:
How does ShadowGenerator work well with  Material has alpha.

const ground = Mesh.CreateGround(null, 10, 10, 2, scene);
ground.receiveShadows = true;

const disc = Mesh.CreateDisc('null', 0.5, 60, scene);
disc.position = new Vector3(0, 1, 0);
disc.material = new StandardMaterial(null, scene);
disc.material.alpha = 0.9;

const light = new PointLight(null, new Vector3(0, 5, 0), scene);
const shadowGenerator = new ShadowGenerator(512, light);
shadowGenerator.getShadowMap().renderList.push(disc);

when i do this, there no any shadows ......

Hello do you mind using the forum for questions? the best thing would be to provide a repro using the playground
thanks a lot:)

(but for your question: shadows work only with no alpha or alpha test only. Alpha blending is not supported)

authors: deltakosh mengjiaqi


text:
WebGL: Fix MSAA depth/stencil textures not working

This PG does not currently work: https://playground.babylonjs.com/#BP3T4T#11
[.WebGL-000019CC00653F00] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachments have different sample counts.

This PR fixes it, and also allows to create MSAA RenderTargetWrapper with only the depth/stencil texture and no color texture.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15508/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15508/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15508/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15508/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15508/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15508/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15508/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15508/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15508/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15508/merge/testResults/webgl2playwright/index.html


text:
contribution creation

when creating a contribution , and not inserting an initial bid,
do not create the Bid object in the DB, (its being created with empty tokens and reputation  fields)

another thing when we create a new contribution the user should be routed to the detail page of the new contribution

Done both changes .

authors: jainmnit shaharhalutz

repo: Backfeed/BF-API-Server

license: mit

license_source: bigquery


text:
docs: npm install instructions in README

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/Badminton-Apps/core/blob/main/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Badminton-Apps application / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

I have read the CLA Document and I hereby sign the CLA

I have read the CLA Document and I hereby sign the CLA

I'm not sure why the CI / label check is failing. It seems related to https://github.com/Decathlon/pull-request-labeler-action/issues/34
Is there a way to rerun the check without pushing an empty commit on this PR?

I'm not sure why the CI / label check is failing. It seems related to https://github.com/Decathlon/pull-request-labeler-action/issues/34
Is there a way to rerun the check without pushing an empty commit on this PR?

@MathiasVE I clearly wasn't fully awake when completing your PR :/ why did you include yat?

@MathiasVE I clearly wasn't fully awake when completing your PR :/ why did you include yat?

authors: MathiasVE cskiwi

repo: Badminton-Apps/core


text:
为什么sdk里没有提供内容审核的接口

找了半天没找到

找了半天没找到
请注意看注释！！！

repo: Baidu-AIP/java-sdk


text:
Add test cases for using the BAILADOR env variable

That was introduced in #110

fixed in commit 88858999c7e8d2f032ed5bb115e1203be9f5ac5b

authors: szabgab ufobat

repo: Bailador/Bailador


text:
Adding star and fork this repo feature on the website

I want to add the star and fork feature which will fetch the number of star and fork this repo have had and clicking them redirects to this repo
please assign the issue to me under gsoc and hacktoberfest

i can add icons library and necessary packages, right? also can u add hacktoberfest label as well

i can add icons library and necessary packages, right? also can u add hacktoberfest label as well

Yeah, you can use no problem.

repo: BamaCharanChhandogi/READMEasy


text:
[새기능] 성적 일람표

✨ 개요

검정고시 성적 일람표를 만들어야 합니다.

✅ 해야 할 일

[x] 검정고시 성적 일람표 퍼블리싱
[x] 검정고시 원서 출력시 같이 나오도록 수정

🙏🏻 요구사항

[x] 힘내기...

🙋🏻 덧붙일 말
No response

[ ] 가산점 내역 확인
[ ] 교과성적 오리지널 점수 확인

음... 검정고시만 있는 게 아니였네... 응...

repo: Bamdoliro/marubase


text:
Update azure-cosmos to 4.33.0

Updates com.azure:azure-cosmos from 4.28.1 to 4.33.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.azure", artifactId = "azure-cosmos" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.azure", artifactId = "azure-cosmos" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #110.


text:
🛑 Hay River Health and Social Services Authority is down

In 1ca138f, Hay River Health and Social Services Authority (https://www.hrhssa.org/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hay River Health and Social Services Authority is back up in 0fedeb8 after 7 minutes.

repo: Barctic/gnwt-monitor


text:
🛑 Education Culture and Employment is down

In e158939, Education Culture and Employment (https://www.ece.gov.nt.ca) was down:

HTTP code: 503
Response time: 831 ms

Resolved: Education Culture and Employment is back up in 3a2d290 after 14 minutes.


text:
🛑 Health and Social Services is down

In c1c9455, Health and Social Services (https://www.hss.gov.nt.ca) was down:

HTTP code: 403
Response time: 281 ms

Resolved: Health and Social Services is back up in 3edb386.


text:
🛑 GNWT Main Page is down

In 24599c9, GNWT Main Page (https://www.gov.nt.ca) was down:

HTTP code: 504
Response time: 242 ms

Resolved: GNWT Main Page is back up in 2da5c15 after 7 minutes.


text:
🛑 GNWT Main Page is down

In 2593cc0, GNWT Main Page (https://www.gov.nt.ca) was down:

HTTP code: 504
Response time: 207 ms

Resolved: GNWT Main Page is back up in 806c8c2 after 7 minutes.


text:
🛑 Education Culture and Employment is down

In 15bab60, Education Culture and Employment (https://www.ece.gov.nt.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Education Culture and Employment is back up in d4ab875 after 7 minutes.


text:
🛑 QBitTorrent webUI is down

In 3af6f78, QBitTorrent webUI (https://qbittorrent.jonthan.xyz) was down:

HTTP code: 404
Response time: 537 ms

Resolved: QBitTorrent webUI is back up in 52e1b47 after 14 minutes.

repo: Baronhez/upptime


text:
🛑 QBitTorrent webUI is down

In 0dfc490, QBitTorrent webUI (https://qbittorrent.local.jonthan.xyz) was down:

HTTP code: 404
Response time: 521 ms

Resolved: QBitTorrent webUI is back up in 4e398f7 after 17 minutes.


text:
added completion for notify-send command

Description
Added the bash completion script for notify-send command
Motivation and Context
Personally for my -? in this command is frustrating. Everytime I had to do man notify-send
How Has This Been Tested?
Ran multiple tests on my host and is working absolutely fine
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[x] I have added tests to cover my changes, and all the new and existing tests pass.

Well done @tbhaxor!
Because you are adding a new file, you do not need two separate PRs for the completion and the lint, so I think I will close this one and we will continue on #1788 :smile:

Well done @tbhaxor!
Because you are adding a new file, you do not need two separate PRs for the completion and the lint, so I think I will close this one and we will continue on #1788 :smile:

Well done @tbhaxor!
Because you are adding a new file, you do not need two separate PRs for the completion and the lint, so I think I will close this one and we will continue on #1788

But you told me to create separate PR for linting, so i did ? Its kinda confusing. For which files we need to open a separate linting PRs ??

Well done @tbhaxor!
Because you are adding a new file, you do not need two separate PRs for the completion and the lint, so I think I will close this one and we will continue on #1788

But you told me to create separate PR for linting, so i did ? Its kinda confusing. For which files we need to open a separate linting PRs ??

Well done @tbhaxor!
Because you are adding a new file, you do not need two separate PRs for the completion and the lint, so I think I will close this one and we will continue on #1788

But you told me to create separate PR for linting, so i did ? Its kinda confusing. For which files we need to open a separate linting PRs ??

Sorry for confusing you.
There are two options:

if the file already exists, file two separate PRs, one that fixes some stuff, and one for cleanup.
if you add a new file, you do not need to open two separate PRs, as you already create a new file, so you can create it already linted.

I hope I made it clearer

Well done @tbhaxor!
Because you are adding a new file, you do not need two separate PRs for the completion and the lint, so I think I will close this one and we will continue on #1788

But you told me to create separate PR for linting, so i did ? Its kinda confusing. For which files we need to open a separate linting PRs ??

Sorry for confusing you.
There are two options:

if the file already exists, file two separate PRs, one that fixes some stuff, and one for cleanup.
if you add a new file, you do not need to open two separate PRs, as you already create a new file, so you can create it already linted.

I hope I made it clearer

authors: NoahGorny tbhaxor

repo: Bash-it/bash-it


text:
🛑 ASO is down

In 21edc58, ASO (https://www.asomuenchen.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ASO is back up in ea80fe7.

repo: Bassmann/uptime


text:
Arclight support

https://github.com/IzzelAliz/Arclight/

Thanks for the PR! The changes will be live after the next server restart (may take a few days or even weeks).

repo: Bastian/bstats-backend


text:
Update LICENSE to Bauddhik-Geeks

Change License Owner from EFFLUX to Bauddhik-Geeks

@EFFLUX110 You can do this by yourself too

@adityamangal1 this is for very beginners to start their open source contribution

@EFFLUX110 You can do this by yourself too

@harikanani told me to keep it for others to contribute.

repo: Bauddhik-Geeks/Garuda


text:
, Decimal symbol breaks interpolation field

Version Number and Operating System(s):
09.12.18
Windows 10
Expected behavior:
Activate interpolation and set it's value 0,1
https://i.imgur.com/Pz1a0Uf.png
Actual behavior:
param is inactive or set to number after the delimiter
https://i.imgur.com/O4m7ia5.png
Steps to reproduce:
set the system Decimal symbol to ,
log out - log in
try to set a value to a float using 0,15 as an example
save& compile
view the broken result
[Optional] Discord Username:
Lavarius

What language/region is your device set to?
After saving and compiling your object, what values are contained in the [GeneratedInterpol] attribute in the generated networkobject class?

Ru/Ru
Same as the result contained in the second screenshot.

Could you post the actual values contained in the [GeneratedInterpol] attribute within the generated networkobject class (the entire line) or even just pastebin the entire class?
I haven't been able to reproduce this on my own system yet through the network wizard. The issue is consistent with the interpolation values being stored comma-delimited in the [GeneratedInterpol] attribute within the generated class, thus resulting in "0,15" being considered as two separate fields, "0" and "15". This causes the first field to be disabled and the second field to take on a value of 15.
In theory this should have been fixed with the use of InvariantCulture when the object is compiled, are you using the latest nightly build/have you tried compiling Forge from the repo?

@Hoijima is this still an issue?

No activity on the issue for a long time. Closing. Please let open a new issue if this is still a problem.

authors: Hoijima WhelanB phalasz


text:
Import creates ISO createdAt and updatedAt strings instead of unix timestamps

Describe the bug
Import creates ISO createdAt and updatedAt strings instead of unix timestamps
To Reproduce
Steps to reproduce the behavior:

Get your hands on a working data.json (had mine exported from desktop)
Reset the app by deleting current data.json (probably easiest, but the bug is easier to spot that way)
Press the Import button on the welcome page
Inspect the created data.json and see strings in createdAt and updatedAt

Expected behavior
Unix timestamps in createdAt and updatedAt
Screenshots
not applicable
Smartphone (please complete the following information):

Device: Android
OS: Android
Browser -
Version 1.0.1

Additional context
Setting the date on the notes: https://github.com/Beaver-Notes/Beaver-pocket/blob/af706d50b95c02a72ab232024e3759e56dad7297/src/Welcome.tsx#L219
Saving the notes to data.json manually: https://github.com/Beaver-Notes/Beaver-pocket/blob/af706d50b95c02a72ab232024e3759e56dad7297/src/Welcome.tsx#L217
I think it would be a good idea to call https://github.com/Beaver-Notes/Beaver-pocket/blob/af706d50b95c02a72ab232024e3759e56dad7297/src/store/notes.ts#L72 for each note instead, because it handles conversion of timestamps already.
The issue is probably EVERYWHERE where an import is located. Found similar code here: https://github.com/Beaver-Notes/Beaver-pocket/blob/af706d50b95c02a72ab232024e3759e56dad7297/src/settings/about.tsx#L431
I suggest pulling import and export code together, maybe even over both the repos to be reused where possible and avoid any regressions between desktop and mobile version and/or on the versions itselfs.
Thought this was data structure error and opened up this issues over at desktop: https://github.com/Beaver-Notes/Beaver-Notes/issues/227

Thanks for opening the issue. Beaver Pocket is still under development, and the feature you are referring to is no longer available because Beaver Pocket now only uses cloud sync (WebDAV and Dropbox; we are also working on integrating other cloud services) due to limitations on mobile platforms. That being said, I'll look into the code in the development branch and see if this issue has been addressed there.

The manual import and export functions are still present in the development branch, and we'll probably keep them. It's not very user-friendly, but it's available. The only issue I have is that the app's folder doesn't seem accessible on Android, while it appears to be accessible on iOS.
Regarding credentials, we use Capacitor Secure Storage, which stores credentials in the keychain on iOS and in AndroidKeyStore and SharedPreferences on Android. We only use tokens where possible, such as with Dropbox, and the app can only write to its own folders.
I'll check for the bug myself.
Thanks again for the feedback. I'm happy you're enjoying what we do.

repo: Beaver-Notes/Beaver-pocket


text:
error:"validate dev-nonce error" have multiple nonce error .. then the device authenticates OK

i have multiple errors if i reset the device and OTAA start again.
error

type:"OTAA"
error:"validate dev-nonce error"
fCnt:0

error

type:"OTAA"
error:"validate dev-nonce error"
fCnt:0

error

type:"OTAA"
error:"validate dev-nonce error"
fCnt:0

after some try/error the device are able to join and get new KEYS.
join
uplink
but..? why the random nonce didnt get randomize everytime, in the LoRa_Send_JoinReq()
**LoRa_Send_JoinReq(sLoRa_OTAA OTAA_Data, sSettings LoRa_Settings)
    //Generate DevNonce
    Generate_DevNonce(OTAA_Data->DevNonce);

why are my new OTAA JoinRequest sending the old nonce? . or do the random generate a value that was already been used?

The problem with devNonce is that the state of the device at startup is usually the same so there is no way to generate a real random number. This lets the join process to work at first attempt but sometimes  several JoinRequests are needed until the server forget old values.
I think the random() function uses stdlib rand() function depending on the MCU implementation we get more or less random numbers. Some people recommends using an analogue floating pin value or battery level as random seed.
In future LoRaWAN releases devNonce will be replaced by a sequential value the node will need to store in persistent memory.

This is what we did to help with  that. It doesn't solve the problem for the same reason as mr3188 stated above, but it helps last a little longer. Every once and awhile I clear out the dev nonce history in (we're using chirpstack)

ok..
so in the future devnonce will be increment and need to be persistent, is it possible to implement it?
is it possible to EEPROM the OTAA information .. and then reuse it? My device only need to reset once a day.. but what about the deep sleep ones? they will probably encounter devnonce error when "re OTAA" on waking up
or the error devnonce are not a problem when nodes are in place.. just when debugging ..like i see right now?.
there is some implementation on LMIC like this one: https://github.com/Edzelf/LoRa/blob/master/ESP_lora_tracker/ESP8266_loratracker.ino
may be good feature

@plachta-zabatt .. Sorry.. at first i didnt understand your answer!
but i see now that you seed the random with the analog (i didnt see that at first).. and its mutch better! before the join only append after 4 o 5 trys (or even more some time, with join devnonce error)..
im using ESP-12F with only one analog (A0) .. and i have something connected.. but even then, this simple solution are very good.
its mutch better now... thank!

If you have a sensor connected to the A0 it can be even better as analog sensors don't use to return exact values and sometimes have  small fluctuations.

authors: daeynasvistas mr3188 plachta-zabatt

repo: BeelanMX/Beelan-LoRaWAN


text:
Ruby Group Capstone Project - Set Up Kanban board

Ruby Group Capstone Project - Set Up Kanban board
Kanban board link
We are in a group of 3 members:

Team Member #1 - @leopiresgoss
Team Member #2 - @Behnam1369
Team Member #3 - @omar25ahmed

STATUS: APPROVED :100:
There is nothing else to say than it's time to merge... :partying_face:
Cheers and Happy coding! :clap:  :computer:  :wine_glass:
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Optional suggestions

N/A

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

n/a

Please be reminded to not open a new pull request after you get a review, only use the same one :thought_balloon:
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
_As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

authors: GzimAsani leopiresgoss


text:
Node mkdir access error

I see permission denied errors attempting to run. My user is in the docker group, permissions shouldn't be an issue, but I'm not sure where to go from here. On Ubuntu 20.04, latest docker, docker-compose, etc.
Output:
Error: EACCES: permission denied, mkdir '/data/foundryvtt/Logs'
    at Object.mkdirSync (node:fs:1325:3)
    at File._createLogDirIfNotExist (/opt/foundryvtt/resources/app/node_modules/winston/lib/winston/transports/file.js:691:10)
    at new File (/opt/foundryvtt/resources/app/node_modules/winston/lib/winston/transports/file.js:92:28)
    at createLogger (file:///opt/foundryvtt/resources/app/dist/logging.mjs:1:336)
    at Module.initialize (file:///opt/foundryvtt/resources/app/dist/init.mjs:1:1186)
    at file:///opt/foundryvtt/resources/app/main.mjs:26:15 {
  errno: -13,
  syscall: 'mkdir',
  code: 'EACCES',
  path: '/data/foundryvtt/Logs'
}

docker-compose.yaml
version: '3'
services:
  foundryvtt:
    image: direckthit/fvtt-docker:latest
    container_name: fvtt
    ports:
      - 30000:30000
    volumes:
      - /home/ubuntu/resources:/data/foundryvtt
      - /home/ubuntu/foundryvtt:/host
    restart: unless-stopped

A workaround that worked for me is setting root as the user for your service in docker-compose.yaml, so that the entire file is:
version: '3'
services:
  foundryvtt:
    image: direckthit/fvtt-docker:latest
    container_name: fvtt
    user: root
    ports:
      - 30000:30000
    volumes:
      - /home/ubuntu/resources:/data/foundryvtt
      - /home/ubuntu/foundryvtt:/host
    restart: unless-stopped

authors: Fexilus OfficerHalf

repo: BenjaminPrice/fvtt-docker


text:
Update README.md

Hi Benny,
I have updated some corrections in Readme doc,please review.

Great thank you 👍


text:
Convenience operations should be QOS user-initiated

About CloudKit and Quality of Service
However I'm not sure if there is anything within the Swift foundation that would make use of it.
Note discretionary means that the operation doesn't end on network errors but keeps re-trying on its own, I think its for 24 hours on iOS? I suppose this was done to simplify developer code but coming from traditional networking APIs it is a bit confusing.

https://github.com/apple/swift-corelibs-foundation/blob/19249417b01573bd6aa32b9a24cc42273315a48b/Foundation/NSOperation.swift
    /// - Note: Quality of service is not directly supported here since there are not qos class promotions available outside of darwin targets.
    open var qualityOfService: NSQualityOfService = .default

repo: BennyKJohnson/OpenCloudKit


text:
Crash when reducing amount of dock elements (alpha3)

I had a dock with the amount of 7 elements.
Not all positions were used: X X X X _ X X
I reduced it to 6 elements and OpenLauncher started crashing.
It does not help to increase the amount again, it crashes whenever it gets started.

Ok

authors: BennyKok basxto

repo: BennyKok/OpenLauncher


text:
Segment-Wise Attention

From what i understand from the paper the sequence is segmented in smaller segments and fed to the attention layers. Is this not implemented yet in this implementation?

exactly! I'm currently implementing part-by-part, so yes, it's not implemented yet :)

I've been working on an implementation since the paper release and the only part im having problems with is the segment-wise part,using your implementation i segment the input and feed each segment to the self.attn with a for loop but on the second segment i get a mismatch on   memory_output = memory_output / norm_term_expanded, at dimension 3 the memory_output is = head_dim but  norm_term_expanded=head_dim*num_heads, so i dont know if my logic of segmentation is wrong or your Infi-attention implementation doesnt account for the accumulation of segments. I would be grateful if you have any tips

Although we attempted the segmentation approach, the inference of the model is very slow, any suggestions?

@Beomi I think that the segmentation is not supposed to happen inside the attention but before passing the inputs to the whole transformer block. Passing the whole input on the attention still requires to load the whole sequence in the VRAM .If we assume a Huggingface like model I'd say either on the decoder layer class or the model class.

@jlamprou You're right, maybe I have to edit decoder layer class, thanks for the note.

@Beomi more likely the Model class, per my understanding we segment the input and we feed each segment to the decoder layers. What i'm not so sure about is how do we manage the compressed memory during the backward pass. I don't think we need gradients for the compressed memory so we should probably not directly assign self.norm_term and self.memory on the memory update but create new variable and then assign to self.memory, self.norm_term with either detach or torch.no_grad().

@jlamprou I've been reconsidering your point that "Passing the entire input to the attention mechanism still requires loading the whole sequence into the VRAM." However, I believe that regardless of the method chosen, we end up loading all the input into VRAM eventually, and this could be O(N) (where N is the input length). The key issue, though, is that the paper aims to reduce memory usage in the quadratic component, which is the usual size due to the self attention. Thus, even when we segment within the attention loop, the overall memory size of the input sequence may be larger, but it has to reside somewhere—either on the CPU or GPU. Therefore, worrying about linear incremental memory usage isn't as crucial, since the vram usage part of the attention is fixed. How do you think?

@zzr-idam In the published paper, they mentioned that they used "in this work we parameterize the memory with an associative matrix / cast the memory update and retrieval process as linear attention mechanism / we adopt the update rule
and retrieval mechanism by Katharopoulos et al. (2020) mainly due to its simplicity and competitive performance", so they might used Katharopoulos et al. (2020)(https://arxiv.org/pdf/2006.16236.pdf)
This repo is not implemented that paper's method yet, and I think that's the reason for slow inference.

@Beomi I'm testing right now both ways of implementing the segmentation. You are right based on my tests, the VRAM usage difference is small, with the segmentation inside the Attention consuming just about 1GB extra but with better throughput. So probably its best to keep the current implementation. The actually weird thing is that classic SDPA attention(as is from the original huggingface implementation) consumes the same amount of VRAM too, no segmenting or anything...

@jlamprou Hi, I think its time to consider open both options toward end-users let select which way would be beneficial.
As you said before, the attention itself does not have a small fraction of memory but other data input processing such as MLP layer or even embedding increases vram usage, which makes hard to get a bigger block size.
In my experience(training code), vram usage required almost same as original implementation, so maybe your implementation direction would be more helpful in terms of vram usage.
or, maybe there would be a room for make it like an adapter(PEFT style)? How do you think?

@Beomi I run some tests to check the validity of segmenting on the training loop, I tested the accuracy at every batch using the concat of logits and labels to check if the accuracy on the total sequence length is improving during training and once the learnable beta got some data we got the same accuracy rate with normal SDPA attention. Check the implementation on the my repo repo

authors: Beomi jlamprou zzr-idam

repo: Beomi/InfiniTransformer


text:
Links to nested routes are not working correctly

When changing from a nested route to a plain one, for example when going first to "team/affinities", and then to "players" the final URL gets mixed. With this example the final URL would become "team/players".

Fixed setting a base URL environmental variable.

repo: Bernardo-MG/dreadball-toolkit-webpage


text:
Remove references to deprecated v1 Android embedding

Remove references to deprecated v1 Android embedding
To ensure this plugin will work with users running the next stable version of Flutter remove references to the v1 embedding.
The v1 embedding was deprecated around 6 and a half years ago. In Flutter 3.22, the Flutter tool dropped support for building v1 apps entirely. Flutter plans to delete version one of it's Android embedding in the next stable release, per https://medium.com/flutter/whats-new-in-flutter-3-22-fbde6c164fe3 (in the "Removal of v1 Android embedding" section).
When that deletion happens, any apps using plugins that still have references to the removed classes will fail to build when updating to the next stable version (probably Flutter 3.26).
As a part of this deprecation, the Flutter Android team is doing community outreach by filing bugs and submitting some pull requests to update plugins to minimize the impact this removal has on the community.
Some example PRs:

Flutter team maintained plugins: https://github.com/flutter/packages/pull/6494
android_alarm_manager_plus https://github.com/fluttercommunity/plus_plugins/pull/2864

Consequences:

This change should have no impact on users of this plugin that are building apps using the v2 embedding (we don't have a percentage to share, but this is the vast majority of users).
It will remove support for users that are still using the v1 embedding on versions of Flutter older than 3.22.

If this change doesn't land, this plugin will instead be broken for all apps building on the next stable version of Flutter and beyond.
Is there a way to support both v1 and v2 embedding apps in the next stable version of Flutter?
No.
This is the PR where we are removing the deprecated engine classes: https://github.com/flutter/engine/pull/52022

https://github.com/flutter/engine/pull/52022 has been merged. Users targeting Flutter master and beta/stable releases after (but not including) 3.27 will fail to compile if the plugin has references any v1 embedding classes.
To aid in identifying these classes here is a search query you can run in github on your repo.
("io.flutter.view.FlutterMain" OR "io.flutter.view.FlutterNativeView" OR "io.flutter.view.FlutterView" OR "io.flutter.embedding.engine.plugins.shim" OR "io.flutter.app" OR "PluginRegistry.Registrar")


text:
[Bug] Still suggest update after 1.5.3 hotfixe is done

Describe the Bug

The pop-up still shows for the update to 1.5.3 even if already done.
To Reproduce
Restart  Discord
Expected Behavior
No more pop-up after the restart installing the hotfix
Screenshots

Discord Version
Stable 138734 (047115f)
Additional Context
X

This is known. Just skip the prompt and BetterDiscord should work fine.

same issue

authors: Airwayx SpotlightForBugs fowlis

repo: BetterDiscord/BetterDiscord


text:
Password

Password reset I am forgot my password pls help

Clear data of termux

authors: Bhaviktutorials whitedevil-o

repo: Bhaviktutorials/T-Remix


text:
Enable measurement test / use pyopencl

This PR (draft) is supposed to fix github CI using pyopencl

Sorry, I accidentally closed this by deleting fix-tests-add-codecov branch.
It could be changed now that this PR is to be merged into the main branch not fix-tests-add-codecov branch.

authors: haesleinhuepf lazigu

repo: BiAPoL/napari-clusters-plotter


text:
Second link adds "undefined" to link

${1000, 20} is under siege and ${1000, 20}
Gives
The Realms[20] is under siege and Realms[20]undefinedDark Forces are marching as we speak...

fixed with 832c5fd2bbf398aae300584d173203bdaf9b3a43

repo: BibliothecaForAdventurers/realms-react


text:
not supported audio codec mp3

Unsupported audio codec idx: 2

hi, i think u could convert the video file using audio codec aac,
ffmpeg -i your.flv -vcodec libx264 -c:a aac   converted.flv

https://github.com/Bilibili/flv.js/issues/47#issuecomment-267544518

what about without converting? What is the issue to support such files?

Among all the implementation of MSE, there's no browser supports fragmented MP4 with MP3 audio track.
Typically, they only support AAC audio track within fragmented MP4.

implemented

authors: dimpiax turbidsoul xqq zjsxwc


text:
Definite group

Hello. There is a suggestion to add the generated contacts to a specific group. This will allow you to sort and hide fake contacts, which will also allow you to avoid generating contacts by mask.

I don't see any "Groups" facility in the standard Android Contacts app in my Android 9 phone.  Is it a new feature in later versions of Android, maybe ?

I see in the Contacts app I can select two or more contacts and say "link" them.  Is that what you mean ?

Hello. I am a Russian speaker and it is a little difficult for me to explain, I apologize.
I attach a screenshot that shows an additional Group field. I can create groups myself and add contacts to them. I use a non-standard Android Contacts app, but this is also present in the standard app.

Have I been able to clarify the situation?

My Contacts app, and I think I am using the standard one, does not have Groups.  I looked through the screens.

My Contacts app, and I think I am using the standard one, does not have Groups. I looked through the screens.

On Google Contacts this work, like "family", "school", "collage"

authors: BillDietrich NikitaGSX peter9811


text:
Wrong "image per page" when adding a download with post-filtering

Bug description
When you set HTML as your first source and with the post filtering your image per page count becomes lower than the normal (most of the time 20) it will not download all the images.
(Sorry for making a second topic wanted to make it clearer for this issue to)
Steps to reproduce
For example use sankaku complex or anime pictures as source and make sure that the one you use has html as first source
After that search chrono_clock rating:questionable for sankaku or chrono_clock  light_erotic for anime pictures
Now click on get all
Now change by downloads the images per page count to 3 (Which changes normally when you use post filters)
Now you see that it only downloads 3 images instead of the number of images it said (for sankaku 18 or anime pictures 17)
Expected behavior
Download all the images instead of just 3
System information
Windows 10 with the latest nightly version

The steps you describe are expected behavior. Most HTML sources have a fixed number of images per page, and shouldn't be changed. The bug here is this part: "with the post filtering your image per page count becomes lower than the normal".

@Bionus I think that this fix caused a small issue for sankaku for when there is only 1 page.
When you search chrono_clock rating:questionable you will see that there are 18 results but when you click on get all there is a image limit/images per page of 22 instead of 18.
This doesn't happen with other sources like konachan so probably something with Regex.

Indeed, now it counts post-filtered images, but also skipped images from the "Ignore (page 1)" setting:

I'll push a fix :+1:

repo: Bionus/imgbrd-grabber


text:
Add/update more local database options/documentations

Is your feature request related to a problem? Please describe
Right now the documentation refers to MyImouto's github which has since been deleted and hadn't been actively maintained anymore for a while, there are two forks of it both of which are abandoned as well.
As for Gelbooru... Well... 0.2 might never see publication and running 0.1 forever seems less than ideal...
Shimmie is... an eyesore to say the least and at best leaves us at a single technically viable option.
Describe the solution you'd like
Adding official Danbooru would be a good start, it's the mothership and keeps chugging along with active development.
Another booru that one may consider is szurubooru, I stumbled upon this one because there's a docker build in unRAID's Docker repo. (Community Apps)
Would be nice to see more options, preferable ones that have docker builds since that seems to be the hot new thing. (still have to warm up to it myself)
Describe alternatives you've considered
See above. :)
Additional context
I love this application!

Indeed.
At the time I wrote this documentation, Danbooru's source code wasn't easily available, so I coudn't include it. And szurubooru didn't exist.
I'll have to see how easy they are to install, as Danbooru seems to rely on some annoying dependencies, while szurubooru uses Docker which is a pain to use and explain.

I love this application!

😄

So it's not just me who is a Docker dyslexic... And you are a dev and used to confusing documentation...
Frankly setting up szurubooru in Docker on unRAID was fairly easy in the end, however I still want to dabble in danbooru and see if the "Debian of boorus" might be worthier of my time, in the end I am after all entrusting thousands upon thousand of pictures and other stuff to it and I want to ride the path of active maintenance and support.
If you get to set it up I wouldn't mind taking help from you, because the deployment docs themselves claim to be iffy...
They SEEM alright to me at first glance, however I can already see the unexpected errors that'll take me hours to troubleshoot just because a dependency got updated in the time between documentation and my setup attempt.
Updated as in changing an environment variable or some other bullcrap. :D

Indeed.
At the time I wrote this documentation, Danbooru's source code wasn't easily available, so I coudn't include it. And szurubooru didn't exist.
I'll have to see how easy they are to install, as Danbooru seems to rely on some annoying dependencies, while szurubooru uses Docker which is a pain to use and explain.

I love this application!

😄

Feel free to follow this thread: https://github.com/r888888888/danbooru/issues/4085

I'll have a look. It seems to me that both heavily rely on docker though, which on one hand is a pain, but on the other means that explaining one also pretty much explains the other 🤔
The other issue being that Docker on Windows sucks (hopefully the next update of Windows fixes that).

Danbooru is optimized for VM/bare metal as far as I understood it.
The Docker config file he talked about was just to explain steps how to set it up, because the file does the thijgs you would otherwise do... If I understood that correctly...
As for Docker in general... Ever thought of setting up a VM with Linux to tinker within? VirtualBox and Qemu have come a loooong way.

I'll have a look. It seems to me that both heavily rely on docker though, which on one hand is a pain, but on the other means that explaining one also pretty much explains the other 🤔
The other issue being that Docker on Windows sucks (hopefully the next update of Windows fixes that).

Hey! Two things, firstly sorry for slacking on that German translation so far. I'll get around to work on that very soon, probably this weekend. I've been pretty busy and usually rather tired in my spare time when I had some and sitting at the desk translating is something I actually love to do, but when you're exhausted it's too daunting.
Second thing, good news! It's now EXTREMELY easy and very well documented to setup your own danbooru!
https://github.com/danbooru/danbooru/wiki/Ubuntu-Installation-Help-Guide
I used this guide and it worked perfectly. You don't even need the host-only network I think, at least my booru is setup to serve into my LAN and will happily serve pages to my other devices!
I'm running my VM on KVM (QEMU-based), but Virtualbox is even suggested. So either will work!
With how simple setting up a local danbooru has gotten I think we've just found the most ideal personal booru available.
I heard gelbooru 0.3 is in development and WILL be open-sourced. Well, as much as that's good to hear and that having options is ALWAYS good, I think for now I'm going to not wait around for much longer and finally properly store, tag and scrape my weeb content with the help of danbooru.
Thank you so much for considering this issue and not letting it get stale'd and closed. :)

Hey just an FYI szurubooru no longer depends on elasticsearch, it only needs postgres to run now. The docker-compose process has been simplified and is almost one-liner at this point.

Hey just an FYI szurubooru no longer depends on elasticsearch, it only needs postgres to run now. Additionally you don't need to know anything about that when using the docker-compose process -- which has also been simplified and is almost one-liner at this point.

I am using danbooru not for simplicity, but the feature richness, the vast community support and that I trust danbooru to exist for longer than szurubooru.
I have been running danbooru in a VM for several months now and am a VERY happy camper. I cannot recommend spending the time to deploy danbooru enough!

@FoxxMD Szurubooru took me less than 1h to have running and working with Grabber, so I added the docs here, it's indeed very straightforward:
https://github.com/Bionus/imgbrd-grabber/blob/develop/docs/_docs/commands/szurubooru.md
The only part that took me a while was writing the script to interface the API.

@GlassedSilver Honestly, while I can see why Danbooru is more powerful and why you wouldn't want to move away from it, I still think the setup remains too technical for most users (too many steps).
Using Docker like what Szurubooru does would be much more convenient, but given how much more complex the architecture is, I understand the reasons given by the developer.
I'll try to install one myself and see how easy it is to interface with Grabber, but I'll likely won't go into the details on how to install it if I were to add any docs on it, and leave it to the user.

Not sure if that was directed at Glassed or me. I am not using Grabber because I'm hosting my own szurubooru instance and it's really just for memes I personally find and want to archive.
BTW I think you could axe the whole Szurubooru download/installation/run/etc. sections and just include

note referencing install doc from szuru repo
the Configuration section (the tag categories seems important)

and then just get straight to the Grabber section. Users should be responsible for prereqs! It's shouldn't be your job to teach them.

Not sure if that was directed at Glassed or me. I am not using Grabber because I'm hosting my own szurubooru instance and it's really just for memes I personally find and want to archive.

Since you were posting here I thought you were also using Grabber, but oh well. 😅

BTW I think you could axe the whole Szurubooru download/installation/run/etc. sections and just include

note referencing install doc from szuru repo
the Configuration section (the tag categories seems important)

and then just get straight to the Grabber section. Users should be responsible for prereqs! It's shouldn't be your job to teach them.

I was actually considering this option, but then I remembered that many Grabber users are surprisingly not power users, so even just finding out you're supposed to configure a mounting point for the data storage in Docker might have been too much. Also, the setup mentions a bunch of stuff that could be confusing, such as editing configuration files, which is not necessary to a local installation.
Since in the end setting it up is so totally trivial anyway (big kudos to the devs for that, it's not always obvious), I just put the steps in there. The issue being if those steps change, it'll be out of date (I added a link to INSTALL.md at the top for that reason, but that's not really an optimal solution).

That makes sense. Kudos for understanding your audience and going the extra mile for them.

Any update on this issue? o3o

Any update on this issue? o3o

Now that Danbooru's install is as straightforward as
wget https://raw.githubusercontent.com/danbooru/danbooru/master/docker-compose.yaml
docker-compose up

I'll add a new page for that then close this issue.

Hooray! :D
Hope this includes support for setups that don't run on the same machine as well. :)
Cheers!

@GlassedSilver are you open to discussing more real time on the Discord (or even by PM: Bionus#2577)?
You seem more knowledgeable on Danbooru's API than me, and the API docs are very rough 😅
If no, do you know how to upload raw files to Danbooru in a Docker instance?

Will there be a possibility to pass the type of a tag to my local instance?
e.g. there's a new tag on danbooru (official) of the type copyright. if my instance doesn't know this tag yet it will create that tag, but it will be general unless it's passed in the format 'type:tag' e.g.: 'copyright:vocaloid'

Yes, Grabber supports passing tag types together with tags using includenamespace, that's what's being done for Szurubooru for example.

Also, will it be possible to pass the source as mentioned on the entry I'm copying from?

Grabber does read the source, so you can pass it as-is using %source%.
That's also how it's already being done for the Szurubooru integration.

Bonus if artist commentary and translation could also be passed as passed on the page, but that's something I usually check manually either way if danbooru doesn't show one (usually the commentary is too short to be relevant? idk... Takes no space and I like being thorough)

Grabber doesn't parse this at the moment (because very few sources have this kind of thing), so that won't be possible.

Sorry for getting back to you so late, but I've generally been pretty afaik on GitHub for a while now. I'm mostly back (I think) so I'll pick up on your reply now.

@GlassedSilver are you open to discussing more real time on the Discord (or even by PM: Bionus#2577)? You seem more knowledgeable on Danbooru's API than me, and the API docs are very rough 😅
If no, do you know how to upload raw files to Danbooru in a Docker instance?

I'd be open to chatting on Discord together about this, no problem!
My danbooru instance is private and non-public, but official danbooru has a testbooru instance that you can target dev shenanigans at! :D
As for my knowledge about Danbooru's API... I don't know about being more knowledgable, I just run my own instance and access it through its web interface and I know how to maintain, update and fix it. Often times through the invaluable help of the repo community.
That same repo community could possibly assist much better when targetting the API specifically, cause I have never worked with it, but as for anything that may include setting up a local dev instance I might be able to help a bit. :D
Although these days there's official danbooru docker images you can deploy. Back in my day when I set up my danbooru it was bare metal, VM or the highway if you wanted docs and help! gnar gnar gnar, swings walking stick
You kids don't know how good you've got it! gnar gnar :D
However if navigating the API docs is something that may come easier if we both combine our eye ball count that I am most assuredly willing to do, not sure if it will be helpful in the end, but we can try! :D
As for uploading raws to a danbooru in a docker instance... You don't just toss raws into a danbooru "watched folder" or however you may hope it might work out and it digesting it.
The upload tool through WebUI or the API are the only ways we can go through here as far as I know since those take care of the ingression for the storage manager. Cause files will get some form of treatment, depending on setup options.
Usually that is by hashing the file, renaming it based on the hash and then putting the file into a subfolder path where in groups of 2 characters derived from the hash the file is put on some level of hierarchy.
I think it's like 3 layered, not sure off the top of my hat. So if the hash of the file is idk...
45KC38IZ933298blabla.... then the path would be:
<folder/mount point of the storage manager root directory>/45/KC/38/45KC38IZ933298blabla.....JPG

Will there be a possibility to pass the type of a tag to my local instance?
e.g. there's a new tag on danbooru (official) of the type copyright. if my instance doesn't know this tag yet it will create that tag, but it will be general unless it's passed in the format 'type:tag' e.g.: 'copyright:vocaloid'

Yes, Grabber supports passing tag types together with tags using includenamespace, that's what's being done for Szurubooru for example.

Sweet! That'll be so much help!

Also, will it be possible to pass the source as mentioned on the entry I'm copying from?

Grabber does read the source, so you can pass it as-is using %source%. That's also how it's already being done for the Szurubooru integration.

Oh that's more than wonderful! Joyful times ahead! Ingression of all these many many files I got will be that much simpler and less time consuming! :D

Bonus if artist commentary and translation could also be passed as passed on the page, but that's something I usually check manually either way if danbooru doesn't show one (usually the commentary is too short to be relevant? idk... Takes no space and I like being thorough)

Grabber doesn't parse this at the moment (because very few sources have this kind of thing), so that won't be possible.

Uhm... well as long as the market leader by a long shot has this this seems sensible enough to consider at least, right?
I mean danbooru is the Amazon of boorus. If they got something it's basically automatically relevant. But anyhow, I'll get by without it for now. knock on wood :)

Blocked by: #2652

Closing since docs about Danbooru and Szurubooru has both been added.
There's still a small issue with Danbooru but it can be tracked individually.

authors: Bionus FoxxMD GlassedSilver


text:
ERC20 docs.

ERC20 docs

I recently noticed that the example from https://developer.bitcoin.com/bitbox/docs/address.html#fromOutputScript is incorrect. I'm going to update that too in this PR.


text:
add anonymize and invertCase

Closes #324

[x] Running yarn lint does not trigger any linter errors
[x] The test of the method you have fixed is passing
[x] You have written a new skeleton method for someone else to work on!
[x] You have written tests to accompany your skeleton method

I must have run npm i. Removed.

Alright! Thanks for the contribution.

authors: ChrisPlease ktilcu

repo: BlakeGuilloud/ganon


text:
Remote video renderer not working when remote peer toggle webcam stream

When remote peer enables webcam for the first time it works but when remote peer turn OFF webcam and turn ON  webcam again this error is displayed inside RTCVideoRenderer ,  but when remote peer again toggles webcam it works fine.

I am testing on our own mediasoup server, but this error was was there when I ran example code form thiss repository.
testing on android device

Your device kind'na slow. You can wrap render.dispose() in peers/bloc in
future.delay
чт, 16 сент. 2021 г., 07:46 Chintan Rajpara @.***>:

When remote peer enables webcam for the first time it works but when
remote peer turn OFF webcam and turn ON webcam again this error is
displayed inside RTCVideoRenderer ,
[image: image]
https://user-images.githubusercontent.com/34347118/133550939-80e45640-4d09-4733-9bc2-bb785e485355.png
[image: image]
https://user-images.githubusercontent.com/34347118/133550681-4a4dc272-86c5-46c0-84cb-f836d74e36b6.png
I am testing on our own mediasoup server, but this error was was there
when I ran example code form thiss repository.
testing on android device
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Blancduman/mediasoup-client-flutter/issues/32, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIVXEO4HKBBQIWKS3BJVIH3UCFZA5ANCNFSM5ED33JDA
.

My bad, old renderer was being rendered, I managed to solve that issue

authors: Blancduman ChintanRajpara

repo: Blancduman/mediasoup-client-flutter


text:
compile error

Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.blankj:utilcode:1.13.1
为什么依赖失败？是因为刚更新没多久的原因嘛？我依赖1.9.6版本没问题

ok，已解决

repo: Blankj/AndroidUtilCode


text:
@UpdatableEntityView(strategy = FlushStrategy.ENTITY) not updating database

Description
When using @UpdatableEntityView(strategy = FlushStrategy.ENTITY) the entity is not flushed to the database.
Expected behavior
The database is updated.
Actual behavior
The database is not updated
Steps to reproduce
Here a special test case using quarkus : https://github.com/Pilpin/blaze-update-bug
I tried to use the template project for the test case but had a lot of exceptions that I did not understand so I gave up, sorry.
Environment
JPA-Provider:    Hibernate 6.2.5
DBMS:  PostgreSQL 15.0 and H2
Application Server: Quarkus 3.2.0

@beikov Do you have any idea of what the cause of this could be ?
From what I understand using the debugger, blaze is not responsible for merging the entity, hibernate should do it at the next flush, is it right ?
I tested the creation of an entity, something like this
var view = evm.create(SomeView.class);
view.update(input);
evm.save(em, view);

And it works fine, but blaze is the one calling persist in this case, right ?

From what I understand using the debugger, blaze is not responsible for merging the entity, hibernate should do it at the next flush, is it right ?

Correct.

And it works fine, but blaze is the one calling persist in this case, right ?

Yes.

Do you have any idea of what the cause of this could be ?

Unfortunately, I don't know what the reason for that could be. It's the first time that I hear of this problem. I'd have to dig into your test case to understand this, but I'm still on vacation.

Thank you for answering.
I'll try to dig a bit more when I have some time on my hands.
Enjoy your vacation !

Just an FYI, I added a branch on my reproducer to try it with Quarkus 2 and blaze-persistence 1.6.8, the problem was apparently already there.
https://github.com/Pilpin/blaze-update-bug/tree/1.6.8

authors: Pilpin beikov

repo: Blazebit/blaze-persistence


text:
Prepare for solana v1.16.x

Uses rust 0.69.0

@LimKianAn @amilbourne thoughts?

@LimKianAn @amilbourne thoughts?

I haven't had time to look in detail at 1.16 yet, but the code looks sensible.  Sorry that wasn't a very insightful review.

authors: amilbourne nyetwurk


text:
Send more media status to Bloom Reader (or whomever) (BL-7003)

This change is

I'm pretty sure if you use that second syntax I described, there won't be a
problem with undefined properties since you create the whole object at once.
On Fri, Apr 5, 2019, 3:52 PM Steve McConnel notifications@github.com
wrote:

@StephenMcConnel commented on this pull request.
Reviewable https://reviewable.io/reviews/bloombooks/bloomplayer/21
status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on
@rjconrad https://github.com/rjconrad)

src/pagePlayer/app.ts, line 120 at r1
https://reviewable.io/reviews/bloombooks/bloomplayer/21#-LbgQtfi8ktL_1oH9lO3:-LbhyjrX48_HajnnKVJI:bjdk7qt
(raw file
https://github.com/bloombooks/bloomplayer/blob/d9e5033436bf4ccef96379cc14c52aae34529388/src/pagePlayer/app.ts#L120):
Previously, rjconrad (Rick Conrad) wrote…
Out of curiosity why status["hasNarration"] instead of status.hasNarration?
Then you probably wouldn't have to disable that linter check. You could
even write it
const status = page ? {
hasNarration: Narration.pageHasNarration(page),
hasAnimation: Animation.pageHasAnimation(page),
...
} : {
hasNarration: false,
hasAnimation: false,
...
}
Or did I miss something?
The compiler complained about undefined properties when I tried it the
other way. I guess I can bite the bullet and define a class structure for
the return value. It would be more principled to do it that way. :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BloomBooks/BloomPlayer/pull/21#pullrequestreview-223320631,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFJU7R3CKdVUYOiH4dCj_vFYhqa_p23ks5vd2MogaJpZM4cdpYg
.

authors: StephenMcConnel rjconrad

repo: BloomBooks/BloomPlayer


text:
Bl 466 write and implement unit tests for homepage features

Description
The ticket was to write at least 3 unit tests on the homepage to make sure the features there were in the proper format. We used a bit of Test Driven Development strategy as there were indeed a few problems with how the data is formatted on the homepage. We wrote a total of 7 tests, 4 of which will run once the data being rendered on the homepage is remade into the proper format. And there are helpful comments next to these tests explaining these in a little more detail.
Fixes # BL-466-write-and-implement-unit-tests-for-homepage-features
Loom Video
https://www.loom.com/share/52a8dc1220ca4f05a79ebe0faf0bdedb
Type of change

[x] Unit tests created for an existing component.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings
[x] No duplicate code left within changed files
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

It was a smart how you were able to work around the error with OktaAuth. It was insightful and I kept note of it myself in case I ran into a similar problem in the future.  The unit tests look great and neat as well and I appreciate how they were explained as well.

authors: dirkknibbe laurensruiz

repo: BloomTech-Labs/coder-heroes-fe


text:
Fix having an extra 'default' section when the last row is a leaf

Rename Section -> to DataBlockSection so it's not confused with
neurom.Section

Codecov Report

Merging #639 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #639   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          41     41
  Lines        2033   2036    +3
=====================================
+ Hits         2033   2036    +3

authors: codecov-io mgeplf

repo: BlueBrain/NeuroM


text:
Sort resource in Resources View not working properly

link to discussion

Implemented here - https://github.com/BlueBrain/nexus-web/pull/1479

authors: Dinika bilalesi

repo: BlueBrain/nexus


text:
New messages should not effect ordering of chats in share list

Share an image
When in the share screen, you receive a new message
Chat with new message gets moved to the top
If you intend to click on the chat that was in index 0, you will mis-tap on the chat

I'm gonna redo it all anyway, I'm gonna close this

authors: Bricktheworld zlshames

repo: BlueBubblesApp/BlueBubbles-Android-App


text:
🛑 hosted-PalmettoGBA is down

In 5a162c0, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 4adb98a after 19 minutes.


text:
🛑 hosted-PalmettoGBA is down

In 934224b, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in e5129f5.


text:
🛑 hosted-PalmettoGBA is down

In df7a159, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 6346f4b.


text:
🛑 hosted-PalmettoGBA is down

In 1d908dc, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 7661e28.


text:
🛑 hosted-PalmettoGBA is down

In f4445ba, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 9705d6f.


text:
🛑 hosted-PalmettoGBA is down

In 5c13f37, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in fcf8b7f.


text:
🛑 hosted-PalmettoGBA is down

In baed912, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in dc371c5 after 25 minutes.


text:
composer PHP Deprecated error

Describe the Bug
When running composer install --no-dev I get the following error message.
composer install --no-dev
PHP Deprecated:  Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Console/Helper/HelperSet.php on line 103

Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Console/Helper/HelperSet.php on line 103
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/share/php/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Symfony\Component\Process\Process::getIterator($flags = 0) should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Process/Process.php:622
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Symfony\Component\Finder\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Finder.php:620
Deprecation Notice: Return type of Symfony\Component\Finder\Finder::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Finder.php:701
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Iterator/FileTypeFilterIterator.php:42
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::getChildren() should either be compatible with RecursiveDirectoryIterator::getChildren(): RecursiveDirectoryIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Iterator/RecursiveDirectoryIterator.php:85
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::rewind() should either be compatible with FilesystemIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Iterator/RecursiveDirectoryIterator.php:113
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::current() should either be compatible with FilesystemIterator::current(): SplFileInfo|FilesystemIterator|string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Iterator/RecursiveDirectoryIterator.php:61
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Iterator/ExcludeDirectoryFilterIterator.php:55
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Iterator/ExcludeDirectoryFilterIterator.php:74
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Iterator/ExcludeDirectoryFilterIterator.php:79
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\DateRangeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Iterator/DateRangeFilterIterator.php:41
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Iterator/PathFilterIterator.php:27
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FilenameFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Symfony/Component/Finder/Iterator/FilenameFilterIterator.php:28
> @php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');"
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Deprecation Notice: Return type of Composer\DependencyResolver\Pool::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/Pool.php:76
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/RuleSet.php:116
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSet::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/RuleSet.php:101
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/Decisions.php:155
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/Decisions.php:165
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/Decisions.php:160
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/Decisions.php:170
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/Decisions.php:150
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/Decisions.php:145
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/RuleSetIterator.php:36
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/RuleSetIterator.php:46
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/RuleSetIterator.php:41
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/RuleSetIterator.php:89
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/php/Composer/DependencyResolver/RuleSetIterator.php:70
Nothing to install, update or remove
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: barryvdh/laravel-dompdf
Discovered Package: barryvdh/laravel-snappy
Discovered Package: intervention/image
Discovered Package: laravel/socialite
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: nesbot/carbon
Discovered Package: socialiteproviders/manager
Package manifest generated successfully.
56 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan cache:clear
Application cache cleared!
> @php artisan view:clear
Compiled views cleared!

Steps to Reproduce

Clone the release branch of the BookStack GitHub repository into a folder.
git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch
cd into the application folder and run composer install --no-dev.

Expected Behaviour
Execution of the command without error
Screenshots or Additional Context
No response
Browser Details
LibreWolf on Arch
Exact BookStack Version
v22.04.2
PHP Version
8.1
Hosting Environment
Debian 11
Composer 2.0.9

Hi @Tealk,
Your installed composer version is relatively old compared to the version of PHP in use.
Please try updating your composer version.
This can often be done using composer self-update.

then i should probably uninstall the debian package first and install composer manually

Great, will therefore close this off.

authors: Tealk ssddanbrown

repo: BookStackApp/BookStack


text:
Bookstack hosted on Windows - cannot use user invite email to create user

Describe the Bug
When I try to add new users, I see the option of either sending an invite to the user email so they can make their own password, or setting the password for the user myself. The first one "fails with an unknown error", but the second one works for now.
This isn't super urgent or anything, because I can just set a temp password and have them log in and change it with the second approach, but is there any way to understand why the first approach doesn't work?
Steps to Reproduce

Go to create a new user
Check the "send user an email" and put in a valid email
Click "create user"

Expected Behaviour
User should be created and I should have received an email to that address
Screenshots or Additional Context
No response
Browser Details
Windows 10 + Chrome
Exact BookStack Version
BookStack v22.11.1
PHP Version
8.2.0
Hosting Environment
I have a Bookstack instance hosted on Windows 10 Pro + XAMPP (MySQL + PHP) using DuckDNS for external availability.

Hi @vineetparikh,
I would guess that email sending is failing in your environment.
You'll find more details regarding the error in the error log, which can be found following our debugging docs.
You'll also find a email test send option in the "Settings > Maintenance" area which can be used to test email sending and display relevant errors.

Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed respond to my previous comment and this can then be re-opened.

authors: ssddanbrown vineetparikh


text:
Feature Request:  Backup/Restore from settings page

For Feature Requests
Desired Feature:  Backup/Restore from Settings Page
It would be a nice feature to, without configuring nightly backups, be able to take an ad hoc backup of bookstack from the interface to download, and be able to upload and restore a backup.
Backups would include SQL data and images, etc.

I think this is somewhat covered in an old thread here - https://github.com/BookStackApp/BookStack/issues/185

Somewhat-- though the integration is nice, I was looking for a more ad-hoc interface way to pull a backup.  Similar to what you would do with a firewall device.  We've got automated backups but I'd like for admin level users to be able to pull one at will if they are going to test somethings out that need to be reverted.
For bookstack users -not- in the IT industry it gives them a chance to run their own backups as well.

@ssddanbrown
Deffo need a backup option from the user interface.  As constraint, I am having to write less on bookstack and more on MS Word and duplicate onto bookstack simply because I have no backup of the content.  Another reason is the pdfs exported are not so configurable or presentable for a proper written manual.
I'd be happy to write in bookstack only, if I knew i had a copy of the content which i could easily import into MS Word or even back into bookstack should anything go wrong.

@ssddanbrown any thoughts on this?

This would be really helpful, at the moment we are copying the VM as an easy way to "backup" our BookStack

This would really be extremely helpful. Especially if it is more complicated to get direct console access to the machine that is hosting Bookstack (in my case a Docker container hosted in an AKS/Kubernetes cluster) a simple backup functionality that is accessible over a Web UI would be awesome and save a lot of time.

https://github.com/spatie/laravel-backup is useful for dumping a database and files to a zip, would have to investigate a restore method separately though.

2018...
Is this feature going to be added soon? I'm not backend/CLI savvy at all and I was just looking for a wiki that wasn't complicated like MediaWiki. Export and import are basic features for any wiki application. I'd like to try re-doing my build, but I've added so any notes now I'm afraid I'll lose everything. I can't even print the books because everything is in Japanese and that isn't supported very well with the current PDF converter -_-

Just another vote for this feature.
A backup/restore functionality in Settings > Maintenance would be awesome.

Hi @Abijeet! Good to hear from you!
Backup/Restore in general is something I would like to add and think about often, but I have trouble deciding on a specific methods since there are trade-offs regarding different approaches. It'll be good to get some input on these to help my make a choice.
Before I delve into those, I just want to touch on terminology to prevent any mix-up of expectations. I think it's important to call this backup/restore since that enforces exactly what this would achieve (Whole system instance backup and restore). Import/Export can be interpreted as many things, people may expect to import from other systems or import into an existing system (Merge) or be able to perform partial content imports/exports. Those kind of actions would have a whole different scope of effort and challenge, while being focused on different results.
Here are the two backup options i jump between:
Standalone PHP Backup Script
This would be a PHP script that does not use any of the application system logic. My thinking is that this would potentially be more robust since it could work even if the application logic/files/environment is broken to some degree. This would be primarily be used from command line, with recommend use via a cron-job to automate backups (General good practice).
We could technically still call this from the application if desired, but I'm concerned we'd face some stability challenges due to different default handling of web-server PHP processes. In particular execution timeouts, memory limits. Of course we could ask users to change these values (Where allowed/possible/feasible) but that's not great practice to increase them just for this use, since limits are usually there for a reason.
In your above proposal you mentioned "The export would be performed in the background". While we did add background task support as of introducing the webhook functionality, this would be a significant hurdle to support users through in terms of system setup/configuration and would have an have a support cost ongoing to the future. We could maybe implement other hacky workarounds the standard request model but it's not ideal and would add complexity.
If this option was chosen, I'd focus on getting the command-line script mature for a few releases before rolling out to the UI.
In-App PHP Backup
So this is much like the above but with the logic in-app (Laravel-based). This would potentially be more fragile (Tied to more requirements and logic) but would be easer to develop for (Especially if we used the Spatie package, would have to assess their support pattern though to decide if that viably fits with BookStack). A big benefit is the ability to easily backup to s3-like cloud storage, although I guess the more advanced users who would desire that might find it easy to script that from regular file-based backups anyway.
Like the above, could provide both command-line and in-app backup options. Again, would probably look to implement the command-line component first then work on UI once battle-tested. Would have the same UI-usage issues as listed above though in regards to support and hitting limits.

Let me know your thoughts, especially in regards to what option sounds preferable.
In regards to restore, I'm tempted to say that we don't support it at all and keep logic out of core. Would could improve documentation in this area (With video support aswell) and maybe put together some assistance scripts in our devops repo.
I say this because restore becomes a mess depending on scenario, BookStack versions, database state and the chosen method to run BookStack. Additionally, restore operations should be relatively rare in comparison to backup, should only really be needed in emergency and maybe some migration scenarios. I don't think it'd be worth maintaining such logic in the core project, at least until we gain more feedback and perspective on requirement.

In-App PHP Backup seems like the most user friendly thing to do.  Just my thoughts.

@ssddanbrown Each page on BookStack got this HTML code that you can copy and paste somewhere else and have the exact same page/document (except the images), so why not do this?
Backup function can can turn shelves and books to the folders and sub-folders (since there are only one level of them it's very easy and straightforward to do so) and then there would be a .txt file that contain the HTML code of the page which later can be used for restore via GUI or manual one and automate this would be fairly easy I guess.
So let's say we got a book called "Black and White" with 12 chapters which is under "Dark" shelves the folder structure would be :
Dark (S) > Black and White (B) > chapter1 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter2 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter3 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter4 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter5 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter6 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter7 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter8 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter9 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter10 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter11 (C) > pageswiththeirtitle.txt
Dark (S) > Black and White (B) > chapter12 (C) > pageswiththeirtitle.txt
And have all of these folders and files into a zip file which we can encrypt with a password as well.

Is there any Update on the Backup and Restore Process i would really like to see one, to have much more confidence in using Bookstack.
Tank you for your work!

authors: Abijeet AuthorShin EmmanuelZapata PatrikKoptik alexmannuk aljawaid auswade dsaundersWizmo flormor ghost nmehlei shimizurei ssddanbrown


text:
Create content meta tags for Shelf, Book, Chapter, and Page

Draft PR to implement #2348.
To Do:

[x] Page
[x] Chapter
[x] Book
[x] Shelf
[x] Default

This PR implements the feature request in #2348 for media embeds that adhere to Open Graph specifications.  Most sites that support Open Graph require a title, URL, description, and image.
A new method on the Page model has been created to return either the first image in the HTML body of the page or the book cover to which the page belongs.
The default for each image relies on the book default image, which returns as base64.  I'm not sure how well this will be supported across different sites, so I welcome additional feedback.
phpunit tests are failing, so might need some additional guidance.  Some make sense, i.e test_iframe_js_and_base64_urls_are_removed() but not others.

I think if we replace HTML with text (as mentioned here: https://github.com/BookStackApp/BookStack/pull/2393#discussion_r563317284) , we can fix the failing tests.

I think if we replace HTML with text (as mentioned here: https://github.com/BookStackApp/BookStack/pull/2393#discussion_r563317284) , we can fix the failing tests.

Unit tests continue to fail even after changing code to utilize text property of pages... Not sure if it has to do with this branch.

Thanks for this @james-geiger.
I've now merged and followed this up with 265f5db03f3f08665bb113191f83c49e5dae53a7 with some tweaks and testing.
I've scaled back the implementation a bit and removed an logic that guesses images, uses default backup options or uses images of related content. I'd prefer to keep this logic minimal and specific to content that has been specifically chose by the user. Would prefer omission of content rather than any potential confusion. Hope that's understandable.
Will be part of the next feature release.

@ssddanbrown Absolutely understand the scale back.  I think it's worth noting that, because different sites implement this spec differently, many require an image to be "valid" and won't display without an image.  This is prevalent on the "social" sites, could be different on others.
I mention this not to suggest that a default be enforced, but so that users can be aware.

authors: Abijeet james-geiger ssddanbrown


text:
最新的2.5.13版，排序失效

需要先取消按照次数排序，然后再选回按照频次排序才可以生效。望修复。
之前版本无此问题。

而且生效后也只是生效一次，之后依然失效。

repo: BookerLiu/GeekDesk


text:
Add favicon to make logo appear on browser tab

I think adding a favicon would make the website look more professional.
Right now, a default browser icon is visible.
Here is how it looks right now:

Could you please assign this to me under GSSoC'23?

@AshutoshDash1999 sir i am interested to work on this issue kindly assign me this issue under GSSoC'23

@poorvijn assigned this to you

Is this issue still open? I would like to work on it if it's open.

repo: Bookingjini-Labs/bookingjini-icons


text:
A Good Readme File Required.

A Well Explained Readme File Is required for the project.

It Should Contain

About this Project
How to Install and Contribute.
Screen-Shots.
etc...

Working on this one.

repo: Bookshlf-in/Website