text:
Improved the Environments modal with accessibility fixes

Description
https://github.com/usebruno/bruno/assets/84461672/f52f06c8-6a2a-4409-8d17-88cd69939d59
Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.

PR looks simple and good to me.
@lohxt1 please review this.

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
It doesn't look for parent forks

This is a fork: https://github.com/anchan828/json-ast
And it has a few parents and siblings, but this page is empty: https://useful-forks.github.io/?repo=anchan828%2Fjson-ast

I created #11 for this specific reason. It is the currently expected behavior.
I'll close this issue. If you think the behavior should be modified, I think we should discuss that in the issue I linked above.

Also, by the way, the fork you pointed out has no siblings, as shown by this full network tree:

I ended up on that fork so I thought I’d use useful-forks to find the most active fork. I guess you want me to get to the root first and then go from there? What’s the point? I think it should just traverse the whole tree regardless of where it starts

It really is about having control over where to begin the search, in my opinion. For multiple reasons:

We only get at most 5000 calls per hour to the API. Some repositories exhaust that very quickly.
Querying and filtering thousands of forks takes time: if the user knows where he wants to begin the search, it's much better that way.

source: gharchive/issue


text:
Possible unfare comparison

Snapdragon touts 45 TOPS but it’s only int8.
For example Apple's m3 neural engine is mere 18 TOPS but it’s FP16.
So windows has bigger number but it’s not apple to apple comparison.
Question: do you test int8 performance?

they clearly write about that, yes, they test using int8 with fp32 in/out and int8 with int8 in/out.

authors: piskov schmorp


text:
Maintainers should be allowed to add environments at a project level

Describe the bug
From https://docs.lagoon.sh/administering-lagoon/rbac/#maintainer

Maintainer
The maintainer role can do everything within a group and its associated projects except deleting the project itself or the production environment.

Yet when a maintainer attempts to update the environment variable at a project level, they can delete it, just not add it.
To Reproduce
Steps to reproduce the behavior:
% lagoon add variable -p example --name REDIS_HOST --scope runtime --value 'banana.0001.apse2.cache.amazonaws.com'
Error: graphql: Unauthorized: You don't have permission to "project:add" on "env_var".

% lagoon delete variable -p example --name REDIS_HOST                                                               1 ↵
✔ Yes
Result: success

% lagoon add variable -p example --name REDIS_HOST --scope runtime --value 'banana.0001.apse2.cache.amazonaws.com'
Error: graphql: Unauthorized: You don't have permission to "project:add" on "env_var".

Expected behavior
Maintainers can add environment variables at the project level

This would be very helpful.

authors: grahamethompson seanhamlin

repo: uselagoon/lagoon


text:
部署完成后访问频繁出错

Describe the bug
用腾讯云轻量服务器 Ubuntu20.04-Docker20 部署，部署完成后电脑网页访问频繁出现错误，手机访问没有问题，请问这是什么问题？
Steps to reproduce
电脑访问IP:5230 报错
Screenshots or additional context

+1

@ieasyseek 试试打开电脑端浏览器的无痕模式，可能是有缓存过期的问题。

无痕模式访问也是一样的问题。

authors: boojack ieasyseek nuwoo

repo: usememos/memos


text:
Search by tag does not work with MySQL

Describe the bug
The json_contains function should be used in the following way:
select json_contains('["tag1","tag2","tag3"]', '["tag1"]');
select json_contains('["tag1","tag2","tag3"]', '["tag1","tag3"]');

Steps to reproduce
Select any tag in the UI to filter the memos. No results are shown.
The version of Memos you're using.
v0.22.4
Screenshots or additional context
No response

Duplicated with https://github.com/usememos/memos/issues/3756

authors: boojack joshefin


text:
feat: add max upload size setting to UI & UI improvements

feat: add max upload size setting to UI

feat: max upload size setting is checked on UI during upload, but also enforced by back-end.

feat: add HelpButton component with some links to official docs were appropriate

remove LearnMore component in favor of the much more versatile HelpButton (can show tooltips, links or a dialog)

fix: overflowing mobile layout for Create SSO, Create Storage and other Settings dialogs

refactor (back-end): change some if/else to switch statements

refactor (back-end): inline some err == nil checks

! Existing databases without the new setting 'max-upload-size-mib' will show an upload error, but this can be user-fixed by simply setting the value on system settings UI.
Unfortunately this conflicts with #1640, but I think it's a better approach to edit the upload limit on UI rather than command line.

Closes #1577

And please update the icon into a normal size. It's a bit too big.

authors: boojack lincolnthalles


text:
Support HTTP 2

HTTP 2 opens less sockets and behaves much better than HTTP 1.1 in case of sudden growth of requests or in case of multiple timeouts.
With HTTP 2 the configuration of the service would also become simpler, for example defaults for  HTTP_CLIENT_CONNECT_THROTTLE and  HTTP_CLIENT_CONNECTION_POOL_SIZE would always be OK

We are going to do HTTP2
@sugarhl, @misha1sh, @Ydot12344

Initial implementation was merged

authors: DmitriySud apolukhin

repo: userver-framework/userver


text:
Telegram Bot API library and sample of a Telegram chat bot

Resolves #227

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/


text:
Unable to run mastermind on macOS 10.12.4

Steps to reproduce the expected behaviour
attempt to run mastermind in terminal using command sudo mastermind --with-driver --source-dir .
Expected behaviour
mastermind starts running
Actual behaviour
mastermind is killed by the OS
Other comments
console.app output
default	15:53:53.331883 +0100	sudo	   jarod : TTY=ttys000 ; PWD=/Users/jarod/repos/locum-ios ; USER=root ; COMMAND=/usr/local/bin/mastermind --with-driver --source-dir .
default	15:53:53.335751 +0100	taskgated	MacOS error: -67065
default	15:53:53.335877 +0100	taskgated	no signature for pid=5799 (cannot make code: host has no guest with the requested attributes)
default	15:53:53.357375 +0100	taskgated	MacOS error: -67062
default	15:53:53.366383 +0100	taskgated	MacOS error: -67062
default	15:53:53.376114 +0100	taskgated	MacOS error: -67062
default	15:53:53.377825 +0100	mds	directQueryOpenReply 167944193 1795162112 0
default	15:53:53.377981 +0100	mds	QueryOpen succeeded (0) for store <private>
default	15:53:53.381297 +0100	mds	directQueryFetchResultsReply 167944193 1795162112 0
default	15:53:53.386919 +0100	taskgated	MacOS error: -67062
default	15:53:53.438955 +0100	taskgated	MacOS error: -67062
default	15:53:53.523451 +0100	taskgated	MacOS error: -67062

terminal output
[1]    5798 killed     sudo mastermind --with-driver --source-dir .
syslog output
Apr  3 15:53:53 us2-ldn-jarod com.apple.xpc.launchd[1] (com.apple.ReportCrash.Root[5800]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash.DirectoryService

Mastermind Version: 1.0.0
Operating System: macOS 10.12.4

Same problem over here:
$ sudo mastermind --config test.toml
fish: 'sudo mastermind --config test.t…' terminated by signal SIGKILL (Forced quit)

syslog:
Jul  7 12:07:51 bismuth com.apple.xpc.launchd[1] (com.apple.ReportCrash.Root[68730]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash.DirectoryService
Mastermind: 1.0.0 (from Brew)
macOS: 10.12.5

authors: concertman nloira

repo: ustwo/mastermind

license: mit

license_source: bigquery


text:
Unable to extract system id from Alarm.com

I restarted my system today, after not making any changes (to the best of my knowledge) to anything related to the alarmdotcom module, but it suddenly stopped working with the following errors in my log:
2020-12-08 11:58:14 ERROR (MainThread) [pyalarmdotcomajax.pyalarmdotcomajax] Unable to extract system id from Alarm.com
2020-12-08 11:58:14 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up alarmdotcom platform for alarm_control_panel
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/alarmdotcom/alarm_control_panel.py", line 85, in async_setup_platform
await alarmdotcom.async_login()
File "/config/custom_components/alarmdotcom/alarm_control_panel.py", line 133, in async_login
await self._alarm.async_login()
File "/usr/local/lib/python3.8/site-packages/pyalarmdotcomajax/pyalarmdotcomajax.py", line 143, in async_login
self._systemid = json["data"][0]["id"]
KeyError: 'data'
Thoughts? It's been working without issue for about 6 months up until now, and I've manually added this repo to my HACS integration repositories to help keep it up to date.

I'm not sure what that is from - I haven't seen a similar problem on my end yet. What ADC provider do you use? Have you noticed any changes to the web portal?

I have Protection1 which is a subset of ADT.  Admittedly I’ve only logged
in the web version probably two or three times… And not at all in the past
five months, so I couldn’t say for certain if anything has changed or not.
Would you like me to send you a sanitized screenshot of what the portal
looks like, so you can see if anything seems out of the ordinary?
On Tue, Dec 8, 2020 at 16:57 uvjustin notifications@github.com wrote:

I'm not sure what that is from - I haven't seen a similar problem on my
end yet. What ADC provider do you use? Have you noticed any changes to the
web portal?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/uvjustin/alarmdotcom/issues/26#issuecomment-741353470,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDF24SSAZUDAQXHY5FD3ST3DPJANCNFSM4USOY5VQ
.

I see. It looks like an ADT issue. Try setting adt: true in your config. See https://github.com/uvjustin/alarmdotcom/issues/21

sadly I've already tried both true and false settings with the same results, but my pains do read very similar to that thread in many ways, but it looks like resolutions are inconsistent based on the whims of ADT so I guess there's no real answer for now. :(

@sargonas - I'm having the same issue and using Protection 1. Check out my post #21
Hoping we get this resolved.

I see...looks like it's a Protection 1 issue that is similar but maybe distinct to the ADT issue.
I don't want to keep making workarounds for every ADC provider, but since Protection 1 is a big provider and also because this might be very similar to the ADT issue, I'm willing to try and make a workaround for this.
Can one of you guys send me a temporary login to play with?

I posted a PGP key here https://github.com/uvjustin/alarmdotcom/issues/21#issuecomment-726454739 or alternatively you can PM me on the HA community forum

Sure thing. I have a separate delegated login that I use for my devices
devices, we change the password on that today and I will send it to you
directly for testing.
For what it’s worth, I can’t be 100% certain, but I’m under the impression
that ADT and protection1 have the same login experience. When I login, all
the banners and logos say a ADT and protection1 in the same line, and the
URLs changed to a ADT urls.
On Thu, Dec 10, 2020 at 01:07 uvjustin notifications@github.com wrote:

I posted a PGP key here #21 (comment)
https://github.com/uvjustin/alarmdotcom/issues/21#issuecomment-726454739
or alternatively you can PM me on the HA community forum
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uvjustin/alarmdotcom/issues/26#issuecomment-742385481,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDFZEVNE52YXZOF764XDSUCFW3ANCNFSM4USOY5VQ
.

@uvjustin @sargonas  - Thanks for looking into this! Please let me know if you need anything from me.
@uvjustin - I'll close the other issue I created yesterday.

When I had a look at this yesterday the Protection1 site exhibited a hybrid ADT/ADC style login, while today it seemed to work with the old ADC style login.
Anyway, I did some refactoring and made a new Protection1 login class. It attempts to try the new hybrid login and falls back to the default ADC style login if it doesn't work. Let me know if it works on your end.

@mikesalz There was a bit of refactoring to share code between the ADT and the protection1 login types. Let me know if you encounter any issues with this updated version.

@uvjustin Thanks for working on this. I'm getting the following error when I add the protection1 flag.
**Logger: homeassistant.components.hassio
Source: components/hassio/init.py:383
Integration: Hass.io (documentation, issues)
First occurred: 8:47:34 AM (1 occurrences)
Last logged: 8:47:34 AM
Invalid config for [alarm_control_panel.alarmdotcom]: [protection1] is an invalid option for [alarm_control_panel.alarmdotcom]. Check: alarm_control_panel.alarmdotcom->protection1. (See ?, line ?).**
Here's my Configuration. yaml section:
**alarm_control_panel:

platform: alarmdotcom
username: xxxx
password: xxxx
code: "01234"
force_bypass: "true"
no_entry_delay: "home"
silent_arming: "false"
protection1: true**

Here's my folder layout:

That did the trick for me, thanks so much for the quick turnaround @uvjustin!

@jxbrown you want to make sure you install the latest version that includes his fix, restart the HA instance to fully load it, and THEN add the P1 config parameter. If you try to add the it before you restart the instance, the system will have no concept of that function, and block you to prevent a potentially  invalid config from being loaded.

@sargonas Deleted the previous files alarmdotcom. I downloaded new files per the readme and copied the files into the custom_components directory. Rebooted and the server.  For testing, when I add the adt flag, I don't see error.
Can you share what your configuration. yaml and alarmdotcom directory looks like?
How did you install the latest version?
Thanks,

Interesting. I had the exact same problem you did when I mistakenly tried
to add the parameter at the same time I updated to the latest version… And
when I rebooted, it worked fine, so I assumed you were in the same boat.
If it’s giving that error it means the code you have loaded for the module
doesn’t have his new function included. If you grab the latest files from
his github obviously that shouldn’t be a problem though… But it seems it is?
For what it is worth, I pasted his repository URL into HACS as a custom
integration, and I update and maintain it from there rather than moving
files manually.
On Sun, Dec 13, 2020 at 09:55 jxbrown notifications@github.com wrote:

@sargonas https://github.com/sargonas Deleted the previous files
alarmdotcom. I downloaded new files per the readme and copied the files
into the custom_components directory. Rebooted and the server. For testing,
when I add the adt flag, I don't see error.
Can you share what your configuration. yaml and alarmdotcom directory
looks like?
How did you install the latest version?
Thanks,
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uvjustin/alarmdotcom/issues/26#issuecomment-744044152,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDFY5YFO63IMD7SRFMQTSUT5X5ANCNFSM4USOY5VQ
.

@sargonas Thanks for the feedback. I moved the alarmdotcom sections higher in my configuration. yaml and it's now working.

@mikesalz There was a bit of refactoring to share code between the ADT and the protection1 login types. Let me know if you encounter any issues with this updated version.

@uvjustin Looking good so far. I’ll let you know if any weirdness happens.

@uvjustin Looking good on my side as well. Thanks for the quick turnaround!
@mikesalz @sargonas - Thanks again for your help.

Glad it seems to be working for everyone, will close this now.

authors: jxbrown mikesalz sargonas uvjustin

repo: uvjustin/alarmdotcom


text:
TN-1023 Need to commit the changes.

(besides the session.commit() line, this is a duplicate migration to
the one committed https://github.com/uwcirg/true_nth_usa_portal/commit/5daa75fdde27c772bf4b8499192b5b0dd872fd85 )
Did test the problem user before and after running this migration - looks to resolve the problem named in the bug.

Hello @pbugni! Thanks for submitting the PR.

In the file portal/migrations/versions/3271a78bbc8b_.py, following are the PEP8 issues :

Line 28:44: W291 trailing whitespace
Line 29:50: W291 trailing whitespace
Line 30:45: W291 trailing whitespace
Line 31:39: W291 trailing whitespace


text:
Use the newly baked d3-color and the shim colorbrewer module

Use the newly baked d3-color

fixes #456

I also make another commit use the shim colorbrewer module
This is not the official module but I think it’s cleaner than having src/lib/colorbrewer directory inside our module.

repo: uwdata/vega-lite


text:
878 item information--indexes

https://github.com/uwlib-cams/MARC2RDA/blob/main/Working Documents/8XX.csv

https://docs.google.com/spreadsheets/d/15U0g9t9ZkGcRpE4McCLLDddhyt3utdvndBRDX9KYCoM/edit#gid=1625963474
Hello Everyone,
This is the first pass for the spreadsheet for field code 878 - Item Information - Indexes (R).
Thanks.
Best,
Alice

authors: CECSpecialistI cwarc


text:
New rational recipe

This PR makes a small change to the rational recipe by tweaking layer1 to (i) use the constant 2 and (ii) use run_workload rather than run_workload_fast_match.

A small change for such a long exploration... Merging should depend on the nightly result.

repo: uwplse/ruler


text:
🛑 Third Party is down

In e9450e9, Third Party ($THIRD_PARTY_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Third Party is back up in a556602 after 11 minutes.


text:
v2ray@v5.1.0 -format=jsonv5 parse file failed, when json in oneline.

What version of V2Ray are you using?
v5.1.0

What's your expectation?
parse config success.
When format the config.json it works well.
Why online json, becase it generated by others tool like cuelang.

This feature is removed.

authors: AkinoKaede morlay


text:
Hide java code mentions and unimplemented demo

This change is

Reviewed 3 of 3 files at r1.
Review status: 1 of 3 files reviewed at latest revision, 1 unresolved discussion.

test/my-view1.html, line 23 at r1 (raw file):

This is not related to the patch. At least test doesn't  pass, I guess we need a separate task to create tests for demo, if we want to :)

Comments from Reviewable

test/my-view1.html, line 23 at r1 (raw file):
Previously, rogozinds (rogozinds) wrote…

This is not related to the patch. At least test doesn't  pass, I guess we need a separate task to create tests for demo, if we want to :)

Done.

Comments from Reviewable

Reviewed 1 of 2 files at r2, 2 of 2 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

authors: alvarezguille rogozinds

repo: vaadin/vaadin-board-demo


text:
{.async: (raises).} annotations for protocols/secure

Extend files in libp2p/protocols/secure with {.async: (raises).} annotations and also apply some minor cleanups such as removing unnecessary result usage, using min template and reordering secio variables to be closer to their usage, changing var to let etc.
This is somewhat intertwined due to method handshake* which spans across all three files and must be updated in all files simultaneously.

https://github.com/vacp2p/nim-libp2p/issues/962


text:
Debug adapter exit code=255 (0xff), signal=null.

OS: MAC OS 14.4
VSCode version:  1.87.2
CodeLLDB version: v1.10.0

Verbose log
thread '' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', adapter/codelldb/src/debug_session/breakpoints.rs:627:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
Received signal: SIGABRT
   0: backtrace::capture::Backtrace::new
   1: codelldb::hook_crashes::handler
   2: __simple_esappend
   3: __pthread_atfork_prepare_handlers
   4:
   5: std::sys::unix::abort_internal
   6: _rust_panic
   7: std::panicking::rust_panic_with_hook
   8: std::panicking::begin_panic_handler::{{closure}}
   9: std::sys_common::backtrace::__rust_end_short_backtrace
  10: _rust_begin_unwind
  11: core::panicking::panic_fmt
  12: core::panicking::panic_display
  13: tokio::runtime::scheduler::Handle::current
  14: codelldb::debug_session::breakpoints::::init_bp_actions::{{closure}}
  15: lldb::sb::sbbreakpoint::SBBreakpoint::set_callback::callback_thunk
  16: __ZN4lldb25SBBreakpointCallbackBaton28PrivateBreakpointHitCallbackEPvPN12lldb_private24StoppointCallbackContextEyy
  17: __ZN12lldb_private18StopInfoBreakpoint13PerformActionEPNS_5EventE
  18: __ZN12lldb_private7Process16ProcessEventData10ShouldStopEPNS_5EventERb
  19: __ZN12lldb_private7Process16ProcessEventData11DoOnRemovalEPNS_5EventE
  20: __ZN12lldb_private8Listener21FindNextEventInternalERNSt3__111unique_lockINS1_5mutexEEEPNS_11BroadcasterEjRNS1_10shared_ptrINS_5EventEEEb
  21: __ZN12lldb_private8Listener16GetEventInternalERKNS_7TimeoutINSt3__15ratioILl1ELl1000000EEEEEPNS_11BroadcasterEjRNS2_10shared_ptrINS_5EventEEE
  22: __ZN4lldb10SBListener26WaitForEventForBroadcasterEjRKNS_13SBBroadcasterERNS_7SBEventE
  23: __ZL43_wrap_SBListener_WaitForEventForBroadcasterP7_objectS0_
  24: _cfunction_call
  25: __PyObject_MakeTpCall
  26: _call_function
  27: __PyEval_EvalFrameDefault
  28: __PyFunction_Vectorcall
  29: _call_function
  30: __PyEval_EvalFrameDefault
  31: __PyFunction_Vectorcall
  32: __PyEval_EvalFrameDefault
  33: __PyFunction_Vectorcall
  34: _call_function
  35: __PyEval_EvalFrameDefault
  36: __PyFunction_Vectorcall
  37: _call_function
  38: __PyEval_EvalFrameDefault
  39: __PyFunction_Vectorcall
  40: _method_vectorcall
  41: _t_bootstrap
  42: _pythread_wrapper
  43: __pthread_joiner_wake
Debug adapter exit code=255 (0xff), signal=null.

Similar issue
Running on MacOS host and Ubuntu 22.04 remote via SSH. Happens when try hover over some variables.
Also a bunch of python exceptions before when hovering over code.
Versions
Version: 1.88.1 (Universal)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:42:52.765Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

CodeLLDB version 1.10.0

Trace log
[ERROR codelldb::debug_session] unknown error
Received signal: SIGSEGV
   0: codelldb::hook_crashes::handler
   1: <unknown>
   2: __strlen_evex
             at ./string/../sysdeps/x86_64/multiarch/strlen-evex.S:73
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: <unknown>
  16: <unknown>
  17: <unknown>
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: <unknown>
  22: <unknown>
  23: <unknown>
  24: <unknown>
  25: <unknown>
  26: <unknown>
  27: <unknown>
  28: <unknown>
  29: <unknown>
  30: <unknown>
  31: <unknown>
  32: <unknown>
  33: <unknown>
  34: <unknown>
  35: <unknown>
  36: <unknown>
  37: <unknown>
  38: <unknown>
  39: <unknown>
  40: <unknown>
  41: <unknown>
  42: <unknown>
  43: <unknown>
  44: <unknown>
  45: <unknown>
  46: <unknown>
  47: <unknown>
  48: <unknown>
  49: <unknown>
  50: <unknown>
  51: <unknown>
  52: <unknown>
  53: <unknown>
  54: <unknown>
  55: <unknown>
  56: <unknown>
  57: <unknown>
  58: <unknown>
  59: <unknown>
  60: <unknown>
  61: <unknown>
  62: <unknown>
  63: <unknown>
  64: <unknown>
  65: <unknown>
  66: <unknown>
  67: <unknown>
  68: <unknown>
  69: <unknown>
  70: <unknown>
  71: <unknown>
  72: <unknown>
  73: <unknown>
  74: <unknown>
  75: <unknown>
  76: <unknown>
  77: <unknown>
  78: <unknown>
  79: <unknown>
  80: <unknown>
  81: <unknown>
  82: <unknown>
  83: <unknown>
  84: _ZN4lldb7SBFrame18EvaluateExpressionEPKcRKNS_19SBExpressionOptionsE
  85: _ZN4lldb7SBFrame18EvaluateExpressionEPKc
  86: <unknown>
  87: <unknown>
  88: _PyObject_Call
  89: _PyEval_EvalFrameDefault
  90: <unknown>
  91: _PyFunction_Vectorcall
  92: <unknown>
  93: <unknown>
  94: _PyEval_EvalFrameDefault
  95: _PyFunction_Vectorcall
  96: <unknown>
  97: _PyEval_EvalFrameDefault
  98: <unknown>
  99: _PyFunction_Vectorcall
 100: <unknown>
 101: _PyEval_EvalFrameDefault
 102: <unknown>
 103: PyEval_EvalCode
 104: <unknown>
 105: <unknown>
 106: <unknown>
 107: _PyEval_EvalFrameDefault
 108: <unknown>
 109: _PyFunction_Vectorcall
 110: <unknown>
 111: _PyEval_EvalFrameDefault
 112: _PyFunction_Vectorcall
 113: <unknown>
 114: <unknown>
 115: <unknown>
 116: <unknown>
 117: codelldb::python::PythonInterface::evaluate
 118: codelldb::debug_session::variables::<impl codelldb::debug_session::DebugSession>::evaluate_expr_in_frame
 119: codelldb::debug_session::variables::<impl codelldb::debug_session::DebugSession>::handle_evaluate_expression
 120: codelldb::debug_session::variables::<impl codelldb::debug_session::DebugSession>::handle_evaluate
 121: codelldb::debug_session::DebugSession::handle_request
 122: tokio::runtime::task::core::Core<T,S>::poll
 123: tokio::runtime::task::harness::Harness<T,S>::poll
 124: tokio::task::local::LocalSet::tick
 125: std::thread::local::LocalKey<T>::with
 126: <tokio::task::local::LocalSet as core::future::future::Future>::poll
 127: codelldb::run_debug_session::{{closure}}
 128: tokio::runtime::context::blocking::BlockingRegionGuard::block_on
 129: tokio::runtime::context::runtime::enter_runtime
 130: codelldb::debug_server
 131: codelldb::main
 132: std::sys_common::backtrace::__rust_begin_short_backtrace
 133: std::rt::lang_start::{{closure}}
 134: std::rt::lang_start_internal
 135: main
 136: __libc_start_call_main
             at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
 137: __libc_start_main_impl
             at ./csu/../csu/libc-start.c:392:3
 138: _start

Debug adapter exit code=255 (0xff), signal=null.

You can try this

authors: AntonBondarenkoArm stevensgy vadimcn

repo: vadimcn/codelldb


text:
using select and text boxes with jstree - grid

Hi,
I am using jstree-grid for collecting prices for a set of items in database. I used alternate json for for rendering jstree:
jsonData = [{"id":1,"text":"Materials and varieties", "parent":"#","to_unit_name":"Kg","to_data_needed":"N","to_unit_id":"","to_active":"Y",},
{"id":2,"text":"Bricks","parent":"1","to_unit_name":"ml","to_data_needed":"N","to_unit_id":"","to_active":"Y"}, {"id":3,"text":"Class(Country burnt)(high quality)","parent":"1", "to_unit_name":"1000 Nos", "to_data_needed":"Y","to_unit_id":9,"to_active":"Y"}];
My grid rendering part goes like this:
"grid": {
"columns": [{width: 50, header: "Items", title:"DATA"},
{width: 30, header: "Unit", value:function(node){return(node.to_unit_name);}, title: "Default Unit"},
{width: 30, header: "Shop1 Price", title: "Price from Shop1", value:0},
{width: 30, header: "Shop2 Price", title: "Price from Shop2", value:0}],
"width": 25,
"contextmenu":true,
"resizable":true
}
But only jstree item list displayed in grid and values for columns 2, 3 and 4 not showing.
Also, I want to know whether i can place select and text boxes in jstree-grid.
Thanks.

Please talk to the grid plugin author - it is a third party plugin, I am not the author and can not support it.
Here is the jsTree grid plugin repo: https://github.com/deitch/jstree-grid/

authors: tharasp vakata

repo: vakata/jstree


text:
the accuracy is too low in inat18

When I run inat18, I found that the following error is reported, so I commented out “self.class_map = class_map”, which is located at line 392 of dataset, and after running 200 rounds, I found that the accuracy is too low.The gpu I'm using is 4090t and the batchsize is 64

Hi @fantastice,
Thanks for your effort, for the large datasets like iNat-18 we used a large effective batch size of 2048 across GPUs, to simulate that you can use accumulate gradient for large number of steps (8) and batch size (256) if possible on your gpu.
Further we would like to add that we used a cosine learning rate, hence 200 rounds might not give same performance as 1000 rounds we had in the paper.
Please let us know if you had run any more experiments.
Thanks

Thank you very much for your answer, as I only have one gpu I had to set the batch_size to 64 to get the program to run. I will go ahead and try to run through 1000 rounds and if I have any good news I'll be sure to let you know as soon as I can. Thanks again and good luck with your work life!

To increase the batch size with just 1 gpu:
You can increase the --accum_iter param in the following line:
https://github.com/val-iisc/DeiT-LT/blob/58987789dfc5e10c207986561dc2b039b4b31538/sh/train_inat.sh#L20
So the effective batch size would be batch_size x accum_iter. Maybe try with --accum_iter 16 (or 32), this will make the training slower but the batch size 1024 (or 2048).
Looking forward to your response.

Thank you very much for your advice. I will run inat18 again according to the method you provided. If I have any good news, I will let you know immediately.Merry Christmas to you on Christmas Day tomorrow!

authors: fantastice rangwani-harsh

repo: val-iisc/DeiT-LT


text:
Update refined to 0.11.2

About this PR
📦 Updates eu.timepit:refined from 0.9.29 to 0.11.2
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
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 = "eu.timepit", artifactId = "refined" } ]

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

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

Superseded by #89.

repo: valentinHenry/blaireau


text:
chore(main): release 0.0.15

:robot: I have created a release beep boop
0.0.15 (2024-05-17)
Other

deps: update kubernetes packages to v0.29.3 (#167) (ca51116)
deps: update module github.com/onsi/ginkgo/v2 to v2.17.0 (#168) (9b07b26)
deps: update module github.com/onsi/ginkgo/v2 to v2.17.1 (#170) (23429d9)
deps: update module github.com/onsi/gomega to v1.32.0 (#169) (c2a19a5)
deps: update module github.com/spectrocloud-labs/validator to v0.0.38 (#134) (dd12a3b)
deps: update module sigs.k8s.io/cluster-api to v1.6.3 (#166) (a63f65e)
deps: update actions/setup-python digest to 82c7e63 (#171) (320a3f2)
deps: update anchore/sbom-action action to v0.15.10 (#173) (74248ef)
deps: update codecov/codecov-action digest to c16abc2 (#172) (682c027)
deps: update docker/build-push-action digest to 2cdde99 (#163) (00e145a)
deps: update docker/login-action digest to e92390c (#160) (85eea8c)
deps: update docker/setup-buildx-action digest to 2b51285 (#164) (f842933)
deps: update gcr.io/kubebuilder/kube-rbac-proxy docker tag to v0.16.0 (#174) (ad0c353)
migrate from spectrocloud-labs to validator-labs (#185) (3dd7762)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/validator-labs/validator-plugin-network/releases/tag/v0.0.15 :sunflower:

repo: validator-labs/validator-plugin-network


text:
Clean it at all

What should I do to clean it at all or can you launch a program to completely delete the socd.

All you need to do is to close the program. Check processes in task manager when in doubt.

您需要做的就是关闭该程序。如有疑问，请在任务管理器中检查进程。

My thanks!

authors: Talonye valignatev

repo: valignatev/socd


text:
HT32-0001 error (others just like it work fine)

Hello, thank you for this plugin!
Plugin Version: v1.2.23
HomeBridge Version: 1.6.1
NodeJS Version: v18.16.1
I have a perplexing situation, I have multiple of the above-mentioned timers, however, this one timer does not show up in HomeKit.  When I activate it from the B-Hyve app, the debug logs in HomeBridge give this error:
Error updating service TypeError: Cannot read properties of undefined (reading 'getService')
    at PlatformOrbit.updateService (/usr/lib/node_modules/homebridge-orbit-irrigation/orbitplatform.js:649:51)
    at /usr/lib/node_modules/homebridge-orbit-irrigation/orbitapi.js:363:6
    at ReconnectingWebSocket._callEventListener (/usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/reconnecting-websocket/dist/reconnecting-websocket-cjs.js:557:13)
    at /usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/reconnecting-websocket/dist/reconnecting-websocket-cjs.js:176:81
    at Array.forEach (<anonymous>)
    at WebSocket.ReconnectingWebSocket._handleMessage (/usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/reconnecting-websocket/dist/reconnecting-websocket-cjs.js:176:38)
    at callListener (/usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onMessage (/usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/ws/lib/event-target.js:209:9)
    at WebSocket.emit (node:events:513:28)
    at Receiver.receiverOnMessage (/usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/ws/lib/websocket.js:1184:20)
    at Receiver.emit (node:events:513:28)
    at Receiver.dataMessage (/usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/ws/lib/receiver.js:541:14)
    at Receiver.getData (/usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/ws/lib/receiver.js:459:17)
    at Receiver.startLoop (/usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/ws/lib/receiver.js:158:22)
    at Receiver._write (/usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/ws/lib/receiver.js:84:10)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Receiver.Writable.write (node:internal/streams/writable:337:10)
    at TLSSocket.socketOnData (/usr/lib/node_modules/homebridge-orbit-irrigation/node_modules/ws/lib/websocket.js:1278:35)
    at TLSSocket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at TLSSocket.Readable.push (node:internal/streams/readable:234:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)

PEBKAC--my street address did not match.

repo: valiquette/homebridge-orbit-irrigation


text:
adds categorization for commands

Description
This PR categorizes all commands in their group from the Valkey command JSON metadata files.

Pulls in the groups.json file from valkey-doc
Updates the template to list commands by category, use descriptions of each category from groups.json, add a quick index on the sidebar (as well as an alphabetical index on the sidebar) and switch to the right-aside from full width
Adds styles for new template

It looks like this:

Issues Resolved
#150
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

(One note: the category human-readable names and descriptions are in valkey-doc, not this PR. I'm not crazy about those and will likely do another PR on that repo to update the content)

Regarding the category "Generic", this term is used in keyspace notification config as well, with the letter "g" to enable them: https://valkey.io/topics/notifications/#configuration

authors: stockholmux zuiderkwast


text:
llvm-mode: Get the clang version correctly

When using clang-8.0, The previous command in the
Makefile will get two 8.0.0, thus a warning message print.

Thanks! I forgot that there might be two or more instances of the version triple.

authors: GoodDayGeorge hexcoder-

repo: vanhauser-thc/AFLplusplus


text:
how can i add this to Package.json

ths

Keep your eye on https://github.com/vapor/sqlite-provider/releases for 1.0

authors: mengxiangyue tannernelson

repo: vapor/sqlite-provider


text:
Finalize "cases_seqvars" module

Is your feature request related to a problem? Please describe.
In #1737 we added a minimal implementation of the Seqvars module. Tests and permissions are missing.
Describe the solution you'd like

[ ] add tests
[ ] add permission checks and tests
[ ] include module endpoint views in URLs independent of VARFISH_GEN2_ANALYSIS setting

Describe alternatives you've considered
N/A
Additional context

#1737

@holtgrewe Will update project status and handle ticket

Will handle tests and permissions already in #1737

authors: holtgrewe xiamaz

repo: varfish-org/varfish-server


text:
No role set in session cookie

One user had an issue whereby after they had apparently successfully signed in the Admin menu did not become available to them. When I checked their session file on the back-end, for some reason their "role" was set to blank.

Looks like they had been prompted to login after having gone to the notify event screen. I think there's some logic in there that says, if you're trying to notify us of an event you've got a rep account, so use that instead.

See this commit:
b2658701b8c76e4bd982ad4551a00ca7fc83f16a
The general issue is that we should be using DFV filtered data when handling all form data.

repo: varilink/data-app


text:
Description 组件在生产环境下数据不能重复使用

⚠ 重要 ⚠ 在进一步操作之前，请检查下列选项。如果您忽视此模板或者没有提供关键信息，您的 Issue 将直接被关闭

[x] 已阅读 文档.
[x] 确保您的代码已是最新或者所报告的 Bug 在最新版本中可以重现. (部分 Bug 可能已经在最近的代码中修复)
[x] 已在 Issues 中搜索了相关的关键词
[ ] 不是 ant design vue 组件库的 Bug

描述 Bug
标签切换功能里面，其中一个标签页是 Description 实现的，在开发环境标签之间来回切回数据渲染正常，当构建生产环境包后，从其他标签切回 Description 组件标签后，数据就没有了，我在 Description 组件里面 console 打印 data，开发环境一直有数据，生产环境只有首次渲染 Description 组件时有数据，后面来回切换标签 data 没数据了。

复现 Bug
在我的示例代码里面，顾客信息和就诊记录都用到了 data 数据，就只有 Description 组件的 顾客信息 有这个问题
示例代码：
<template>
  <PageWrapper :title="`顾客 ` + data.name + ` 的资料`" content="顾客资料信息" contentBackground @back="goBack">
    <template #extra>
      开通会员
      就诊开方
    </template>
    <template #footer>

    </template>

      <template v-if="currentTab === 'details'">
        <Description @register="userDetailRegister" />
      </template>
      <template v-if="currentTab === 'medicalPlans'">

这是顾客 {{ data.name }} 就诊记录

      </template>

    <CustomerLevelSetting @register="levelSettingModal" />
  </PageWrapper>
</template>

系统信息

操作系统: Windows 10
Node 版本: v16.20.0
包管理器 (npm/yarn/pnpm) 及其版本: npm 8.19.4；pnpm 8.4.0

看下useDescription.ts里面的register函数
const desc = ref<Nullable<DescInstance>>(null);
  const loaded = ref(false);

  function register(instance: DescInstance) {
    if (unref(loaded) && isProdMode()) {
      return;
    }
    desc.value = instance;
    props && instance.setDescProps(props);
    loaded.value = true;
  }

在首次渲染调用register后loaded变成了true，由于你切换tab页用的是v-if，所以每次切换tab都需要去调用register，重新渲染Description，但是生产环境下，由于loaded为true，所以不会执行setDescProps去重新渲染。
你可以试试把v-if改成v-show看看

@slmev
感谢你的建议和帮助，试了你提供的方法之一 v-show 有效果。
我之前用 Description 标签加属性的方式替换 useDescription 也避免了该问题。

authors: Mr-LiuDC slmev

repo: vbenjs/vue-vben-admin


text:
fix: fix the issues with the request.js (#4667)

Description

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs:dev command.
[ ] Run the tests with pnpm test.
[ ] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Summary by CodeRabbit

Bug Fixes

Improved error handling for API responses, providing more detailed error information for better troubleshooting.

Chores

Refined the error reporting mechanism to enhance clarity and accessibility of error data in the application.

pr没校验通过。这个分支改善了，https://github.com/vbenjs/vue-vben-admin/pull/4679。

authors: anncwb swamp-y


text:
КакТекст возвращает пустую строку

close #27

@vbondarevsky up

repo: vbondarevsky/Connector


text:
can you provide the code for visualizing the loss landscape?

can you provide the code for visualizing the loss landscape? thanks

When I select the data set as CIFAR100, args.rule is dir and args.rule_arg is 0.1

The code for visualizing the loss landscape is taken directly from https://github.com/amirgholami/PyHessian.

repo: vcl-iisc/fedMAN


text:
⚠ Spryr has degraded performance

In eb2e17e, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 6569 ms

Resolved: Spryr performance has improved in 6d11518 after 12 minutes.

repo: vcsphere/upptime


text:
Values passed via aliases ignores value type

Have an option named «save», which is boolean and has alias named «s»
executing two commands and checking type of that option «save»

cmd run --save=false
cmd run --s=false

save is type of boolean in first case and type of string in another.
P.S. Thanks for a lib, great work.

Thanks for opening up this issue, I will test it. Unfortunately, can't give any ETA, because I am very busy nowadays.
P.S. Glad you like Ronin! Psss, big update is coming soon!

authors: rogovdm vdemedes

repo: vdemedes/ronin


text:
Pull #385 broke sdl gfx

https://github.com/veandco/go-sdl2/blame/master/gfx/sdl_gfx.go#L620 Line 620 has a (copy-paste?) mistake and is missing the underscore in len causing the compilation to fail. Faulty commit is 042cf8322c847379ced77b4d7d1832b6b560ddd6

Hi @depili, so sorry about that! It should be fixed now in master branch. Please try!

Yes, 902a8518c8fcea0ff782bb346a8767d5e1bf89f8 does indeed fix this issue and rerunning the previously failed build job succeeds now: https://gitlab.com/Depili/clock-8001/-/jobs/164517043

authors: depili veeableful


text:
Contribution. Spanish translation

riot-android 0.6.9 https://www.dropbox.com/s/eddhmmpbmk0dxd3/strings.xml?dl=0
If it helps, we translate every few versions. We will soon translate riot-web.

Hello,
Translations are managed with Weblate now: https://translate.riot.im/projects/riot-android
Benoit

authors: bmarty jackblordbest

repo: vector-im/riot-android


text:
App unexpectedly opened by itself while I was watching a video on youtube

reported by @vurpo:vurpo.fi
https://github.com/matrix-org/riot-android-rageshakes/issues/520

Context, now that I know more of what happened: my Synapse server went down because of unrelated problems, and because of an nginx misconfiguration, nginx started returning 404 for every path under /_matrix. (Normally it should have been 502, but my nginx had a configuration error)
So I think that this is related to my HS suddenly starting to return 404 for every HTTPS request made to it.

authors: vurpo ylecollen


text:
Spike: Fee summary data

The Chore
At launch / soon after we want to make sure that someone who has decided to trade, provide liquidity on Vega has an easy way to understand what they are making from fees and rewards. Right now, we have the ability to show reward scheme earnings in the token front end, but do not currently show fees:

Maker fees
LP fees
Infrastructure fees

Tasks

[ ] Identify the data required
[ ] Identify if this data is available via API
[ ] Outline ticket for creating the service or requirement on data node (if there is one needed)

Additional details / background info
These fees might be on the ledger entries API https://docs.vega.xyz/testnet/api/rest/data-v2/trading-data-service-list-ledger-entries- e.g.
TRANSFER_TYPE_MAKER_FEE_RECEIVE
TRANSFER_TYPE_LIQUIDITY_FEE_DISTRIBUTE
TRANSFER_TYPE_INFRASTRUCTURE_FEE_DISTRIBUTE

Need to make sure we include the historical granularity on this stuff.
Will people want to see by day, week, month, year?
How accurate within a day?  Is a day fine or does it need to be hourly?
When does a "day" start and end? Is epoch best? Maybe UTC? 00:00? Vegatime?
Really important we get the data engineering right on this first time!

repo: vegaprotocol/frontend-monorepo


text:
Switch for dark / light time seems broken

When switching from dark to light theme, some compone stays in the initial color. This is broken either if you load the app in dark or light them initially (see recordings).
https://user-images.githubusercontent.com/4346460/173781165-f1de2425-9801-42fe-8ec7-cf0c2f36d30b.mov
https://user-images.githubusercontent.com/4346460/173781189-fe9c4de8-060a-4dbb-b408-0a8066f9e668.mov

Duplicate, fixed in #588.

authors: jeremyletang sam-keen


text:
Feat/limit order trader

Description:
SemiRandomLimitOrderTrader agent added to common agents and implemented in ideal_market_maker_v2 scenario.

One last small tweak and I think we're good.
Can we also remove it from the ideal_market_maker_v2 scenario for now? I'm not sure how the agent will change the parameter tests so let's play it safe and keep it out 😄

Sure thing thats a fair point. Have removed it 😄

authors: TomMcL cdummett

repo: vegaprotocol/vega-market-sim


text:
Map visualizations

Hello,
Sorry for the newbie question. Is map visualization like the following supported?
If so, can you please add some example in the example notebooks?
https://vega.github.io/vega/examples/county-unemployment/

I don't think you can do that with vegas.
My understanding is that this library is wrapper/fascade around Vega-Lite rather than Vega itself. Vega-Lite only lets you do a small support of what vega does (but in an easier/more concise way).

Vega lite 2.x may support this (looking like after 2.0, possibly 2.1):
https://github.com/vega/vega-lite/milestone/30

Willium's request for geo spatial plots will be merged into vega-lite master soon
https://github.com/vega/vega-lite/pull/2734

any update on this, it seems the request vega/vega-lite#2734 has been merged and closed

Hello, any news on the map support in Vegas? Can we use the latest Vegas library to plot data on a map?

authors: Grogs mcatana rgbkrk stoneyv thetuxedo tomron

repo: vegas-viz/Vegas


text:
Eavesdrop keylogging

Seems like there's a security concern here, someone with a microphone can "keylog" what you are "typing", can we optionally have the speakers emit the sound of a slamming lid at random intervals to introduce noise that will obfuscate the signal?

I think it may be better to have the speakers emit the opposite frequencies of the sound of the lid slamming, similar to noise-cancelling headphones.

This seems like an important issue. You should add an important label to this one.

we may need to assign this a CVE as well

Yes, that is a very good idea.

i am not a developer by myself, but i think playing dubstep very loudly while you type could be a temporary workaround, couldn't!?

authors: FiSHYsolutions RPGillespie6 Techwizz-somboo veggiedefender

repo: veggiedefender/open-and-shut


text:
ability to disable fixture cleanUp between specs

I've added a way to disable fixture teardown by disabling the cleanUp method; a bit messy, but for when fixture generation is expensive, or the environment is complex enough that I want to test a series of things in a persistent environment.
I know not everyone wants this -- there's a lot to be said for small, self-contained specs and contexts, but is there any interest in building such a feature into jasmine-ajax?
  var cleanUp;

  // disable cleanUp() method to persist the fixture across specs
  persistFixture = function() {

    cleanUp = jasmine.getFixtures().cleanUp; // save the cleanUp function

    jasmine.getFixtures().cleanUp = function() {}; // replace it with a fake one

  }

  // restore non-persistent fixture behavior
  unPersistFixture = function() {

    jasmine.getFixtures().cleanUp = cleanUp;

  }

Er, obviously it'd be easier to do in the library itself with a switch instead of the jiggery-pokery above, i just thought I'd share how I did it for clarity.

For what it is worth, after many hours of troubleshooting a missing jasmine-fixtures element, I stumbled onto the same solution. I have a series of tests which require an initial HTML element to be loaded and subsequent tests interact with the HTML output. I was getting erratic behavior until I realized it was because the jasmine.getFixtures().cleanUp was being called after each it() and describe() call.
It would seem to me the sensible solution is to scope the fixture to the level it was defined. If I create it at the top of my hierarchy of describe & it statements, it persists until that block is completed. That way, if someone wants to load a fixture within a it() statement, it will be cleaned up then. If someone wants to load a fixture in a beforeAll before running all their specs, it will last for that duration.
In the meantime, I will have to use a solution like above to unwire the default behavior.
This appears to be the same issue causing #275 as well.

I always disable the fixture cleanup by overwriting the cleanup method to an empty method, to debug a failed test inside chrome and it helps a lot to reproduce the fail in the actual application just for reproduction.
A kind of easier feature to disable the cleanup would be nice. This is actually a pretty hidden undocumented workaround but it really helps a lot.

Ended up doing a similar thing to decrease test run-time where the overhead of adding and removing elements repeatedly was getting really high.

authors: GerroDen chrisnelson jywarren rajsite

repo: velesin/jasmine-jquery


text:
Minor changes to the project definitions

We were  targeting v11 apparently, I think this was unintended.  This tries to correct that and silence warnings over which we cannot do anything at the moment.

LGTM! Can you add an entry to the CHANGELOG stating the change of iOS Deployment target version to 10.0?

Yes, I added the changelog entry in 49ba975. Please take a look.

repo: velocidi/velocidi-ios-objc-sdk


text:
Update input.js to use boolean value

... instead of null for localeEnabled
Fixes https://github.com/Pageworks/craft-manytomany/issues/32

Pull request updated to include swap of deprecated localeEnabled for enabledForSite

Thanks for this! Merged manually due to the verbb/many-to-many changeover.

authors: engram-design matthisamoto

repo: verbb/many-to-many


text:
Error following NextJS-example

Trying to implement the NextJS-example into an existing project (using pages-Router), I am stuck with this error:
TypeError: Cannot read properties of undefined (reading 'in_reply_to_status_id_str')
Is it possible, that Twitter has changed its API?

False alarm! The tweet-object did not arrive at the component…
Thank you for this great library!

repo: vercel-labs/react-tweet


text:
Implement proxy config option

Uses well-established http-proxy to provide an option similar to rewrite that proxies requests to a different backend. Resolves #30. The new option would look like this:
{
  "proxy": [
    { "source": "/api/foo", "destination": "http://foo.example" },
    { "source": "/api/bar", "destination": "http://bar.example" }
  ]
}

Additionally, other http-proxy options can be specified in the config, like ignorePath which removes the original url when the request is proxied:
{
  "proxy": [
    { "source": "/api/foo", "destination": "http://foo.example", "ignorePath": true }
  ]
}

Wanted to put this in a PR to get it in front of the Zeit team before going further. If the idea is good, I'll finish the remaining todos:

[ ] Add tests
[ ] Document proxy config option
[ ] Merge PR for proxy option in @zeit/schema repo

@leo Friendly bump to this. If there's not interest I'd be interested in maintaining a fork of the package to support this feature.

Bump, I'd love to see this move forward as well and would be willing to help.

+1 imho this is essential. i'm going to have to switch to another library due to lack of proxy support, which is too bad because serve is otherwise great.

@gatherben Meanwhile you can use my fork with this feature if you'd like. Is published as serve-proxied on npm. Hope to see it merged some day.

Why this PR is not merged? It's a great and useful feature.

@nathancahill OK, I think you should add related tests and documentation as the description of PR template.

@JounQin I'm not investing more time until I hear back from the maintainers that they are interested (in which case this PR can be finished) or not interested (in which case the feature will be available in serve-proxied on npm).

@nathancahill I tried your serve-proxied, but it seems not working to me.
// serve.json
{
  "proxy": [
    {
      "source": "/api/",
      "destination": "http://localhost:8080/",
      "secure": false,
      "changeOrigin": true
    }
  ]
}

CMD: cp -f serve.json dist/static && serve dist/static -l 4200

// response
{"error":{"code":"not_found","message":"The requested path could not be found"}}

Is there anything wrong?

@JounQin make sure the service running on :8080 is expecting the URL to be prefixed with /api/v1 and not just /v1

@nathancahill Yeah, of course, it works with webpack-dev-server so I believe the service is running correctly.
Whatever, I've finished up by writing a custom serve.js which wrapped serve-handler and http-proxy manually which seems simple enough to me.

const path = require('path');
const http = require('http');

const httpProxy = require('http-proxy');
const handler = require('serve-handler');

const proxy = httpProxy.createProxyServer();

const PROXIES = require('../.proxyrc.json');

const PROXY_SOURCES = Object.keys(PROXIES);

const server = http.createServer((request, response) => {
  const proxySource = PROXY_SOURCES.find(source => request.url.match(source));

  if (proxySource) {
    const proxyConfig = PROXIES[proxySource];
    return proxy.web(request, response, proxyConfig, error => {
      response.destroy(error);
      console.dir({
        source: request.url,
        target: proxyConfig.target,
        message: error.message,
      });
    });
  }

  return handler(request, response, {
    public: path.resolve('dist/static'),
    rewrites: [
      {
        source: '/**',
        destination: '/index.html',
      },
    ],
  });
});

server.listen(4200, () => console.log('Running at http://localhost:4200'));

Added support for routing segments like redirects and rewrites have. So now it's possible to do this:
{
  "proxy": [
    { "source": "/api/:object", "destination": "http://example.com/:object" }
  ]
}

Published on npm as serve-proxied@11.1.0

@leo Did you guys ever have any time to review these pending PRs?

use http-proxy:
const handler = require("serve-handler");
const http = require("http");
const path = require("path");
const proxy = require("http-proxy").createProxyServer();
const apiAddr = "http://192.168.1.2:31501/"; // proxy host

const server = http.createServer((request, response) => {
  if (request.url.indexOf("/es") > -1) { // request api
    console.log("proxying req url: " + request.url);
    return proxy.web(request, response, { target: apiAddr }, (err) => {
      console.error(err);
    });
  }
  // You pass two more arguments for config and middleware
  // More details here: https://github.com/vercel/serve-handler#options
  return handler(request, response, {
    public: path.resolve("./dist/es-web-portal"),
  });
});

server.listen(3000, () => {
  console.log("Running at http://localhost:3000");
});

Added support for routing segments like in the redirects and rewrites options. So now it's possible to do this:
{
  "proxy": [
    { "source": "/api/:object", "destination": "http://example.com/:object" }
  ]
}

Published on npm as serve-proxied@11.1.0

Hello,
I have used your fork but I need to list all possible path as follow
"proxy": [
{
"source": "/app1/",
"destination": "http://localhost:8080/app1/"
},
{
"source": "/app1/:object",
"destination": "http://localhost:8080/app1/:object"
}
{
"source": "/app1/js/:object",
"destination": "http://localhost:8080/app1/js/:object"
}
]
Is there a way to put a wildcard ? Thanks.

authors: JounQin gatherben nathancahill skipjack srichez yy7054wyq5

repo: vercel/serve-handler


text:
Code Coverage Demonstration

Which project is this feature idea for?
Turbopack
Describe the feature you'd like to request
It would be great to have a demonstration of generating code coverage when using c8, or the native V8 code coverage.
Describe the solution you'd like
Ideally, running pnpm c8 pnpm next --turbo would automatically output code coverage information.
Describe alternatives you've considered
After exiting pnpm c8 pnpm next --turbo, the outputted coverage is always empty:
----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files |       0 |        0 |       0 |       0 |
----------|---------|----------|---------|---------|-------------------

There is also https://github.com/kwonoj/swc-plugin-coverage-instrument, but there have been several issues with version incompatibility over the past several months.

If you're interested in getting code coverage working with Playwright, I'd recommend checking out https://github.com/cenfun/monocart-coverage-reports
Here are some example projects:

https://github.com/cenfun/nextjs-with-playwright
https://github.com/michaelhays/playwright-nextjs-coverage-example

repo: vercel/turbo


text:
turbo-ignore do not work on a single repo

Verify canary release

[X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue
https://github.com/devjiwonchoi/repro-turbo-ignore-single-app
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
turbo 1.13.4-canary.4
Describe the Bug
Context: Using turbo on a single Next.js app (non-monorepo)
turbo build --dry json returns the packages as undefined, so it throws an error as below:

Expected Behavior
In tuborepo, we need to add logic to include a single repo to packages value as well.
To Reproduce
Run the following commands:
pnpm i
pnpm turbo build
npx turbo-ignore

Confirm that the packages value is missing
pnpm turbo build --dry=json

Additional context
x-ref: #8171

Hey @devjiwonchoi thanks for the report. This shouldn't straight up fail, so we can fix that. However using turbo-ignore with a single package repo is not necessary, since turbo only has package level granularity it will never ignore.

@tknickman Thank you for the fix!
I came across from this video by Anthony where it introduces to use turbo-ignore to possibly skip everything on CI before even installing deps, as well as from the docs.
As I'm benefitting so much from turbo build and the remote cache on my Next.js app, I'd love to benefit even more with turbo-ignore where I can turbo build locally, remote cached, and not even installing deps on Vercel and save money for Vercel and time for myself.
I think it's feasible.. or maybe I misunderstood the feature?

That's awesome you're benefiting from turbo build!
turbo-ignore helps when deploying in CI (it works best on Vercel!) to determine if your changes are relevant to the app you're deploying. It does this by determining if your package, or any of your packages dependencies have changed. When you're working with a single package application - a deployment will only be queued when it has changes, thus running turbo-ignore won't matter as it will always determine that the project should build.

Ah, understood. Thank you for your kind explanation!!

No problem - thanks again for the report of the issue!

authors: devjiwonchoi tknickman


text:
receive cb() never called! error on npm install when using verdaccio

Describe the bug
npm install results in the following error.  Contrary to the message below it does not appear to be an npm issue, since if I disable verdaccio and go directly to npm registries, everything works.  I thought it might be a size issue so I added max_body_size to the end of my config.
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     https://npm.community
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/trenta/.npm/_logs/2018-12-28T10_01_07_373Z-debug.log
To Reproduce
Steps to reproduce the behavior:

npm i -g create-react-native-app
create-react-native-app my-project

Expected behavior
It should work, but npm fails.
Screenshots
$ create-react-native-app my-project
? Choose a template: expo-template-tabs
[02:54:38] Extracting project files...
[02:54:39] Customizing project...
[02:54:39] Installing dependencies...
npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/trenta/.npm/_logs/2018-12-28T09_55_03_457Z-debug.log
[02:55:03] Process exited with non-zero code: 1
[02:55:03] Set EXPO_DEBUG=true in your env to view the stack trace.

Configuration File (cat ~/.config/verdaccio/config.yaml)
#
# This is the config file used for the docker images.
# It allows all users to do anything, so don't use it on production systems.
#
# Do not configure host and port under `listen` in this file
# as it will be ignored when using docker.
# see https://github.com/verdaccio/verdaccio/blob/master/wiki/docker.md#docker-and-custom-port-configuration
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
#

# path to a directory with all packages
storage: /verdaccio/storage
# path to a directory with plugins to include
plugins: /verdaccio/plugins

web:
  # WebUI is enabled as default, if you want disable it, just uncomment this line
  #enable: false
  title: Verdaccio

auth:
  htpasswd:
    file: /verdaccio/conf/htpasswd
    # Maximum amount of users allowed to register, defaults to "+infinity".
    # You can set this to -1 to disable registration.
    #max_users: 1000

# a list of other known repositories we can talk to
uplinks:
  npmjs:
    url: https://registry.npmjs.org/

packages:
  '@*/*':
    # scoped packages
    access: $all
    publish: $authenticated
    proxy: npmjs

  '**':
    # allow all users (including non-authenticated users) to read and
    # publish all packages
    #
    # you can specify usernames/groupnames (depending on your auth plugin)
    # and three keywords: "$all", "$anonymous", "$authenticated"
    access: $all

    # allow all known users to publish packages
    # (anyone can register by default, remember?)
    publish: $authenticated

    # if package is not available locally, proxy requests to 'npmjs' registry
    proxy: npmjs

# To use `npm audit` uncomment the following section
middlewares:
  audit:
    enabled: true

# log settings
logs:
  - {type: stdout, format: pretty, level: http}
  #- {type: file, path: verdaccio.log, level: info}

max_body_size: 200mb

Debugging output
Verdaccio is running in the verdaccio docker image, so it would take me awhile to debug that.  Since the steps are easily reproduced, it's best if a verdaccio developer looks at that.
$ npm -ddd install
npm info it worked if it ends with ok
npm verb cli [ '/home/trenta/.nvm/versions/node/v11.6.0/bin/node',
npm verb cli   '/home/trenta/.nvm/versions/node/v11.6.0/bin/npm',
npm verb cli   '-ddd',
npm verb cli   'install' ]
npm info using npm@6.5.0-next.0
npm info using node@v11.6.0
npm verb npm-session f1e79edb6538a8fd
npm sill install runPreinstallTopLevelLifecycles
npm sill preinstall my-project
npm info lifecycle @~preinstall: @
npm sill install loadCurrentTree
npm sill install readLocalPackageData
npm timing stage:loadCurrentTree Completed in 24ms
npm sill install loadIdealTree
npm sill install cloneCurrentTreeToIdealTree
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
npm sill install loadShrinkwrap
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 7ms
npm sill install loadAllDepsIntoIdealTree
npm http fetch GET 200 http://localhost:4873/@expo%2fsamples 672ms
npm http fetch GET 200 http://localhost:4873/babel-preset-expo 693ms
...
npm sill pacote version manifest for react@16.5.0 fetched in 30ms
npm sill resolveWithNewModule react@16.5.0 checking installable status
npm sill pacote range manifest for react-navigation@^2.18.2 fetched in 30ms
npm sill resolveWithNewModule react-navigation@2.18.3 checking installable status
npm timing npm Completed in 30895ms
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/trenta/.npm/_logs/2018-12-28T10_01_07_373Z-debug.log

$ cat ~/.npmrc
registry=http://localhost:4873/
proxy=http://localhost:4873/
https-proxy=http://localhost:4873/
//localhost:4873/:_authToken="dpn8isKmzoTzAualPGNUDQ=="

@TrentonAdams do you have any server log to share?

The unique place is being used is
    return next(err);
      }
      metadata = convertDistRemoteToLocalTarballUrls(metadata, req, config.url_prefix);

      let queryVersion = req.params.version;

Interesting. I wonder if the side effect of setting that url_prefix caused npm to throw that error. I wish npm was a bit more explicit with that error.

authors: TrentonAdams juanpicado umarov

repo: verdaccio/verdaccio


text:
Campaign | Doors: Add area

As an app user I want to be able to add a new area.
Acceptance criteria:

[ ] Users can add a new area by clicking on the locator in #217. By choosing "+Bereich" the locator icon is turned into a vector drawing tool. Once an area has been closed the area is saved.
[ ] editing screen to add further information on number of doors and a possible comment

Prototype: https://www.figma.com/proto/7wE0Iveas3GGb8u4oL0714/App-Design-Mitglieder-App-(1)-(Copy)?node-id=2842-29118&t=b8swD5IOAFfZ0OSo-1
API endpoint reference: https://github.com/verdigado/gruene-api/issues/72
Pollion reference: https://github.com/pollion/sunflower-app/issues/79

UX question: There is currently no way described in the prototype on how to add further information to the area such as opened doors or a comment.
Please provide further information on this @leagerndt @JuliaFreitagBGSt.

To clarify: The view “Bereiche” shows all areas ever visited by everyone in the current election campaign. This view is on by default so that no new areas are drawn over areas that have already been visited. The areas differ in color according to all visited areas of other district associations (grey) and my district association (pink).
For this reason, the view "Bereiche" is renamed to "Besuchte Gebiete" to avoid confusion for users. As the view is on by default, this tab should be moved to the far left so that the new order is: "Besuchte Gebiete", "Fokusgebiete", "Routen".
--
After I click on “+ Bereich”, I can draw an area on the map with my finger. As soon as the area has been completed, the editing screen opens. I can enter details about the area in this screen (similar to the "Haustür" screen). After I have confirmed the area by clicking on the Save button, the mask closes and the area is displayed in blue on the map.
Details of the editing screen: The title is "Bereich eintragen". The editing screen should contain two optional input fields. One for open/unopened doors and a text field for further comments (max. 200 characters). And mandatory: a save-button and a cancel button.
--
screenshots will be provides as soon as we can @leagerndt

I have edited the descriptions of #268 and #283 to reflect the above suggestions.

In light of the new election date for the German federal elections, the priority for door-to-door canvassing is:

flow for a new single location (address-bound) (#171), then
flow for a canvassing area (Bereich) via vector points (#273)


text:
[Bug] Unable to enter game with latest meta core

Verify Steps

[X] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
[X] Latest 我已经使用最新 Dev 版本测试过，问题依旧存在
[X] Core 这是 OpenClash 存在的问题，并非我所使用的 Clash 或 Meta 等内核的特定问题
[X] Meaningful 我提交的不是无意义的 催促更新或修复 请求

OpenClash Version
v0.45.80-beta
Bug on Environment
Official OpenWrt
Bug on Platform
Linux-arm64
To Reproduce

update to latest alpha meta core alpha-g106a5877
multiple time try update and revert back to version alpha-g67605b22

Describe the Bug
unable to enter the game after updating meta core to version alpha-g106a5877, it was fine before this version. already try multiple time update and revert back to previous version with same result (only happened with latest version). Same config when trying nothing changed.
OpenClash Log
there is no error or warning on logs.
OpenClash Config
No response
Expected Behavior
fix
Screenshots
No response

after got the time to find, it seem the problem is when using rules:
rules:

NETWORK,UDP,DIRECT

cant enter the game when using that rules but it fine on meta core version alpha-g67605b22 and before that

fixed with latest meta core alpha-gd00d83ab
thanks

repo: vernesong/OpenClash


text:
will flink-cdc support to capture transactional information?

When i update tables in one transaction, it seems that changelogs were captured and handled separately by flink-cdc, which means their connection to each other is lost.  So is there any way to keep the relevance between these changelogs?
(e.g. When using flink-cdc summing total value from accounts, if one account's cash is transferred to another account,  then the total value may decrease at first and then increase back)

Closing this issue because it was created before version 2.3.0 (2022-11-10). Please try the latest version of Flink CDC to see if the issue has been resolved. If the issue is still valid, kindly report it on Apache Jira under project Flink with component tag Flink CDC. Thank you!

authors: PatrickRen luguanxing

repo: ververica/flink-cdc-connectors


text:
[mysql][polardb-x] Support all charsets  for MySQL CDC Connector

This PR fixed the encoding bug when a mysql table uses a different charset encoding in the column level.
Changes:

Debezium MySqlValueConverters#charsetFor(Column) is reused to get the column charset.
For String type in mysql, first encoding with the jdbc connection charset(UTF_8). Then use the column charset.

@fsk119 Please take a look. Thanks.
BTW, I only add four charset tests in this PR. Do we need to add all of the charsets in the mysql ?

I find that the charset properties are not using in the jdbc connection rightly.
This issue should wait https://github.com/ververica/flink-cdc-connectors/issues/674 to be fixed. After setting the properties rightly, we could pass the new tests that use different charset.

@ruanhang1993 Hi Ruan, I pm you some question regarding the details of this PR. I'll copy my question below -- could you also check your email?
IMHO, there are two charset transformations happening if the charset used in JDBC connection is different from that of table columns. For instance if the column uses latin1 and jdbc uses utf8, when we read the records the following transformation will occur:
latin1 -> utf8 -> bytes
So if we directly call getBytes and let the use convert it to latin1, the first utf8 transform is missing. Therefore we should let jdbc handle charset conversion for us by calling getObject and underlyingly these transformations will happen:
bytes -> utf8 -> latin1
Please correct me if there's any misunderstanding.

@ruanhang1993 Hi Ruan, I pm you some question regarding the details of this PR. I'll copy my question below -- could you also check your email?
IMHO, there are two charset transformations happening if the charset used in JDBC connection is different from that of table columns. For instance if the column uses latin1 and jdbc uses utf8, when we read the records the following transformations will occur: latin1 -> utf8 -> bytes
So if we directly call getBytes and let the use convert it to latin1, the first utf8 transformation is missing. Therefore we should let jdbc handle charset conversion for us by calling getObject and underlyingly these transformations will happen: bytes -> utf8 -> latin1
Please correct me if there's any misunderstanding.

I think there is something you misunderstand.
getObject only helps to complete the job that converts the value by a right connection charset(default utf-8) which is set by characterSetResults.The column charset latin1 only means the charset in the table column. The returned result is depended by the characterSetResults.
This bug is that if we return a byte[] object which is UTF-8 encoding, the debezium will convert this value to String by a latin1 encoding. So we could return a String and the debezium will not do these processing.getObject will invoke getString for these char types finally. So we do not need the if statement by using it.

@ruanhang1993 I open a new PR #1468 to fix the issue base on your work, please do not use you master branch as a develop branch which others can not append commits.


text:
Simplify the logic of ObjectReuseJob

Previous ObjectReuseJob is a bit too complex for participants.
We should drop some complex statements to let participants focus on understanding points below:

how to ensure job correctness when object reuse is enabled
how to improve the performance by changing serializer

This is a forward-port of https://github.com/ververica/flink-training-troubleshooting/pull/6. I adapted the training dashboard to remove a now unnecessary graph and checked that you can still see the same results from enabling object reuse (too high temperatures)

Yeah, locally, you don't see the wrong results that easily - we export the temperatures as metrics and with object reuse on, in the task, they are just too high. Eventually, we should change the setup and also verify the results via tests...

Might be nice to add a comment in solution1 pointing out what had to change to in order make object reuse safe

yes - we are actually missing a whole description of the exercise in this repo. I'm afraid, we will have to work on this later though.

repo: ververica/flink-training


text:
The ReadNebulaConfig does not provide configuration options for specifying the username and password.

General Question
配置: nebula 3.4.1, spark 3.3
nebula spark connector3.0版本中, ReadNebulaConfig未提供用户名和密码的配置方式, 当nebula集群开启了用户名登录认证之后, 程序会报 java.net.ConnectException: Connection refused (Connection refused), 而如果将nebula集群的认证关闭, 则能连接成功, 这个是由于疏忽而导致的bug吗?

Yean, the reader does not use graphd interface but use storaged interface scan, so there's no auth for user

repo: vesoft-inc/nebula-spark-connector


text:
infer auth method without request

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
While investigating query performance, I noticed that we perform HTTP-requests to infer auth_method. This is unnecessary, and results in multiple, unnecessary HTTP-requests before the "actual request" when initializing a VespaSync/VespaAsync-connection, leading to higher response times.
This PR eliminates the extra calls, and instead infers auth_method from the passed parameters.

Also triggered cloud tests manually ✅
https://github.com/vespa-engine/pyvespa/actions/runs/10594808080

repo: vespa-engine/pyvespa


text:
Change identity document endpoint port from 8443 -> 4443

FYI @freva

👍

authors: bjorncs tokle

repo: vespa-engine/vespa


text:
Revert "Skip services with clustername node-admin"

Reverts vespa-engine/vespa#8020

https://github.com/vespa-engine/vespa/pull/8025 instead

authors: hakonhall jonmv


text:
Durchsuche Nexus-Blob-Store nach Schlüsselwörtern

Hallo Zusammen,
Anbei mein Script zur Ermittlung von Dateigrößen zu Schlüsselwortern auf dem Nexus.

Beispiel zur Nutzung: ./getsizeinnexus.sh /data/nexus_repository/blobs/default/ vpw

Danke Dir!

authors: fkoehne reinertd

repo: viadee/nexus-x-ray


text:
rpc: add ExternalAuthService delegated authentication extension

This new ExternalAuthService provides the way for us to be able to do authentication and authorization for local clients in the cloud while having the client trust the cloud using PKI. The new method is AuthenticateTo which will the direct and webrtc dialers to use it with the external auth address options. This means an Authenticate call happens against an external address and then AuthenticateTo which will use the JWT response on all requests to the actual address. For viam's sake, AuthenticateTo is only used in direct gRPC connections on local robot UI but not yet used fully until https://github.com/viamrobotics/goutils/issues/12 is addressed.
Other than that, there's a lot of fixes going on here with external authentication that were discovered while working on https://github.com/viamrobotics/app/pull/58.
Other PRs for this task:
https://github.com/viamrobotics/app/pull/58
https://github.com/viamrobotics/rdk/pull/446

self review done

yep, needs a doc. I'll write one later similar to the one in app's godoc.

repo: viamrobotics/goutils


text:
RSDK-875 migrate rdk proto methods

JIRA: https://viam.atlassian.net/browse/RSDK-875
Initial release of typescript SDK - packages all web proto methods used by RDK: https://github.com/viamrobotics/rdk/pull/1601
TODO:

[ ] set test workflow branch to @main before merging

sorry @micheal-parks @edaniels, I did some git history rewrite nonsense and closed the branch by accident - reopening here: https://github.com/viamrobotics/viam-typescript-sdk/pull/2

repo: viamrobotics/viam-typescript-sdk


text:
Will there be an add_route option?

I was comparing Vibora to other frameworks and I know some like Japronto have an "add_route" option to easily add routes from functions. If you take a look at an example here, a user is able to setup functions wherever they like (even in another file if possible via import) and can simply add the route with the URL and allowed methods.
I didn't see this option in the docs and if it is, I apologize for not finding it. If not, it would be a nice feature to add to this new and sexy framework.

This is more of a workaround than a solution (maybe), but you can use the @app.route decorator as a normal function call instead of the decorator syntax:
def slash():
    ...

app.route('/')(slash)

But yeah it looks a bit ugly, add_route would be cool imo :)

authors: Mahi btegs

repo: vibora-io/vibora


text:
🛑 OA Plus - mobile API is down

In a12fcdf, OA Plus - mobile API (https://api-oaplus-mobile.line-apps.com/account/v1/accounts) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OA Plus - mobile API is back up in 3fce72e.

repo: vichaos/upptime


text:
Pinned @vue/runtime-core and @vue/runtime-dom causes version mismatch of core Vue 3 packages

Describe the bug
https://github.com/victorgarciaesgi/vue-chart-3/commit/af4d6b31434cd80f0410aa1f139e34e5b0c9b1aa changed the version resolution of @vue/runtime-core and @vue/runtime-dom from latest to an exact pin on 3.2.26 for both of these. If a consumer is using an older or newer version of Vue 3 (e.g 3.2.25 or 3.3.x), then they will have two versions of these core packages bundled with mismatched feature support.
These should ideally be a peerDependency targeting the major version (e.g ^3.2.26) so it will always be in line with the version of Vue used by the consumer as these are direct dependencies of the vue@3 package.
Version of vue-chart-3
v3.0.7
Version of Vue

[x] Vue 3
[ ] Vue 2
[ ] Nuxt 2
[ ] Nuxt 3

Hi @wopian ! It's fixed in 3.0.8 :)

authors: victorgarciaesgi wopian


text:
Updates to chapter textTrack don't propagate to chapter menu

Current Behavior:
Chapter menu is not updated when programatically updating text track. Changes are reflected correctly on the slider, but the radio menu is unaffected.
Expected Behavior:
Changes to a 'chapter' TextTrack should propagate to chapter radio menu. When a cue is added/removed from a track it should be added/removed from the chapter menu as well.
Steps To Reproduce:
See example on codepen
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vidstack player chapters test</title>
    <style>
        body {
            margin-top: 400px;
        }
    </style>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vidstack@next/player/styles/default/theme.min.css" />
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vidstack@next/player/styles/default/layouts/audio.min.css" />
</head>
<body>
    <media-player id="player" title="Sprite Fight" src="https://media-files.vidstack.io/sprite-fight/audio.mp3">
        <media-provider>
            <track src="https://media-files.vidstack.io/sprite-fight/chapters.vtt" kind="chapters" label="English"
                srclang="en-US" default data-type="vtt" />
        </media-provider>
        <media-audio-layout></media-audio-layout>
    </media-player>
    <button id="removeCueButton">Remove First Cue</button>
    <script src="https://cdn.jsdelivr.net/npm/vidstack@next/cdn/with-layouts/vidstack.js" type="module"></script>
    <script>
        const player = document.getElementById('player');
        window.player = player;

        document.getElementById('removeCueButton').addEventListener('click', () => {
        const track = player.textTracks[0];
        const [cue] = track.cues
        track.removeCue(cue)
        });

    </script>
</body>
</html>

https://github.com/vidstack/player/assets/40058612/51a61951-c634-46f2-9fa0-7d2ba42e3a8d

Thanks for reporting! Should be resolved in 1.9.3@next :)

repo: vidstack/player


text:
Cannot find module node_modules\vidstack\plugins.js

Current Behavior:
I have followed the guide here to bundle Vidstack:
I https://www.vidstack.io/docs/player/getting-started/installation/vue?bundler=nuxt&provider=youtube&styling=default-layout
Furthermore we are using Nuxt v3.9.2 and Vue v3.3.8
However when running npm run dev I get the following error:

In node_modules\vidstack\plugins.d.ts it has:
import * as _esbuild from 'esbuild';
import * as _rollup from 'rollup';
import * as _vite from 'vite';
import * as _unplugin from 'unplugin';

type FilterPattern = Array<string | RegExp> | string | RegExp | null;
interface UserOptions {
    include?: FilterPattern;
    exclude?: FilterPattern;
}
declare const unplugin: _unplugin.UnpluginInstance<UserOptions | undefined, boolean>;
declare const vite: (options?: UserOptions) => _vite.Plugin<any> | _vite.Plugin<any>[];
declare const rollup: (options?: UserOptions) => _rollup.Plugin<any> | _rollup.Plugin<any>[];
declare const webpack: (options?: UserOptions) => WebpackPluginInstance;
declare const rspack: (options?: UserOptions) => RspackPluginInstance;
declare const esbuild: (options?: UserOptions) => _esbuild.Plugin;

export { type FilterPattern, type UserOptions, esbuild, rollup, rspack, unplugin, vite, webpack };

Expected Behavior:
To be able to bundle Vidstack with Nuxt and Vite.
Environment:
Example:

Framework: Vue
Meta Framework: Nuxt.js
Node: 20.11.0

Anything Else?

What version are you on? It was included in 1.10.3@next because I forgot to include it package files.

Sorry for not mentioning, it's on v1.10.1
I see there the newly released v1.10.2
Upgraded to latest release and it builds now 🎉🥳
I don't see the custom element rendered though.
<media-player title="Sprite Fight" src="https://stream.mux.com/VZtzUzGRv02OhRnZCxcNg49OilvolTqdnFLEqBsTwaxU/low.mp4">
    <media-provider></media-provider>
</media-player>

I tried configuring the isCustomElement here in nuxt.config.ts:

and in component:
<script lang="ts" setup>

import 'vidstack/bundle';

</script>

<template>
  <div class="video">
    <media-player title="Sprite Fight" src="https://stream.mux.com/VZtzUzGRv02OhRnZCxcNg49OilvolTqdnFLEqBsTwaxU/low.mp4">
      <media-provider></media-provider>
    </media-player>
    Video
  </div>
</template>

anything missing?

You have no layout? You can use either the Default Layout, Plyr Layout, or build your own :)

Default Layout needs to be selected, not Default Theme. The Default Theme is for building your own layout using our theme. I need to add more information to the styling step to help with deciding between the options. Sorry about the confusion.

Thanks, I see the difference now at "11. Player Markup".
I was also wondering why I couldn't select both as I think "layout" is how/where the elements are rendered in DOM and "theme" how the elements are styled. Some plugins use theme/skin how the component is styling, but often only a single layout (or possible to configure via some options).


text:
JadbDevice.pull() doesn't work using files from list()

I noticed the pull() method doesn't work when passing in a RemoteFile taken from the list() command
I think the reason is because RemoteFile.getPath() just returns the file name and not the full path -- as mentioned here
The issue was closed as intended behavior but it seems like the RECV command is issued with just the file name. So, I'm guessing it should be the full path instead
    public void pull(RemoteFile remote, OutputStream destination) throws IOException, JadbException {
...
            sync.send("RECV", remote.getPath());

I was able to fix this in the library by modifying RemoteFile to take the full path as well as the name

This is expected. You need to concat the directory listed with the filename returned. This is akin to how most tools in linux and also windows work. For example
$ ls directory/
file.txt

Note that the file is listed as a relative path to the directory/. If you want to do something with file.txt inside diectory/ you need to concatenate the directory with the filename like so
$ rm ditectory/file.txt

If you instead only use the filename, it will not work as it will reference a file in the current directory.

repo: vidstige/jadb


text:
Adding more than one store to repo causes errors when actions are pushed

This is probably another PEBKAC error, but I'm having trouble in my app as soon as I add a second store to the repo with Microcosm v10.0.0-beta3:
Results:
bundle.js:1596 Uncaught Error: When dispatching the list1 action's open state to the twos store, we encountered an "undefined" attribute within register(). This usually happens when an action is imported from the wrong namespace, or by referencing an invalid action state.

When I comment unused addStore calls, the problem clears up.
Code:
import Microcosm from 'microcosm';
import axios from 'axios';

/******************************************************************
 * Actions
 * ***************************************************************/

function list1 () {
	return axios.get('https://jsonplaceholder.typicode.com/posts');
}

function list2 () {
	return axios.get('https://jsonplaceholder.typicode.com/posts');
}

function list3 () {
	return axios.get('https://jsonplaceholder.typicode.com/posts');
}

/******************************************************************
 * Stores
 * ***************************************************************/

const Store1 = {
	getInitialState() {
		return '0';
	},

	register() {
		return {
			[list1.open]: this.list1Loading,
			[list1.done]: this.list1Completed,
			[list1.failed]: this.list1Failed,
			[list1.cancelled]: this.list1Cancelled
		};
	},

	list1Loading(state) {
		console.log(`list1Loading received ${state} and state is actually ${app.state.widgets}.`);

		return 'a';
	},

	list1Cancelled(state) {
		console.log(`list1Cancelled received ${state} and state is actually ${app.state.widgets}.`);

		return 'b';
	},

	list1Completed(state) {
		console.log(`list1Completed received ${state} and state is actually ${app.state.widgets}.`);

		return 'c';
	},

	list1Failed(state) {
		console.log(`list1Failed received ${state} and state is actually ${app.state.widgets}.`);

		return 'd';
	}
};

const Store2 = {
	getInitialState() {
		return '0';
	},

	register() {
		return {
			[list2.open]: this.list2Loading,
			[list2.done]: this.list2Completed,
			[list2.failed]: this.list2Failed,
			[list2.cancelled]: this.list2Cancelled
		};
	},

	list2Loading(state) {
		console.log(`list2Loading received ${state} and state is actually ${app.state.widgets}.`);

		return 'a';
	},

	list2Cancelled(state) {
		console.log(`list2Cancelled received ${state} and state is actually ${app.state.widgets}.`);

		return 'b';
	},

	list2Completed(state) {
		console.log(`list2Completed received ${state} and state is actually ${app.state.widgets}.`);

		return 'c';
	},

	list2Failed(state) {
		console.log(`list2Failed received ${state} and state is actually ${app.state.widgets}.`);

		return 'd';
	}
};

const Store3 = {
	getInitialState() {
		return '0';
	},

	register() {
		return {
			[list3.open]: this.list3Loading,
			[list3.done]: this.list3Completed,
			[list3.failed]: this.list3Failed,
			[list3.cancelled]: this.list3Cancelled
		};
	},

	list3Loading(state) {
		console.log(`list3Loading received ${state} and state is actually ${app.state.widgets}.`);

		return 'a';
	},

	list3Cancelled(state) {
		console.log(`list3Cancelled received ${state} and state is actually ${app.state.widgets}.`);

		return 'b';
	},

	list3Completed(state) {
		console.log(`list3Completed received ${state} and state is actually ${app.state.widgets}.`);

		return 'c';
	},

	list3Failed(state) {
		console.log(`list3Failed received ${state} and state is actually ${app.state.widgets}.`);

		return 'd';
	}
};

/******************************************************************
 * Bootstrapping
 * ***************************************************************/

class App extends Microcosm {
	constructor() {
		super();

		this.addStore('ones', Store1);
		this.addStore('twos', Store2);
		this.addStore('threes', Store3);
	}
}

const app = new App();

/******************************************************************
 * Bootstrapping
 * ***************************************************************/

app.push(list1);
setTimeout(() => {
	app.push(list2);

	setTimeout(() => {
		app.push(list3);
	}, 1000);
}, 1000);

Oh I bet I know what's happening... We probably need to get rid of this error. The trouble is that list2 hasn't been dispatched, so it never gets tagged. I added this error to catch cases where actions weren't wired up properly.
Also, this probably shouldn't be an error -- just a warning. I'll patch this up.

Also worth noting, that this is an unexpected side-affect of adding action.state to register methods. Prior to 10.x we didn't have action states (open, loading, etc..). Sort of a bummer to see this go. I wonder if we can intuit this some other way (maybe a Proxy?)

authors: djmccormick nhunzaker

repo: vigetlabs/microcosm


text:
Umbrellas

This commit adds the ability to create a new Microcosm for an existing history. These Microcosms will inherit state from their parents.
This is done through the new fork() Microcosm prototype method.
Just want to get eyes on this. I imagine we won't ship this for 10.0.0 (but maybe we could?)
What's new

Each presenter forks the provided repo
Forks operate on the same tree as their parent, and any keys they do not manage are "inherited"
History now controls reconcilation

How it works
A history is shared between several Microcosms. When it changes, they all roll forward progressively.
o - o - o - o - o - o   <- history
                    |
                    |
            [parent microcosm]
             /               \
         [fork]              [fork]

History archives itself, emitting an archive event. This gives microcosms a chance to cache an action before it is disposed.
Parent microcosms subscribe before forks, so they resolve first. Forks back fill state. For example, a parent microcosm that manages users will pass that data down to a fork that only manages a page of users.

Coverage decreased (-6.5%) to 93.527% when pulling 9e3223f7c7ea6ce9964bb7dda66ce3d262a7687d on umbrellas into 8bee5d8d3d6686a7ae476acd8a153a292e809e41 on master.

Changes Unknown when pulling a2dad9edb0c2552eb4c68614dedb6fd56977efae on umbrellas into ** on master**.

Changes Unknown when pulling a2dad9edb0c2552eb4c68614dedb6fd56977efae on umbrellas into ** on master**.

Coverage remained the same at 100.0% when pulling c66fc06e323f4f5774fcb2627d07c3dae19df838 on umbrellas into 49bc060f2be6a142932ee9106da933b96b948b4e on master.

Coverage remained the same at 100.0% when pulling 3b24eecda14bb0db4bb9812eaae0474a314b9da6 on umbrellas into 49bc060f2be6a142932ee9106da933b96b948b4e on master.

authors: coveralls nhunzaker


text:
Feature Request: Simplify Public API

Hi, there is no option for a feature request or a question so I had to use the bug template but cleared everything inside, jfyi.
I was looking for a basic django admin autocomplete solution that supported django 4+ and stumbled upon this one and from the readme docs it looks fine but I was curious if you were planning on making the public api simpler.  I haven't started using this yet, just browsing but wanted to ask regardless.
@admin.register(Post)
class PostAdmin(DALFModelAdmin):
    list_filter = (
        ('author', DALFRelatedOnlyField),    # if author has a post!
        ('category', DALFRelatedFieldAjax),  # enable ajax completion for category field (FK)
        ('tags', DALFRelatedFieldAjax),      # enable ajax completion for tags field (M2M)
    )

This is fine but I'd prefer
@admin.register(Post)
class PostAdmin(DALFModelAdmin):
    # Perhaps an optional argument deciding if all relations should automatically be converted to autocomplete filters?
    # list_filters_are_autocomplete_list_filters = True  # should be default imo but I don't mind, I already have a base admin class
    list_filter = (
        'author',
        'category',
        'tags',
    )

I've checked the admin code and I think this is as simple as registering a Lookup to the ORM. Same concept apparently.
# some init file or some file that's imported during usage of this library

from django.db.models import OneToOneField, ForeignKey, ManyToManyField
from django.contrib.admin.filters import FieldListFilter

# functools.partial doesn't work because isinstance is a CPython function that doesn't take keyword arguments, *sigh*
type_checker = lambda klass: lambda item: isinstance(item, klass)

FieldListFilter.register(type_checker(OneToOneField), DALFRelatedOnlyField)
FieldListFilter.register(type_checker(ForeignKey), DALFRelatedFieldAjax)
FieldListFilter.register(type_checker(ManyToManyField), DALFRelatedFieldAjax)

# If you want to implement list_filters_are_autocomplete_list_filters the flag from the above example,
# I believe you should be able to wrap the second argument of FieldListFilter.register instead of just putting DALFRelatedOnlyField

# For the below function to work you need list_filters_are_autocomplete_list_filters=default_boolean set in the DALFModelAdmin

def decide_filter_class(filter_class):
    # Django doesn't provide any better way to hook into this place for us to decide on a filter class easier if we want to
    # tie it to a condition on the model_admin class
    def get_filter_class(field, request, lookup_params, model, model_admin, field_path):
        if model_admin.list_filters_are_autocomplete_list_filters:
            return filter_class
        for test, list_filter_class in FieldListFilter._field_list_filters:
            # If it equals and list_filters_are_autocomplete_list_filters we already returned above
            if test(field) and list_filter_class != filter_class:
                return list_filter_class(field, request, params, model, model_admin, field_path=field_path)
    return get_filter_class

FieldListFilter.register(type_checker(OneToOneField), decide_filter_class(DALFRelatedOnlyField))
FieldListFilter.register(type_checker(ForeignKey), decide_filter_class(DALFRelatedFieldAjax))
FieldListFilter.register(type_checker(ManyToManyField), decide_filter_class(DALFRelatedFieldAjax))

I'm not sure if I got the whole idea behind DALFRelatedFieldAjax vs DALFRelatedOnlyField at a first glance but ^ method should allow you to set the distinction I believe.
I haven't tested out the code at all but from the looks of django's source code and your code this seems like it should work.

well, that would be lovely if you implement it and make PR <3

authors: isik-kaplan vigo

repo: vigo/django-admin-list-filter


text:
Posible solución en Kotlin

Pues eso, una posible solución en Kotlin
PD: Ni esta solución ni la que subí en Java pasan el test del 3º caso del bonus 2 (tocará pelearse más)

Fast and furious, ya está actualizada la pagina inicial :D
La verdad es que el último test es un complicado!

repo: vigojug/reto