text:
TypeError: Cannot read property 'destUrl' of null

What is your Test Scenario?
I have developed a suite of tests against https://podbrowser.inrupt.com. These tests execute correctly.
Due to issues selecting page elements, I am attempting to integrate @testing-library/testcafe library. After including a reference to @testing-library/dom/dist/@testing-library/dom.umd.js in .testcaferc.json as per https://testing-library.com/docs/testcafe-testing-library/intro (no other changes to the test code were made), the same tests now fail with error:
Error in fixture.beforeEach hook -
An error occurred in the '@testing-library/dom/dist/@testing-library/dom.umd.js' module injected into the tested page. Make sure that this module can be executed in the browser environment.

Error details:
TypeError: Cannot read property 'destUrl' of null

What is the Current behavior?
When executing testcafe edge ./tests/login.js, an error is displayed:
Error in fixture.beforeEach hook -
An error occurred in the '@testing-library/dom/dist/@testing-library/dom.umd.js' module injected into the tested page. Make sure that this module can be executed in the browser environment.

Error details:
TypeError: Cannot read property 'destUrl' of null

/// Login/Logout workflow
fixture('Login/Logout')
    .beforeEach( async t => {
        await t
            .useRole(nssUser);
    });

/// Login & Logout
test
    ("Log user into & out of PodBrowser", async t => {

at <anonymous> (C:\Projects\GitHub\destURL\tests\login.js:11:14) // This is the `.useRole(nssUser);` line
at <anonymous> (C:\Projects\GitHub\destURL\tests\login.js:8:1)

What is the Expected behavior?
The tests execute correctly as was the case prior to the change.
What is your web application and your TestCafe test code?
Attached is a stripped down test that illustrates the error.
destURL.zip

login.js (test code):

The login.js test code is shown below:
// Page Models
import navigationPage from '../page-models/navigationPage.js';

// Roles
import { nssUser } from '../roles/roles.js';

/// Login/Logout workflow
fixture('Login/Logout')
    .beforeEach( async t => {
        await t
            .useRole(nssUser);
    });

/// Login & Logout
test
    ("Log user into & out of PodBrowser", async t => {

    // Login
    await t
        .expect(navigationPage.breadcrumbs.nth(-1).textContent).contains("All files", "Breadcrumbs read 'All files'");
    });

roles.js (User Role)

import { Role } from 'testcafe';
import loginPage from '../page-models/loginPage.js';

// NSS User
export const nssUser = Role('https://podbrowser.inrupt.com', async t => {

    await t.typeText(loginPage.identityCombobox, 'https://dev.inrupt.net')

    }, { preserveUrl: true });

Your complete test report:

Using locally installed version of TestCafe.
 Running tests in:
 - Microsoft Edge 85.0.564.51 / Windows 10

 Login/Logout

----
Microsoft Edge 85.0.564.51 / Windows 10
DEBUGGER PAUSE ON FAILED TEST:
- Error in fixture.beforeEach hook -
An error occurred in the '@testing-library/dom/dist/@testing-library/dom.umd.js' module injected into the tested page. Make sure that this module can be executed in the browser environment.

Error details:
TypeError: Cannot read property 'destUrl' of null

Browser: Microsoft Edge 85.0.564.51 / Windows 10

6 |
7 |/// Login/Logout workflow
8 |fixture('Login/Logout')
9 |    .beforeEach( async t => {
10 |        await t
> 11 |            .useRole(nssUser);
12 |    });
13 |
14 |/// Login & Logout
15 |test
16 |    ("Log user into & out of PodBrowser", async t => {

at <anonymous> (C:\GitHub\destURL\tests\login.js:11:14)
at <anonymous> (C:\GitHub\destURL\tests\login.js:8:1)
----

Steps to Reproduce:

Extract the code from the attached zipfile.
If necessary, install TestCafe Testing Library
Execute > testcafe edge ./tests/login.js.
Error is displayed.

Your Environment details:

testcafe version: 1.9.2
node.js version: v12.18.3
command-line arguments: testcafe edge ./tests/login.js
browser name and version: MS Edge Version 85.0.564.51 (Official build) (64-bit)
platform and version:  Windows 10 64-bit
other:

Notes
Speaking with support at testing-library, they identified the source of the error was the setting of the browser URL as part of the Role rather than an explicit .page(...) in the fixture.
If you add a line .page('https://podbrowser.inrupt.com') to the fixture, the test executes without the error.
While this works, it does mean the page is loaded twice.

To add on to @kevin-inrupt excellent description of the problem.  There problem here is the general use of client scripts on a fixture that doesn't set .page

Thank you for your report. I reproduced the issue. It looks like it's similar to the case discussed here: https://github.com/DevExpress/testcafe-hammerhead/issues/2399. So, I changed the frequency level of DevExpress/testcafe-hammerhead#2399, and I'll close this issue as a duplicate. As a workaround, you can add .page `example.com`  to your fixture or test declarations.

authors: AndreyBelym benmonro kevin-inrupt


text:
Add support for compressed JSON (gz or bz2) in input

Since we are dealing with a huge amount of data, it is very slow to re-parse all the projects with the source code parsers everytime we update the source analyzer. Thus, it makes sense to store the intermediate JSON. However, the JSON files are really big and they use a lot of disk space so it would be useful to compress them.

Mmh, what is preventing us to store the intermediate JSON in a compressed format and then un-compress it and stream it to srcanlzr directly? Like why does it need to be handled by srcanlzr?

Nothing is preventing us to do so. The main advantage of doing it directly in Go is performance IMHO. The bzip2 package of the Go standard library (http://golang.org/pkg/compress/bzip2/) implements the reader interface and the JSON decoder can directly read JSON from a reader. That way, the JSON decoder can uncompress and decode the JSON at the same time.
Besides, it only takes few lines of code to implement that option. Since everything comes from the standard library, it does not require extra testing. So I see no reason not to implement it :)

Fair enough.
It'll be interesting to micro-benchmark using something like bzcat foo.json.bz2 | srcanlzr ... vs having srcanlzr handle it all through bzip2 from the standard library using the reader interface. Just out of curiosity. :)

Yeah for sure :)

I bet that the pure Go version will be faster. Even if the Go standard implementation is much slower than bzcat(1), in the end, the bzcat solution will need to read the bzipped file, output the uncompressed JSON and srcanlzr will have to read it, instead of just reading the bzip2 once :)

source: gharchive/issue

authors: Rolinh gilliek

repo: DevMine/srcanlzr

license_type: permissive

license_source: bigquery


text:
Without Nx and ts-lint would be cool

Ts-lint is deprecated and with nx codebase seems more complex to use a simple project. Without Nx and ts-lint would be useful.

Yeah totally agreed, Just made this project to learn Nx with Node GraphQL.

Maybe we can start a project using only typeGraphQL and typegoose
Would love to get you onboard and discuss more on this

I'd be honored to do that. Thanks!

Cool!
I'll setup a base project this weekend then we can start accordingly

license: MIT

license_source: github-api


text:
#3 Fix login button on creator's page, redirect to login if not logged in

Fix login button on creator's page, redirect to login if not logged in
Resolved an issue where clicking the join button on a creator's main
page without logging in caused a page refresh. Now the button redirects
to the login page for non-logged-in users.
Fixes #3

Thanks for contributing Sanjay. Btw it would be great if you can give a star to repo.

source: gharchive/pull-request


text:
[Feat] CoreData 함수 추가

함수정리 노션에 있습니다.
많이 부족합니다. 리뷰 부탁드려요

공부해서 다음 스프린트에 꼭 적용해보겠습니다. 안그래도 다른분들도 그 방법을 말씀해주시더라구요..

너무 수고 많으셨습니다! ☺


text:
added_new_infos

Thank you for providing a very useful project for beginners. It really helped us to start our journey on git hub.

Thank you for your contribution @Anup-subedi

authors: Anup-subedi DeveloperAspire

repo: DeveloperAspire/developers-fact-card


text:
home page responsiveness fixed.

The tagline was wrapped in the mobile view, which was unexpected. I fixed that issue.
The search input and button were taking up too much space, and the visuals were not appealing. I made them look more professional.
Suggested tags were not wrapping in the mobile view, but now they are wrapping correctly.

I made the changes for the home page. Please let me know if you have any suggestions. @Devmangrani

repo: Devmangrani/JobSewa


text:
Only show a loader when reloading apps

either ProgressBar or SwipeRefreshLayout, not both.

Already fixed.

repo: DeweyReed/PermissionLibrary


text:
Simple tree physics

Bullet physics for trees is too expensive, write dedicated solution.

http://forum.outerra.com/index.php?topic=114.0

repo: DezerteR/Thunder-and-Steele

license: mit


text:
Landing page theme doesn't changes

Landing page is always black in both light and dark theme

Please aasign me this issue under gssoc21

@garvitgupta13 Already an issue for this #256, Also made a pull request for this #268

@garvitgupta13 Already an issue for this #256, Also made a pull request for this #268

Sorry me bad, I didn't noticed it

repo: DhairyaBahl/React-Messenger-App


text:
Ophyd-async devices give bad error when not able to connect

If I have an ophyd-async device where one of the PVs cannot connect I get the following error when I run the system tests (i.e. through make_all_devices):
Traceback (most recent call last):
  File "/scratch/ffv81422/hyperion/dodal/tests/system_tests/test_i03_system.py", line 23, in <module>
    make_all_devices(i03)
  File "/scratch/ffv81422/hyperion/dodal/src/dodal/utils.py", line 125, in make_all_devices
    devices: dict[str, AnyDevice] = invoke_factories(factories, **kwargs)
  File "/scratch/ffv81422/hyperion/dodal/src/dodal/utils.py", line 150, in invoke_factories
    devices[dependent_name] = factories[dependent_name](**params, **kwargs)
  File "/scratch/ffv81422/hyperion/dodal/src/dodal/beamlines/i03.py", line 160, in smargon
    return device_instantiation(
  File "/scratch/ffv81422/hyperion/dodal/src/dodal/utils.py", line 98, in wrapper
    return func(*args, **kwds)
  File "/scratch/ffv81422/hyperion/dodal/src/dodal/beamlines/beamline_utils.py", line 105, in device_instantiation
    _wait_for_connection(device_instance, sim=fake)
  File "/scratch/ffv81422/hyperion/dodal/src/dodal/beamlines/beamline_utils.py", line 51, in _wait_for_connection
    call_in_bluesky_event_loop(
  File "/scratch/ffv81422/hyperion/hyperion/.venv/lib/python3.10/site-packages/bluesky/run_engine.py", line 2649, in call_in_bluesky_event_loop
    return fut.result(timeout=timeout)
  File "/dls_sw/apps/python/miniforge/4.10.0-0/envs/python3.10/lib/python3.10/concurrent/futures/_base.py", line 460, in result
    raise TimeoutError()
concurrent.futures._base.TimeoutError
Task was destroyed but it is pending!
task: <Task pending name='Task-2' coro=<Device.connect() done, defined at /scratch/ffv81422/hyperion/hyperion/.venv/lib/python3.10/site-packages/ophyd_async/core/_device/device.py:48> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-1' coro=<wait_for_connection() done, defined at /scratch/ffv81422/hyperion/hyperion/.venv/lib/python3.10/site-packages/ophyd_async/core/utils.py:26> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[_chain_future.<locals>._call_set_state() at /dls_sw/apps/python/miniforge/4.10.0-0/envs/python3.10/lib/python3.10/asyncio/futures.py:392]>
Task was destroyed but it is pending!
task: <Task pending name='Task-5' coro=<Device.connect() done, defined at /scratch/ffv81422/hyperion/hyperion/.venv/lib/python3.10/site-packages/ophyd_async/core/_device/device.py:48> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-27' coro=<Signal.connect() done, defined at /scratch/ffv81422/hyperion/hyperion/.venv/lib/python3.10/site-packages/ophyd_async/core/_device/_signal/signal.py:59> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-28' coro=<Signal.connect() done, defined at /scratch/ffv81422/hyperion/hyperion/.venv/lib/python3.10/site-packages/ophyd_async/core/_device/_signal/signal.py:59> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-29' coro=<Signal.connect() done, defined at /scratch/ffv81422/hyperion/hyperion/.venv/lib/python3.10/site-packages/ophyd_async/core/_device/_signal/signal.py:59> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-30' coro=<Signal.connect() done, defined at /scratch/ffv81422/hyperion/hyperion/.venv/lib/python3.10/site-packages/ophyd_async/core/_device/_signal/signal.py:59> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-31' coro=<Signal.connect() done, defined at /scratch/ffv81422/hyperion/hyperion/.venv/lib/python3.10/site-packages/ophyd_async/core/_device/_signal/signal.py:59> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-32' coro=<Signal.connect() done, defined at /scratch/ffv81422/hyperion/hyperion/.venv/lib/python3.10/site-packages/ophyd_async/core/_device/_signal/signal.py:59> wait_for=<Future pending cb=[Task.task_wakeup()]>>

In this case there was a Motor that had an incorrect PV. The error has two issues:

It contains no hint of which signal failed
It has a bunch of later errors around task not being destroyed that confuse things (less important)

Note this could be an error internal to ophyd-async
Acceptance Criteria

The error is better in this case

FYI @coretl, this might stop us from using ophyd-async on the beamline as we won't be able to diagnose things

This needs @callumforrester and @rosesyrett as well. I don't know what the factories in dodal do with device connection. In DeviceCollector in ophyd-async there is some knowledge for pretty-printing the signals that didn't connect, but it may have some issues that @callumforrester identified, and the generalised version of it was going to make it into dodal at some point...

The system tests don't actually run through pytest. They don't enable any specific logging either. Even if we get additional logs I don't think that fixes the issue though? I feel like the Exception still needs to contain what timed out

Tom and I discussed, see linked issue above

authors: DominicOram callumforrester coretl

repo: DiamondLightSource/dodal


text:
Предложение: "Доверенный режим"

Бывает, что на телефонах происходят скачки пинга. Неизвестно, от чего они происходят. Необходимо проверить от чего могут происходить просадки на обычных телефонах. Также нужно попробовать протестировать компьютерные версии, причём что ПК версии, что телефонные всё же лучше тестировать через редактор Godot на устройствах для лучшей отладки.
Также все вычисления происходят (для исключения читерства) на стороне сервера, , ты, @Summersay415, говорил, что можно сделать все вычисления на стороне клиента и это будет выдавать в результате меньший пинг.
Как насчёт идеи создать функцию в настройках для серверов, которая позволяет включать "Доверенный режим" в локальных сетях при создании сервера для уменьшения задержек?
Также некоторые разработчики используют такой подход: обработка данных на сервере И клиенте, последующая синхронизация клиента с сервером при получении пакетов информации от сервера. Таким образом, клиент хоть и может локально читерить, но при первой же синхронизации с сервером недопустимые действия будут отменены.
При этом это поможет в основном лишь для уменьшения задержек загрузки, но не отдачи.
Естесственно, такие изменения проводить сложно и долго, поэтому, чтобы не потерять все материалы по этой теме и хранить их в удобном месте, нужно хранить все самые важные решения здесь. К тому же, признаться честно, у меня не хватит навыков реализовать что-то подобное и я могу выступать лишь в качестве тестировщика (спасибо провайдеру).

Ты что, говна сожреал, сырок?

насрал лейблами

repo: DiamondStudioGAMES/circle-shot


text:
CheatRoulette = True

这个参数我尝试在源码\App\Settings.cs中修改后，用Visual Studio 2019生成了\App\bin\Release\DFAssist.exe，在我编程的电脑中测试时可以“破解版”提示。
但当我将此程序发送到我装有FF14的电脑上测试时，程序的版本变成了普通版，高级功能不可选。我装有FF14的电脑上之前运行过DFAssist的普通版。请问此程序是否在本地保存其他信息从而使我对源码的修改无效，这样的问题该如何处理。

能指导一下如何修改吗？对程序方面不是很熟悉，用vscode不知道如何打包……

能指导一下如何修改吗？对程序方面不是很熟悉，用vscode不知道如何打包……

vscode只是编辑器

license: Unlicense


text:
🛑 ZL1OTD Repeater is down

In 6a3cb12, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19191 ms

Resolved: ZL1OTD Repeater is back up in 070e9d6.

Resolved: ZL1OTD Repeater is back up in 070e9d6.

repo: DigitalVoiceNZ/upptime


text:
🛑 ZL1OTD Repeater is down

In 6ea6e9d, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19331 ms

Resolved: ZL1OTD Repeater is back up in b6367bc.


text:
undefined in "Geschaft" Meldung

Nach dem Drucken eines Briefs scheint ein Wert nicht vorhanden zu sein, der in den Satz eingebettet werden sollte:

Aus historischen Gründen hat es keine systematischen, hinreichend vollständigen Tests / Testdaten. Ein pragmatischer Ansatz zum Verständnis der Ursache ist das "nachspielen" des Ablaufs mit den gewählten Parametern.
Kannst Du bitte den Ablauf, also "mouse clicks" und "keyboard input" stichwortartig notieren?
Also den Einstieg mit welcher Aktion (neues Auskunftsbegehren, Nachfassen oder Reagieren zu bereits bestehendem Begehren, ...), die jeweils ausgewählten und/oder eingegebenen Parameter. Dabei bitte fiktive Namen und Adressen verwenden, Texte auf "Lorem Ipsum" o.ä. ändern.


text:
unclickable after dialog opens

Describe the bug
whenever we open a dialog box for changing workspace name or changing channel name or generating a new code whereever we are using dialogs' it is causing the whole webapp unresponsive after that for an instance
To Reproduce
Steps to reproduce the behavior:

create a workspace
create a channel
click on channel name
opens a dialog, here after closing this
whole page is unresponsive

Expected behavior
it shouldn't be unsresponsive

you can create a new account too, use google/github or do normal email password signup. :)

repo: Diivvuu/slack-clone-nextjs


text:
:warning: Calculator of expenses accepting numbers in Expense  field

Hi @DilsherB  you did a great job building this React budget Calculator :+1: , however, I have this note  :

The expense field should only accept text characters and should display an error message if a number is entered.currently it is accepting numbers
The UI could be better, I think you could add a  spacing between the expense and the amount fields.
Happy coding :smile:

Hi @DilsherB you did a great job building this React budget Calculator 👍 , however, I have this note :
* The expense field should only accept text characters and should display an error message if a number is entered.currently it is accepting numbers

* The UI could be better, I think you could add a  spacing between the expense and the amount fields.
  Happy coding 😄

Hi @ridabensalem,
Thank you very much for taking time to review my project. I'll address these issues definitely.
Once again thanks a lot for your time/suggestion/efforts.

My pleasure Dilsher :smile:

My pleasure Dilsher 😄

So nice of you Mr. Rida,
I have applied validations, I also tried to show custom messages but face some difficulties if you have any idea, please help

@ridabensalem

My pleasure Dilsher smile

So nice of you Mr. Rida, I have applied validations, I also tried to show custom messages but face some difficulties if you have any idea, please help

Yeah I would love to contribute to your application, could you please check your slack , I sent you a message about that

My pleasure Dilsher smile

So nice of you Mr. Rida, I have applied validations, I also tried to show custom messages but face some difficulties if you have any idea, please help

Yeah I would love to contribute to your application, could you please check your slack , I sent you a message about that

@ridabensalem ,
I would like to tell you that a friend like you is an asset. Thank you for your interest and readiness to do help.
I have done the custom validations.
Now I got an idea to give the user an option to select the currency

authors: DilsherB ridabensalem

repo: DilsherB/react-budget-calculator


text:
🛑 NFTScan assets is down

In d8451cf, NFTScan assets ($NFTSCAN_ASSETS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NFTScan assets is back up in 39290fa after 9 minutes.


text:
🛑 Timeline Cache (Social) is down

In 64c6401, Timeline Cache (Social) ($URL_SCHEDULER_JOBS/health/timeline/social) was down:

HTTP code: 404
Response time: 4 ms

Resolved: Timeline Cache (Social) is back up in 4a4caf2.


text:
🛑 API - Twitter Identity is down

In e6205ed, API - Twitter Identity ($TWITTER_IDENTITY_API_URL) was down:

HTTP code: 502
Response time: 104 ms

Resolved: API - Twitter Identity is back up in 9ccc58d.

repo: DimensionDev/status


text:
⚠ API - Lens has degraded performance

In 7665c25, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 345 ms

Resolved: API - Lens performance has improved in 2a1dfab after 9 minutes.


text:
🛑 API - Opensea NFT is down

In 7b1fa8d, API - Opensea NFT ($OPENSEA_NFT_API_URL) was down:

HTTP code: 429
Response time: 337 ms

Resolved: API - Opensea NFT is back up in 6794249.


text:
Get error when of using provided pytorch implementation of DWConv.

I am using the provided DWConv implementation but get the following error.
Trackback:
    self._scaler.scale(loss).backward(create_graph=create_graph)
  File "/mnt/cache/share/spring/conda_envs/miniconda3/envs/s0.3.5/lib/python3.7/site-packages/torch/_tensor.py", line 363, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/mnt/cache/share/spring/conda_envs/miniconda3/envs/s0.3.5/lib/python3.7/site-packages/torch/autograd/__init__.py", line 175, in backward
    allow_unreachable=True, accumulate_grad=True)  # Calls into the C++ engine to run the backward pass
  File "/mnt/cache/share/spring/conda_envs/miniconda3/envs/s0.3.5/lib/python3.7/site-packages/torch/autograd/function.py", line 253, in apply
    return user_fn(self, *args)
  File "/mnt/cache/share/spring/conda_envs/miniconda3/envs/s0.3.5/lib/python3.7/site-packages/torch/cuda/amp/autocast_mode.py", line 135, in decorate_bwd
    return bwd(*args, **kwargs)
  File "/mnt/cache/liujihao/.local/lib/python3.7/site-packages/depthwise_conv2d_implicit_gemm-0.0.0-py3.7-linux-x86_64.egg/depthwise_conv2d_implicit_gemm.py", line 25
, in backward
    dx = _extension.backward_data_fp32(grad, w)
RuntimeError: input must be contiguous

Any intuition to solve this problem?

Solved! Just add "grad=grad.contiguous" in the two backward functions.
I have created a pull request to the MegEngine repo.
You may simply add the two lines of code follow this.
https://github.com/MegEngine/cutlass/pull/1/commits/5b19383769ccf78f886f6df0db50e670f1bef0bc

authors: DingXiaoH JerryLauzzz

repo: DingXiaoH/RepLKNet-pytorch


text:
Attempting to throw Secret Pass freezes the game (Duckstation)

In my game, the secret pass randomised into Lurvy's Shop. You can pick the Secret Pass up fine, but the game freezes as soon as you attempt to throw it over to Lurvy to buy it.
Not sure if this happens if it randomises into the Inoa shop.

Most likely a duplicate of https://github.com/Dinopony/alundra-randomizer/issues/59

authors: Dinopony Feldherren

repo: Dinopony/alundra-randomizer


text:
Wrong scroll position on field focus with height resize

Hi @Diokuz,
We have section with fields and scroll. Last item in this section textarea. once user type more than 1 line of text in this textarea, height of textarea and whole section increased. Scroll also increased but stay at the middle on section, so user should remove focus and scroll bottom.
Maybe plugin have something that will help us scroll to the bottom of the section when we change height of textarea? I didn't find it in settings.
Thanks

Good testcase!
No, there is no 'textarea'-option.
There is a default browser-behaviour:

I suppose you use some js-code to make textarea bigger? If so, you need to set scrollTop value of scroller html-node equal to scrollHeight, or just big enough (9999 for example) after the textarea height has changed.
Baron did not set scroll position at all (that is the philosophy of baron), it just paint some things, like custom scrollbar.

Does the problem disappear after disabling baron? It should stay. I mean, it is not a baron-problem, I suppose.

thanks, found solution - scroll via js once height changed

authors: Diokuz iryska

repo: Diokuz/baron


text:
Global functions to set/get shared values from the root context

Specific Demand
Dioxus should expose a global version of provide_root_context and a new global consume_root_context function. This would allow data stored in the root context to be treated similar to OnceCell, but with the added benefit of a guarantee that the data will be tied to the lifecycle of the context.
This would be especially useful for building more complex add-ons to dioxus that run outside the VDom, but store data for contexts in the VDom.
Implement Suggestion
The with_runtime function already underpins the existing provide_root_context implementation. This could be used to power a new global version fairly easily.

The global provide_root_context is defined here.
The global consume context from scope is defined here. You can get the root context like this: consume_context_from_scope(ScopeId::ROOT)

lol that is exactly my ask, glad to see it's already there ❤

Actually, I guess the only addition I would make to that is a provide_or_consume_context_context(ScopeId) function that is thread safe

Actually, I guess the only addition I would make to that is a provide_or_consume_context_context(ScopeId) function that is thread safe

provide_or_consume_context_context is a pretty simple combination of the two existing hooks to make without support within Dioxus. Unfortunately, I don't think we can make it thread safe. The only reason we can make the individual functions global (but not thread safe) is because we have a global context that is set within Dioxus futures, components, and event handlers. That global context cannot be multi-thread because you may have multiple different Dioxus runtimes on different threads operating at once in the SSR/fullstack renderer or Liveview.

authors: ealmloff esimkowitz

repo: DioxusLabs/dioxus


text:
Error install as local user

I try to install docudigger as local user not global on an arch-linux and get this error:
npm install @disane-dev/docudigger
0 verbose cli /usr/bin/node /usr/bin/npm
1 info using npm@10.8.1
2 info using node@v22.4.0
3 silly config load:file:/usr/lib/node_modules/npm/npmrc
4 silly config load:file:/home/fleixi/.npmrc
5 silly config load:file:/etc/npmrc
6 verbose title npm install @disane-dev/docudigger
7 verbose argv "install" "@disane-dev/docudigger"
8 verbose logfile logs-max:10 dir:/home/fleixi/.npm/_logs/2024-08-17T10_56_27_335Z-
9 verbose logfile /home/fleixi/.npm/_logs/2024-08-17T10_56_27_335Z-debug-0.log
10 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 silly idealTree buildDeps
14 silly fetch manifest @disane-dev/docudigger@*
15 silly packumentCache full:https://registry.npmjs.org/@disane-dev%2fdocudigger cache-miss
16 http fetch GET 200 https://registry.npmjs.org/@disane-dev%2fdocudigger 1275ms (cache revalidated)
17 silly packumentCache full:https://registry.npmjs.org/@disane-dev%2fdocudigger set size:647389 disposed:false
18 silly placeDep ROOT @disane-dev/docudigger@2.0.6 OK for:  want: *
19 silly fetch manifest luxon@^3.4.4
20 silly packumentCache full:https://registry.npmjs.org/luxon cache-miss
21 silly fetch manifest winston@^3.13.0
22 silly packumentCache full:https://registry.npmjs.org/winston cache-miss
23 silly fetch manifest node-cron@^3.0.3
24 silly packumentCache full:https://registry.npmjs.org/node-cron cache-miss
25 silly fetch manifest puppeteer@^22.10.0
26 silly packumentCache full:https://registry.npmjs.org/puppeteer cache-miss
27 silly fetch manifest @oclif/core@^3.26.6
28 silly packumentCache full:https://registry.npmjs.org/@oclif%2fcore cache-miss
29 silly fetch manifest @oclif/plugin-help@^6.0.22
30 silly packumentCache full:https://registry.npmjs.org/@oclif%2fplugin-help cache-miss
31 silly fetch manifest @oclif/plugin-plugins@^5.1.3
32 silly packumentCache full:https://registry.npmjs.org/@oclif%2fplugin-plugins cache-miss
33 silly fetch manifest @oclif/plugin-commands@^3.3.4
34 silly packumentCache full:https://registry.npmjs.org/@oclif%2fplugin-commands cache-miss
35 http fetch GET 200 https://registry.npmjs.org/node-cron 87ms (cache revalidated)
36 silly packumentCache full:https://registry.npmjs.org/node-cron set size:55280 disposed:false
37 http fetch GET 200 https://registry.npmjs.org/luxon 134ms (cache revalidated)
38 silly packumentCache full:https://registry.npmjs.org/luxon set size:491356 disposed:false
39 http fetch GET 200 https://registry.npmjs.org/puppeteer 158ms (cache revalidated)
40 silly packumentCache full:https://registry.npmjs.org/puppeteer set size:3639917 disposed:false
41 http fetch GET 200 https://registry.npmjs.org/winston 192ms (cache revalidated)
42 silly packumentCache full:https://registry.npmjs.org/winston set size:252477 disposed:false
43 http fetch GET 200 https://registry.npmjs.org/@oclif%2fplugin-help 213ms (cache revalidated)
44 silly packumentCache full:https://registry.npmjs.org/@oclif%2fplugin-help set size:515354 disposed:false
45 http fetch GET 200 https://registry.npmjs.org/@oclif%2fcore 228ms (cache revalidated)
46 silly packumentCache full:https://registry.npmjs.org/@oclif%2fcore set size:1712920 disposed:false
47 http fetch GET 200 https://registry.npmjs.org/@oclif%2fplugin-plugins 250ms (cache revalidated)
48 silly packumentCache full:https://registry.npmjs.org/@oclif%2fplugin-plugins set size:1001131 disposed:false
49 http fetch GET 200 https://registry.npmjs.org/@oclif%2fplugin-commands 255ms (cache revalidated)
50 silly packumentCache full:https://registry.npmjs.org/@oclif%2fplugin-commands set size:252262 disposed:false
51 silly reify moves {}
52 warn deprecated @types/winston@2.4.4: This is a stub types definition. winston provides its own type definitions, so you do not need this installed.
53 warn deprecated @types/puppeteer@7.0.4: This is a stub types definition. puppeteer provides its own type definitions, so you do not need this installed.
54 warn deprecated babel-preset-es2015@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
55 warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
56 warn deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
57 warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
58 warn deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
59 info run yarn@1.22.22 preinstall node_modules/@disane-dev/docudigger/node_modules/yarn :; (node ./preinstall.js > /dev/null 2>&1 || true)
60 info run yarn@1.22.22 preinstall { code: 0, signal: null }
61 info run @disane-dev/docudigger@2.0.6 postinstall node_modules/@disane-dev/docudigger ts-node ./scripts/postinstall.ts
62 info run core-js@2.6.12 postinstall node_modules/@disane-dev/docudigger/node_modules/core-js node -e "try{require('./postinstall')}catch(e){}"
63 info run puppeteer@22.10.0 postinstall node_modules/@disane-dev/docudigger/node_modules/puppeteer node install.mjs
64 info run core-js@2.6.12 postinstall { code: 0, signal: null }
65 info run @disane-dev/docudigger@2.0.6 postinstall { code: 1, signal: null }
66 info run puppeteer@22.10.0 postinstall { code: 0, signal: null }
67 verbose stack Error: command failed
67 verbose stack     at promiseSpawn (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
67 verbose stack     at spawnWithShell (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
67 verbose stack     at promiseSpawn (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
67 verbose stack     at runScriptPkg (/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13)
67 verbose stack     at runScript (/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
67 verbose stack     at /usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17
67 verbose stack     at run (/usr/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22)
67 verbose stack     at /usr/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9
67 verbose stack     at new Promise (<anonymous>)
67 verbose stack     at callLimit (/usr/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69)
68 verbose pkgid @disane-dev/docudigger@2.0.6
69 error code 1
70 error path /home/fleixi/node_modules/@disane-dev/docudigger
71 error command failed
72 error command sh -c ts-node ./scripts/postinstall.ts
73 error node:internal/modules/cjs/loader:1222
73 error   throw err;
73 error   ^
73 error
73 error Error: Cannot find module './postinstall.ts'
73 error Require stack:
73 error - /home/fleixi/node_modules/@disane-dev/docudigger/scripts/imaginaryUncacheableRequireResolveScript
73 error     at Module._resolveFilename (node:internal/modules/cjs/loader:1219:15)
73 error     at Function.resolve (node:internal/modules/helpers:133:19)
73 error     at requireResolveNonCached (/home/fleixi/node_modules/@disane-dev/docudigger/node_modules/ts-node/dist/bin.js:549:16)
73 error     at getProjectSearchDir (/home/fleixi/node_modules/@disane-dev/docudigger/node_modules/ts-node/dist/bin.js:519:40)
73 error     at phase3 (/home/fleixi/node_modules/@disane-dev/docudigger/node_modules/ts-node/dist/bin.js:267:27)
73 error     at bootstrap (/home/fleixi/node_modules/@disane-dev/docudigger/node_modules/ts-node/dist/bin.js:47:30)
73 error     at main (/home/fleixi/node_modules/@disane-dev/docudigger/node_modules/ts-node/dist/bin.js:33:12)
73 error     at Object.<anonymous> (/home/fleixi/node_modules/@disane-dev/docudigger/node_modules/ts-node/dist/bin.js:579:5)
73 error     at Module._compile (node:internal/modules/cjs/loader:1467:14)
73 error     at Module._extensions..js (node:internal/modules/cjs/loader:1551:10) {
73 error   code: 'MODULE_NOT_FOUND',
73 error   requireStack: [
73 error     '/home/fleixi/node_modules/@disane-dev/docudigger/scripts/imaginaryUncacheableRequireResolveScript'
73 error   ]
73 error }
73 error
73 error Node.js v22.4.0
74 silly unfinished npm timer reify 1723892187518
75 silly unfinished npm timer reify:build 1723892195579
76 silly unfinished npm timer build 1723892195581
77 silly unfinished npm timer build:deps 1723892195582
78 silly unfinished npm timer build:run:postinstall 1723892195669
79 silly unfinished npm timer build:run:postinstall:node_modules/@disane-dev/docudigger 1723892195669
80 verbose cwd /home/fleixi
81 verbose os Linux 6.9.7-arch1-1
82 verbose node v22.4.0
83 verbose npm  v10.8.1
84 verbose exit 1
85 verbose code 1

If you want to use it locally please tzry to use npm install @disane-dev/docudigger --ignore-scripts
currently I have the dev scripts in the package.json when building which is false. But currently I don't have any time to fix this unfortunatly :(

@fleixi Did the npm install @disane-dev/docudigger --ignore-scripts work for you?

:tada: This issue has been resolved in version 2.0.6-dev.4 :tada:
The release is available on:

npm package (@dev dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.0.6-dev.16 :tada:
The release is available on:

npm package (@dev dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
feat: typed permissions

Summary
this adds initial code to add typings for permissions across the library without having any runtime effects. This now means that all methods which take permissions as kwargs should be fully typed, of which this code is changed during the development process and not done at runtime.
Checklist

[x] If code changes were made, then they have been tested

[x] I have updated the documentation to reflect the changes
[x] I have formatted the code properly by running task lint
[x] I have type-checked the code by running task pyright

[ ] This PR fixes an issue
[x] This PR adds something new (e.g. new method or parameters)
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

Just noticed this pr is missing support for TextChannel.set_permissions and other classes.

added support to set_permissions in https://github.com/DisnakeDev/disnake/pull/708/commits/2eae9417d125964568d5f6519457a3d9f05d9067

repo: DisnakeDev/disnake


text:
Refactor Home page to app-shell

https://developers.google.com/web/fundamentals/architecture/app-shell
Right now there will be lot of troubles with caching as Home.vue is generated mostly via SSR

We need to discuss it.

authors: karolbzik pkarw

repo: DivanteLtd/vue-storefront


text:
Standarizing Core Pages API

Bedore 1.0RC I want to prepare new API proposals for core pages + most important Core component with @akbarik

[x] Home
[x] Category
[x] Product
[ ] Compare
[ ] Search
[ ] Product Tile component

The implementation task will be created after 1.0RC
You can find new proposals here: https://github.com/DivanteLtd/vue-storefront/tree/master/doc/new-core-proposal

Product Page done!

authors: filrak pkarw


text:
WIP: Feature/multiple filters

with local.json added:
"filters": {
      "multipleSelect": false,
      "deepLinking": true,
      "metaTitleByFilters": true,
      "instantFiltering": true
}

@BartoszLiburski @patzick as we’re planning to release 1.8 around 15th of Feb it would be good to finish this task till end of the next week

hi, really great work on this
If i'm not mistaken, this doesn't support multiselect attributes yet, right?
As these are returned as csv (option_id's).
I'm working on a module for layered navigation which support singleselect as well as multiselect, maybe we can merge some work together to also support multiselect attributes.
I believe the only thing to fix this in this pull request is to make a change to mage2vs import to convert the comma separated option_ids into arrays.

hi, really great work on this
If i'm not mistaken, this doesn't support multiselect attributes yet, right?
As these are returned as csv (option_id's).
I'm working on a module for layered navigation which support singleselect as well as multiselect, maybe we can merge some work together to also support multiselect attributes.
I believe the only thing to fix this in this pull request is to make a change to mage2vs import to convert the comma separated option_ids into arrays.

@pkarw & @bartdominiak i already have some code for this in Mage2VS
What is the best way to link the changes in mage2vs repo to this issue?

I was wondering if this PR will set the filters from the url, so it keeps the state between refreshes?

I was wondering if this PR will set the filters from the url, so it keeps the state between refreshes?

Yes it will, but I still need to change something in mage2vuestorefront so multiple filters can work for every attribute.

@patzick this is really cool feature and should be reviewed and prepared for 1.10 at last

Closed in favor of #2724

authors: BartoszLiburski DaanKouters pkarw pstuifzand


text:
Update README.md

I added a repository to the Grokking Algorithms book section, which includes a summary of the book and its problem solutions. This repo helped me a lot in learning the book, so I thought it might be useful for others as well.
Each repo includes:

Content as markdown
Code examples in Python, Ruby and GoLang
Images and charts related to the chapter.

Because the changes were made in a wrong place. closed.

repo: DjangoEx/awesome-python-resources


text:
PID does not work properly on my environment.

First of all, thank you for this library. It is really a piece of art.
Probably Iam just stupid and can't use it properly.
My setup

ESP32-Wrover-E ( 16mb flash, 8mb psram )
Arduino environment
Quick PID
sTune
Modbus

The esp32 hosts a webpage where a user can create it's own zones ( rooms ) and can put heating controller inside it.
The user can pick which thermostat to use for which room and can select separate pins for the boiler start, valve open and pump circulation. He can also set how much time it takes for the valve to be opened fully, so the heating can begin and the pumps can circulate the water across the tubes.
This system is represented as separate classes in code.

A class for the thermostat which gets the measured temperature via modbus from the physical modul and contains the set temperature which a user can controll
A class for the boiler which will controll the boiler on/off state
A class for the pump(s) which will controll the pump start/stop and watches for the post circulation time expiration
A class for the valve(s) which will controll the valve open/close state and watches for the open time expiration
A heating which will controll the flow of the heating on a particular room

So it goes like this:
Heating loop will periodically checks if we can start to heat or not. For this it will ask the thermostat class which will decide based on the measured and set temperature. If it says we can heat, the heating system will start the process.

Starts to open the valves
After the valves are opened ( not known time, can take from 0 to 600sec ) gives a signal to the boiler to start to heat and starts the pumps

Meanwhile the heating system will periodically checks if the temp is on the set temp. If it is, ( +- hysteresis ) it will start the stop process

Takes away the boiler start signal
Wait for the defined amount of time to do a post circulation
After the post circulation done, it will stop the pump(s) and closes the valve(s)

It is working good, but now i want to give the user the option to be able to controll it with PID
For this i have created a wokwi project which tries to simulate my environmnet and for the life of me i can't figure out why it does not work.
Here is the wokwi simulation: https://wokwi.com/projects/357187661998047233
Do you have any suggestions? ( sorry for the long issue )
( meanwhile I will try to create a more representative simulation at wokwi )
Here is a more detailed simulation of my system.
https://wokwi.com/projects/357256912224692225
If you let the usePID variable false it will do a normal heating controll and controlls the temperature fine.
If you set it to true it will use the PID for temp controll.

Hi, here is some suggestions
1.You should get rid of any process that cause latency while auto tuning , e.g. open valve
2.Take advantage of esp32's duo core . As far as I now setup webserver on esp32 take away lots of efficacy, and might cause extra latency. So by using multi-core you can seperate auto tune process away from websever pooling
3.You should focus on relationsheep between boiler and the sensor , set the pump and valve to a static value when auto tuning
Disclaimer: I'm neither an expert in this field nor very experienced. This is just what I found logical to do.
==============================
p.s. I stopped using this library due to the output algorithm didn't match my needs, but it should works for you since the set point isn't far beyond the initial temperature of your system

Thank you for your comment.
The example I gave is non blocking. The valve opening does not use delay and no part of my program blocks. It should not be a computation problem. My system utilises both cores. I squeeze every CPU time from the esp. Valve open time is indeed constant but not at the initialization level. These components are created dynamically. But in my example everything is constant as you can see and it does not work.

I'm afraid there is nothing that I can do for you then.
This blog helps me a lot in understanding some basics of PID
http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/
Here is another place where you can ask for help.
https://groups.google.com/g/diy-pid-control
,good luck

First of all, thank you for this library. It is really a piece of art. Probably Iam just stupid and can't use it properly.
My setup

ESP32-Wrover-E ( 16mb flash, 8mb psram )
Arduino environment
Quick PID
sTune
Modbus

The esp32 hosts a webpage where a user can create it's own zones ( rooms ) and can put heating controller inside it. The user can pick which thermostat to use for which room and can select separate pins for the boiler start, valve open and pump circulation. He can also set how much time it takes for the valve to be opened fully, so the heating can begin and the pumps can circulate the water across the tubes.
This system is represented as separate classes in code.

A class for the thermostat which gets the measured temperature via modbus from the physical modul and contains the set temperature which a user can controll
A class for the boiler which will controll the boiler on/off state
A class for the pump(s) which will controll the pump start/stop and watches for the post circulation time expiration
A class for the valve(s) which will controll the valve open/close state and watches for the open time expiration
A heating which will controll the flow of the heating on a particular room

So it goes like this:
Heating loop will periodically checks if we can start to heat or not. For this it will ask the thermostat class which will decide based on the measured and set temperature. If it says we can heat, the heating system will start the process.

Starts to open the valves
After the valves are opened ( not known time, can take from 0 to 600sec ) gives a signal to the boiler to start to heat and starts the pumps

Meanwhile the heating system will periodically checks if the temp is on the set temp. If it is, ( +- hysteresis ) it will start the stop process

Takes away the boiler start signal
Wait for the defined amount of time to do a post circulation
After the post circulation done, it will stop the pump(s) and closes the valve(s)

It is working good, but now i want to give the user the option to be able to controll it with PID For this i have created a wokwi project which tries to simulate my environmnet and for the life of me i can't figure out why it does not work.
Here is the wokwi simulation: https://wokwi.com/projects/357187661998047233
Do you have any suggestions? ( sorry for the long issue )
( meanwhile I will try to create a more representative simulation at wokwi )
Here is a more detailed simulation of my system. https://wokwi.com/projects/357256912224692225 If you let the usePID variable false it will do a normal heating controll and controlls the temperature fine. If you set it to true it will use the PID for temp controll.

Looking at the output of the usePID = false run shows an constant +0.90°C per observation.  This process doesn't appear to be a self-regulating process which has an inflection point as its S-curve trajectory tapers off towards an ultimate temperature one would reach if you left the system on continuously.  This is an integrating process, which essentially changes by some constant C
times the ControlOutput per timestepTi+1 = Ti + C*CO/dt.  Maybe the sTune analysis could work on the derivative of the process to determine the shape of the change of the slopes?
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1156
load:0x40078000,len:11456
ho 0 tail 12 room 4
load:0x40080400,len:2972
entry 0x400805dc
Starting heat controll simulation.

[THERMOSTAT INFO]
- Measured temp: 15.00c°
- Set temp: 23.00c°
- Hysteresis: 0.30c°
[THERMOSTAT INFO]

[VALVE] - Opening.
[VALVE] - Fully opened.
[BOILER] - Starting.
[PUMP] - Starting.
[TEMPERATURE] - 15.90c°
[TEMPERATURE] - 16.80c°
[TEMPERATURE] - 17.70c°
[TEMPERATURE] - 18.60c°
[TEMPERATURE] - 19.50c°
[TEMPERATURE] - 20.40c°
[TEMPERATURE] - 21.30c°
[TEMPERATURE] - 22.20c°
[TEMPERATURE] - 23.10c°
[PUMP] - Starting post circulation.
[PUMP] - Post circulation end.
[PUMP] - Stopped.
[BOILER] - Stopping.
[VALVE] - Closing.
[TEMPERATURE] - 23.00c°
[VALVE] - Opening.
[VALVE] - Fully opened.
[BOILER] - Starting.
[PUMP] - Starting.
[TEMPERATURE] - 23.90c°
[PUMP] - Starting post circulation.

authors: FelixWT drf5n zekageri

repo: Dlloydev/sTune


text:
offsetWidth and offsetHeight properties will be deprecated

I've got this message from Chrome Devtools:

'SVGElement.offsetWidth' is deprecated and will be removed in M50, around April 2016. See https://www.chromestatus.com/features/5724912467574784 for more details. application.js:3
'SVGElement.offsetHeight' is deprecated and will be removed in M50, around April 2016. See https://www.chromestatus.com/features/5724912467574784 for more details.

Does it has negative impact on Raphael code?

+1

There is 4 offsetWidth, offsetHeight access codes in raphaeljs 2.1.4
1. raphael.vml.js
Line 276:
o._.fillsize = [this.offsetWidth, this.offsetHeight];

This function is supplied for callback for img.onload event handler. so this is IMG element. also VML is not under consideration in deprecation issue.
2. raphael.svg.js
Line 521:
R._preload(isURL[1], function () {
    var w = this.offsetWidth,
        h = this.offsetHeight;
    $(el, {width: w, height: h});
    $(ig, {width: w, height: h});
});

This function is supplied for callback for img.onload event handler. so this is IMG element. (see R._preload methods)
Mysterious thing is, loading image in R._preload always fail. i have no idea for that.
3. raphael.core.js
Line 2390:
return {
    container: container,
    width: container.style.pixelWidth || container.offsetWidth,
    height: container.style.pixelHeight || container.offsetHeight
};

inside of R._getContainer(). this method seems to use for normalize Raphael() initializer.
The API reference of Raphael() has no arguments type SVGElement. no problem.
Line 3490:
paperproto.getSize = function () {
    var container = this.canvas.parentNode;
    return {
        width: container.offsetWidth,
        height: container.offsetHeight
    };
};

As you can see the container is parent node of canvas. so it is HTML element.

@minhyeong-kim, thanks :+1:

Guys could you take a look at that PR and try it in your envs? I will merge it if you give the ok.
Thanks

Ok, after the @minhyeong-kim comments (thanks!) and re-reading the analysis better I guess there are no needed changes for this right?
Though I'm curious if the chrome error appears because the offsetHeight/Width attrs are being requested on an SVGElement or if it's just in case.
@vebersol do you see in your app a case where raphael is calling SVGElement.offsetWidth/Height?

Hi @tomasAlabes,
We don't use this property as far as I could see here. I think it's just in case.

Yeah, I agree. Closing this issue.
Thanks everybody for the feedback.

authors: ArviZ minhyeong-kim tomasAlabes vebersol

repo: DmitryBaranovskiy/raphael


text:
avatar issue: failed to persist photo data to disk

First mentioned in #490.
@aaronschachter:
Also am regularly getting upon running the app with a logged in user:

2015-10-23 09:12:02.995 Lets Do This[12226:359222] Failed to persist photo data to disk

It happened when staging was throwing a bunch of 503's, although it seems so weird that would be related. Could be worth using a network simulator for bad connections to replicate. This isn't urgent.. but it'd be good to know (and document) when this occurs.

Staging is acting fine, but I still see this logged into staging as don.draper@dosomething.org:

2015-11-23 09:10:07.036 Lets Do This[4749:232809] [Crashlytics] Version 3.4.1 (92)
2015-11-23 09:10:07.493 Lets Do This[4749:232809] Push notifications are not supported in the iOS Simulator.
2015-11-23 09:10:08.634 Lets Do This[4749:232809] loadCampaignsWithCompletionHandler
2015-11-23 09:10:08.634 Lets Do This[4749:232809] Not displaying Campaign ID 362, its status is set to closed.
2015-11-23 09:10:09.791 Lets Do This[4749:232809] syncCurrentUserWithCompletionHandler
2015-11-23 09:10:09.793 Lets Do This[4749:232809] loadReportbackItemsForCampaigns: 667
2015-11-23 09:10:10.594 Lets Do This[4749:232809] Failed to persist photo data to disk

authors: aaronschachter tongxiang

repo: DoSomething/LetsDoThis-iOS


text:
updates .env.example file

What's this PR do?
Updates .env.example file to include SQS_DEFAULT_QUEUE (thanks @mirie for noting it was missing!)
How should this be reviewed?
👀
Relevant Tickets
Forgot to add this in #741
Checklist

[ ] Documentation added for changed endpoints.
[ ] Tests added for new features/bug fixes.
[ ] Post a message in #api if this includes something that causes a rebuild!

Do we want to include other SQS environment variables here too? I'd left them out since we shouldn't be connecting to SQS on our local machines, but could be nice to see in a table of contents (rather than having to peek at config/queue.php.

that's a great call @DFurnes ! Just added :)

authors: DFurnes chloealee

repo: DoSomething/northstar


text:
Replace getReportbackItems() method

Use the new ReportbackItems::get() static method to retrieve RB items.

Resolved #4715

repo: DoSomething/phoenix


text:
Updates to nested change set support.

Looking past the odd merge issues (which I think in reality are all solved even though it looks like a little bit of master made it's way in) here is an update to address the concerns.

ok, @poteto @willrax @nkgm fixed the merge issues. Any feedback you might have would be greatly appreciated!!

Would be nice to have some more support around distorting, merging, rolling back, etc. though.

@nkgm added that rollback child nested test in there, and added the fix for it.

I'm still not 100% in love with all the solutions, and at times feels like I'm applying bandages rather than fixing root causes.

@poteto did you get a chance to review this? Anyone else you know of that I could ping to review it?

@poteto @bcardarella @martndemus @willrax Just trying to reach out to someone to see who could look at this.

Would love to get this reviewed and merged! Perhaps @webark could be made a collaborator, so he could help review and merge things? Seems he has put quite a bit of work into this.

I'll defer to @poteto on this change.

@bcardarella ya, no worries. Was just going through and finding anyone that had made a commit!!

@webark I just pulled this fork into my project, but when I create a changeset, I get this error:
"Could not find module ember-deep-set imported from ember-changeset/index"

@nrcjbarry did you yarn install?

I removed my node_modules directory and package-lock.json file, then did an npm install.

If it fails to install the transitive dependency, you can try installing manually with ember install ember-deep-set.

@nkgm yeah that works, I just want to bring that to light because it should be installed.

@nrcjbarry :facepalm: i put deepest in dev dependencies. I can change that. Sorry!

@webark, using this PR, the rollback for my nested model is working now. Only issue I’m seeing is when I actually try to save the changeset, I get this error:
RangeError: Maximum call stack size exceeded
My data structure looks like this:
{
  name: 'Bob',
  contact: {
    emails: [ 'bob@email.com', 'the_bob@email.com' ]
  }
}

I wasn't getting this error when using the latest ember-changeset. Any thoughts?

@nrcjbarry i have an idea. I'll add a test with that structure and update the PR

@nrcjbarry I just added that test, and it looks like it's working as expected. Can you take a look at https://github.com/DockYard/ember-changeset/pull/194/commits/e74c7ba4780e62767db98e757dca810777a0a6e8 and let me know if you are using it differently?

also just moved the deepset to a dep rather than a dev dep. Maybe try uninstalling ember-deep-set and ember-changeset and reinstalling from the fork.

hmm. Getting an odd error that isn't part of the work. Will try again.

@webark that test looks like it would cover my need. I can give this a try once you fix the error you just ran into.

ya. Still getting some weird errors that are not matching up. Passing some versions, but others get a Unexpected token u in JSON at position 0 and ```=== Scenario: ember-lts-2.4 ====================================================
Cannot find module 'is-absolute'
Error: Cannot find module 'is-absolute'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/ubuntu/ember-changeset/node_modules/npm/node_modules/which/which.js:12:18)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
Result: false
so like 1.13 passes, 2.4 fails cause of the `is-absolute` 2.8 passes, 2.14 fails due to `is-absolute`, beta fails due to the `Unexpected token u in JSON at position 0`, and then canary fails again due to the  `is-absolute`.
Which none of these fails when I run them locally.

temporarily upgrading ember-cli to see if it fixes the odd circle-cli issues.

sorry for the commit spam. Just trying to situate out why circle ci is failing.

@webark what changes were made between when it was working and when it started barfing?

just added more tests. Just trying to figure out what's going on. https://travis-ci.org/webark/ember-changeset Travis is passing. So it must be something with the circle ci config.

ya. Every other scenario is failing with that Cannot find module 'is-absolute' error. So it makes me think that something isn't getting cleaned up properly.

@poteto any more thoughts on merging this into the feature/support-nested-keys branch? Then we can wrap up anything over in #140 ? I can pull out the ember-cli updates if you'd prefer. Was just trying to figure out why circle ci was failing but travis was passing.

ping. Still, would love to get some traction on this!!

+1

and i always appreciate feedback!

@webark: I just played with your PR and it seems firefox_config.js is missing in the repo. Maybe that's part of the problem with circleci?

@ssured is thata a circle ci thing? wasn't a recent removal as far as I can tell.

and @poteto any chance this could get merged in to the feature/support-nested-keys so we can start finishing this up?

Eagerly want to try this out

authors: bcardarella catz nkgm nrcjbarry rwwagner90 ssured webark

repo: DockYard/ember-changeset


text:
Not able to do npm install

Hi try to do a npm install and I always have this error :
npm ERR! Linux 3.13.0-24-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.4.0
npm ERR! npm  v3.3.12
npm ERR! path /app/node_modules/ember-cli/node_modules/broccoli/node_modules/connect/node_modules/debug/node_modules/ms
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/app/node_modules/ember-cli/node_modules/broccoli/node_modules/connect/node_modules/debug/node_modules/ms' -> '/app/node_modules/ember-cli/node_modules/ms'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     /app/npm-debug.log

It's not a problem of cache, I cleared it. The problem comes from ember-cli. I think it's an old version. Can someone try to install dependencies form scratch and confirm the problem?

I am going to close this issue for now, feel free to reopen this issue if you feel like it's still relevant and we should take a look at it.

authors: GCorbel martndemus

repo: DockYard/ember-validations


text:
#895 Check and enforce code coverage for all modules

Description
This PR is still being drafted, please check back later.
Updated workflow

Fixes #895
Type of change

[x] Chore (changes to the build process or auxiliary tools)
[x] WIP (work-in-progress, not ready for production, or part of future work)

Checklist:

[x] I have performed a self-review of my own code
[x] New and existing unit tests pass locally with my changes
[x] Related issue number is linked in pull request title

Following initial validation, it was determined that the current code coverage for several modules is too low (less than 80%). To resolve this, I have created issues #899 through #905 which will allow us to investigate and resolve the coverage of each module.
Below I've listed the current coverage per module which failed initial validation. Modules that already met the 80% theshold are not listed (see the messages from @github-actions above).

Commands - 72.78% - #899
Config - 61.78% - #900
Core - 67.43% - #901
Events - 69.74% - #902
JPA - 74.21% - #903
Web - 52.7% - #904
Test Suite - 0% - #905

All branches to increase test coverage of specific modules are to branch from c34a837, as this requires explicit module reports in CI. The aggregated report provided in this PR is only for future CI usage.

See #906 for details. This PR will be merged due to architectural changes, I'll follow up in a separate PR, and update the associated issues if needed (#899 through #905)

repo: Dockbox-OSS/Hartshorn


text:
🛑 Holzfinis is down

In ee739ed, Holzfinis (https://www.holzfinis.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Holzfinis is back up in 784810d.


text:
Fixed action buttons don't works

Hi guys! I tried to put a fixed action buttons within my homepage.
When I try to hover with mouse, nothing happens: the smaller buttons remains in opacity 0.
Then, the smaller buttons is always clickable, but instead should be hidden and no clickable until I hover or click the big fixed action button.
I tried Chrome, Firefox and Safari.
Thanks!

There is a bug with the "fixed-action-btn" in that Materialize's own definition of the "reverse()" function into JQuery seems to screwed up by the time it gets to the minification file.
What should be:

jQuery.fn.reverse = [].reverse ; $(".fixed-action-btn").each(function (i) { ...

(note the semi-colon between statements),
gets minified to:

jQuery.fn.reverse = [].reverse , a(".fixed-action-btn").each(function() {...

(with a comma separation instead).
For a quick, valid workaround, I would use the "dist/js/materialize.js" file.
Searching for the string "// jQuery reverse" in the file will lead you to the right part of the code to confirm that the semi-colon is used.

I don't think that is the error, however we are looking in to this issue. If anyone who has had this problem could give some information as to what the actual error message is, it would be helpful.

Hi @Dogfalo, no errors. Simply small buttons don't appears. I inspect with Chrome your example in the Materialize web site and I noticed that in the HTML node transictions effects appears. Not in my code.

Hi same problem here. No error in consoles just the smaller buttons not displaying.
Note that I use Angular. Others components are documented to be initialised via javascript but not this one. I thinks this is were lies the problem.
For exemple to init tabs: $('.tabs').tabs();
There is no such thing for the FAB in the doc.

I use 0.95.2 and it don't works....I'm on Meteor. Maybe @virtual-dev suggestion to initialise the javascript is a good idea.

The event is delegated I believe
On Feb 23, 2015 1:28 PM, "Alessandro Arcidiaco" notifications@github.com
wrote:

I use 0.95.2 and it don't works....I'm on Meteor. Maybe @virtual-dev
https://github.com/virtual-dev suggestion to initialise the javascript
is a good idea.
—
Reply to this email directly or view it on GitHub
https://github.com/Dogfalo/materialize/issues/703#issuecomment-75601396.

@alearcy It worked for me on hover without JS initialisation.
But I wanted the toggle the FAB on click.
Besides I didn't want the children (cascading little fabs) to simply be transparent (opacity: 0) but to be really hidden (display: none).
This is the code I have in my controller. I know this is not the "Angular way" but this is a convenient hack while waiting for the real implementation.
var fab = $('.fixed-action-btn');
var fabState = "off";
fab.off( "mouseenter mouseleave" ); // Disable FAB on hover

// the function you will call from ng-click directive
$scope.onFabClick = function(){
    if(fabState == "off"){
        var time = 0;
        fab.children('ul').css('display','block');
        fab.find('ul a.btn-floating').reverse().each(function () {
            $(this).velocity(
                { opacity: "1", scaleX: "1", scaleY: "1", translateY: "0"},
                { duration: 100, delay: time });
            time += 40;
        });
        fabState = "on";
    }
    else{
        var time = 0;
        fab.find('ul a.btn-floating').velocity("stop", true);
        fab.find('ul a.btn-floating').velocity(
            { opacity: "0", scaleX: ".4", scaleY: ".4", translateY: "40px"},
            {
                duration: 100,
                complete: function(){
                    setTimeout(function () {
                        fab.children('ul').css('display','none');
                    }, 50);
                }
            });
        fabState = "off";
    }
}

The fixed action button works,depending on what js framework you are using, you may have to tweak some things.

authors: Dogfalo alearcy mankindsoftware virtual-dev

repo: Dogfalo/materialize


text:
sendWxTemplatemsg提示报错：Read timed out

定时任务执行，但偶尔会出现sendWxTemplatemsg报错：Error: Exception in thread "main" cn.hutool.core.io.IORuntimeException: SocketTimeoutException: Read timed out，出现当天无法正常推送

定时任务执行，但偶尔会出现sendWxTemplatemsg报错：Error: Exception in thread "main" cn.hutool.core.io.IORuntimeException: SocketTimeoutException: Read timed out，出现当天无法正常推送

可以尝试拉下最新的代码，已加长超时时间~

可以尝试拉下最新的代码，已加长超时时间~
如果依然存在相关问题 可以将代码中的 读取超时时间 再进行加长 由于github服务器在国外 api的相关接口服务器在国内 概率性会出现此问题

请问您提及的读取超时时间是在哪个文件下

可以尝试拉下最新的代码，已加长超时时间~
如果依然存在相关问题 可以将代码中的 读取超时时间 再进行加长 由于github服务器在国外 api的相关接口服务器在国内 概率性会出现此问题

请问您提及的读取超时时间是在哪个文件下

GaodeUtil.java
在此文件内 单位是毫秒~

可以尝试拉下最新的代码，已加长超时时间~
如果依然存在相关问题 可以将代码中的 读取超时时间 再进行加长 由于github服务器在国外 api的相关接口服务器在国内 概率性会出现此问题

请问您提及的读取超时时间是在哪个文件下

GaodeUtil.java 在此文件内 单位是毫秒~

收到，感谢耐心回复~

authors: DokiYoloo Fuzzy-Zhang

repo: DokiYoloo/CareUEveryDay


text:
MQTT data

Hi,
Thanks for your great job, it's awesome.
I've installed it on a Wemos D1 mini board controlling my CS-Z60UD3E and it's running well. I can control AC thought ESPHome web page.
My domotic system is based on Node-Red, so to control your software parameters I need MQTT or HTTP commands, so are there any way to do that without Home Assistant ?
Thanks in advance.

api:
Example configuration entry
mqtt:
broker: 192.168.0.150
username:
password:

Had the same issue, look at
https://esphome.io/components/mqtt.html

Thanks for your answer.
Now I got MQTT client running.
Now I just need the topics to publish data to AC and topics to subscribe data from AC.
Do you know which are them ?
I just know those that appears on debug window:
[17:47:17][C][mqtt.select:028]: MQTT Select 'Panasonic AC Vertical Swing Mode':
[17:47:17][C][mqtt.select:029]:   State Topic: 'AC/select/panasonic_ac_vertical_swing_mode/state'
[17:47:17][C][mqtt.sensor:028]: MQTT Sensor 'Panasonic AC Outside Temperature':
[17:47:17][C][mqtt.sensor:032]:   State Topic: 'AC/sensor/panasonic_ac_outside_temperature/state'
Bot not the Mode or target temperature, etc
Thanks in advance.

authors: jemarr tomhri

repo: DomiStyle/esphome-panasonic-ac


text:
Transparent background is automatically filled with black background?

The transparent part of an image(.png) is filled with black by default

This lacks any detail but I assume you’re talking about the crop preview which you are generating as a jpg, change to image/png

authors: DominicTobias DoubleRayWang

repo: DominicTobias/react-image-crop

license: ISC


text:
doubt about boundary.png

boundary.png seems useless in the project ??

loss only use bce_loss

That's right. As mentioned in the paper, we only used bce_loss. boundary.png is just generated in case.

@Dong-Huo
Hi,
So, can i give the same boundary.png when i only use rgb to infer ??

@Dong-Huo Hi, So, can i give the same boundary.png when i only use rgb to infer ??

The boundary.png is never used for both rgb-t and rgb-only, you can use anything to replace it.

@Dong-Huo
Hi,
i want to change the model to onnx.
but find NestedTensor which not supported.
any suggest ？？

@Dong-Huo Hi, i want to change the model to onnx. but find NestedTensor which not supported. any suggest ？？

I have little experience of onnx. Sorry about that...

@Dong-Huo
Hello,
only use rgb to infer, but found the model alse need mask.
can i give the same mask ?
example mask=torch.ones(.....

authors: Dong-Huo zuixiaosanlang

repo: Dong-Huo/RGB-T-Glass-Segmentation


text:
Manual usage entry >=1000g impossible

Description:
It is impossible to manually enter a "Used Weight" of >=1000g on the "Edit Spool" page. Numbers >=1000 get divided by 1000, thus making "Used Weight" >=1000g impossible. This is usually accompanied by additional minor number entry weirdness.
Expected behaviour:
It should be possible to manually enter a "Used Weight" of at least 2700g (very likely even more, but that is my personal usecase), and have it be used correctly.
Example:
Manual entry 134 ---> display 134 ---> stored value 134
Manual entry 1345 ---> display 1.345 ---> stored value 1,3 (divide by 1000)
Manual entry 1345, ---> display 1,345 ---> stored value 1,3 (interplay of separators)
Manual entry 1345,6 ---> display 1,346 ---> stored value 1,3 (last decimal)
Manual entry 1345,67 ---> display 1,347 ---> stored value 1,3 (last decimal)
Details:

I can enter any relevant number into the edit field (max. 4 digits, no decimals).

The thousands-separator is created automatically (by the edit field?) and correctly, according to locale.

It may also be entered manually. If put into a wrong position that will be corrected automatically. It is not possible to omit it.

Upon pressing enter or changing focus, the number visible in the field changes:

the thousands separator changes into a decimal separator

to the right of the new decimal separator, all but two digits are cut off and rounded. The rounding is mathematically correct. Separators in the cut-off part do not seem to play any role.

Manually entering the same number with flipped separators (as if from a different locale) does not change the outcome.
The new number will then be used without any problems (except for being factually wrong).

My system and browsing locale is German: thousands-separators are "." (dot) and decimal separators are "," (comma). Spoolman is set to German.
Versions: Spoolman 0.11.0 (in docker on RaspberryPi), Firefox 115.3.1esr (on Debian Linux)

can you please try updating and see if that fixes the issue? the spool weight entry ui got overhauled in v0.12.0 and i cant reproduce the bug in the new ui

I updated to Spoolman 0.12.2. The issue is fixed there, anything ( even stupid stuff ) I threw at it looks sane.
Could've thought of updating myself, thank you for your help.
PS: I very much like the new switch for which spool weight to use! 👍

repo: Donkie/Spoolman


text:
Add reference to Java SDK in readme

It is a minor change in WebApp readme file, based on @alegarciamina issue during environment setup.
Could you verify?

Continuous integration is failing for something not related. I am merging anyway and creating the task DR-1394 to deal with CI issue.

repo: DopplerRelay/relay-webapp


text:
How to use your library?

Hello, Dorin. I have a question.

I add class to configureServices
     services.AddSwaggerGen(options =>
     {
         options.SwaggerDoc("v1", new OpenApiInfo { Title = "Some API v1", Version = "v1" });
         // here some other configurations maybe...
         options.DocumentFilter<SignalRSwaggerGen.SignalRSwaggerGen>(new List<Assembly> { typeof(ChatHub).Assembly, typeof(ChatHub).Assembly });
     });

Add attributes to my chatHub
  [SignalRHub(path: "/chatHub")]

Add to app.UseEndpoints needed line
     app.UseEndpoints(endpoints =>
     {
         endpoints.MapControllers();
         endpoints.MapHub<ChatHub>("/chatHub", options =>
         {
             options.Transports =
                 HttpTransportType.WebSockets |
                 HttpTransportType.LongPolling;
         });
         endpoints.MapHub<ChatHub>(typeof(ChatHub).GetCustomAttribute<SignalRHubAttribute>().Path.Replace(Constants.HubNamePlaceholder, typeof(ChatHub).Name));
     });

Going to http://localhost:5000/swagger/v1/swagger.json (maybe this URL is wrong? I don't see right URL in your doc).

And receive nothing, I receive ordinary swagger spec of my controller inherited from ControllerBase.
What I done wrong?

Thank you, your program is working. Finally definition is
        app.UseEndpoints(endpoints =>
        {
            endpoints.MapControllers();
            endpoints.MapHub<ChatHub>("/chatHub", options =>
            {
                options.Transports =
                    HttpTransportType.WebSockets |
                    HttpTransportType.LongPolling;
            });

            //endpoints.MapHub<ChatHub>(typeof(ChatHub).GetCustomAttribute<SignalRHubAttribute>().Path.Replace(Constants.HubNamePlaceholder, typeof(ChatHub).Name));
        });

And, of course, attributes for method is needed. Thank you for fast answer.

I'm running into a similar issue but I'm not sure what I am doing wrong. I am not using any API controllers so I ended up adding the following line due to DI. I pasted my setup below as well.  I added the MapControllers() line to see if that would help this work or not.
services.AddMvcCore()
.AddApiExplorer();
Also, what is the address for the swagger gen because I try the same as Alex but without luck.

@FiniteRealityTech ,
My SignalRSwaggerGen is dependent upon Swashbuckle.AspNetCore.SwaggerGen 6.1.4, so please make sure you're using the same version.

@FiniteRealityTech , most probably you forgot to enable Swagger doc whatsoever.  Please make sure that in Configure method of your web api application you do this:
app.UseSwagger();
app.UseSwaggerUI(options =>
{
	options.SwaggerEndpoint("/swagger/v1/swagger.json", "Your API V1");
	options.RoutePrefix = "your desired prefix";`
});

That's probably it, I have to make a small trip and then I'll try it. Thank you very much!

That was it exactly, thank you.

authors: Alex-1357 Dorin-Mocan FiniteRealityTech

repo: Dorin-Mocan/SignalRSwaggerGen


text:
2 simultaneous lighthouses crashes the LH driver

Testing the main branch, the 01bsp_lighthouse project.
When placed in front of a 1 lighthouse in mode 1, it works as expected.
When placed in front of 2 lighthouses in mode 1 and mode 3 respectively, it crashes after a few seconds.

Here is a capture from a logic analyzer, the red line are successful SPI interruptions.
After a certain amount of time, the code doesn't crash, nor throws a Hardfault, the SPI interruptions just stop happening.
The crash always occurs when 2 sweeps overlap and arrive at the same time at the diode receiver.
Shown here:

Here you can see the system in normal operation when the 4 pulses are separated:
![image](https://github.com/DotBots/DotBot-firmware/assets/11748427
Not all sweep overlaps cause a crash, but all crashes occur on a sweep overlap.
Here is the file with the logic analyzer capture:
2LH_crash.zip

Bug seems to be related to the SPI interrupting itself.
If the envelope signal jitters too much, the SPI transfer can stop prematurely.

(A full transmission takes 16us, this one was cut in half.)
After this occur, following SPI transmissions become abruptly shortened despite no longer having any jitter in the envelope line.

Sometimes the SPI reconvers from this state and continues working normally, and sometimes it crashes completely, which leads to the behavior mentioned in the last comment

I wonder if there is a way of automatically shutting down either the PPI or the GPIOTE while an SPI transmission is occuring, so that they can't retrigger the SPI while it is already transmitting

Fix 1:  Configure the PPI only to start the SPI transfer when the Envelope pin goes down, and not stop it if the Envelope pin goes Up
Result: Didn't work, perhaps made it worse.

Now the final transfer always completes, but if another request to initiate a transfer arrives while a transfer is currently in progress, the SPI peripheral crashes, the interrupt won't trigger, and no further SPI transfers will occur.
fix1_capture.zip

Fix 2:
Put both PPI channels (activate on Envelope negative edge, and activate on end of SPI transmission) on a group.
The envelope signal going LOW causes the SPI to begin a transmission, and  the PPI group to disable itself.
This prevents jitter in the envelope line to trigger multiple simultaneous SPI transmissions.
The end of the SPI transmission, triggers the PPI group to enable itself.
Kind of worked

The code no longer crashes, but SPI transmissions don't trigger as often as they should.

It triggers only once every 2 or 3 LH revolutions.
Logic analyzer capture data:
fix2_capture.zip

Fix 3:
The same PPI that triggers the SPI transfer when the Envelope signal goes low also disables itself (the PPI disables the PPI).
This prevents spurious flickering in the Envelope line to trigger multiple simultaneous SPI transfers.
The PPI is reenabled in the SPI ISR once it's safe to do so.
This works, and catches every single pulse, no crashes.
Tested with 4 simultaneous lighthouses.

repo: DotBots/DotBot-firmware


text:
SX1101 incorrectly reported for parameter that hides field

SX1101 is reported for the use of this. in the following code. The code fix results in a compilation warning (assignment made to same variable) and (more importantly) a change in code behavior.
class ClassName
{
  int items;
  void Method(int items)
  {
    this.items = items;
  }
}

Grabbing this

@sharwell How did you get this code to produce an SX1101 diagnostic?
This case is covered by the VerifyThatNecessaryPrefixWillNotProduceDiagnosticsAsync test case and works fine for me.

I enabled SX1101 and disabled SA1101 in StyleCop.Analyzers.ruleset.
I ran fix all in solution for SX1101.
I reverted just the change to StyleCop.Analyzers.ruleset.
I ran fix all in solution for SA1101.

After the above steps, you can diff the current code against HEAD to see the places where the SX1101 code fix made a mistake.
This bug report was a simplification of one group of issues I saw in the result.

OK, that is clear. Unfortunately for the description you picked the only example that is already handled :wink:

Just my luck! :smile:

authors: sharwell vweijsters

repo: DotNetAnalyzers/StyleCopAnalyzers


text:
XML folder

Move everything related to xml into a folder called xml

duplicte of #112


text:
[BUG]: Message d'arriver lors du respawn suite à une mort

Description du bug.
Bonjour,
En faisant un /rapport, je suis mort. J'ai reçu en message privé par le bot le message de respawn. J'ai donc effectuer la commande /respawn. Lorsque je l'ai faite j'ai reçu un message d'arrivé à destination, ce qui n'est pas le cas lors du /rapport une fois revenue en vie
Reproduction du bug.
Mourir pendant un /rapport
faire un /revive sans regarder les mp
faire un /rapport
regarder les messages privé et voir le message de mort et d'arrivé à destination
Captures d'écran

Sur quel shard avez vous rencontré le bug ?

Une issue parlant de ça existe déjà (la #2293).

authors: EdvansSPT Nargacaura

repo: DraftBot-A-Discord-Adventure/DraftBot


text:
window.JSON.stringify($(fbRender).formRender("userData"))???

After reviewing https://formbuilder.online/docs/formRender/actions/userData/
In Form Builder you can use the below code to get the form and data merged together to store in database.
  `window.alert(window.JSON.stringify($(fbRender).formRender("userData")));`

However, it does not work with Formeo. What is the formeo way of doing this?

the formeo renderer builds semantic form inputs so this should be possible using the built-in FormData. https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest_API/Using_FormData_Objects

repo: Draggable/formeo


text:
Crunchyroll With Better Seasons don't work

Hi I'm the guy who commented on the Chrome Web Store that the extension did not work, I answer here because I think it will be faster. In general it does not work for me on any page, I do not understand why. Try both Edge and Opera GX.
Take screenshots on some Crunchyroll pages: https://imgur.com/gallery/Zu7g3zf

I tried everything to replicate your problem but I can't.
I installed it in Edge, tried in Spanish but it works.

Maybe Crunchyroll is releasing a new version of beta for selected users.
In which country do you live ?

I'm from Mexico. I also tried using VPN and using another account I had but nothing, it's weird. Perhaps and as you say, something changed Crunchyroll

Just to comment that I have the same problem.
I live in France but use Crunchyroll with english language. Tried with my native language but it's the same.
For Ao Ashi I still have the drop down menu with all available languages :-/

I finally had the same problem, can you check the last version (0.5.1, you should have it with auto update) to see if it fixes your problem?

Working now with 0.51 ! Thanks ! :-)

It also works for me again with 0.51 thank you c:

authors: Dragicafit Matth7878 xdyosh


text:
How do i uninstall this?

I have tried everything to get this working now im getting an error about not being able to allocate memory.  I just want it off the system but i used the installer script.
is there an uninstall procedure that will remove all that is installed or do you have a list of dir's i can remove to get rid of it?

If you have installed Dragonfire via the .deb then there is: apt remove --purge dragonfire otherwise you might undo all of the steps in this shell script: https://github.com/DragonComputer/Dragonfire/blob/master/install.sh

authors: mertyildiran shawnggraham

repo: DragonComputer/Dragonfire


text:
Cannot send an empty message

Error: DiscordRESTError [50006]: Cannot send an empty message
Sometime happend with Heroku

Make sure you don't have e.g. the responseMessage option set to an empty string ("") as that might cause the bot to try to send an empty message.

That's happend when we do anything... And responseMessage is not empty in config.json and in config.js

Can you show your current config.json (without the token)?

{
"token": "-",
"mailGuildId": "552900127262507009",
"mainGuildId": "552900127262507009",
"logChannelId": "559329611822137346",
"status": "MP pour contacter le staff",
"responseMessage": "Merci de votre message! Nous vous répondrons le plus rapidement possible"
}

const json5 = require('json5');
const fs = require('fs');
const path = require('path');
let userConfig;
// Try to find our config file from several options
const configFiles = [
'config.json',
'config.json5',
'config.json.json',
'config.json.txt',
'config.js'
];
let foundConfigFile;
for (const configFile of configFiles) {
try {
fs.accessSync(__dirname + '/../' + configFile);
foundConfigFile = configFile;
break;
} catch (e) {}
}
if (! foundConfigFile) {
throw new Error(config.json introuvable!);
}
// Parse the config using JSON5
try {
if (foundConfigFile.endsWith('.js')) {
userConfig = require(../${foundConfigFile});
} else {
const raw = fs.readFileSync(__dirname + '/../' + foundConfigFile);
userConfig = json5.parse(raw);
}
} catch (e) {
throw new Error(Impossible de lire le fichier config.json! L'erreur est: ${e.message});
}
const defaultConfig = {
"token": "-",
"mailGuildId": "552900127262507009",
"mainGuildId": "552900127262507009",
"logChannelId": "559329611822137346",
"prefix": "!",
"snippetPrefix": "!!",
"snippetPrefixAnon": "!!!",
"status": "contacteur de staff",
"responseMessage": "Merci de votre message! Nous vous répondrons le plus rapidement possible.",
"closeMessage": "Conversation fermée, merci d'avoir contacter le staff ! :wink:",
"allowUserClose": true,
"newThreadCategoryId": "559128466461556746",
"mentionRole": "here",
"pingOnBotMention": true,
"botMentionResponse": "Afin de pouvoir contacter le Staff et recevoir un aide, vous pouvez m'envoyer un message privé ! :wink:",
"inboxServerPermission": null,
"alwaysReply": true,
"alwaysReplyAnon": false,
"useNicknames": true,
"ignoreAccidentalThreads": true,
"threadTimestamps": false,
"allowMove": true,
"syncPermissionsOnMove": true,
"typingProxy": true,
"typingProxyReverse": true,
"mentionUserInThreadHeader": true,
"enableGreeting": true,
"greetingMessage": null,
"greetingAttachment": null,
"requiredAccountAge": null, // In hours
"accountAgeDeniedMessage": "Votre compte Discord à été créer trop tôt pour pouvoir utiliser Mail Bot !",
"relaySmallAttachmentsAsAttachments": false,
"smallAttachmentLimit": 1024 * 1024 * 2,
"attachmentStorage": "discord",
"attachmentStorageChannelId": "559329611822137346",
"port": 8890,
"url": null,
"dbDir": path.join(__dirname, '..', 'db'),
"knex": null,
"logDir": path.join(__dirname, '..', 'logs'),
};
const required = ['token', 'mailGuildId', 'mainGuildId', 'logChannelId'];
const finalConfig = Object.assign({}, defaultConfig);
for (const [prop, value] of Object.entries(userConfig)) {
if (! defaultConfig.hasOwnProperty(prop)) {
throw new Error(Invalid option: ${prop});
}
finalConfig[prop] = value;
}
// Default knex config
if (! finalConfig['knex']) {
finalConfig['knex'] = {
client: 'sqlite',
connection: {
filename: path.join(finalConfig.dbDir, 'data.sqlite')
},
useNullAsDefault: true
};
}
// Make sure migration settings are always present in knex config
Object.assign(finalConfig['knex'], {
migrations: {
directory: path.join(finalConfig.dbDir, 'migrations')
}
});
// Make sure all of the required config options are present
for (const opt of required) {
if (! finalConfig[opt]) {
console.error(Missing required config.json value: ${opt});
process.exit(1);
}
}
if (finalConfig.smallAttachmentLimit > 1024 * 1024 * 8) {
finalConfig.smallAttachmentLimit = 1024 * 1024 * 8;
console.warn('[WARN] smallAttachmentLimit capped at 8MB');
}
// Specific checks
if (finalConfig.attachmentStorage === 'discord' && ! finalConfig.attachmentStorageChannelId) {
console.error('Config option 'attachmentStorageChannelId' is required with attachment storage 'discord'');
process.exit(1);
}
// Make sure mainGuildId is internally always an array
if (! Array.isArray(finalConfig['mainGuildId'])) {
finalConfig['mainGuildId'] = [finalConfig['mainGuildId']];
}
// Make sure inboxServerPermission is always an array
if (! Array.isArray(finalConfig['inboxServerPermission'])) {
if (finalConfig['inboxServerPermission'] == null) {
finalConfig['inboxServerPermission'] = [];
} else {
finalConfig['inboxServerPermission'] = [finalConfig['inboxServerPermission']];
}
}
module.exports = finalConfig;

Hmmm, I think it's not because there is a error in config, but a error with an another bot, but his prefix is ., not !, Name bot : Echo

Nope, that's when a member join the server

That's just a error of my part, sorry

authors: Dezyox Dragory

repo: Dragory/modmailbot


text:
Fail to resolve ucrop

Describe the bug
Failed to resolve: com.github.yalantis:ucrop:2.2.7
To Reproduce
Steps to reproduce the behavior:

Added maven { url "https://jitpack.io" } under repositories
And implementation 'com.github.Drjacky:ImagePicker:2.1.14' under dependencies
Build
See error

Expected behavior
Should work just fine
Screenshots

Desktop (please complete the following information):

OS: Windows 10

In case of adding, allprojects

Ah putting maven { url "https://jitpack.io" } under repositories in settings.gradle solved it

repo: Drjacky/ImagePicker


text:
add filter item count row

Issue

close #388

Overview (Required)

add item count row When filtered

Links
Screenshot

Before
After

👀


text:
System Reboot

Hi.
In QGC, I can reboot the fight controller from the Parameters tab->Tools menu.
Is there a method in the SDK to reboot a system?
If not, I may give it a try in send a PR.
I guess MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN would be used, but have not checked yet.
Thanks.

I think that is the correct mavlink command, and no, I do not think that we have implemented it. I think it would be useful as an Action.

For anyone reading and is interested in contributing, as @hamishwillee mentions this functionality would be great in the Action class, here's a link to the Action Implementation class, sending a message is a breeze with the SDK plugins/action/action_impl.cpp@ActionImpl:arm

authors: hamishwillee mrpollo mzahana

repo: Dronecode/DronecodeSDK


text:
Show task bar icon, in windows, with config and exit button

Bottom right, windows icons.
Add icon with right click menu:
Config
Exit

repo: DualzIT/Dashball


text:
Change build scripts from Batch to Powershell.

Is your feature request related to a problem? Please describe.
Ducktape currently has both .sh and .bat scripts, so the scripts work on all platforms. Switching to using Powershell will simplify this, because with one script you can support all platforms, as Powershell is cross-platform.
Describe the solution you'd like
Remove batch and shell scripts and make them Powershell scripts.

👍

authors: TheDuckDev YeffyCodeGit

repo: DucktapeEngine/Ducktape


text:
🛑 Artifactory is down

In c34759d, Artifactory (https://repo.dustplanet.de) was down:

HTTP code: 403
Response time: 226 ms

Resolved: Artifactory is back up in 4599de2.

repo: Dustplanet/upptime


text:
Reusing connections

Hi friends, is there ways to reuse the connection in other to avoid the http overhead?
Thansk a lot

I've answered here https://github.com/Dynamoid/dynamoid/issues/522

authors: andrykonchin juanviamonte

repo: Dynamoid/dynamoid


text:
Remove the synthetic preview

Description
Removes the code related to synthetic.
Also "fixes" some of the scripts that are related to docs generation, pls check those carefully: here
How can this be tested?
Check that there are no remaining synthetic code/references/docs in the code.
Checklist

[x] Unit tests have been updated/added
[x] PR is labeled accordingly with a single label
[x] I have read and understood the contribution guidelines

@0sewa0 could you please run make doc/api-ref?

Codecov Report
Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (13191c2) 67.72% compared to head (e903d75) 67.89%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

pkg/api/v1beta1/dynakube/zz_generated.deepcopy.go
0.00%
7 Missing :warning:

pkg/api/v1beta1/dynakube/properties.go
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2713      +/-   ##
==========================================
+ Coverage   67.72%   67.89%   +0.16%
==========================================
  Files         249      245       -4
  Lines       13641    13389     -252
==========================================
- Hits         9239     9091     -148
+ Misses       3592     3488     -104
  Partials      810      810

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

repo: Dynatrace/dynatrace-operator


text:
Removes unnecessary sa for routing

This service account is no longer needed.

In the make file, dynatrace-routing is still added as an extra service account, when generating the CSV. I guess it can be removed from there aswell :)


text:
Startup Fails: edge-connect name is too long

2024-10-10 04:32:28.706Z: Error from server (Forbidden): error when creating "kubernetes/edge-connect.yaml": admission webhook "edgeconnect.webhook.dynatrace.com" denied the request:
1 error(s) found in the EdgeConnect
 1. The length limit for the name of a EdgeConnect is 40, because it is the base for the name of resources related to the EdgeConnect.
	The limit is necessary because kubernetes uses the name of some resources for the label value, which has a limit of 63 characters. (see https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set)

sed -i "s|CODESPACE_NAME|${CODESPACE_NAME:0:40}|g" kubernetes/edge-connect.yaml


text:
Convert packer templates to HCL

Short Description of the issue
Hello! I see lots of JSON templates. In order to familiarise myself with the repo, I'd like to propose that I contribute the HCL version of the Packer templates.
Summary of proposed changes
Convert all the templates in centos/ and ubuntu/ to pkr.hcl format.

Currently looking at adding Alma 9 (xref: https://github.com/EGI-Federation/fedcloud-vmi-templates/issues/68#issuecomment-2273435591)
Before I read about it, @brucellino could you please summarize what's the advantage of moving the packer templates from json to pkr.hcl format?

Short version is that JSON is legacy and won't be extended or guaranteed to work.
Long version is that you get HCL (i.e. an actual language for configuration)

you can use the HCL functions (Read secrets, convert data, lookup data sources, etc).

You can factorise the templates... especially helpful for longer provisioners.

you can use HCL Variables with validation (you write an actual template instead of a single statement which has to be modified per deploy).
I mean... Comments in the file? that's pretty cool right.
you can still convert to JSON on the fly if that's your thing.

So, basically you lose nothing, but you get cleaner and safer specification.

Done in https://github.com/EGI-Federation/fedcloud-vmi-templates/pull/87

authors: brucellino sebastian-luna-valero

repo: EGI-Federation/fedcloud-vmi-templates


text:
Add functionality to post-process prioritizr output

Add some functions that allow to process and visualise the output of a prioritizr run. This can include:

Visualising prioritizr solution (also mentioned in #11 )
Comparing different prioritizr outputs (maps that include no-regret areas, selected in one but not in other solution; plots comparing how well targets are met, some statistical measure (e.g. Cohen's Kappa) to show similarity)
Visualising the differences between zones
Tables of how well targets are met

Any other ideas @scabecks ?

@diizhang did Luismar share how he made those calculations and maps (most are clearly made in R with tmap)? Do you have his email to reach out, or could reach out yourself?

Hi @scabecks @sandra-neubert , please find the code here: https://www.dropbox.com/scl/fo/1jtep24bad738vuv7mryz/ABRZlyGKUL0k9E_fnXywiQw?rlkey=5ebxo00vy7a5w85lamovx24p6&dl=0

authors: diizhang sandra-neubert scabecks

repo: ELSA-UNDP/elsaFunctions


text:
Detected a cyclic link in DAG, when task inputs are written to the output map

Dear croo package developers,
Please consider the following WDL workflow:
version 1.0
workflow myWorkflow {
    input {
        String file_in= "/a/b/c"
    }
    call myTask {
        input:
         file_in = file_in
    }
}

task myTask {
    input {
        String file_in
    }
    command <<<
        cat << EOF > map.json
        {
          "key": ["~{file_in}"]
        }
        EOF
    >>>
    output {
        Map[String, Array[String]] map_out = read_json("map.json")
    }
}

In practice, the task does a log more complex work with paths and writes them to the JSON. That JSON is then read into the WDL variables and handled by scatter.
This workflow produced the following calls metadata (truncated):
  "calls": {
    "myWorkflow.myTask": [{
      "executionStatus": "Done",
      "backendStatus": "Done",
      "commandLine": "cat << EOF > map.json\n{\n  \"key\": [\"/a/b/c\"]\n}\nEOF",
      "shardIndex": -1,
      "outputs": {
        "map_out": {
          "key": ["/a/b/c"]
        }
      },
      "inputs": {
        "file_in": "/a/b/c"
      },
      "returnCode": 0,
      "end": "2021-06-17T17:58:13.092Z",
      "attempt": 1,
      "start": "2021-06-17T17:56:44.651Z"
    }]
  },

Afterwards, I try to apply croo package for copying results croo metadata-out.json --out-def-json out_def.json --out-dir ./. Out definiton could be even an empty JSON. However, the execution fails with an error
    raise ValueError('Detected a cyclic link in DAG.')

Could you please have a look into int?
P.S. This was kind of urgent for me and I looked into the code. It seems to me that an additional check here that task names are different  and n1.task_name != n2.task_name does the job. I have not fully tested it, just an idea.

Hi, did you find a way to troubleshoot this?

@RGBEN: Sorry about long delay. Can you please upload a full metadata.json and also Croo output definition JSON for your WDL (if it's not an ENCODE pipeline)?

@leepc12  and Croo developers, here is a small example that i have (not the actual use case) and i think check if the task name as suggested @motorny does make sense (if n1 is output and n2 is task and they are the same name, n1 is not the parent of n2).
here is a the simple wdl and meta.json for so you could reproduce the issue. I have confirmed adding n1.task_name != n2.task_name will fix the issue but am not 100% sure if this will break anything else.
example.zip

happy to put in a PR if that is welcomed! thanks!

authors: RGBEN leepc12 motorny xquek

repo: ENCODE-DCC/croo


text:
🛑 EC3 portal for EOSC-Synergy is down

In 71c2922, EC3 portal for EOSC-Synergy (https://servproject.i3m.upv.es/ec3-synergy/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EC3 portal for EOSC-Synergy is back up in fb02ef0.

repo: EOSC-synergy/status