text:
[BUG] Master Category Toggle not working

Describe the bug
The toggle arrow to collapse all the categories at once isn't working.
To Reproduce
Steps to reproduce the behavior:

Go to budget page
Click on the toggle arrow
See error

Expected behavior
All categories should collapse (or open) when toggle clicked.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows
Browser Chrome
Toolkit Version 3.7.0

Setting Export
Please replace the text 'REPLACE_ME_WITH_SETTINGS' below with your exported Toolkit settings. You can export these by going to the Toolkit Options page, click the Import/Export Settings button at the top right and copying the text in the modal which appears.
Note! DO NOT replace the leading and trailing ``` characters as they are required formatting characters.
[{"key":"AccountsDisplayDensity","value":"2"},{"key":"AccountsEmphasizedInflows","value":true},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":true},{"key":"AccountsStripedRowsColor","value":"#fafafa"},{"key":"AccountsStripedRowsDarkColor","value":"#1e1e1f"},{"key":"AutoDistributeSplits","value":true},{"key":"AutoEnableRunningBalance","value":false},{"key":"AutomaticallyMarkAsCleared","value":false},{"key":"BetterScrollbars","value":"1"},{"key":"BottomNotificationBar","value":false},{"key":"BudgetProgressBars","value":false},{"key":"BulkEditMemo","value":false},{"key":"BulkManagePayees","value":false},{"key":"CalculateIRR","value":false},{"key":"CalendarFirstDay","value":false},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":"1"},{"key":"ChangeEnterBehavior","value":true},{"key":"ChangeMemoEnterBehavior","value":false},{"key":"CheckCreditBalances","value":false},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseInspector","value":true},{"key":"CompactAccountHeader","value":false},{"key":"CompactIncomeVsExpense","value":true},{"key":"ConfirmEditTransactionCancellation","value":false},{"key":"CreditCardEmoji","value":true},{"key":"CtrlEnterCleared","value":false},{"key":"CurrentMonthIndicator","value":true},{"key":"CustomAverageBudgeting","value":false},{"key":"CustomFlagNames","value":true},{"key":"CustomizeColourScheme","value":true},{"key":"DateOfMoney","value":true},{"key":"DaysOfBuffering","value":false},{"key":"DaysOfBufferingExcludeCreditCards","value":false},{"key":"DefaultCCToCleared","value":false},{"key":"DeselectTransactionsOnSave","value":true},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":false},{"key":"DisplayTotalMonthlyGoals","value":"show-goal-breakdown-and-income-vs-spending"},{"key":"DisplayTotalOverspent","value":false},{"key":"DisplayUpcomingAmount","value":true},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":false},{"key":"EmphasizeNegativeLoans","value":false},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"FilterCategories","value":false},{"key":"GoalIndicator","value":false},{"key":"GoalWarningColor","value":true},{"key":"GoogleFontsSelector","value":false},{"key":"HideAccountBalancesType","value":false},{"key":"HideAgeOfMoney","value":false},{"key":"HideClosedAccounts","value":true},{"key":"HideDebtRatio","value":false},{"key":"HideHelp","value":false},{"key":"HideReferralBanner","value":false},{"key":"HighlightNegatives","value":false},{"key":"HoveredBudgetRows","value":true},{"key":"ImportNotification","value":false},{"key":"IncomeVsExpenseHoverHighlight","value":true},{"key":"LargerClickableIcons","value":false},{"key":"LinkInMemo","value":false},{"key":"LiveOnLastMonthsIncome","value":"1"},{"key":"MasterCategoryRowColor","value":true},{"key":"MasterCategoryRowColorSelect","value":"#d1d1d6"},{"key":"MasterCategoryRowDarkColorSelect","value":"#636366"},{"key":"MemoAsMarkdown","value":false},{"key":"MonthlyNotesPopupWidth","value":false},{"key":"NavDisplayDensity","value":"2"},{"key":"NotesAsMarkdown","value":false},{"key":"POSStyleCurrencyEntryMode","value":false},{"key":"Pacing","value":false},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":false},{"key":"QuickBudgetWarning","value":false},{"key":"ReconcileAssistant","value":false},{"key":"ReconcileBalance","value":false},{"key":"ReconcileConfetti","value":true},{"key":"ReconciledTextColor","value":false},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":true},{"key":"ResetColumnWidths","value":true},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"1"},{"key":"RowsHeight","value":"1"},{"key":"SavingsRatio","value":"0.10"},{"key":"ScrollableEditMenu","value":false},{"key":"ShowAvailableAfterSavings","value":false},{"key":"ShowCategoryBalance","value":true},{"key":"SpareChange","value":false},{"key":"SplitTransactionAutoAdjust","value":true},{"key":"SplitTransactionAutoFillPayee","value":false},{"key":"SplitTransactionTabExpand","value":true},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":true},{"key":"StripedBudgetRows","value":false},{"key":"SubtractUpcomingFromAvailable","value":false},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"ToBeBudgetedWarning","value":false},{"key":"ToggleAccountColumns","value":false},{"key":"ToggleMasterCategories","value":true},{"key":"ToggleSplits","value":false},{"key":"ToggleTransactionFilters","value":"1"},{"key":"ToolkitReports","value":true},{"key":"UnclearedAccountHighlight","value":false},{"key":"ViewZeroAsEmpty","value":true}]

I'm experiencing the same issue. When I toggle TK off, it works. I went through all budget settings one by one and retested with no success.

+1  Same issue (using a Mac)

Having the same issue.
Error reported in DevTools
rollbar.min.js:1 Toolkit Error:
  - Feature: unknown
  - Feature Setting: unknown
  - Function: global
  - Message: (0 , toolkit_extension_utils_ynab__WEBPACK_IMPORTED_MODULE_1__.getBudgetService)(...).send is not a function TypeError: (0 , toolkit_extension_utils_ynab__WEBPACK_IMPORTED_MODULE_1__.getBudgetService)(...).send is not a function
    at HTMLDivElement.<anonymous> (chrome-extension://lmhdkkhepllpnondndgpgclfjnlofgjl/web-accessibles/ynab-toolkit.js:52249:90)
    at HTMLDivElement.dispatch (https://ynab-evergreen-assets.youneedabudget.com/ynab-api-production/23.50.7-hotfix/assets/ynab_web/assets/vendor.41a4ac80e02c449a65c92bf1d22fcd8d.js:26:39535)
    at v.handle (https://ynab-evergreen-assets.youneedabudget.com/ynab-api-production/23.50.7-hotfix/assets/ynab_web/assets/vendor.41a4ac80e02c449a65c92bf1d22fcd8d.js:26:37530)
e.<computed> @ rollbar.min.js:1
logToolkitError @ ynab-toolkit.js:20802
(anonymous) @ ynab-toolkit.js:19626
ynab-toolkit.js:52249 Uncaught TypeError: (0 , toolkit_extension_utils_ynab__WEBPACK_IMPORTED_MODULE_1__.getBudgetService)(...).send is not a function
    at HTMLDivElement.<anonymous> (ynab-toolkit.js:52249:90)
    at HTMLDivElement.dispatch (vendor.41a4ac80e02c449a65c92bf1d22fcd8d.js:26:39535)
    at v.handle (vendor.41a4ac80e02c449a65c92bf1d22fcd8d.js:26:37530)

I am seeing this same issue.

+1 same issue here

Same issue.

Encountering same issue.

For same reason (probably cache or cookies) it's fixed for me.
I was trying to debug the issue with Chrome DevTools and after refreshing while DevTools was open the master category fold started working again ¯_(ツ)_/¯ (refresh with devtools opened ignores cache) , for that reason I believe that clearing cache can help, at least helped for me and it's working fine again.

@diegoguimaraes I did include a fix for this in version 2.7.2 which was deployed this morning but Chrome hasn't accepted yet...so I'm not too sure how it's working for you if you're still on 2.7.1

I'm still on version 3.7.1 and even tried to update it after I saw a new release was available, but didn't work as you mentioned the probably reason. And the feature started working for me was actually yesterday Morning, but just remembered this thread and came back to share some feedback Today..

authors: JieqinT LsBrns RaptorX diegoguimaraes martij30 simplysteph smallbizwhiz tkitchings


text:
New(?) Feature: Spending Report transactions copy to clipboard

Explanation of Bugfix/Feature/Modification:
Adds an optional button to transaction inspect modal on Reports/Spending (and toolkit-reports/spending) to copy the transactions to the clipboard.
Could be considered duplicate of #780, happy to move both to a General option and make the code conditional based on routes with the modal present.

Added a more generic solution for this in #1881

source: gharchive/pull-request

authors: DrJam joshmadewell

repo: toolkit-for-ynab/toolkit-for-ynab

license: mit

license_type: permissive

license_source: bigquery


text:
🛑 Homelab (Cloudflare) is down

In 0968927, Homelab (Cloudflare) (https://cloud.toonstorytime.me) was down:

HTTP code: 502
Response time: 5900 ms

Resolved: Homelab (Cloudflare) is back up in b3ff6ed after 8 minutes.

source: gharchive/issue

repo: toonoeichi/site-uptime

license: MIT

license_source: github-api


text:
Errors when binding to a channel on a poxa server

When using poxa (from a Docker image), this error is reported each ping message that is received:
Listen error :  json: cannot unmarshal object into Go struct field Event.data of type string
Locallying, I changed Event.data to an interface{} and this works for my use case, but I suspect that might break other implementations.

Handling of Listener error:... is not good. I am getting a lot of "Listen error :  EOF" when server restarts connection. Totally legit case, but listener should return an error or just return. This way main program could handle connection restart.

authors: marccampbell oparex

repo: toorop/go-pusher


text:
Linux support regression: /usr/bin/env: ‘node\r’: No such file or directory

npx simple-pre-commit now returns an error on Linux systems:
/usr/bin/env: ‘node\r’: No such file or directory

Seems like the script has Windows \r\n symbols. Maybe we need to change some git settings.

Gonna look into this issue, thanks!

Yep, the problem was with windows delimeters. Should be fixed by now, but I haven't been able to widely test it.
Gonna leave the issue open for now

Tested latest version on linux, it seems, like the bug was fixed

authors: ai toplenboren

repo: toplenboren/simple-pre-commit


text:
Drop a PVC finalizer to delete pods

issue: topolvm/topolvm#526
Signed-off-by: Shinya Hayashi shinya-hayashi@cybozu.co.jp

@toshipp

https://github.com/topolvm/topolvm/pull/536/files#diff-6b58a5c82d93f021da0d7a434a9c487717fd238387e83248e58ab970735a64dbR19
This line is no longer needed.

From the link you shared, I could not understand to which line you metioned. Could you check the link, or tell me which line of which file I should remove?

It seems that a link to a folded line will be invalid...
// PersistentVolumeClaimReconciler reconciles a PersistentVolumeClaim object
type PersistentVolumeClaimReconciler struct {
	client.Client
	APIReader client.Reader // <- IIUC, this is unnecessary now
}

@toshipp

It seems that a link to a folded line will be invalid...

Thanks. I removed the line and a related code in pkg/topolvm-controller/cmd/run.go

@peng225 Please rebase commits, or merge this PR if you are happy with as-is.

@daichimukai @toshipp

Please rebase commits, or merge this PR if you are happy with as-is.

I squashed commits into two commits. (File contents are not changed.)
Please check it.

authors: daichimukai peng225 toshipp

repo: topolvm/topolvm


text:
Add .gdb_history for C and C++

Pull Request
Thank you for contributing to @toptal/gitignore and https://www.gitignore.io.
New or update
Select the appropriate check box for this pull request. This helps when merging to ensure there are no conflicts with other templates or misunderstandings of how thee template list works.
New

[ ] Template - New .gitignore template
[ ] Composition - Template made from smaller templates
[ ] Inheritance - Template similar to an existing template
[ ] Patch - Template extending functionality of existing template

Update

[x] Template - Update existing .gitignore template

Details
GDB (GNU debugger) is frequently used with C and C++, and it generates a .gdb_history file with a history of commands used n the folder you run it from.
It's a perfect candidate for putting into your .gitignore when doing C and C++ development.

Helo @randrej
Are you planning to apply the changes suggested by @macap ?

authors: filipechagas randrej

repo: toptal/gitignore


text:
Install pip packages on venv, as required for python 3.11.2-3 and beyond

Install pip packages on venv, as required for python 3.11.2-3 and beyond, present on the latest bookworm base images.
Signedf-off-by: Andre Riesco andre.riesco@toradex.com

LGTM

authors: andreriesco microhobby

repo: toradex/vscode-torizon-templates


text:
guard random functions for half

#606

It's a little nicer if you keep the order as is (more ifdef guards) imo; this makes it more likely that someone adding a new random function would miss adding the half functions.

authors: gchanan killeent

repo: torch/cutorch


text:
How do i delete draft version of document?

Hello, i did not found guide how to reset document to last published verision. How can i delete draft changes?

(Please use the Google group for support requests.)
Assuming you mean pages rather than documents - we don't currently provide a way to revert to an earlier version. This feature is in progress, at #640.

authors: gasman jungornti

repo: torchbox/wagtail


text:
TensorNET with CUDA Graphs and LangevinMiddleIntegrator fails

TensorNET with CUDA Graphs and LangevinMiddleIntegrator fails, while it works LangevinIntegrator.
Versions:

OpenMM 8.0
OpenMM-Torch master (https://github.com/openmm/openmm-torch/commit/2270256fed21c5ed045cc21b560931b171f5c863)
TorchMD-NET master (https://github.com/torchmd/torchmd-net/commit/fd8395463370c6b0510d4fe24b25d937382247a1) + https://github.com/torchmd/torchmd-net/pull/214
PyTorch 2.0.0

import numpy as np
from openmm import Context, LangevinIntegrator, LangevinMiddleIntegrator, Platform, System
from openmmtorch import TorchForce
import torch as pt
from torchmdnet.models.model import create_model

args = {"model": "tensornet",
        "embedding_dimension": 128,
        "num_layers": 2,
        "num_rbf": 32,
        "rbf_type": "expnorm",
        "trainable_rbf": False,
        "activation": "silu",
        "cutoff_lower": 0.0,
        "cutoff_upper": 5.0,
        "max_z": 100,
        "max_num_neighbors": 128,
        "equivariance_invariance_group": "O(3)",
        "prior_model": None,
        "atom_filter": -1,
        "derivative": False,
        "output_model": "Scalar",
        "reduce_op": "sum",
        "precision": 32 }
model = create_model(args)

n_atoms = 5
positions = np.random.randn(n_atoms, 3)
temperature = 300

class NNPForce(pt.nn.Module):

    def __init__(self, model, n_atoms):
        super().__init__()
        self.model = model
        self.register_buffer("zs", pt.ones(n_atoms, dtype=pt.long))

    def forward(self, positions):
        return self.model(self.zs, positions)[0]

for useCUDAgraphs in [False, True]:
    for integratorType in [LangevinIntegrator, LangevinMiddleIntegrator]:
        for set_velocities in [False, True]:

            system = System()
            for _ in range(n_atoms):
                system.addParticle(1)

            force = NNPForce(model, n_atoms)
            force = TorchForce(pt.jit.script(force))
            force.setProperty("useCUDAGraphs", "true" if useCUDAgraphs else "false")
            system.addForce(force)

            platform = Platform.getPlatformByName("CUDA")

            integrator = integratorType(temperature, 1, 0.001)

            context = Context(system, integrator, platform)
            context.setPositions(positions)
            if set_velocities:
                context.setVelocitiesToTemperature(temperature)

            energy = context.getState(getEnergy=True).getPotentialEnergy()
            print(useCUDAgraphs, integratorType.__name__, set_velocities, energy)

False LangevinIntegrator False 1.1890453100204468 kJ/mol
False LangevinIntegrator True 1.189045786857605 kJ/mol
False LangevinMiddleIntegrator False 1.1890454292297363 kJ/mol
False LangevinMiddleIntegrator True 1.1890456676483154 kJ/mol
[W ___torch_mangle_13.py:45] Warning: CUDA graph capture will lock the batch to the current number of samples (1). Changing this will result in a crash (function )
True LangevinIntegrator False 1.189045786857605 kJ/mol
[W ___torch_mangle_13.py:45] Warning: CUDA graph capture will lock the batch to the current number of samples (1). Changing this will result in a crash (function )
True LangevinIntegrator True 1.1890455484390259 kJ/mol
[W ___torch_mangle_13.py:45] Warning: CUDA graph capture will lock the batch to the current number of samples (1). Changing this will result in a crash (function )
True LangevinMiddleIntegrator False 0.0 kJ/mol
[W ___torch_mangle_13.py:45] Warning: CUDA graph capture will lock the batch to the current number of samples (1). Changing this will result in a crash (function )
[W manager.cpp:335] Warning: FALLBACK path has been taken inside: runCudaFusionGroup. This is an indication that codegen Failed for some reason.
To debug try disable codegen fallback path via setting the env variable `export PYTORCH_NVFUSER_DISABLE=fallback`
 (function runCudaFusionGroup)

OpenMMException: CUDA error: operation failed due to a previous error during capture
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Exception raised from c10_cuda_check_implementation at /home/conda/feedstock_root/build_artifacts/pytorch-recipe_1693188735407/work/c10/cuda/CUDAException.cpp:44 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string, std::allocator >) + 0x68 (0x7f2a12b62bd8 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/lib/python3.11/site-packages/torch/lib/libc10.so)
frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__cxx11::basic_string, std::allocator > const&) + 0xf3 (0x7f2a12b288c9 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/lib/python3.11/site-packages/torch/lib/libc10.so)
frame #2: c10::cuda::c10_cuda_check_implementation(int, char const*, char const*, int, bool) + 0x3e4 (0x7f2a12beb464 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/lib/python3.11/site-packages/torch/lib/libc10_cuda.so)
frame #3: at::cuda::CUDAGraph::capture_end() + 0xc2 (0x7f29c19735e2 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/lib/python3.11/site-packages/torch/lib/libtorch_cuda.so)
frame #4:  + 0x9011 (0x7f2b2000a011 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/lib/plugins/libOpenMMTorchCUDA.so)
frame #5: OpenMM::ContextImpl::calcForcesAndEnergy(bool, bool, int) + 0xc9 (0x7f2a14cc7789 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/lib/python3.11/site-packages/openmm/../../../libOpenMM.so.8.0)
frame #6: OpenMM::Context::getState(int, bool, int) const + 0x15e (0x7f2a14cc4e5e in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/lib/python3.11/site-packages/openmm/../../../libOpenMM.so.8.0)
frame #7:  + 0x12d9d4 (0x7f2a150d99d4 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/lib/python3.11/site-packages/openmm/_openmm.cpython-311-x86_64-linux-gnu.so)
frame #8:  + 0x12de69 (0x7f2a150d9e69 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/lib/python3.11/site-packages/openmm/_openmm.cpython-311-x86_64-linux-gnu.so)
frame #9:  + 0x1ffde8 (0x563234441de8 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #10: _PyObject_MakeTpCall + 0x25b (0x56323442207b in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #11: _PyEval_EvalFrameDefault + 0x7d2 (0x56323442e992 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #12:  + 0x2a4d36 (0x5632344e6d36 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #13: PyEval_EvalCode + 0x9f (0x5632344e63ef in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #14:  + 0x2bbbae (0x5632344fdbae in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #15: _PyEval_EvalFrameDefault + 0x3d32 (0x563234431ef2 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #16:  + 0x2b8a79 (0x5632344faa79 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #17: _PyEval_EvalFrameDefault + 0x33c0 (0x563234431580 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #18:  + 0x2b8a79 (0x5632344faa79 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #19: _PyEval_EvalFrameDefault + 0x33c0 (0x563234431580 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #20:  + 0x2b8a79 (0x5632344faa79 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #21:  + 0x2b9647 (0x5632344fb647 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #22:  + 0x217839 (0x563234459839 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #23: PyObject_Vectorcall + 0x2c (0x56323443b5bc in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #24: _PyEval_EvalFrameDefault + 0x7d2 (0x56323442e992 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #25:  + 0x22fc74 (0x563234471c74 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #26:  + 0x22f673 (0x563234471673 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #27: PyObject_Call + 0xa1 (0x56323445ad71 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #28: _PyEval_EvalFrameDefault + 0x4327 (0x5632344324e7 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #29:  + 0x2b8a79 (0x5632344faa79 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #30: _PyEval_EvalFrameDefault + 0x33c0 (0x563234431580 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #31:  + 0x2b8a79 (0x5632344faa79 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #32: _PyEval_EvalFrameDefault + 0x33c0 (0x563234431580 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #33:  + 0x2b8a79 (0x5632344faa79 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #34: _PyEval_EvalFrameDefault + 0x33c0 (0x563234431580 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #35:  + 0x2b8a79 (0x5632344faa79 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #36: _PyEval_EvalFrameDefault + 0x33c0 (0x563234431580 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #37:  + 0x2b8a79 (0x5632344faa79 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #38:  + 0x78a2 (0x7f2b46eaa8a2 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/lib/python3.11/lib-dynload/_asyncio.cpython-311-x86_64-linux-gnu.so)
frame #39:  + 0x1fe7ea (0x5632344407ea in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #40:  + 0x199b2f (0x5632343dbb2f in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #41:  + 0x19baa4 (0x5632343ddaa4 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #42:  + 0x1f96cf (0x56323443b6cf in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #43: _PyEval_EvalFrameDefault + 0x8fa1 (0x563234437161 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #44:  + 0x2a4d36 (0x5632344e6d36 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #45: PyEval_EvalCode + 0x9f (0x5632344e63ef in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #46:  + 0x2bbbae (0x5632344fdbae in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #47:  + 0x1f96cf (0x56323443b6cf in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #48: PyObject_Vectorcall + 0x2c (0x56323443b5bc in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #49: _PyEval_EvalFrameDefault + 0x7d2 (0x56323442e992 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #50: _PyFunction_Vectorcall + 0x181 (0x563234451121 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #51:  + 0x2ce0c8 (0x5632345100c8 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #52: Py_RunMain + 0x139 (0x56323450fa39 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #53: Py_BytesMain + 0x37 (0x5632344d4f97 in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)
frame #54:  + 0x29d90 (0x7f2b48c29d90 in /lib/x86_64-linux-gnu/libc.so.6)
frame #55: __libc_start_main + 0x80 (0x7f2b48c29e40 in /lib/x86_64-linux-gnu/libc.so.6)
frame #56:  + 0x292e3d (0x5632344d4e3d in /scratch/users/raimis/opt/mambaforge/envs/tmp-atom-2/bin/python)

Most likely, it is some memory corruption in TorchForce, LangevinMiddleIntegrator, or somewhere else.

@RaulPPelaez @peastman any ideas?

I agree, it sounds like memory corruption.  The choice of integrator shouldn't matter at all.  Probably it's just perturbing the memory layout or something similar, which changes whether the corruption leads to a crash.
Did you try the suggestions in the error message?

For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

You could also try the CUDA compute sanitizer tool to check for errors.

Can you try another integrator? I have a feeling its completely unrelated to LangevinMiddleIntegrator

Did you try the suggestions in the error message?

CUDA_LAUNCH_BLOCKING=1 doesn't change anything. I cannot recompile PyTorch with TORCH_USE_CUDA_DSA

You could also try the CUDA compute sanitizer tool to check for errors.

I will

Can you try another integrator? I have a feeling its completely unrelated to LangevinMiddleIntegrator

As shown, LangevinIntegrator works as expected

I tried changing the order in your loop, but it seems to consistently fail only with LangevinMiddleIntegrator.
The error itself suggests and the warning suggests that different code is being captured in the last case. I do not see how that can happen in this case...
The previous test returns 0, maybe some CUDA error is set then and the next one is just picking it up.

It happens even you if run it alone.

This is fixed in my machine by adding a syncrhonization after graph replay in OpenMM-Torch here:
https://github.com/openmm/openmm-torch/blob/2270256fed21c5ed045cc21b560931b171f5c863/platforms/cuda/src/CudaTorchKernels.cpp#L239-L241
I am guessing the particular integrator tries to run something using forces/energies in another stream too soon, which is causing some race condition.
Let me see how I can reduce the impact of this sync and I will PR.

@RaulPPelaez thank you for your effort! I confirm the issue is fixed. The fix will be released with OpenMM-Torch 1.4.

authors: RaulPPelaez peastman raimis

repo: torchmd/torchmd-net


text:
change @prices to esm

closes https://github.com/torin-asakura/shdvor/issues/68

@Nelfimov

можем оставить prettier в руте? у меня он только так работает

Ты тестировал приложение?

занимаюсь

@Nelfimov

node-cron просит __dirname
нашел аналогичный пакет - https://www.npmjs.com/package/cron
будем менять или есть другие способы, как это можно исправить?

log
➤ YN0000: ┌ Service Development
➤ YN0000: │  Starting server...
➤ YN0000: │  webpack-internal:///../.yarn/berry/cache/node-cron-npm-3.0.3-fd539f5b81-10.zip/node_modules/node-cron/src/background-scheduled-task/index.js:6
➤ YN0000: │  const daemonPath = `${__dirname}/daemon.js`;
➤ YN0000: │                     ^
➤ YN0000: │  ReferenceError: __dirname is not defined in ES module scope
➤ YN0000: │  This file is being treated as an ES module because it has a '.js' file extension and '/home/operator/work/atls_shdvor/prices/service-entrypoint/package.json'
➤ YN0000: │  contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
➤ YN0000: │      at eval (webpack-internal:///../.yarn/berry/cache/node-cron-npm-3.0.3-fd539f5b81-10.zip/node_modules/node-cron/src/background-scheduled-task/index.js:6:20)
➤ YN0000: │      at ../.yarn/berry/cache/node-cron-npm-3.0.3-fd539f5b81-10.zip/node_modules/node-cron/src/background-scheduled-task/index.js
➤ YN0000: │  (file:///home/operator/work/atls_shdvor/prices/service-entrypoint/dist/index.js:1778:1)
➤ YN0000: │      at __webpack_require__ (file:///home/operator/work/atls_shdvor/prices/service-entrypoint/dist/index.js:17617:32)
➤ YN0000: │      at fn (file:///home/operator/work/atls_shdvor/prices/service-entrypoint/dist/index.js:17779:20)
➤ YN0000: │      at eval (webpack-internal:///../.yarn/berry/cache/node-cron-npm-3.0.3-fd539f5b81-10.zip/node_modules/node-cron/src/node-cron.js:4:33)
➤ YN0000: │      at ../.yarn/berry/cache/node-cron-npm-3.0.3-fd539f5b81-10.zip/node_modules/node-cron/src/node-cron.js
➤ YN0000: │  (file:///home/operator/work/atls_shdvor/prices/service-entrypoint/dist/index.js:1848:1)
➤ YN0000: │      at __webpack_require__ (file:///home/operator/work/atls_shdvor/prices/service-entrypoint/dist/index.js:17617:32)
➤ YN0000: │      at fn (file:///home/operator/work/atls_shdvor/prices/service-entrypoint/dist/index.js:17779:20)
➤ YN0000: │      at eval (webpack-internal:///./prices/service-entrypoint/src/bootstrap.ts:31:37)
➤ YN0000: │      at ./prices/service-entrypoint/src/bootstrap.ts (file:///home/operator/work/atls_shdvor/prices/service-entrypoint/dist/index.js:2718:1)
➤ YN0000: │  Node.js v19.9.0

Давай попробуем с аналогом

@Nelfimov а я могу узнать вот этот параметр, чтобы запустить тест с локалки?
export const API_URL = process.env.API_URL

@effektivnayarabota1 https://api.aqsi.ru/pub/v2

@Nelfimov aqsi настроить себе под тесты или могу также подключить наш ключ, чтобы использовать готовые данные?

Завтра с утра напомни

Завтра с утра напомни

напоминаю

Завтра с утра напомни

напоминаю

Мне проще будет локально запустить. Приведи в порядок ветку и маякуй - отпишусь по статусу запуска

все готово

@effektivnayarabota1 подтверждаю - работает. Причесывай и отдавай на ревью

repo: torin-asakura/shdvor


text:
Site backbone

С чем связан запрос на фичу?
Сверстать каркас для сайта
Дизайн
Расскажите как вы это себе видите
Структура проекта:
- site
|_ index-page
|_ *-fragment
|_ *-fragment
|_ *-fragment
Все фрагменты и страницы - внутри папки site по маске выше
Выполнять по порядку, на каждый пункт делать коммит

[x] Разделить сайт на фрагменты (создать для каждого фрагмента по воркспейсу, без кода)
[x] Создать пакет с главной страницей (index-page). Она будет отдаваться по роуту / (export { default } from '@site/index-page'). Как пруф что все работает - отрисовать что-нибудь
[ ] Сверстать скелет для фрагментов и разместить их на странице. Это должны быть контейнеры, в которых потом будет размещаться контент. В будущем, код написанный на этой стадии не должен меняться

Приложите примеры реализаций
https://github.com/torin-asakura/misik/tree/master/landing

@TFK70

"Сверстать скелет для фрагментов и разместить их на странице. Это должны быть контейнеры, в которых потом будет размещаться контент. В будущем, код написанный на этой стадии не должен меняться"  - на этом этапе должен быть скелет только для index-page или для всех страниц (страница Контакты, Блог, Услуги и тд)?

@TFK70

"Сверстать скелет для фрагментов и разместить их на странице. Это должны быть контейнеры, в которых потом будет размещаться контент. В будущем, код написанный на этой стадии не должен меняться"  - на этом этапе должен быть скелет только для index-page или для всех страниц (страница Контакты, Блог, Услуги и тд)?

Для всех

repo: torin-asakura/shinny-dvor


text:
[Feature]: Add emotion position function types

Package Scope

[x] Add to an existing package
[ ] New package

Package name: react/emotion-utils
Overview

I want to like code like this position({top:10,bottom:8})
But position function did not support this type.
Describe the solution you'd like

I want to add this code.
export function position(coordinates: Coordinates): SerializedStyles;`

  const [top, right, bottom, left] = (() => {
    // position(coordinates)
    if (typeof positionOrTopOrCoordinates === 'object') {
      return [
        positionOrTopOrCoordinates.top,
        positionOrTopOrCoordinates.right,
        positionOrTopOrCoordinates.bottom,
        positionOrTopOrCoordinates.left,
      ];
    }

and test code
  it('position({top: 0, left: 0})', () => {
    const { getByTestId } = render(
);

    const el = getByTestId('test');

    expect(el).toBeInTheDocument();

    expect(el).toHaveStyleRule('top', '0');
    expect(el).not.toHaveStyleRule('bottom', '0');
    expect(el).not.toHaveStyleRule('right', '0');
    expect(el).toHaveStyleRule('left', '0');
  });

Additional context

I think toss team may not agree my opinion. So I open an issue, not pr. Thank you

You can use position() util as you want, by specifying the value of position property:

Do you feel the same difficulty when you use position() like above?

In general, but there are exceptions.
I am making Tooltip component. This is my code. I don't want duplicate absolute.
But it may be my own thoughts.
  const getArrowPositions = useCallback(() => {
    switch (position) {
      case 'top-start':
        return css`
          &::after {
            ${theme.position({ bottom: 0, left: ARROW_WIDTH })}
            margin-bottom: -${ARROW_WIDTH}px;
            ${topBorderColor}
          }
        `;
      case 'top':
        return css`
          &::after {
            ${theme.position({ bottom: 0, left: '50%' })}
            margin-left: -${ARROW_HEIGHT}px;
            margin-bottom: -${ARROW_WIDTH}px;
            ${topBorderColor}
          }
        `;
    // skip
  },[]);

        {title}

In your case It looks needed. @raon0211 @changyoungoh Any opinion?

In my opinion, since top, left, bottom, and right have no effect when position is not given, they should always go together.
So in the source code above, every call to position should include 'absolute' in the first argument.
  const getArrowPositions = useCallback(() => {
    switch (position) {
      case 'top-start':
        return css`
          &::after {
            ${theme.position('absolute', { bottom: 0, left: ARROW_WIDTH })}
            margin-bottom: -${ARROW_WIDTH}px;
            ${topBorderColor}
          }
        `;
      case 'top':
        return css`
          &::after {
            ${theme.position('absolute', { bottom: 0, left: '50%' })}
            margin-left: -${ARROW_HEIGHT}px;
            margin-bottom: -${ARROW_WIDTH}px;
            ${topBorderColor}
          }
        `;
    // skip
  },[]);

Otherwise, we might forget the implicit connection between position and top in the long run. Accidentally deleting position: absolute in the component will result in broken code.

I agree and understand what you concerned about, but I think the important point of this issue is we have already allowed using it without position:
css`
  position: fixed;
  ${position(0, 0, 0, 0)}
`

So @yoonminsang and others can be confused about why all coordinates should be passed and I think this issue also derived from it.

But I think we don't have to support this need at the library level, because we have been using this position utility for a long time but we couldn't see any needs like this issue.
Therefore my suggestion is, simply to add the custom function below to your project and use it:
function absolute(coordinates: Coordinates) {
  return position('absolute', coordinates)
}

absolute({ top, bottom });

@yoonminsang How about this?

Yes, I agree in @HoseungJang ’s opinion. And I think we should deprecated the API where the actual position is omitted.

Thank you for comments. I agree.
If you think you need an absolute, fixed, sticky function, I will open pr. Otherwise, I will close this issue.

I think it will be nice to have absolute, fixed, sticky functions in our emotion utils. cc. @HoseungJang

It also looks great to me. I would like to add those new utils to position's property. What do you think? @raon0211 @yoonminsang
import { position } from '@toss/emotion-utils';

position.absolute({ top, left });
position.fixed({ top, left, right, bottom });
/* ... */

I agree.

I agree too.
It is different from the content of the issue I posted.
Shall I write the code? Or will @HoseungJang  write it?

@yoonminsang I hope you to write the code. Could you help us?

Of course. Thank you~
Maybe I can upload the work tomorrow or day after tomorrow night.

Thanks. Take your time!

We have to make a few choices. @raon0211 @HoseungJang

Support only absolute, fixed, sticky vs Support 'static', 'relative', 'absolute', 'fixed', 'sticky', '-webkit-sticky'
Support only position.absolute({top:0,bottom:0}) vs Support position.absolute(0,0,0,0)

I'll upload whatever you want.

I think we can just support absolute, fixed, sticky. Because other values are not used with top, left, right and bottom in general.
I think it would be great to support the both interfaces.

authors: HoseungJang raon0211 yoonminsang

repo: toss/slash


text:
Movie path is wrong after calling RadarrAPIv3.add_movie

Movie path should be {root_dir}/{movie_title} instead of {root_dir}{movie_title} (notice the slash). I don't think that my Radarr is improperly setup, but maybe most people have the trailing slash included in their root dir. An easy fix would be to use os.path.join. This can easily be patched by just explicitly stating the root dir when calling the function though.
Also, using Radarr's "Movie Folder Format" setting (advanced option under Settings -> Media Management) would be ideal, but I'm not sure that Radarr's API could facilitate that.

Upon further investigation it appears that the /config/naming endpoint would be useful to get the movie folder format setting.

Thanks for logging this, the quick fix is like you say to just use os.path, however I would like to use the naming config as you found later on. However i'm trying to figure out how to convert the naming params into a path as the params available in the UI dont match the API, i may need to add some conversion to the correct value.

I'll look into this if I find some time as well.

I did some testing and its possible to just use rootFolderPath then Radarr will name the folder appropriately.

repo: totaldebug/pyarr


text:
Restart perdown

It would be also nice if we gave the user the ability to restart the countdown timer (i.e. by clicking inside the circle).
Apparently, this might me needed in particular cases, so, once again, it should be implemented as a boolean attribute (i.e. reset: true).

Closed with #34


text:
Device Volume too low

First up, my kudos for this project.
An issue i have is with the ESP32-S3-BOX-3 devices speaker volume, which is way too low, as in noticeable only if the room is dead silent. Web research seems to indicate that its not specific to willow. The question how to increase speaker volume comes up eg on esphome as well. I tested with two brand new devices which i flashed with willow first thing (ie before going through preinstalled demo, whatever). The two have an ever so slight difference in volume.
Im thinking the setting in WAS config server might be a relative "channel" volume to some other "total/overall" volume the latter of which would then be very low.
Whatever the cause, despite research, i am unable to get the volume up such that for all practical means, there is no audio.
Maybe somebody has a hint... ?
Thanks.
for comparison:
https://github.com/esphome/firmware/issues/139

Tbh even if that were the case, i don't think the shaker will ever reach a volume level that users find "practically usable", ie on par with Google home or Alexa. Those devices have much larger and more purpose built speakers whereas the speaker in the esp box is tiny. On the esp box i have to keep my volume at 90 or else the audio actually distorts, and even at 90 while it is loud it's not as loud as a normal speaker.

Tbh even if that were the case, i don't think the shaker will ever reach a volume level that users find "practically usable", ie on par with Google home or Alexa. ...

unrelated isn't it ?

Not sure what you mean? It has audio, and it's audible, but no amount of software changing is gonna fix the physical limitations of the speaker, that'd something espressif would have to address with the box 3. That said users also do mods where they create their own s3 devices and add their own audio dac/speakers and such, that just isn't supported or if the box with the s3.

Nope: "way too low, as in noticeable only if the room is dead silent" is not about the physical limitations.
What the actual cause is is unclear. But eg the "location" alert is quite audible. No tin the sense of a firealarm, but perfectly ok for the size of the device. Ordinary people can make an educated guess on that topic.
And the "for comparison: https://github.com/esphome/firmware/issues/139" section also does not speak about fixing hardware. In their case it was an issue with a newer version of the idf.. or the use of that. Issue tbd. Either way, fixable by software.
Dont get me wrong i'm not trying to make willow responsible, nor their team: "Maybe somebody has a hint... ?" Thats what i'm asking for here in a project i'm eager to get into (as a user) and provide feedback and that's likely gathering similar minded people with probably similar problems. If this would be the place to find that answer to that shared issue on google... sure a great thing.
So if this is a place where audio volume on ESP32-S3-BOX-3 can / should be discussed, let it happen. If not, just close it and i'll look somewhere else.

Yeah no problem, just trying to understand what is being described, as mine is so loud it distorts sometimes. I'd put a clip but gh only allows 10mb and the video is 98 mb evidently. 😄
Are you saying yours is so quiet that even in a silent room you can't hear it? If so that's sounds like a different problem, as we have plenty of users that use the audio and have not reported this. Could be defective hardware even 🙁

Video example:
https://photos.app.goo.gl/dZn3QMKvL5ZwfLTz9

"Are you saying yours is so quiet that even in a silent room you can't hear it?"
There is a chance to notice that something is being said. But there is no chance that you'd be able to hear enough to understand what was said.
2x defective HW while the "locate my device" alert is audible.. possible but unlikely. Also, others see similar problems in principle. So i'm thinking it may be along the lines of https://github.com/esphome/issues/issues/5791#issuecomment-2123245127

Ah i actually saw that issue playing with home assistant. Thing is though as far as i am aware willow isn't using that version of esp idf.

One other thought, are you flashing via Web flasher or by compiling and flashing locally?

Flashed using web flasher.
I'm not sure about it but iirc esphomes case is such that if you stay <= 4.4.6 they are ok and they haven't arrived at 5.X yet. Willow has reached >4.4.6 in September 2023. I'm running a local WIS instance. Would the system work with a Willow compiled of September 23 IDF <=4.4.6 to test ? ANd if yes how would i do that ?

Heres some magic... It just started working. But dont ask me what made it... I did not change volume setting. If anything i was playing around with custom_settings.py. Trying to change language - and back. sv on/off, chat on.

Seems magic question is resolved.
A total shutdown / power out of the device was necessary.
On one of the two, the half charged battery died overnight. That one started working when it was recharged.
The other one i just physically disconnected for an unrelated cause. After starting back up it started working.
For clarification... i did multiple resets and such in between. Those did not help.
So it seems it is necessary to: flash, configure, restart, really power off (dead) and restart.

We did see that before, some weird quirk with the boxes. I usually suggest that to users having trouble, didn't cross my mind this time 😅

authors: ccsmart nikito

repo: toverainc/willow


text:
[Bug]: iterators.py exception AttributeError: 'NoneType' object has no attribute 'get'

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When I trigger:
embedding_pipeline = pipeline('towhee/audio-embedding-vggish')
vecs = embedding_pipeline(str(audio_path))
sequentially 50 times it works as expected.
If we run 50 requests in 4 parallel jobs getting the following exception:
Traceback (most recent call last):
File "/root/.towhee/./fingerprint.py", line 58, in main_func
vecs = embedding_pipeline(str(audio_path))
File "/usr/local/lib/python3.8/dist-packages/towhee/init.py", line 104, in call
return format_handler(out_df)
File "/usr/local/lib/python3.8/dist-packages/towhee/pipeline_format.py", line 57, in call
for data in itr:
File "/usr/local/lib/python3.8/dist-packages/towhee/dataframe/iterators.py", line 104, in next
code, row, _ = df.get(self._offset, count = self._batch_size, iter_id = self._id)
AttributeError: 'NoneType' object has no attribute 'get'
Expected Behavior
Expected the pipeline to process the files in parallel and apply locks on any shared resources or not to have shared resources between processing different input files.
Steps To Reproduce
1. Take a mono 16000 Mhz wav file.
2. use embedding_pipeline = pipeline('towhee/audio-embedding-vggish')
3. Execute embedding_pipeline in parallel many times.
We did it by wrapping the code into FastAPI endpoint and curl the endpoint in parallel.

Environment
- Towhee version(e.g. v0.1.3 or 8b23a93): 0.6.1
- OS(Ubuntu or CentOS): Ubuntu 20.04
- CPU/Memory: 4CPU, 8 GB Memory
- GPU: none
- Others: Inference on aws Inf1 instance.

Anything else?
No response

@filip-halt  #823   in this pr, the GraphContext.result()  returns an iterator, not a dataframe, the iter only has df's weakref, when the GraphContext destroy, all dfs will be destroyed too, so the iter gets the None not the df.

@filip-halt here is the fingerprint.py script : fingerprint.py.txt
save it to file and then you can execute it
uvicorn fingerprint:app --port=8000 --reload --workers=4
to call it in parallel:
xargs -I % -P 4 curl -w "@curl-format.txt" -o /dev/null  --request POST 'http://localhost:8000/fingerprint' \ --header 'Content-Type: application/json' \ --data-raw '{     "audio_path":"{full path to your test file}",     "output_path":"{full path to output json file it will save}" }' < <(printf '%s\n' {1..50})

@filip-halt I have tested the fix by applying the same changes on local. How would you recommend to get the latest changes? When is the plan for next tag 0.6.2 ?

@sberenson
I think you could use the version on "test pypi" temporarily before 0.6.2 using the following command:
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple towhee==0.6.2.dev46

authors: binbinlv junjiejiangjjj sberenson

repo: towhee-io/towhee


text:
[Documentation]: How can I extract picture for towhee by io

Is there an existing issue for this?

[X] I have searched the existing issues

What kind of documentation would you like added or changed?
I am using towhee to extract picture, but according to demo, it just can extract by url， as below code:
class ResNet50:
def init(self):
self.pipe = (towhee.dummy_input()
.image_decode()
.image_embedding.timm(model_name='resnet50')
.tensor_normalize()
.as_function()
)
#图片路径即url解压为向量
# @staticmethod
def resnet50_extract_feat(self, img_path):
feat = self.pipe(img_path)
if isinstance(feat, _Reason):
raise feat.exception
return feat
if name=='main':
c = ResNet50()
vector = c. resnet50_extract_feat(https://XXXXXXXXXXX)
how can I extract by io, maybe like code as below:
if name=='main':
with open(r'd:\abc\123.jpg','rb')as file:
pic_io = file
c = ResNet50()
vector = c. resnet50_extract_feat(pic_io)
Why is this needed?
when client upload a picture, server receive a picture which is io. I prefer extract picture for io rather than  save picture first and extract a picture path
Anything else?
No response

by bytes both ok

Try this
import cv2
import numpy as np

import towhee
from towhee.types import Image

def decode(content):
    arr = np.asarray(bytearray(content), dtype=np.uint8)
    return Image(cv2.imdecode(arr, -1), 'BGR')

pipe = (towhee.dummy_input()
        .runas_op(decode)
        .image_embedding.timm(model_name='resnet50')
        .tensor_normalize()
        .as_function()
)

with open('image_path', 'rb') as f:
    content = f.read()
    print(pipe(content))

@sulmz
is it ok now?

Try this
import cv2
import numpy as np

import towhee
from towhee.types import Image

def decode(content):
    arr = np.asarray(bytearray(content), dtype=np.uint8)
    return Image(cv2.imdecode(arr, -1), 'BGR')

pipe = (towhee.dummy_input()
        .runas_op(decode)
        .image_embedding.timm(model_name='resnet50')
        .tensor_normalize()
        .as_function()
)

with open('image_path', 'rb') as f:
    content = f.read()
    print(pipe(content))

thank you very much! it is work

@sulmz is it ok now?

yes

authors: binbinlv junjiejiangjjj sulmz


text:
[Documentation]: Document for DataCollection API

Is there an existing issue for this?

[X] I have searched the existing issues

What kind of documentation would you like added or changed?
We need some systematic introduction to the DataCollection API:

[ ] get-started;

[x] quick start;
[x] real-world examples; @shiyu22 @Chiiizzzy @reiase

[ ] user guide;

[x] core API;
[x] exception handling;
[x] parallel execution;
[ ] tabular data processing;

[x] API documents;

Why is this needed?
No response
Anything else?
No response

@fzliu @soulteary

create a new issue for the get started document for tabular data #1006


text:
Add the metrics for trainer.

Signed-off-by: wxywb xy.wang@zilliz.com

Codecov Report

Merging #509 (c3f38da) into training (05f261c) will increase coverage by 0.82%.
The diff coverage is 96.80%.

@@             Coverage Diff              @@
##           training     #509      +/-   ##
============================================
+ Coverage     57.66%   58.49%   +0.82%
============================================
  Files           150      151       +1
  Lines          5783     5908     +125
  Branches        846      848       +2
============================================
+ Hits           3335     3456     +121
- Misses         2230     2234       +4
  Partials        218      218

Impacted Files
Coverage Δ

towhee/trainer/metrics.py
96.80% <96.80%> (ø)

Continue to review full report at Codecov.

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

/lgtm

/lgtm

/approve

authors: codecov-commenter oneseer wxywb zc277584121


text:
Removes 3 and 3.12 classifiers

Re: https://github.com/hugovk/pepotron/pull/44
The pyproject-fmt upgrade from 0.10.0 → 0.13.0 removes these classifiers:
  "Programming Language :: Python :: 3",
...
  "Programming Language :: Python :: 3.12",

Looks like this was introduced by https://github.com/tox-dev/pyproject-fmt/pull/90 in https://github.com/tox-dev/pyproject-fmt/releases/tag/0.11.0.
Interestingly, when I run it locally on macOS, only the first one is removed; the 3.12 one is left alone.
I'd like to keep these classifiers, especially the 3.12 one.

I don't see value in the 3 only version with 2 EOL. For 3.12 to be added you need tox to be present https://github.com/tox-dev/pyproject-fmt/blob/main/src/pyproject_fmt/formatter/project.py#L25 to know if 3.12 support is declared or not. A PR that would allow setting the max py version via some toml config is welcome.

Aha, thanks, I have tox installed locally, hence the difference with the CI.
We can add tox as an additional_dependencies for pyproject-fmt in pre-commit and it'll detect the 3.12 version:
https://github.com/hugovk/pepotron/pull/44/commits/ae578105c6db3a52a5e063165b539af106746721
So that's good enough for me. Thanks!

I am trying to upgrade several projects for Python 3.12 (SCHEDULED TO SHIP TOMORROW) and pre-commit keeps removing Python 3.12 from the trove classifiers.  Not all projects use tox nor should the be forced to use tox to properly format their pyproject.toml files.

I don't see value in the 3 only version with 2 EOL. For 3.12 to be added you need tox to be present main/src/pyproject_fmt/formatter/project.py#L25 to know if 3.12 support is declared or not. A PR that would allow setting the max py version via some toml config is welcome. This project will assume max is 3.11 until 3.12.0 is released.

authors: cclauss gaborbernat hugovk

repo: tox-dev/pyproject-fmt


text:
🛑 API is down

In abd4c13, API (https://api.banland.xyz/) was down:

HTTP code: 502
Response time: 4314 ms

Resolved: API is back up in 42e8163 after 16 minutes.

repo: tp-link-extender/status

license: Unlicense


text:
[feat] Display deployment components detail

Is your feature request related to a problem? Please describe.
It would be great to be able to display deployment details from "Deployment status" page or deployment record detail
Describe the solution you'd like

Partially developed !

repo: tprouvot/Chrome-Salesforce-inspector


text:
🛑 Tpx GT is down

In 0c19090, Tpx GT (https://tpx.gt/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tpx GT is back up in d238fea.

repo: tpxGeo/upptime


text:
Image directory problem for imageAsset()

I'm trying to print image from my android device.
In this doc it is instructed to store image on this path android/app/src/main/assets. So I have used expo MediaLibrary for download and store the image on android/app/src/main/assets path.
My actual image path is file:///storage/emulated/0/android/app/src/main/assets/1634020369600.png
And I am calling the the print function like that.
printing.initialize().imageAsset('634020369600.png', 200);

This is the error that I am getting:
{
"nativeStackAndroid":[],
"userInfo":null,
"message":"1634020369600.png",
"code":"EUNSPECIFIED",
"line":2760,"
column":45,
"sourceURL":"http://localhost:8081/index.bundle?platform=android&dev=true&minify=false"
}

It will be very much helpful if anyone can solve what I am missing.

Yes I need to print an remote image, but I have found that this package doesn't support remote image print, thats why I am trying to download and print the image.

Sure thing, give me some times. I am on it.

sorry I accidentally, closed the issue.

@tr3v3r
I was about to give you huge thanks, becuase I did also printed successfully.
But there is a big problem. I want to print this kind of invoice.

But look at this, this is the size if have printed with.
 .imageBase64(image, 630)

Can I print the original height and width?

@kamal-hossain Thanks to you too for the help!
Just released a new version to npm.
https://www.npmjs.com/package/react-native-esc-pos-printer

@kamal-hossain no final app size will fine) we’ve already using it’s in production for iOS and Android

@tr3v3r
Have you done anything for Remote image?


text:
部員認証のラジオボタン切り替え時エラーの修正

なぜやるか
closes #875
やったこと
部員認証方法選択ではラジオボタンコンポーネントが使用されている。
このラジオボタンコンポーネント自体はstring型の入力にしか対応していないため、enum(=number)で表されていたAuthenticationTypeを扱えるようにするため、認証方法変更時に変換処理を挟んでいる。
しかし、modular formsによって自動生成されるonChange関数なども一緒に設定されてしまっていたために、modular forms側での変換処理も実施されてしまい、設定値がNaNになってしまっていた。
modular fomrsによって自動作成されるcallback関数を削除することで、正しく動作するよう修正した。

直っているっぽいのは確認しました
modular-formsのFieldから渡されるfieldPropsは無視してもいいんでしょうか...？（こう書いてあるので確信が持てなかった）
https://modularforms.dev/solid/api/FieldElementProps#:~:text=The properties must be passed to an HTML <input />%2C <textarea /> or <select /> element. It is intended to use the spread syntax for this.

modular forms側での変換処理

これって具体的にどんな処理ですか？あとその変換処理のドキュメントってどこかにありますか？
質問ばかりですまない 🙏

(僕も内部実装ちゃんと深くまで追えずに作業しちゃってました :pray: )

modular-formsのFieldから渡されるfieldPropsは無視してもいいんでしょうか...？

確かにこれを全部消しちゃうのはよくなかったかもです(fieldのdirtyなどの状態更新がこれらを使って実行されている)
具体的な不具合の原因は、

認証方法フィールドの設定値の型はAuthenticationType (enum (=number))になっているため、Fieldコンポーネントのtypeに"number"を設定する必要がある(しないと型エラー)
ラジオグループでの入力時にfieldProps.onInputが実行されるが、type="number"を指定しているのでフィールドの入力としてinput.valueAsNumberが使用される

fieldProps.onInput (https://github.com/fabian-hiller/modular-forms/blob/23f613f987a205735ebe35c57d2435ae4cc65a49/packages/solid/src/components/Field.tsx#L153-L162)
https://github.com/fabian-hiller/modular-forms/blob/23f613f987a205735ebe35c57d2435ae4cc65a49/packages/solid/src/utils/getElementInput.ts#L42-L43

valueAsNumberでの返り値がNaNになる

valueだと正しく取得できる

でした。

なのでfieldPropsを消して対応するのではなく、(認証方法フィールドの型情報をstringにして)Fieldのtypeをstringにして対応したほうがよさそうでした...
この方針でよさそうであれば修正します

上のリンクの方法もtype=numberじゃないからvalueAsNumberが取れなくて、modular-forms側でのvalueのsetが上手くいかないのか...

結局(型エラーを無視して)Fieldにtype="string"を指定するのがよさそうだったのでそのように修正しました。
コード内のコメントにも残しています

website.authenticationがnumberであるため型としてはtype="number"の指定が正しいが、numberを指定すると入力時のonInput内でinput.valueAsNumberが使用される。すると、RadioGroup内で使用されているinput要素はtype="number"等が指定されていない(kobalteのRadioGroupではもともと文字列のみが扱える)ため、valueAsNumberでの取得結果がNaNになってしまい正しくsetValueできない。そのためtype="string"を指定してinput.valueが使用されるようにしています

repo: traPtitech/NeoShowcase


text:
メッセージ検索

検索でしたいこと

and, or, minus
from : 誰のメッセージか
to   : 誰へのメッセージか
since : いつから
until : いつまで
channel : どのチャンネルのメッセージか
limit : 取得数制限

PEG(Parsing Expression Grammars)を使って検索クエリをパースする？
参考：https://github.com/tweetdeck/twitter-search-query-parser

epic/search ブランチで開発開始

memo: https://md.trap.jp/xzcB0DuaTgipN2iqaKe6bw

authors: FujishigeTemma wtks

repo: traPtitech/traQ


text:
net/http/pprofを使えるようにした

環境変数PPROF_ENABLEDがセットされている場合にlocalhost:6060にserveされます

プロ

authors: tohutohu wtks


text:
Update opentelemetry-exporter-jaeger, ... to 1.23.0

Updates

io.opentelemetry:opentelemetry-exporter-jaeger
io.opentelemetry:opentelemetry-exporter-otlp
io.opentelemetry:opentelemetry-sdk

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

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.opentelemetry" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.opentelemetry" }
}]

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

Superseded by #266.


text:
Model request: internet router geo-location based on hostname

Hi,
I am the author of Trippy (https://github.com/fujiapple852/trippy) which is a OSS traceroute/mtr like tool (which also uses Ratatui!).
I would like to propose a model which is trained on a combination of DNS and GeoIp data and can be used for geo-locating IPs based on hostnames (and perhaps AS names).
Trippy currently supports GeoIp lookup (i.e. IP address -> geo location) using mmdb database files from MaxMind and IPinfo. These databases are useful but are both incomplete and inaccurate for many IPs.
Another technique often used to geo-locate IPs is to lookup the reverse DNS hostname (and sometimes the AS name) as these often contain clues as to the location. For example, the hostname xe-11-1-0.edge1.NewYork1.Level3.net is likely to be located in New York.
Typically these are interpreted by humans eyeballing the hostnames, and sometimes these are fuzzy matched by tools against sets of known country/city codes and/or hostname formats. This approach is high maintenance and has limited utility. See slide 11-16 of this presentation for examples of the types of codes used in hostnames for internet routers.
I believe it may be possible to train a model to do this using the large quality of DNS and GoeIp data available.
A large data set could be created which contains the following:

Field
Example

IP
171.64.64.64

Hostname
CS.stanford.edu

AS Name
AS32 STANFORD, US

Geo Location
Los Altos, California, United States, North America

This could then be used to train a model with Burn which is able to take a hostname (or hostname + AS name) and predict the geo-location to the country/city level.

Don't see the model you want? Don't hesitate to open an issue, and we may prioritize it.

I don't know if this is of interest to anyone, but I though i'd try my luck and ask! If such a model were to exist I would be keen to integrate the functionality into Trippy.

Hey 👋
Thanks for your interest and for sharing Trippy - I had not heard of the project before. Looks really cool!
This looks like a really interesting application, and it definitely could be built with Burn 😄
However, this request goes a little beyond the intended scope 😅 Model requests are intended for existing architectures or pre-trained models that could be added relatively easily.
Building a custom model from scratch — especially without an existing dataset — would require a lot more effort for development and training.
I'm going to keep this open (who knows, a community-driven effort might arise around the idea), but just wanted to let you know that we are not actively going to work on this. If someone decides to lead the effort, this can serve as a discussion board 🙂 And don't hesitate to ask questions on discord! We'll be happy to help and follow the progress.

Thanks a lot for responding and for leaving this open, appreciate the clarity!
For anyone who sees this (and is motivated to try), I can certainly help preparing the dataset and with the integration.

repo: tracel-ai/models


text:
[AWS] ALB Provider

Do you want to request a feature or report a bug?
Feature
What did you expect to see?
I am suggesting an Application Load Balancer (ALB)  Provider for AWS to make it easy to expose anything connected to an internal Application Load Balancer to the outside through Traefik. A single ALB can have multiple target groups routed by a list of so called LB Listener Rules.
The target groups can be either:

ECS Tasks
Lambda's
EC2 Instances (ip)

The provider would be low on API Consumption as health checking is done by AWS and endpoints don't change during deployment. Automatic configuration can be done through tags on the target groups.
Biggest motivation for this is;  With the current limitation on ENI's per EC2 instance, service discovery on AWS ECS still is minimal unless SRV lookups are used. Internal ALB's work really well for intra-backend-communication and it would make a great combo when Traefik could expose services already attached to an internal ALB

I am also looking for ALB support in order to use multiple certificates.
Currently I am having a good amount of ELBs that could be reduced to 2 (internet facing and internal) if there was a way to handle multiple certificates.
This is a very good money saver feature.

I am also looking for ALB support.  My use case is running Traefik on EKS/Fargate, where EKS/Fargate supports neither ELBs nor NLBs.

i have similar setup and currently i solved it with nginx.
You create internal hosted zone e.g. domain.local and you have internal ALB connected to it. Then you have couple of ECS services x1 and x2. The routing is done by subdomain x1.domain.local -> x1 and x2.domain.local -> x2.
Then you have public hosted zone domain.com that just points to nginx. Then you do simple domain switch and proxy requests.
server_name          ~^(?<name>.+)\.domain\.com$;
set $proxy_pass_url http://$name.domain.local;
proxy_pass $proxy_pass_url;

I was looking how to do the same in traefik but didn't find the way to dynamically replace the domain and proxy requests. Any ideas?

i have similar setup and currently i solved it with nginx.
You create internal hosted zone e.g. domain.local and you have internal ALB connected to it. Then you have couple of ECS services x1 and x2. The routing is done by subdomain x1.domain.local -> x1 and x2.domain.local -> x2.
Then you have public hosted zone domain.com that just points to nginx. Then you do simple domain switch and proxy requests.
server_name          ~^(?<name>.+)\.domain\.com$;
set $proxy_pass_url http://$name.domain.local;
proxy_pass $proxy_pass_url;

I was looking how to do the same in traefik but didn't find the way to dynamically replace the domain and proxy requests. Any ideas?

I'm curious why this is a feature request in traefik -- traefik itself isn't providing any cloud-provider load balancers, it relies on the cluster configuration for loadbalancer provisioning. If you want an ALB, then go provision the aws-load-balancer-controller and set up a traefik ingress as the only paths in the alb.
The aws-load-balancer-controller project is relatively new, but they simply took over for the previous Ticketmaster/CoreOS ALB Ingress Controller project -- which has been a viable alb ingress provider since 2017.
In other words, why should Traefik be responsible for cloud-provider-specific load balancing provisioning? Perhaps I completely misunderstand the ask.

I am also looking for ALB support. My use case is running Traefik on EKS/Fargate, where EKS/Fargate supports neither ELBs nor NLBs.

You might take a look at nlb-ip provided by the aws-load-balancer-controller project:
AWS Load Balancer Controller supports Network Load Balancer (NLB) with IP targets for pods running on Amazon EC2 instances and AWS Fargate through Kubernetes service of type LoadBalancer with proper annotation.

I was looking how to do the same in traefik but didn't find the way to dynamically replace the domain and proxy requests. Any ideas?

Unless I'm missing something, I think you can use traefik middlewares, specifically the RedirectRegex directive.

authors: chris-redekop colegatron maartenvanderhoef mars64 ozonni

repo: traefik/traefik


text:
Fix sample code in index.md

It's more natural that songs#create uses Song::Create class

:heart:

authors: apotonick willnet


text:
[WIP] Add time-range filtering

Add time-range filtering as discussed in issue #22.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

authors: CLAassistant rnowling-adroll

repo: traildb/traildb


text:
Prevent out-of-bounds accesses

Fixes #8
This also fixes some whitespace and capitalization issues.

On second thought, I think I may just fold the various issues into one PR, since they're small enough.

repo: trailofbits/lms-go


text:
🛑 Immich Machine Learning is down

In 4abb5c0, Immich Machine Learning (https://immich-ml.$DOMAIN2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Immich Machine Learning is back up in 7692e7e after 7 minutes.

repo: traktuner/status


text:
Remove constant condition of false

Description
A condition that could only be false was found in the dangerfile.ts.  Inquiry showed there did not seem to be a reason for it, and it likely was a forgotten debugging statement.
Reviewer Notes
Discussion: https://ustcdp3.slack.com/archives/CP6PTUPQF/p1617312210173800

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 04816cba67372f6718b2e1be24c3b6801e72347c

authors: kimallen robot-mymove

repo: transcom/mymove


text:
MB-14374 Remove value from ppm_shipment_status enum (NEEDS_CLOSE_OUT)

Jira ticket for this change
Summary
This removes the NEEDS_CLOSE_OUT status we added previously for the ppm_shipment_status enum on ppm_shipment. It turned out there were already statuses to handle what we needed.
Approach
For safety reasons it seemed best to go ahead and go about this the following way:

Rename the current thing
Create a replacement type
Make sure we don't have any of the old values in the DB (we shouldn't but just in case)
Apply the new type to the status field on the table
Drop the old type

Let me know if there's a different way we should go about it.
Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

Screenshots

Messages

:book:
:link: MB-14374

  Generated by :no_entry_sign: dangerJS against 0ca0a93ee3a59ff05e1dc34e6dddcbeba21351e8

authors: Ryan-Koch robot-mymove


text:
I have a few questions about the tx command.

I have a few questions about the tx command.
When doing a tx pull i can choose what i want to download with the option --mode.
Here are the values i can use: reviewed, proofread, translator, untranslated, onlytranslated, onlyreviewedand onlyproofread.
I do understand most of them, but i don't know the difference between
reviewedand onlyreviewed
proofreadand onlyproofread
and how do i use translator?
I tried to use -m translator, but it seems to download as it was a normal download.
I have tried both reviewed and onlyreviewed and both are downloading 15 language files, but only three of them are reviewed to 100%. I don't know if minimum_perc = 60 in the config file will override both these options or it will use 60 as a value too?
Shouldn't the command line options override the config file?
Can i put the other --mode options in the config file? So far i have only seen minimum_perc as an example.
I added reviewed to the config file, but then i got an error message: key-value delimiter not found: reviewed, but what should i add as value? When i run tx pull -m reviewed -all it will download 10 files, but if i run tx pull -all and write reviewed = true to the config file, it downloaded 11 files. Same thing if i write reviewed = 60 (60 is the same as i have minimum_perc set to in the config file), 11 files get downloaded instead of 10. So, how do i use these --mode options in the config file when i don't know what value they need?
There should be some more information and examples on how to use these options on your help pages. 🙂

Hello  ,
Thank you for contacting us.
Please see the attached table . It should clear the field on how the modes in pull work. For the client pull command  see all rows that correspond to CLI . The modes refer to the strings that will be returned inside the files  depending on the mode.

The modes work directly from the command line as so : tx pull  -m proofread for example.
As for the setting inside the config file. This is not supported at the moment. We have forwarded the request to our product team and devs. In case we have any news we will update our documentation accordingly.
Let me know if there is anything else i can do for you.

On what Chris mentioned, please keep in mind that onlytranslated and onlyreviewed works on specific file formats. https://help.transifex.com/en/articles/6219670-introduction-to-file-formats#h_f64ebb95db

Assuming the answers were satisfactory and closing the issue.

authors: Sopor chrisb-transifex codegaze kbairak

repo: transifex/cli


text:
🛑 TechinAsia is down

In 0fb6499, TechinAsia (https://www.techinasia.com) was down:

HTTP code: 403
Response time: 718 ms

Resolved: TechinAsia is back up in a39a401 after 7 minutes.

repo: traqy/upptime


text:
🛑 TechinAsia_WordPress_API is down

In 872f09a, TechinAsia_WordPress_API (https://www.techinasia.com/wp-json/techinasia/2.0/posts) was down:

HTTP code: 403
Response time: 231 ms

Resolved: TechinAsia_WordPress_API is back up in 03e4dce after 8 minutes.


text:
🛑 TechinAsia_Laravel_API is down

In 0932348, TechinAsia_Laravel_API (https://www.techinasia.com/api/2.0/companies) was down:

HTTP code: 403
Response time: 232 ms

Resolved: TechinAsia_Laravel_API is back up in 7c1655f after 9 minutes.


text:
🛑 TechinAsia_WordPress_API is down

In 58408ec, TechinAsia_WordPress_API (https://www.techinasia.com/wp-json/techinasia/2.0/posts) was down:

HTTP code: 403
Response time: 222 ms

Resolved: TechinAsia_WordPress_API is back up in 25b6540 after 21 minutes.


text:
🛑 TechinAsia_WordPress_API is down

In e2f2a8b, TechinAsia_WordPress_API (https://www.techinasia.com/wp-json/techinasia/2.0/posts) was down:

HTTP code: 403
Response time: 174 ms

Resolved: TechinAsia_WordPress_API is back up in 52b6871 after 7 minutes.


text:
🛑 TechinAsia_Laravel_API is down

In 37a4edd, TechinAsia_Laravel_API (https://www.techinasia.com/api/2.0/companies) was down:

HTTP code: 403
Response time: 224 ms

Resolved: TechinAsia_Laravel_API is back up in 99ed082 after 8 minutes.


text:
APT whitelist request for python-epydoc on trusty

This was added for precise via #1523 / #1526

Please update your issue title: it should be called "[...] in trusty" not "[...] on trusty" as per the template; this is why it hasn't been reviewed / acted on by the automated system.

Thanks for the tip - I never noticed that subtlety. Is there any reason not to use a GitHub issue template to guide people more directly?
https://github.com/blog/2111-issue-and-pull-request-templates

I'm not an owner of this repo, so I can't help with this, but they do have a link that does the equivalent of this in that section: the link behind the text "this repo" (not very obvious) points to the URL:

https://github.com/travis-ci/apt-package-whitelist/issues/new?title=APT+whitelist+request+for+___PACKAGE___+in+_PRECISE_OR_TRUSTY_

which effectively does what you're suggesting.
Also, they probably want to have multiple types of issues on this repo, where submitting a new package for whitelisting is just one of the use cases, and having a single template would mean that everyone would get that as a template to start their issue, and some would be confused into using it when it wasn't applicable.

Fair point. Anyway, thank you - the bot has been triggered now 👍

See travis-ci/apt-package-whitelist@5761eccc.

authors: BanzaiMan mbrukman peterjc

repo: travis-ci/apt-package-whitelist


text:
Pull request for libtinyxml-dev

For travis-ci/travis-ci#4494.
Ran tests and found no setuid bits.
See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72071759

Sorry, but this test will have to be re-run. Will open a new one later.


text:
23.7 breaks integration: openvpn_config() removed

OPNsense 23.7 broke the integration; function openvpn_config() is missing, probably removed like it happened recently for openvpn_get_active_servers() (PR #90)
#4 /usr/local/opnsense/contrib/IXR/IXR_Library.php(357): IXR_Server->serve('<?xml version='...')
#5 /usr/local/etc/inc/xmlrpc.inc(67): IXR_Server->__construct(Array)
#6 /usr/local/www/xmlrpc.php(104): XMLRPCServer->start()
#7 {main}
  thrown in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code on line 46
[03-Aug-2023 12:22:14 Europe/Rome] PHP Fatal error:  Uncaught Error: Call to undefined function openvpn_config() in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code:46
Stack trace:
#0 /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code(60): openvpn_get_active_servers()
#1 /usr/local/etc/inc/xmlrpc/hass.inc(12): eval()
#2 /usr/local/opnsense/contrib/IXR/IXR_Library.php(446): exec_php_xmlrpc('\nini_set('displ...')
#3 /usr/local/opnsense/contrib/IXR/IXR_Library.php(384): IXR_Server->call('opnsense.exec_p...', '\nini_set('displ...')
#4 /usr/local/opnsense/contrib/IXR/IXR_Library.php(357): IXR_Server->serve('<?xml version='...')
#5 /usr/local/etc/inc/xmlrpc.inc(67): IXR_Server->__construct(Array)
#6 /usr/local/www/xmlrpc.php(104): XMLRPCServer->start()
#7 {main}
  thrown in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code on line 46
[03-Aug-2023 12:22:44 Europe/Rome] PHP Fatal error:  Uncaught Error: Call to undefined function openvpn_config() in /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code:46
Stack trace:
#0 /usr/local/etc/inc/xmlrpc/hass.inc(12) : eval()'d code(60): openvpn_get_active_servers()
#1 /usr/local/etc/inc/xmlrpc/hass.inc(12): eval()
#2 /usr/local/opnsense/contrib/IXR/IXR_Library.php(446): exec_php_xmlrpc('\nini_set('displ...')
#3 /usr/local/opnsense/contrib/IXR/IXR_Library.php(384): IXR_Server->call('opnsense.exec_p...', '\nini_set('displ...')
#4 /usr/local/opnsense/contrib/IXR/IXR_Library.php(357): IXR_Server->serve('<?xml version='...')
#5 /usr/local/etc/inc/xmlrpc.inc(67): IXR_Server->__construct(Array)
#6 /usr/local/www/xmlrpc.php(104): XMLRPCServer->start()
#7 {main}

I'm on OPNsense 23.7, using openvpn and using the integration but I don'th ave this issue

I'm on OPNsense 23.7, using openvpn and using the integration but I don'th ave this issue

Sorry for the late reply. You were right, I redownloaded the component from HACS and restarted, everything's working fine. I'm on OPNsense 23.7.2 and HA 2023.9.0 now.
In the past I manually patched some files while testing things, and probably I forgot to remove them.

authors: Axsgranted alexdelprete

repo: travisghansen/hass-opnsense


text:
Linux build

Tested with Ubuntu 17.04.

可以打个包到 release 页面不

来晚了，已经有人帮你打包了 :smile:  #7

authors: airycanon trazyn

repo: trazyn/weweChat


text:
Configuration error at task -- Failed to evaluate a variable --(ReferenceError: "xyz" is not defined) (config)

Hi,
I am running into this error when attempting to access a param/variable (defined in Params File) in my Ruby backend.
The params.yml file is passed to the Server with the -P <params.yml> Option.
digdag server  -P /Users/abc/params.yml
Here are the contents of the params.yml file
tools:
src_path: "/Users/abc/tools"
I am then exporting this variable in my workflow(.dig) file as follows:
_export:
data_tools: ${bi_data_tools.src_path}
and then attempting to access it in my Ruby Backend using as follows:
Digdag.env.params['data_tools']
Is this the right approach to access params/variables defined in Params File in Ruby Backend?
I am still new to DigDag, Appreciate your help on this.
Thanks
Sahan

Hello, @sahanmalagi
Your issue is the following, Correct?

${src_path} (defined in param file) OK: Can use in Ruby script.
${data_tools} (defined in _export) NG: Can't use in Ruby script

Simple answer: You can't use ${} syntax in _export part.
Maybe #990 and This comment may help.

Thanks,
What the correct way to access use ${src_path} (defined in param file) in Ruby?
Currently, I am attempting to access it using the Digdag.env.params['src_path'] method

I get an error when I attempt to read the variable in Ruby
error:

+my_workflow+wf_task:
Failed to evaluate a variable ${tools.src_path} (ReferenceError: "tools" is not defined) (config)

Hello, @sahanmalagi
Could you try this?
If you defined your parameter using nested column, you can access those parameter using
Digdag.env.params['tools']['src_path']
tools:
  src_path: "/Users/abc/tools"

Example
You can download this example on this page
test.conf
src_path: "/Users/abc/tools"

digdag server -m -P test.conf
2020-02-25 12:54:28 +0900: Digdag v0.9.41
2020-02-25 12:54:29 +0900 [INFO] (main): secret encryption engine: disabled
2020-02-25 12:54:30 +0900 [INFO] (main): XNIO version 3.3.6.Final
2020-02-25 12:54:30 +0900 [INFO] (main): XNIO NIO Implementation Version 3.3.6.Final
2020-02-25 12:54:30 +0900 [INFO] (main): Starting server on 127.0.0.1:65432
2020-02-25 12:54:30 +0900 [INFO] (main): Bound on 127.0.0.1:65432 (api)

timezone: UTC

_export:
  rb:
    require: scripts/myclass

+hoge:
  rb>: MyClass.env_test

script/myclass.rb
require 'time'
require 'pp'

class MyClass
  def print_time(label:, time:)
    p [label, Time.parse(time)]
  end

  def say_something(order:, animal:)
    puts %Q|#{order} #{animal} said "My favorite number is #{Random.rand(10)}"|
  end

  def env_test
    pp Digdag.env.params
    puts "---> src_path #{Digdag.env.params['src_path']}"
  end
end

2020-02-25 12:55:00 +0900 [INFO] (XNIO-1 task-7): Starting a new session project id=1 workflow name=test session_time=2020-02-25T03:54:59+00:00
2020-02-25 12:55:01 +0900 [INFO] (0032@[0:hoge]+test+hoge): rb>: MyClass.env_test
{"timezone"=>"UTC",
 "session_uuid"=>"bfab9d2d-a905-4fcb-bec8-3d53c0525f91",
 "session_time"=>"2020-02-25T03:54:59+00:00",
 "session_id"=>1,
 "session_date"=>"2020-02-25",
 "session_date_compact"=>"20200225",
 "session_local_time"=>"2020-02-25 03:54:59",
 "session_tz_offset"=>"+0000",
 "session_unixtime"=>1582602899,
 "last_executed_session_time"=>"",
 "last_executed_session_date"=>"",
 "last_executed_session_date_compact"=>"",
 "last_executed_session_local_time"=>"",
 "last_executed_session_tz_offset"=>"+0000",
 "last_executed_session_unixtime"=>"",
 "project_id"=>1,
 "attempt_id"=>1,
 "task_name"=>"+test+hoge",
 "src_path"=>"/Users/abc/tools",
 "rb"=>{"require"=>"scripts/myclass"},
 "rb>"=>"MyClass.env_test",
 "_type"=>"rb",
 "_command"=>"MyClass.env_test",
 "require"=>"scripts/myclass"}
---> src_path /Users/abc/tools

Additional note
This command may help.
digdag init -t rb ruby_sample

Reference

Language API - Ruby
runner.rb

There is no activity. So close.

authors: hiroyuki-sato sahanmalagi yoyama

repo: treasure-data/digdag


text:
boards/<board_id>/checklists?cards=visible not supported

The board resource documentation specifies that when requesting a board's checklists, the cards can be requested alongside, with parameter cards, which can have valid values:

all
closed
none
open
visible

In reality, requesting "visible" doesn't work, returning "Error: 400 invalid value for filter".

Fixed: https://github.com/trello/api-docs/commit/c7d690f666cc986c0218d48ca71bae62f054f61c
Thanks @ludable!

authors: bentleycook ludable

repo: trello/api-docs


text:
feat(documentation): Improvements in the required permissions

Proposed Changes

Add a json policy file describing specific permissions that a user willing to deploy file storage security must has;
Provide instruction on the [required-permissions.md](https://github.com/trendmicro/cloudone-filestorage-deployment-templates/blob/master/aws/required-permissions.md) on how to add the policy and attach to a user.

Looks good couple of minor chages.

Thanks a lot for the commits, all very helpful!
All done!

You missed a suggested change - line 23. Otherwise looks good. Please fix.

Hi @davidblanchard123 The line 23 is showing that your suggestion in pending in the review but if you go to the file, the change was made already: https://github.com/trendmicro/cloudone-filestorage-deployment-templates/blob/f8402f37e2ca96504f9a92c5ae07432d7c7ed88c/aws/required-permissions.md


text:
Сделать невозможной постановку мячей и банок на стену

Сейчас можно так сделать.

Для робота прописана такая логика, можно подглядеть в коде проверки при перетаскивании робота.

authors: iakov shirokolobov

repo: trikset/trik-studio


text:
New Issue For Test

a description

#157


text:
Block commits

To be used in https://github.com/trinodb/trino/pull/13494

Reminder to autosquash. 😉

We're not updating existing reviews for this reason, but adding new
ones,without repeating the last one.
On Wed, Aug 10, 2022, 19:24 Ashhar Hasan @.***> wrote:

@.**** approved this pull request.
In block-commits/pullRequestChecker.js
https://github.com/trinodb/github-actions/pull/2#discussion_r942714251:

@@ -30,7 +30,9 @@ class PullRequestChecker {

 let autosquashCommits = 0;

 let mergeCommits = 0;

 for (const {commit: {message}, sha, url, parents} of commits) {

 const isAutosquash = message.startsWith('fixup!') || message.startsWith('squash!');

 // https://git-scm.com/docs/git-rebase#Documentation/git-rebase.txt---autosquash

Thank you for the link. ❤
In block-commits/pullRequestChecker.js
https://github.com/trinodb/github-actions/pull/2#discussion_r942714702:

 const okMessage = 'PR no longer has any merge or fixup commits.';

 const failPrefix = 'PR requires a rebase. Found: ';

 let state = 'APPROVED';

 let event = 'APPROVE';

 let body = okMessage;

 if (reviewMessages.length != 0) {

   state = 'CHANGES_REQUESTED';

   event = 'REQUEST_CHANGES';

   body = failPrefix + reviewMessages.join(', ') + '.';

 }

 const reviews = await this.client.paginate(this.client.rest.pulls.listReviews.endpoint.merge(listArgs));

 const [latest] = reviews.filter( (review) => review.user.type === 'Bot' &&

     (review.body === okMessage || review.body.startsWith(failPrefix)))

     .slice(-1);

 if ((!latest && reviewMessages.length != 0) || (latest && latest.state != state)) {

   this.client.rest.pulls.createReview({

Sorry I meant on the GitHub UI. i.e. end user looking at the PR.
—
Reply to this email directly, view it on GitHub
https://github.com/trinodb/github-actions/pull/2#pullrequestreview-1068664031,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGCEKMVTWIVJJ2HDXPXZQTVYPQWJANCNFSM56EI42YA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Then I worry about noise. But let's proceed with this and we can address feedback as it starts getting used.
LGTM from me % autosquash. @findepi PTAL if you have remaining comments.

authors: hashhar nineinchnick

repo: trinodb/github-actions


text:
Sync with auth0 after submitting registration

Scope of changes
This adds a syncing step with auth0 on the submit registration endpoint. This will allow the frontend to refresh the access token after the user submits a registration, which will mean that the claims are updated with the VASP IDs without the user having to login again.
In order to do this, I expanded the authtest mock server a bit so it maintains some user app metadata state that tests can assert against.
SC-8518
Type of change

[x] bug fix
[ ] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria
When the user submits a registration, the claims in auth0 should contain the VASP ID for the corresponding registration without the user having to login to the frontend again.
Author checklist

[x] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[ ]  I have recompiled and included new protocol buffers to reflect changes I made
[ ]  I have added new test fixtures as needed to support added tests
[x]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[x]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

Codecov Report

Merging #745 (49c705c) into main (338cebb) will decrease coverage by 5.26%.
The diff coverage is n/a.

:exclamation: Current head 49c705c differs from pull request most recent head 055bf98. Consider uploading reports for the commit 055bf98 to get more accurate results

@@            Coverage Diff             @@
##             main     #745      +/-   ##
==========================================
- Coverage   43.39%   38.13%   -5.27%
==========================================
  Files         583      155     -428
  Lines       17510     2431   -15079
  Branches     1310      618     -692
==========================================
- Hits         7599      927    -6672
+ Misses       8723     1327    -7396
+ Partials     1188      177    -1011

Impacted Files
Coverage Δ

...user-ui/src/application/store/selectors/stepper.ts

...b/gds-user-ui/src/components/BasicDetail/index.tsx

...s/CertificateReview/LegalPersonReviewDataTable.tsx

...ponents/CertificateReview/TrixoReviewDataTable.tsx

...eb/gds-user-ui/src/components/FileUpload/index.tsx

web/gds-user-ui/src/components/Loader/index.tsx

.../gds-user-ui/src/components/ReviewSubmit/index.tsx

...nents/TestnetProgress/CertificateStepContainer.tsx

...i/src/components/TrisaImplementationForm/index.tsx

...ui/src/components/TrixoQuestionnaireForm/index.tsx

... and 418 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: codecov-commenter pdeziel

repo: trisacrypto/directory


text:
Way to make dot in html attribute valid ?

I am using alpine.js (https://alpinejs.dev/directives/on) which uses a dot modifier on some html attribute. This causes the prettier parser to fail because it's not a valid character.
Expected a valid attribute name, but instead found ".", which is not part of a valid attribute name.

I get the same problem too.

I get also the same issue.

Same issue here as well.

I would love to see this be fixed...

I'm piling on, this is also bothering me.

Also the @ is valid with AlpineJS. Please try to fix this!

repo: trivago/prettier-plugin-twig-melody


text:
Video description is truncated

The descriptions are truncated in different ways.
Sometimes, only urls are truncated. For example, in this video.
Also, for more in depth information take a look at the WAIT BUT WHY article about Fermi Paradox:
http://waitbutwhy.com/2014/05/fermi-p...

In another video, the whole second part of the description is missing
Sources and link to book by Rupert Glasgow:
https://sites.google.com/view/sources-consciousness

Consciousness is perhaps the ...

I checked on invidio.us and the descriptions of these videos seem complete. Any idea how to fix that in straw-viewer ?

The description displayed by straw-viewer is the description retrieved from the API of invidious.
In some contexts, the description is indeed truncated. For example, in /search results, the description is truncated more:
https://invidio.us/api/v1/search?maxResults=20&part=snippet&q=The Origin of Consciousness&type=video&pretty=1
compared to the description retrieved in /videos context:
https://invidio.us/api/v1/videos/H6u0VBqNBQ8?fields=description&pretty=1
But, some long URLs are truncated even in the extended video info:
https://invidio.us/api/v1/videos/sNhhvQGsMEc?fields=description&pretty=1
However, invidious provides the descriptionHtml field, which includes the full URLs:
https://invidio.us/api/v1/videos/sNhhvQGsMEc?fields=descriptionHtml&pretty=1
Maybe straw-viewer should try to extract the URLs from descriptionHtml?
Additionally, it may be possible to extract the full description for each video in search results, when the video is selected for play, but this would slow things down a little bit, as each request to /video seems to take several seconds.
Note that straw-viewer already does this, but only when given a video URL:
$ straw-viewer 'https://www.youtube.com/watch?v=H6u0VBqNBQ8'

Thanks for the explanation over invidious' API. I understand the root of the problem now. I used youtube-viewer and now straw-viewer in a macro in my CLI-rss client. Having truncated urls seems to defeat the purpose of this use case because I still need to open a webpage to retrieve the complete urls.
Extracting the urls from descriptionHtml seems like a good idea.

It seems to be fixed with v0.0.3, thanks !

authors: trizen zimawho

repo: trizen/straw-viewer