text:
Upgrade tokio

Fixes RUSTSEC-2023-0001

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@0830b86). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #314   +/-   ##
=======================================
  Coverage        ?   75.98%
=======================================
  Files           ?       68
  Lines           ?     9370
  Branches        ?        0
=======================================
  Hits            ?     7120
  Misses          ?     2250
  Partials        ?        0

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter fmorency

repo: liftedinit/many-framework


text:
Migration framework

Self-contained crate. First iteration. This PR requires Rust nightly.
Relates liftedinit/roadmap#29
Every change not in many-migration is to fix nightly clippies.

Migration registry is a static, global distributed slice using the linkme crate
One can add migration to the registry from anywhere
Support "hotfix" migrations

run once at a given block height
allow modifying given byte data

Support "regular" migration

initialization function is run once at a given block height
update function is run when current block height > block height

Encode/decode to/from CBOR
One can load migration from JSON files
Support metadata

block_height
issue : Url to relevant GitHub issue
extra : catch-all

Unit tested

TODO

Documentation
Optimisations

Codecov Report

Merging #214 (8d0dac3) into main (55a8a4d) will decrease coverage by 0.18%.
The diff coverage is 72.27%.

@@            Coverage Diff             @@
##             main     #214      +/-   ##
==========================================
- Coverage   69.81%   69.62%   -0.19%
==========================================
  Files          77       79       +2
  Lines        8381     8916     +535
==========================================
+ Hits         5851     6208     +357
- Misses       2530     2708     +178

Impacted Files
Coverage Δ

src/many-identity-dsa/src/impls/ed25519.rs
93.03% <0.00%> (ø)

src/many-macros/src/lib.rs
0.24% <0.00%> (ø)

src/many-mock/src/lib.rs
90.47% <0.00%> (ø)

src/many-mock/src/server.rs
63.26% <0.00%> (+2.48%)
:arrow_up:

src/many/src/main.rs
0.30% <0.00%> (ø)

src/many-identity-dsa/src/impls/ecdsa.rs
95.62% <33.33%> (ø)

src/many-types/src/either.rs
26.58% <33.33%> (ø)

src/many-error/src/reason/minicbor.rs
71.42% <60.00%> (+0.27%)
:arrow_up:

src/many-migration/src/lib.rs
62.21% <62.21%> (ø)

src/many-modules/src/_4_events.rs
75.21% <66.66%> (ø)

... and 16 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

source: gharchive/pull-request

repo: liftedinit/many-rs

license_type: permissive

license_source: github-api


text:
BaseX 8.0: New XQJ Driver

The server protocol in BaseX 8.0 was updated. Could you please update the BaseX XQJ driver to Version 1.4.0? It works with both BaseX 8.0 and older versions. Thanks in advance.

Hi ligasgr,
I've tried to fork and update the repository to support the new XQJ driver, but I'm afraid that I'm running into problems.
/usr/home/bridger/src/intellij-xquery/src/main/java/org/intellij/xquery/usage/XQueryFindUsageProvider.java:59: cannot find symbol
symbol  : variable FIND_OTHER_USAGES
location: interface com.intellij.find.impl.HelpID
        return HelpID.FIND_OTHER_USAGES;
                     ^

This error appears to be the main problem when I run the Gradle intellij-xquery [allTests] and [build] commands from IDEA v14.0.3 but that may be a bad assumption on my part.
I'd like to be able to help with this, but I'm afraid that I don't know enough Java to sort through these problems. If you have suggestions or feedback, I'm delighted to try to make additional changes and provide a pull request -- of course, I do realize that it is probably easier for an expert to fix this.
Thank you for all of your work on the plugin.
Best,
Bridger

Hi,
@ChristianGruen
Due to some external constraints I'm not able to work on this at the moment. I'll try to sort it out at some point.
@CanOfBees
from what I can see on your fork you're heading more or less in the right direction :)
The issue is that last release was still built and released with IntelliJ 13 in mind (and on the machine). In order to sort out all the problems that you're facing you either have to be using IntelliJ 13 or do the full migration of the production codebase (some api changes) + lots of debugging and checking IntelliJ source code for fixing all of those failing tests (they did some changes to the internals of the platform which cause some of the tests fail). If you are really determined to know IntelliJ plugin platform from the inside-out - give it a go! Otherwise I'd suggest trying it out on the older version of IDEA.
In general I'll try to sort it out soon (-ish) so if you have the patience please wait for a month or so. If not you can always use the latest driver by configuring your XQuery Data Source (on XQuery Data Sources tab in settings) to use "User defined XQJ driver". This should work fine out of the box!
Thanks and regards,
Grzegorz

Thanks!

ligasgr - thank you so much!

source: gharchive/issue

authors: CanOfBees ChristianGruen ligasgr

repo: ligasgr/intellij-xquery

license_source: bigquery


text:
macaroon_service: add MacaroonService

Add MacaroonService. Loop, Pool, Faraday and now Lit all need to spin up their own macaroon services and currently the logic is just duplicated in each repo. So this commit aims to consolidate all that logic into one place.
With this commit, a caller can choose to encrypt their macaroon.db file with a password of their choosing or they can specify that instead a shared key should be derived with LND which will then be used to encrypt the db.

Thanks for the reviews @carlaKC  & @guggero 🚀
I have updated it as @guggero has suggested to allow for migration.  However, now it does not allow the client to have an empty passphrase at all. Is that wanted? or do we still want to accommodate that case? if so, i can easily update it to include that.
I will re-request review once i have tested the updates properly

However, now it does not allow the client to have an empty passphrase at all. Is that wanted?

Yes, I think a passphrase should be mandatory so the DB is encrypted. Either it's supplied as a string or derived through the shared secret.

Ok i think this is ready for another round now 👍
see this Pool PR to see how this is used there

Shweeeet, thanks @guggero 🚀 updated 👍
And is this opened to the correct branch? should it be opened to 0.14.2 rather?

This PR doesn't use anything that was only introduced in 0.14.2, so 0.14.0 is correct.
I'll create and push the tag v0.14.0-8 after merging this PR.

authors: ellemouton guggero

repo: lightninglabs/lndclient

license: MIT


text:
multi: anchor fee test coverage

Fixes #671
Verifies fixes for various issues with fee estimation.
There are also some issues with cleaning up caretaker state if the caretaker returns an error, which is not recoverable from inside the caretaker.
Batch finalization could be manually reattempted by the user.
Also added extra logging of fee rates and transaction weights.
Should also change units exposed to the user.

In line with our other software, this flag could be called --sat_per_vbyte and be measured in sat/vB. We use the term fee_rate a bit differently in LND.

Will split out the caretaker shutdown issue discovered here into a separate PR. I think we can move testing for that fix into the existing unit tests for the planter, where we trigger the error with a different mock wallet anchor that always fails.

Split caretaker fixes into #693 , the fee estimation itest here depends on fixes added there.

Acceptance Criteria:

[ ] new weight and fee estimator that reuses code from btcwallet
[ ] refactor minter and freighter to both use the same weight & fee estimator
[ ] itest that exercises the new manual feerate sanity-checking logic in the relevant RPC calls
[ ] update RPC calls to use sat/vB
[ ] itest that exercises errors for minter and freighter when the backing wallet is underfunded
[ ] itest that exercises correct minting and transfer when backing wallet only has old (P2PKH) input types

There's a round issue that has caused the tests to fail.  @jharveyb has identified root cause and addressing it.

Specifically this unit conversion from sat/kw to sat/vB when constructing the FundPsbt call:
https://github.com/lightninglabs/taproot-assets/blob/564795a0e4c1d1034493b498f58a552920f2e39c/wallet_anchor.go#L61
Where e.x. a feerate of 3125 sat/kw or 12.5 sat/vB is rounded down to 12 sat/vB.

Pushed up my latest state; discovered a separate issue about dust change handling in the freighter.

Made tracking issue for dusty change: #738. Going to defer that for a separate PR.

One Q I have is if we should actually accept feerates as float / float32 instead of uints now - with the change to sat/vB as the unit, as user cannot manually specify 1 sat/vB as a feerate, nor a rate 'close' to it like 1.5 sat/vB. This wasn't as issue before with sat/kw.

From offline discussion: the standard for fee unit handling is to use sat/kW on the RPC interface, but expose sat/vB as the unit on the CLI. We then convert from sat/vB to sat/kW before making our RPC call.

https://github.com/lightninglabs/taproot-assets/pull/605#discussion_r1431559617
(Can't reply to comment directly) - the rounding up here is a difference of 3 sat/kw or 12 sat/kvB; so extremely small, even for a hypothetical large transfer TX.
This is also what we do in Pool:
https://github.com/lightninglabs/pool/blob/59c7c2b40009503851de6da3b3f9b4d90b34e208/cmd/pool/account.go#L172
Without the rounding, the TX would get rejected later on by LND before broadcast anyways, so the alternative (no rounding) is not allowing the user to specify a fee below 2 sat/vB.

Updated, would like to resolve the detail on possible inputs for transfers that don't have WitnessUtxo set.

Made final updates re: non-witness inputs, ready for final approval.

@guggero: review reminder
@ffranr: review reminder

authors: dstadulis jharveyb lightninglabs-deploy

repo: lightninglabs/taproot-assets


text:
lnd 0.12 exits prematurely with fatal error

Background
LND got panic (probably due to attempt of circular rebalance) and i can not restart it. It continuously has fatal error.
Your environment

version of lnd: 0.12 beta
which operating system (uname -a on *Nix): Ubuntu 18.04.2 LTS
version of btcd, bitcoind, or other backend: Bitcoin Core version v0.19.1
any other relevant environment details

Steps to reproduce
start lnd, unlock lnd, here LND stdout stops and throws an error
...
2021-02-05 12:53:25.933 [INF] CRTR: Syncing channel graph from height=669208 (hash=0000000000000000000101c5a32880f1a872bcab6eacaed3d241fbb21c51937d) to height=669217 (hash=0000000000000000000a528c3a4c68d2fbf02ab75c614e2748bbf1a47c364161)
2021-02-05 12:53:29.080 [INF] CHDB: Pruned unconnected node 0275ce589c2f41adbaf6112389f6007dd2ba704c4dfe1b166c5c8e9a3164f824a5 from channel graph
2021-02-05 12:53:29.080 [INF] CHDB: Pruned 1 unconnected nodes from the channel graph
unexpected fault address 0xa7b75044
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0xa7b75044 pc=0x8359df3]
...
Expected behaviour
Normal start of LND wo
Actual behaviour
I`m getting an error:
debug.log

What system architecture are you running lnd on? Is it possible it's an ARM machine and your channel.db file is close to or over 1 GB in size?
If not, a SIGSEGV usually is an indication of data corruption. Can you start again with --db.bolt.auto-compact to see if the compaction fixes the problem?

File sizes:
-rw-rw-r-- 1  1073733632 Feb  5 13:32 channel.db
-rw------- 1           8 Jan 29 17:13 channel.db.last-compacted
LND is running on a kvm virtual machine with 2gb ram
db.bolt.auto-compact=true is already set in lnd.conf

Try removing the channel.db.last-compacted file and restart lnd to trigger the compaction again.
If the problem persists, try giving the VM more RAM.

Actually i`ve managed to proceed furher without errors after restarting bitcoind service (which is running on a remote server) - i was just restarting everuthing i could. For now lnd is still syncing with graph, hope it will finish it successfully.

Try removing the channel.db.last-compacted file and restart lnd to trigger the compaction again.
If the problem persists, try giving the VM more RAM.

Looks like just removing channel.db.last-compacted file worked for me (without adding memory, but still will add later as i saw that its close to the limit and using swap during compaction procedure). Node is slowly coming up, i already have some channels in the active state. Many thanks guggero!

authors: Stronzo-sky guggero

repo: lightningnetwork/lnd


text:
[BUG?] Path completion doesn't work with vals

Path completion doesn't work with vals:

https://github.com/lihaoyi/Ammonite/issues/436

authors: NightMachinary lihaoyi

repo: lihaoyi/Ammonite


text:
add maven resolver via jboss shrinkwrap

Fixing #523 by implementing @kgignatyev's solution of $maven resolver via shrinkwrap which correctly fetches maven dependencies.

Including #547 and #524, specifically this is an implementation of #524.

Hey @lihaoyi,
Any chance you can have a look at this?

This is obsoleted by 662859f84f5a77efca3e7e4d3074626570a992cf
Also, the test you provided passes reliably on master, at least on my machine. Given that, I have no idea what all this code is doing?
lihaoyi Ammonite$ amm
Loading...
Welcome to the Ammonite Repl 0.8.5
(Scala 2.12.2 Java 1.8.0_112)
If you like Ammonite, please support our development at www.patreon.com/lihaoyi
@ import $$maven.`com.github.nscala-time::nscala-time:2.16.0`
Import Hook could not be resolved
@ import $maven.`com.github.nscala-time::nscala-time:2.16.0`
Import Hook could not be resolved
@ import $ivy.`com.github.nscala-time::nscala-time:2.16.0`
:: loading settings :: url = jar:file:/usr/local/bin/amm!/org/apache/ivy/core/settings/ivysettings.xml
:: resolving dependencies :: com.github.nscala-time#nscala-time_2.12-caller;working
	confs: [default]
	found com.github.nscala-time#nscala-time_2.12;2.16.0 in central
	found org.scala-lang#scala-library;2.12.1 in chain-resolver
	[2.12.1] org.scala-lang#scala-library;2.12.1
	found joda-time#joda-time;2.9.7 in central
	found org.joda#joda-convert;1.2 in chain-resolver
downloading http://repo1.maven.org/maven2/com/github/nscala-time/nscala-time_2.12/2.16.0/nscala-time_2.12-2.16.0.jar ...
	[SUCCESSFUL ] com.github.nscala-time#nscala-time_2.12;2.16.0!nscala-time_2.12.jar (677ms)
downloading http://repo1.maven.org/maven2/com/github/nscala-time/nscala-time_2.12/2.16.0/nscala-time_2.12-2.16.0-sources.jar ...
	[SUCCESSFUL ] com.github.nscala-time#nscala-time_2.12;2.16.0!nscala-time_2.12.jar(source) (221ms)
downloading http://repo1.maven.org/maven2/com/github/nscala-time/nscala-time_2.12/2.16.0/nscala-time_2.12-2.16.0-javadoc.jar ...
	[SUCCESSFUL ] com.github.nscala-time#nscala-time_2.12;2.16.0!nscala-time_2.12.jar(javadoc) (1020ms)
downloading http://repo1.maven.org/maven2/joda-time/joda-time/2.9.7/joda-time-2.9.7.jar ...
	[SUCCESSFUL ] joda-time#joda-time;2.9.7!joda-time.jar (292ms)
import $ivy.$
@ import com.github.nscala_time.time.Imports._
import com.github.nscala_time.time.Imports._
@

authors: deusaquilus lihaoyi


text:
Add mill-scalafix and mill-git to the doc

Not sure if you want to add these but they seem core enough to me to have them in the doc.

Yes, we want to collect (all) thirdparty plugins here, at least a pointer to them. Can you please insert the new modules in alphabetical order?

Done

Thank you!

repo: lihaoyi/mill


text:
fix : title does not break

This temporarily avoids the issue of h2 not wrapping.
It seems that this cannot be avoided using break-words etc.
<h2 class="break-all whitespace-pre-wrap">
 0123456789012345678901234567890123456789012345678901234567890123456789
</h2>

Hey @syui thanks for this, I think we would want the title to wrap rather than be hidden 🙏

Hey, thanks for taking a look into this. I've done a bit of research and found this helpful article and this github issue about the problem with Tailwind classes and I think if we implement the utility classes mentioned it should work:
supports-[overflow-wrap:anywhere]:[overflow-wrap:anywhere]
supports-[not(overflow-wrap:anywhere)]:[word-break:normal]

thx, It seems so.
The following solution is also possible, but is more complicated:
// https://github.com/tailwindlabs/tailwindcss/pull/12128#issuecomment-2225349386
import plugin from 'tailwindcss/plugin.js';

plugins: [
  plugin(({addUtilities}) => {
    addUtilities({
      '.break-anywhere': {
        'overflow-wrap': 'anywhere',
      },
    });
  }),
],

thx, It seems so.
The following solution is also possible, but is more complicated:
// https://github.com/tailwindlabs/tailwindcss/pull/12128#issuecomment-2225349386
import plugin from 'tailwindcss/plugin.js';

plugins: [
  plugin(({addUtilities}) => {
    addUtilities({
      '.break-anywhere': {
        'overflow-wrap': 'anywhere',
      },
    });
  }),
],

think for now we should probably just add [overflow-wrap:anywhere] in the <a> tag with a todo or comment with a link to the github issue/discussion and wait for tailwind to implement it

Yes. If you notice that the tailwindcss PR has been merged, please close this PR.
If I notice anything, I'll update the PR.

authors: damiensedgwick syui will-corrigan

repo: likeandscribe/frontpage


text:
Feature: Render List of Joined Missions on My Profile Page

Feature: Render List of Joined Missions on My Profile Page
This pull request adds a new feature to the "My profile" page, where it renders a list of all joined missions. Additionally, it removes the functionality of persisting data in local storage.
Changes Made

Added rendering of joined missions on the "My profile" page using the filter() method.
Removed the code related to persisting data in local storage.

Related Issues
Resolves #2

Thank you @mryeminthu for your review and feedback.


text:
Request data preprocessing scripts

Hi, thanks for your great contribution for robust reconstruction.
But I'm confused about how to train on my dataset, because I don't know exactly how RobustNeRF dataset is built.
For example, when I get jpg images in the folder of 'data/test1/img_001.jpg', what steps should I do to get proper data formats to train the model?
Looking forward to your kind reply.

Hi to use the SemanticParser for datasets like RobustNeRF, you need to arrange your data folder like below:
data
|_ images
|        |_ clean000.jpg
|         ...
|        |_ extra000.jpg
|         ...
|        |_ clutter000.jpg
|         ...
|_ sparse
|_ 0
|_ cameras.bin
|_ points3D.bin
|_ images.bin
The images have prefixes like "clean" for clean data and "extra" for test clean images and "clutter" for noisy images. You can have different prefixes and pass the prefix for train and test images to the training command. For example we use "clutter" prefix for training images and "extra" for test images, in the robust training scenario. We use "clean" for training for the idea clean set up in the paper (usually this is not available for custom real data so you can ignore it).

Thanks.

@zhangwenniu hi~Can I ask you how to run through your own data set. I set the format of images/clutter000.jpg and sparse. Then run python spotless_trainer.py --data_dir [data directory] --data_factor 8 --result_dir [result directory] --loss_type robust --semantics --no-cluster --train_keyword "clutter" ,still many different errors. Could you please help me sort out the data processing flow?

authors: lilygoli luoshuiyue zhangwenniu

repo: lilygoli/SpotLessSplats


text:
Fix races during parallel downloads

Fix races during parallel downloads by holding a per file lock while checking or updating the cache.
Fixes #2902, #2732

Tested using a script creating 10 instances in parallel.
% grep 'downloading' out/*.log
out/vm-09.log:time="2024-11-14T22:34:40+02:00" level=debug msg="downloading \"https://cloud-images.ubuntu.com/releases/24.10/release-20241023/ubuntu-24.10-server-cloudimg-arm64.img\" into \"/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data\""

% grep 'is cached' out/*.log
out/vm-01.log:time="2024-11-14T22:34:51+02:00" level=debug msg="file \"/Users/nsoffer/.lima/vm-01/basedisk\" is cached as \"/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data\""
out/vm-02.log:time="2024-11-14T22:34:51+02:00" level=debug msg="file \"/Users/nsoffer/.lima/vm-02/basedisk\" is cached as \"/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data\""
out/vm-03.log:time="2024-11-14T22:34:51+02:00" level=debug msg="file \"/Users/nsoffer/.lima/vm-03/basedisk\" is cached as \"/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data\""
out/vm-04.log:time="2024-11-14T22:34:51+02:00" level=debug msg="file \"/Users/nsoffer/.lima/vm-04/basedisk\" is cached as \"/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data\""
out/vm-05.log:time="2024-11-14T22:34:51+02:00" level=debug msg="file \"/Users/nsoffer/.lima/vm-05/basedisk\" is cached as \"/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data\""
out/vm-06.log:time="2024-11-14T22:34:51+02:00" level=debug msg="file \"/Users/nsoffer/.lima/vm-06/basedisk\" is cached as \"/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data\""
out/vm-07.log:time="2024-11-14T22:34:51+02:00" level=debug msg="file \"/Users/nsoffer/.lima/vm-07/basedisk\" is cached as \"/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data\""
out/vm-08.log:time="2024-11-14T22:34:51+02:00" level=debug msg="file \"/Users/nsoffer/.lima/vm-08/basedisk\" is cached as \"/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data\""
out/vm-10.log:time="2024-11-14T22:34:51+02:00" level=debug msg="file \"/Users/nsoffer/.lima/vm-10/basedisk\" is cached as \"/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data\""```

Test scripts and logs:
test-parallel-download.tar.gz

Another test, creating and starting 3 instances in parallel:
% for i in 1 2 3; do (_output/bin/limactl start --tty=0 --name vm-$i &); done
INFO[0000] Terminal is not available, proceeding without opening an editor
INFO[0000] Terminal is not available, proceeding without opening an editor
INFO[0000] Terminal is not available, proceeding without opening an editor
INFO[0000] Starting the instance "vm-3" with VM driver "vz"
INFO[0000] Attempting to download the image              arch=aarch64 digest="sha256:d71df0bcca6c3d2e7530517d3885f1d007fd9210d40ce2054db36af2a2176c38" location="https://cloud-images.ubuntu.com/releases/24.10/release-20241023/ubuntu-24.10-server-cloudimg-arm64.img"
INFO[0000] Starting the instance "vm-1" with VM driver "vz"
INFO[0000] Attempting to download the image              arch=aarch64 digest="sha256:d71df0bcca6c3d2e7530517d3885f1d007fd9210d40ce2054db36af2a2176c38" location="https://cloud-images.ubuntu.com/releases/24.10/release-20241023/ubuntu-24.10-server-cloudimg-arm64.img"
INFO[0000] Starting the instance "vm-2" with VM driver "vz"
INFO[0000] Attempting to download the image              arch=aarch64 digest="sha256:d71df0bcca6c3d2e7530517d3885f1d007fd9210d40ce2054db36af2a2176c38" location="https://cloud-images.ubuntu.com/releases/24.10/release-20241023/ubuntu-24.10-server-cloudimg-arm64.img"
Downloading the image (ubuntu-24.10-server-cloudimg-arm64.img)
592.71 MiB / 592.71 MiB [----------------------------------] 100.00% 56.41 MiB/s
INFO[0011] Downloaded the image from "https://cloud-images.ubuntu.com/releases/24.10/release-20241023/ubuntu-24.10-server-cloudimg-arm64.img"
INFO[0011] Using cache "/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data"
INFO[0011] Using cache "/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/2422cebd3cfd3b6733dd03b3724b14701a1dcfbb11115572c1eb98bb01c23731/data"
INFO[0011] Converting "/Users/nsoffer/.lima/vm-3/basedisk" (qcow2) to a raw disk "/Users/nsoffer/.lima/vm-3/diffdisk"
INFO[0011] Converting "/Users/nsoffer/.lima/vm-1/basedisk" (qcow2) to a raw disk "/Users/nsoffer/.lima/vm-1/diffdisk"
INFO[0011] Converting "/Users/nsoffer/.lima/vm-2/basedisk" (qcow2) to a raw disk "/Users/nsoffer/.lima/vm-2/diffdisk"
3.50 GiB / 3.50 GiB [-------------------------------------] 100.00% 702.62 MiB/s
INFO[0016] Expanding to 100GiB
3.50 GiB / 3.50 GiB [-------------------------------------] 100.00% 691.12 MiB/s
INFO[0016] Expanding to 100GiB
3.50 GiB / 3.50 GiB [-------------------------------------] 100.00% 680.00 MiB/s
INFO[0016] Expanding to 100GiB
INFO[0017] Attempting to download the nerdctl archive    arch=aarch64 digest="sha256:fe085381a09aa240ae5d1e0bbef1beccfb7c1d6dbb98bdc55bd416581d46ebc8" location="https://github.com/containerd/nerdctl/releases/download/v2.0.0/nerdctl-full-2.0.0-linux-arm64.tar.gz"
INFO[0017] Attempting to download the nerdctl archive    arch=aarch64 digest="sha256:fe085381a09aa240ae5d1e0bbef1beccfb7c1d6dbb98bdc55bd416581d46ebc8" location="https://github.com/containerd/nerdctl/releases/download/v2.0.0/nerdctl-full-2.0.0-linux-arm64.tar.gz"
INFO[0017] Attempting to download the nerdctl archive    arch=aarch64 digest="sha256:fe085381a09aa240ae5d1e0bbef1beccfb7c1d6dbb98bdc55bd416581d46ebc8" location="https://github.com/containerd/nerdctl/releases/download/v2.0.0/nerdctl-full-2.0.0-linux-arm64.tar.gz"
Downloading the nerdctl archive (nerdctl-full-2.0.0-linux-arm64.tar.gz)
195.48 MiB / 195.48 MiB [----------------------------------] 100.00% 37.47 MiB/s
INFO[0023] Downloaded the nerdctl archive from "https://github.com/containerd/nerdctl/releases/download/v2.0.0/nerdctl-full-2.0.0-linux-arm64.tar.gz"
INFO[0023] Using cache "/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/1699e54a52757df863155fca76f8a77b50f05d993edca23421798af6635156f0/data"
INFO[0023] Using cache "/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/1699e54a52757df863155fca76f8a77b50f05d993edca23421798af6635156f0/data"
INFO[0024] [hostagent] hostagent socket created at /Users/nsoffer/.lima/vm-3/ha.sock
INFO[0024] [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/nsoffer/.lima/vm-3/serial*.log")
INFO[0025] [hostagent] hostagent socket created at /Users/nsoffer/.lima/vm-1/ha.sock
INFO[0025] [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/nsoffer/.lima/vm-1/serial*.log")
INFO[0025] [hostagent] hostagent socket created at /Users/nsoffer/.lima/vm-2/ha.sock
INFO[0025] [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/nsoffer/.lima/vm-2/serial*.log")
INFO[0025] SSH Local Port: 64510
INFO[0025] [hostagent] [VZ] - vm state change: running
INFO[0025] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0025] SSH Local Port: 64508
INFO[0025] SSH Local Port: 64506
INFO[0025] [hostagent] [VZ] - vm state change: running
INFO[0025] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0025] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0025] [hostagent] [VZ] - vm state change: running
INFO[0035] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0035] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0035] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0035] [hostagent] The essential requirement 1 of 2 is satisfied
INFO[0035] [hostagent] Waiting for the essential requirement 2 of 2: "user session is ready for ssh"
INFO[0035] [hostagent] The essential requirement 2 of 2 is satisfied
INFO[0035] [hostagent] Waiting for the optional requirement 1 of 2: "systemd must be available"
INFO[0035] [hostagent] Guest agent is running
INFO[0035] [hostagent] Not forwarding TCP 127.0.0.54:53
INFO[0035] [hostagent] Not forwarding TCP 127.0.0.53:53
INFO[0035] [hostagent] Not forwarding TCP 0.0.0.0:22
INFO[0035] [hostagent] The essential requirement 1 of 2 is satisfied
INFO[0035] [hostagent] The optional requirement 1 of 2 is satisfied
INFO[0035] [hostagent] Waiting for the essential requirement 2 of 2: "user session is ready for ssh"
INFO[0035] [hostagent] Not forwarding TCP [::]:22
INFO[0035] [hostagent] Waiting for the optional requirement 2 of 2: "containerd binaries to be installed"
INFO[0035] [hostagent] The essential requirement 1 of 2 is satisfied
INFO[0035] [hostagent] Waiting for the essential requirement 2 of 2: "user session is ready for ssh"
INFO[0035] [hostagent] The essential requirement 2 of 2 is satisfied
INFO[0035] [hostagent] Waiting for the optional requirement 1 of 2: "systemd must be available"
INFO[0035] [hostagent] The essential requirement 2 of 2 is satisfied
INFO[0035] [hostagent] Waiting for the optional requirement 1 of 2: "systemd must be available"
INFO[0035] [hostagent] Guest agent is running
INFO[0035] [hostagent] The optional requirement 1 of 2 is satisfied
INFO[0035] [hostagent] Guest agent is running
INFO[0035] [hostagent] Not forwarding TCP 127.0.0.53:53
INFO[0035] [hostagent] Waiting for the optional requirement 2 of 2: "containerd binaries to be installed"
INFO[0035] [hostagent] Not forwarding TCP 127.0.0.53:53
INFO[0035] [hostagent] Not forwarding TCP 127.0.0.54:53
INFO[0035] [hostagent] Not forwarding TCP 127.0.0.54:53
INFO[0035] [hostagent] Not forwarding TCP 0.0.0.0:22
INFO[0035] [hostagent] The optional requirement 1 of 2 is satisfied
INFO[0035] [hostagent] Not forwarding TCP 0.0.0.0:22
INFO[0035] [hostagent] Not forwarding TCP [::]:22
INFO[0035] [hostagent] Not forwarding TCP [::]:22
INFO[0035] [hostagent] Waiting for the optional requirement 2 of 2: "containerd binaries to be installed"
INFO[0050] [hostagent] The optional requirement 2 of 2 is satisfied
INFO[0050] [hostagent] Waiting for the guest agent to be running
INFO[0050] [hostagent] Waiting for the final requirement 1 of 1: "boot scripts must have finished"
INFO[0051] [hostagent] The optional requirement 2 of 2 is satisfied
INFO[0051] [hostagent] Waiting for the guest agent to be running
INFO[0051] [hostagent] Waiting for the final requirement 1 of 1: "boot scripts must have finished"
INFO[0053] [hostagent] Forwarding TCP from 127.0.0.1:39523 to 127.0.0.1:39523
INFO[0053] [hostagent] The optional requirement 2 of 2 is satisfied
INFO[0053] [hostagent] Waiting for the guest agent to be running
INFO[0053] [hostagent] Waiting for the final requirement 1 of 1: "boot scripts must have finished"
INFO[0053] [hostagent] Forwarding TCP from 127.0.0.1:35733 to 127.0.0.1:35733
INFO[0053] [hostagent] Forwarding TCP from 127.0.0.1:33171 to 127.0.0.1:33171
INFO[0062] [hostagent] The final requirement 1 of 1 is satisfied
INFO[0063] READY. Run `limactl shell vm-3` to open the shell.
INFO[0063] [hostagent] The final requirement 1 of 1 is satisfied
INFO[0063] READY. Run `limactl shell vm-1` to open the shell.
INFO[0063] [hostagent] The final requirement 1 of 1 is satisfied
INFO[0063] READY. Run `limactl shell vm-2` to open the shell.

repo: lima-vm/lima


text:
cidata: automatically upgrade existing containerd/nerdctl ; nerdctl: update to v0.17.1

When the timestamp of /mnt/lima-cidata/nerdctl-full.tgz:bin/nerdctl is newer than
/usr/local/bin/nerdctl, containerd/nerdctl is automatically upgraded.
Drawback: increases boot time by 4-5 seconds.
Fix #303

Also bumps up the default nerdctl version to 0.17.1: https://github.com/containerd/nerdctl/releases/tag/v0.17.1

Let me merge and open an issue ticket for optimization in future


text:
Update workflows to ubuntu-20.04

I think CI tests would automatically fail if they were run since currently 16.04 no longer works (both GitHub and Canonical no longer support it), so updated to 20.04 (the latest stable version).

https://github.com/limjh16/jekyll-action-ts/pull/33


text:
readResource in class Crud

having follow your guideline implementing something like canViewXXX
i wrote a isUsers method in RuleTrait for checking corresponding role
i found:
    /**
     * @param ContextInterface $context
     *
     * @return bool
     */
    protected static function isUsers(ContextInterface $context): bool
    {
        $isUsers = false;

        if (($userId = self::getCurrentUserIdentity($context) !== null)) {
            $identity = self::reqGetResourceIdentity($context);

            $container = self::ctxGetContainer($context);
            $factory = $container->get(FactoryInterface::class);
            $api = $factory->createApi(UsersApi::class);
            $user = $api->readResource($identity);
            var_dump($user);
            $isUsers = $user !== null && $user->{User::FIELD_ID_ROLE} === RolesSeed::ROLE_ID_USERS;
        }

        return $isUsers;
    }

the var_dump($user) was not showing the user model, instead it show "NULL" as result.

@dreamsbond It might need some debugging from you. Are you sure you should use $userId instead of $identity?
    $user = $api->readResource($identity);

Also, if you want to check a property of the current user you don't have to load it again. It's already  loaded and accessible via
    $currentUserRoleId = self::ctxGetCurrentAccount($context)->getProperty(User::FIELD_ID_ROLE);

@neomerx
i will have a try on it ^^

after couple of trial.
confirmed the identity have proper returns.

authors: dreamsbond neomerx

repo: limoncello-php/app

license: mit


text:
barcode + text

hello, I can't have a barcode and a text underneath ??
thanks

Please provide more information of what your problem is with a reproducible example and reopen this issue in that case :)

I want to print the label with the barcode, the product name and the price, and to control the size of the printing label, on the barcode part ok
example vue js

repo: lindell/JsBarcode


text:
JsBarcode.all.min.js bug

JsBarcode("#barcode", "Example1234");
not work with
JsBarcode.all.min.js
but work with
JsBarcode.all.js
SyntaxError: invalid range in character class  JsBarcode.all.min.js:2:25055

Make sure that your encoding is set correctly :)

Ensure you test my example:
this work:
`

`

Working just fine with a correctly encoded version:

https://jsfiddle.net/z35cbjdn/

Ok, I now see that this is the problem.
On a old browser have to encode.
ty.

authors: lindell lollita


text:
Provide a way to access a parent log from a child log

Motivation:
RequestId is used for tracking the request and the response pair.
A request can be executed multiple times by RetryingClient.
It is difficult to group and trace all retried requests without the request ID of the original request.
By accessing the parent log from the current request context, we are able to log the parent and current request ID pair.
Modifications:

Add parent() to RequestLogAccess
Include the request ID of parent log to toString() in DefaultClientRequestContext

Results:

You can now access a parent log from a child log.
DefaultClientRequest.toString() contains a parent request ID if available.
Fixes #2588

Thanks a lot, @ikhoon !

Thanks for reviewing!

authors: ikhoon trustin

repo: line/armeria


text:
Feat/tutorial

As funções principais no arquivo core.py estão prontas.
O notebook de tutorial ainda não.

@crisingulani o notebook de tutorial ainda não está pronto, mas já pode ser usado pra testar a lib (seções 0 e 1 estão prontas).

@crisingulani notebook pronto para levar para main

repo: linea-it/pz-server-lib


text:
Optionally support serde.

This adds support for serde::Deserialize and serde::Serialize using serde-derive for AlphaColor, OpaqueColor, PremulColor, Rgba8.
This does not provide it for DynamicColor to avoid dealing with the non-exhaustive ColorSpaceTag.
It uses derive rather than hand-implementing the traits as the latter is very verbose and most things using serde will already have enabled the derive feature. (This is also true for the other Linebender crates.)

The fact that this uses the derive feature for serde doesn't change the decision to not use it for bytemuck.
In particular, crates like resvg, tiny-skia, and those from Makepad do use bytemuck, don't use serde and very much do not want a dependency on the whole proc macro world that serde-derive builds on.

repo: linebender/color


text:
Support reserve dir delete if pooling is disabled

Delete reserved dir if DiskSpaceAllocator pooling is disabled.

Codecov Report

Merging #1815 (5a26aac) into master (8f986fd) will decrease coverage by 12.00%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             master    #1815       +/-   ##
=============================================
- Coverage     74.02%   62.01%   -12.01%
+ Complexity     9503     7796     -1707
=============================================
  Files           687      688        +1
  Lines         52073    52139       +66
  Branches       6464     6482       +18
=============================================
- Hits          38545    32335     -6210
- Misses        11508    17745     +6237
- Partials       2020     2059       +39

Impacted Files
Coverage Δ
Complexity Δ

...ava/com/github/ambry/store/DiskSpaceAllocator.java
48.22% <100.00%> (-42.82%)
33.00 <0.00> (-44.00)

...rc/main/java/com/github/ambry/store/TimeRange.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-8.00%)

...java/com/github/ambry/notification/UpdateType.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

...n/java/com/github/ambry/store/CostBenefitInfo.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-9.00%)

...om/github/ambry/store/CompactAllPolicyFactory.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-2.00%)

...om/github/ambry/store/CompactionPolicyCounter.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-5.00%)

...thub/ambry/notification/BlobReplicaSourceType.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

...github/ambry/store/CompactionPolicySwitchInfo.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-5.00%)

...github/ambry/store/StatsBasedCompactionPolicy.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-15.00%)

...github/ambry/network/http2/Http2ServerMetrics.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

... and 155 more

Continue to review full report at Codecov.

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

@cgtz  can we merge this ? (though we don't need this probably)

authors: codecov-io zzmao

repo: linkedin/ambry


text:
Fixes and enhancements to MessageInfoAndMetadataListSerde

Added new versions for GetResponse and ReplicaMetadataResponse
Decoupled these versions from MessageInfoAndMetadataListSerde so that it can
evolve independently going forward
Fixed a bug with the version being passed to the PartitionResponseInfo ctor

Codecov Report

Merging #943 into master will increase coverage by 0.02%.
The diff coverage is 83.33%.

@@             Coverage Diff              @@
##             master     #943      +/-   ##
============================================
+ Coverage     67.23%   67.25%   +0.02%
- Complexity     4350     4354       +4
============================================
  Files           365      365
  Lines         28517    28529      +12
  Branches       3616     3622       +6
============================================
+ Hits          19173    19188      +15
+ Misses         8338     8332       -6
- Partials       1006     1009       +3

Impacted Files
Coverage Δ
Complexity Δ

...github.ambry.protocol/ReplicaMetadataResponse.java
62.26% <ø> (ø)
15 <0> (ø)
:arrow_down:

...in/java/com.github.ambry.protocol/GetResponse.java
83.09% <ø> (ø)
21 <0> (ø)
:arrow_down:

...m.github.ambry.protocol/PartitionResponseInfo.java
74.41% <100%> (-0.59%)
14 <0> (+1)

...ub.ambry.protocol/ReplicaMetadataResponseInfo.java
64.51% <66.66%> (-1.06%)
12 <0> (ø)

...ambry.protocol/MessageInfoAndMetdataListSerde.java
85% <81.25%> (-0.19%)
0 <0> (ø)

...in/java/com.github.ambry.clustermap/Partition.java
84.81% <0%> (-3.8%)
25% <0%> (-1%)

.../java/com.github.ambry.router/DeleteOperation.java
91.91% <0%> (-1.48%)
43% <0%> (-1%)

...in/java/com.github.ambry.network/SocketServer.java
82.78% <0%> (-0.41%)
13% <0%> (ø)

.../main/java/com.github.ambry.store/HardDeleter.java
81.61% <0%> (ø)
41% <0%> (ø)
:arrow_down:

...va/com.github.ambry.replication/ReplicaThread.java
71.69% <0%> (+0.47%)
46% <0%> (+1%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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

@pnarayanan Comments addressed

authors: codecov-io vgkholla


text:
Fixed NPE bug for PartitionAwareOfflineRoutingTableBuilder

PartitionAwareOfflineRoutingTableBuilder was caching the number of replicas
from the table config during the initialization and never updates the value
even if there was a change. This caused NPE when the broker attempts to compute
routing table after servers were added to table and rebalance was invoked.
This PR addresses this bug and also added the unit test to make sure the fix
resolves the issue.

Codecov Report

Merging #2806 into master will increase coverage by 23.58%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           master    #2806       +/-   ##
===========================================
+ Coverage   45.72%   69.31%   +23.58%
===========================================
  Files         910      910
  Lines       43312    43314        +2
  Branches     5868     5869        +1
===========================================
+ Hits        19805    30023    +10218
+ Misses      21861    11299    -10562
- Partials     1646     1992      +346

Impacted Files
Coverage Δ

...builder/BasePartitionAwareRoutingTableBuilder.java
84.37% <ø> (+84.37%)
:arrow_up:

...lder/PartitionAwareOfflineRoutingTableBuilder.java
69.33% <100%> (+69.33%)
:arrow_up:

...der/PartitionAwareRealtimeRoutingTableBuilder.java
82.6% <100%> (+82.6%)
:arrow_up:

...pinot/core/operator/docidsets/OrBlockDocIdSet.java
84.9% <0%> (-9.44%)
:arrow_down:

.../impl/dictionary/LongOffHeapMutableDictionary.java
81.81% <0%> (-5.46%)
:arrow_down:

...impl/dictionary/FloatOffHeapMutableDictionary.java
83.63% <0%> (-3.64%)
:arrow_down:

...e/operator/dociditerators/MVScanDocIdIterator.java
63.63% <0%> (-3.04%)
:arrow_down:

...lix/core/realtime/PinotRealtimeSegmentManager.java
73.54% <0%> (-2.65%)
:arrow_down:

...e/impl/dictionary/LongOnHeapMutableDictionary.java
91.11% <0%> (-2.23%)
:arrow_down:

...mpl/dictionary/DoubleOffHeapMutableDictionary.java
72.72% <0%> (-1.82%)
:arrow_down:

... and 478 more

Continue to review full report at Codecov.

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

authors: codecov-io snleee

repo: linkedin/pinot


text:
Adds a programmatic way to exit linkerd-tcp

Problem:
Some profiling tools are not well suited for long running server
processes and rely on the process exiting to finish their work.
Solution:
POST /quitquitquit is an out-of-band signal for exiting the process. POST
is used to prevent accidental curling (which uses GET by default) or
web browsing from exiting the process.

Do we hate the /quitquitquit Would we rather use /shutdown

I think I prefer shutdown to quitquitquit (sorry xooglers).  Also, I think we need to do this in a way that isn't quite so blunt, permitting some form of graceful shutdown whereby we stop accepting new connections and give active connections some configured grace period to complete.

renamed to /shutdown.

repo: linkerd/linkerd-tcp


text:
Unchecking row returns old value

I have checked a row , got the checked row fine but when i unchecked the row its not removing the value, adding on checked but not removing on uncheck, Can you please help

it keeps adding but not removing on uncheck , same  item adding multiple times

Hi @WordpressArtist
I can't implement this problem on latest version, more detail please.

I installed "vue3-table-lite": "^1.2.4"
now i set up
@return-checked-rows="onCheckRows"
:checked-return-type="'id'"
:has-checkbox="true"
now when i click on bulk check and uncheck works fine
but when i check individual row, it logs. the value
onCheckRows(rows) {
conosle.log(rows)
}
but  when i uncheck, that the id must not be there but it still there.
Example:
i checked 1 row , please check log (i got 22 )

Now uncheck the same item i can see still 22 on log

now i check that item again i got 2 same data previous selected and current selected

Now if i uncheck it still same 2 datas
if i again check it keeps adding item on array but not removing

@WordpressArtist
Thanks for your information, the bug already fixed after v1.3.0.
So, upgrade than  v1.3.0 up please.

authors: WordpressArtist linmasahiro


text:
"Oh no! This page is broken." because g5-standard-3-s is not a valid Linode type

Using the "new" Linode Manager on cloud.linode.com, I get an "Oh no!" error when loading my account dashboard page (https://cloud.linode.com/linodes/myaccountname).
It seems to be broken "out of the box" for my account regardless of which browser I use. Broken in Chrome (latest version) and Firefox (latest version) in regular and private/incognito modes with any ad/nuisance blockers disabled that might be intercepting requests.
Steps to reproduce:

Go to cloud.linode.com
Log in.
Click account name to go to my dashboard.
Watch page load and then immediately overlaid with an error alert. See screenshots below.
Can't do anything other than reload the page and see the same error.

Probable cause:
It looks like the cause is a 400 Bad Request coming back from Linode's servers for GET https://cloud.linode.com/api/v4/linode/types/g5-standard-3-s. When I access that URL manually, I get the following response:
{"errors": [{"reason": "This is not a valid Linode type"}]}
I do have a relatively old Linode account that has gone through numerous migrations over the years. I guess your new backend doesn't recognize my account type.
Screenshots:

We just updated our backend to address this issue. It should now be resolved for you.
Thank you @infinitewarp for taking the time to report this and for providing such detailed information!

I'm marking this as resolved. Let us know if you run into any other issues.

authors: infinitewarp jamesottinger

repo: linode/manager


text:
refactor: [M3-6343] - MUI v5 Migration - Grid v2 for Features

Description 📝
Migrating to MUI Grid v2. This covers everything in the src/features directory (excluding Longview which is forthcoming) and any additional files that needed to be cleaned up.

Note: In several places, you MAY notice slight padding variations due to overly excessive Grid usage. In places like this, I made my best judgment and consulted with UX/Design. You'll notice in several places the use of padding: 0 on Grid elements. This was to match the existing design as much as possible until we get a chance to revisit these areas. Feel free to highlight them, and I'll comment!

Major Changes 🔄

MainContent.tsx - You'll notice slightly more padding for the main content container. This is because the page is actually respecting the original padding of the container now.
Changed Grid import from src/components/Grid to @mui/material/Unstable_Grid2.

The item attribute is no longer needed for Grid.
Most Grid elements with the container attribute needed a spacing attribute as part of the change

updateFor has been removed off the Grid component. There's no need to micromanage how/when a component should re-render like this anymore.

Refactored

LinodeEntityDetail.tsx - Very large file, did some major refactoring here to get things looking like they did before. Check all breakpoints. You'll notice that DNS Resolvers has been updated to use CSS Grid and its layout on smaller breakpoints is slightly different. UX approves 👍
DNSResolvers.tsx - Simplified code and removed makeStyles
NodeBalancerDetail.tsx - Using LandingHeader and removed makeStyles
RenderNotification.tsx - No need for Grid, this was an easy refactor
useFormattedNotifications.tsx - Due to changes in RenderNotification this needed a slight refactor
LinodeAdvancedConfigurationsPanel.tsx - Didn't seem like the styles here were being used
AlertSection.tsx - Instead of forcing changes to work, I saw refactoring was more simple.

Replaced Grid w/ Box component
There was no need for a Grid components in these files, so I swapped them with Box or removed the Grid completely.

ExpandableTicketPanel.tsx - Removed lots of extra Grid components in this file
AutoEnroll.tsx
DatabaseSummaryConnectionDetails.tsx
FirewallRuleTable.tsx
SupportSearchLanding.tsx
ImageSelect.tsx
KubeConfigDisplay.tsx
NodeBalancerConfigurations.tsx
TablesPanel.tsx - This is under NodeBalancers
VolumeTableRow.tsx

Deleted

features/Domains/DomainsTableWrapper.tsx - This didn't seem to be used

How to test

These changes touch the core features we offer, so a page by page scan is required
Go to https://cloud.linode.com/ and compare side by side with local
There are slight changes as noted above and you may notice slight padding changes. Anything agregious, just flag in this PR and I'll take a look at.
Start with larger breakpoints and work your way down.

Where to view changes? Open me! 👇

Component
Where to view or Desc?
Screenshot

AutoEnroll  http://localhost:3000/account/settings
Click on "enable now" link to open drawer. If you're a "managed" user, you may not be able to see this.

DatabaseSummaryConnectionDetails  http://localhost:3000/databases/postgresql/{ID}/summary

Firewalls Rules  http://localhost:3000/firewalls/{ID}

ImageSelect  http://localhost:3000/stackscripts/create

KubeConfigDisplay  http://localhost:3000/kubernetes/clusters/{ID}/summary

NodeBalancerConfigurations   http://localhost:3000/nodebalancers/{ID}/configurations
Configurations tab, lots of refactoring here

Linode Summary View  http://localhost:3000/linodes?view=grid
Tags were using a 1400 breakpoint which is not a supported breakpoint. These will now change layout at < 1280

Linode Detail  http://localhost:3000/linodes/{ID}/networking
DNS Resolvers has been refactored

Notifications  http://localhost:3000/profile/settings
Use mock service worker > open events dropdown

ExpandableTicketPanel  http://localhost:3000/support/tickets
Use MSW

Entity Transfer Create  http://localhost:3000/account/service-transfers/create  http://localhost:3000/account/service-transfers

Firewalls Linodes  http://localhost:3000/firewalls/{ID}/linodes

Search Results  http://localhost:3000/support/search/?query=test

User Menu
Top navigation user menu

QA Checklist
Tag your name next to the ones you've QA'd

[ ] Linodes
[ ] Volumes
[ ] NodeBalancers
[ ] Firewalls
[ ] Stackscripts
[ ] Images
[ ] Domains
[ ] Databases
[ ] Kubernetes
[ ] Object Storage
[ ] Marketplace - Shouldn't be any changes here
[ ] Account
[ ] Help & Support

Things generally look good so far, can we decrease the spacing here across all entities, it has gotten larger in this PR

Yea I was going back and forth with that, but yea let's do it!

@hana-linode The removal of Port Configuration was done by me in https://github.com/linode/manager/pull/8964, it was intentional

Thanks @hana-linode let me know if things are looking better now. I actually improved the alignment of the inbound rules dropdown to always match the action column since I saw that was the intent cc: @mjac0bs
https://user-images.githubusercontent.com/125309814/231877452-286e8fe0-23fb-47b8-8110-53ddaddb4c02.mp4

3c6f9ab

Hmm fix incoming!

I actually improved the alignment of the inbound rules dropdown to always match the action column since I saw that was the intent

🥇 @jaalah-akamai Thank you for doing that. I remember it being just slightly off in the accessibility fix and it haunted me a little. Giving the Firewalls page and the rest of this PR a closer look now!

Ah I probably should have cropped the image more, but I meant that the mobile spacing between table columns looks a bit tight now
This branch

Prod

@hana-linode gotcha! should be good now, increased spacing slightly for the first item from 30% to 32% because we couldn't use margins to create space like we did in prod. I didn't want any words breaking to new lines as things got smaller.

Here are the updates - thanks everybody!

authors: bnussman-akamai hana-linode jaalah-akamai mjac0bs


text:
I2C

Controller and Target support testing
Suspend, resume with handling for pinmux states changes, clock disablement or switch low power clock handling

Initial work here: https://github.com/msp-ti/zephyr/commit/ea9eaeeb999032bd08dd97d977bd5c8a511ab772

Pulled in the changes from https://github.com/msp-ti/zephyr/commit/ea9eaeeb999032bd08dd97d977bd5c8a511ab772 (branch: https://github.com/msp-ti/zephyr/commits/mspm0_dev_stable/)
But I2C scan fails to show the devices, debugging further: https://github.com/linumiz/zephyr/tree/dev/ti/mspm0-i2c

I2C Controller mode works fine. Target mode is still work in progress and checking with Jackson for possible fix.

repo: linumiz/zephyr


text:
Add a GitHub action for type and format checking

This PR also silences remaining mypy issues.

Also removed the CI todo from the readme.

failed on main, forgot to install project deps from requirements.txt :yakplus:

authors: kleinesfilmroellchen linusg


text:
Is there a way to display the text information that has been passed on?

Is there a way to display the text information that has been passed on?
For example, the device information passed from the listener.
THANKS.

What text information do you mean exactly?

What text information do you mean exactly?

Closing as stale, feel free to let me know if there's more to add to this one.

authors: linuswillner poqiuhaha

repo: linuswillner/react-console-emulator


text:
make: fix compiler detection

Use findstring to determine if gcc or clang is getting used.

IMHO Last commit is quite wrong... but using Meson won't help because the meson version 0.29.0 doesn't even support get_supported_arguments()...

@superna9999 Yep. I definitely didn't want to bring up $(call cc-option) from Kbuild. So it was just a simpler thing. Another option would be to move all compiler args to CI setup, leaving just -Wall -Werror by default.

Releveant part was picked into #14. Closing now.

repo: linux-msm/cdba


text:
Constraints

add support for configuring resource constraints

lgtm - and the tox tests are passing - let's wait for the integration test results - should be scheduled soon

[citest]

authors: richm spetrosi tomjelinek


text:
Added "rhc_insights.autoupdate" parameter

Add a new parameter to configure insights auto_update parameter. This will moified the insights-client configuration file.
The syntax of this parameter is a boolean.
Add test for verification.

[citest]

authors: ahitacat richm

repo: linux-system-roles/rhc


text:
Simplify crypto practices section - these often don't apply

The "uses basic good cryptographic practices" section has requirements that often don't apply.  Pull out delivery to a separate section, and then have a "does crypto apply" checkbox at the top - then if crypto doesn't apply, they don't need to do the rest.

This is related to issue #46.

The first round of changes for this in the criteria.md is in pull request #78

Fixed by 6ce07b615d6b19a033e1f1ab1c7a542259021abb ; used button instead of checkbox.

authors: altonius david-a-wheeler


text:
Webhooks Async

Whilst working on #770 I've stumbled across Webhooks (which I've never otherwise used, never mind seen the code ;)). All of the public methods are async (perfect!), but the implementation in WebhookController has a problem (from my understanding of it): each method runs synchronously, but the last line will be something along the lines of:
return await Task.FromResult(result);

Which is a little strange as it's essentially just doing:
return result;

but with some extra steps.
This means that the async methods in the WebhooksController will be running synchronously.
I haven't tested this, so this is purely my theoretical understanding of how it will run, but I think it needs updating to be properly async.
This would probably be a good opportunity to make the TwitterAccessor async, but if there isn't time it could be changed to work in the same way as the other async public functions and just calling Sync.ExecuteTaskAsync internally.
I've left this out of scope of #770 as I think the current implementation should work fine for passing settings and swallowed exceptions etc... around between async flows which that PR is trying to address.

Update: changed them to just return the result, removing await Task.FromResult( as part of #770, but otherwise unchanged.

repo: linvi/tweetinvi


text:
TwitterException thrown with a null TwitterDescription

Using Tweet.PublishTweetWithMedia().  We have been using it for months and it randomly stopped working (there have been 0 code changes).
The TwitterException's StatusCode is -1, the TwitterDescription is null, and the WebException says (unhelpfully), "The underlying connection was closed: An unexpected error occurred on a send."

Switching to TLS1.2 over default solved this issue.


text:
Missing prediction.tsv file

In cstnet-tls1.3_packet/packet directory, there is nolable_test_dataset.tsv but there's no label, i suspect there's a file containing labels for that since there is prediction.tsv in this command:
python3 inference/run_classifier_infer.py --load_model_path models/finetuned_model.bin                                            --vocab_path models/encryptd_vocab.txt                                            --test_path datasets/cstnet-tls1.3/packet/nolabel_test_dataset.tsv                                            --prediction_path datasets/cstnet-tls1.3/packet/prediction.tsv                                            --labels_num 120                                            --embedding word_pos_seg --encoder transformer --mask fully_visible

Hello, may I ask how you solved this problem?

Actually, the output of the nolabel_test_dataset.tsv is the prediction.tsv, so the model is basically predicting the nolabel file and store the result in a prediction.tsv file

Oh, I see. Thank you very much for your response.

Actually, the output of the nolabel_test_dataset.tsv is the prediction.tsv, so the model is basically predicting the nolabel file and store the result in a prediction.tsv file

if so, then how can we figure out the accuracy of such non-label data?

well, i think such non labels are not used for measuring accuracy, but for the purpose of predicting, since they already tested and trained it in the previous stage

authors: 5Fence Kaleidoscope-arch KievTrung

repo: linwhitehat/ET-BERT


text:
Fatal error on iOS drawing circle

await mapController.drawCircle(CircleOSM(
  key: "circle0",
  centerPoint: GeoPoint(latitude: 32.696163174624, longitude: 35.3042548365326),
  radius: 1200.0,
  color: Colors.red,
  borderColor:Colors.green,
  strokeWidth: 0.3,
)

Failing with the following error:

flutter_osm_plugin/Extension.swift:538: Fatal error: Unexpectedly found nil while unwrapping an Optional value

Looks like a bug in file osm_map.swift at lines 593-600
        switch (shapeType)  {
            case .Rect:
                shape =  RectShapeOSM.fromMap(json: rectJson)
            case .Circle:
                shape = RectShapeOSM.fromMap(json: rectJson)
            default:
                shape =  RectShapeOSM.fromMap(json: rectJson)
        }

I guess case .Circle should use CircleOSM instead of RectShapeOSM

thats true. i will do quick fix for it and publish new version

i think the issue is gone now ?

fixed, works excellent, thanks

authors: liodali romanost


text:
eventBus传递jzvdStd保持全局，其他activity中获取实例，无法控制播放暂停，releaseAllVideos可以

**需求描述
eventBus传递jzvdStd保持全局，其他activity中获取实例，无法控制播放暂停，releaseAllVideos可以
**其他app是否实现
未知
**截图或者小视频说明
https://www.seeyou.store//shot.jpg

怎么传递的，currentJzvd能用吗

authors: beartistic lipangit

repo: lipangit/JiaoZiVideoPlayer


text:
Ethereum Swap: Possible to call refund twice

Example contract: https://etherscan.io/address/0x5beaea3b149fe1b1a57473aaff631d03adc1ee01
After the refund, more transactions should not be possible to the contract.

CAL migrated to Chainify

authors: kraikov monokh

repo: liquality/chainify


text:
Bugfix for JIRA issue CORE-2978

This change fixes the bug described https://liquibase.jira.com/browse/CORE-2978, while also supporting the intended schema functionality from earlier changes.

Evidently, the POM file changes are beyond scope.  I'm newish to git so bear with me :)

repo: liquibase/liquibase


text:
Profile name

The merge overwrites the profile name of the winner with the loser's name. In my opinion, the name of the winner should only be updated when it is empty.

Agree, happy to accept a pull request.

Pull request is ready since about three weeks. Is there an issue with it or are you just busy?

Sorry, just been busy. Thanks for the reminder, will merge it tomorrow.
Happy Halloween!

Version 0.0.11 is out https://atmospherejs.com/mikael/accounts-merge.
Thanks a lot for the help, appreciate it a lot!

authors: lirbank ulerch

repo: lirbank/meteor-accounts-merge


text:
peer review week 1

Algemeen
Nog geen app beschrijving in de readme, overall structuur is netjes en de github pages link werkt. 👍🏻
Je zou nog even kunnen kijken naar het geven van een beschrijving van een commit. Op die manier kan je makkelijk zien wat er in die commit allemaal veranderd is, als je alleen werkt niet super relevant maar heel handig in een team
HTML
HTML is semantisch correct, je zou eventueel je gifContainer in een section veranderen.
CSS
Er is nog geen duidelijk ontwerp maar de CSS die er is ziet er netjes uit
JS
Opbouw is logisch, er staan geen comments in wat kan helpen met het begrijpen van de code voor jou en andere. Verder erg netjes

Algemeen

App beschrijving in de readme ga ik toevoegen!
Beschrijving geven aan een commit is een goede tip, ga ik zeker toepassen!

HTML

Kan inderdaad een section worden, ga ik aanpassen.

JS

Comments wil ik inderdaad gaan toevoegen voor extra duidelijkheid.


text:
jenkins/jenkins:latest

!!
请直接填写镜像列表，不要有任何其他内容，镜像都写清楚tag,这里的提示都删除干净，参考这里
!!

jenkins/jenkins:latest


text:
Incrimination of kickCount in ReactControllerHost

Fixes #1815
The _kickCount property is not linked to the react component, meaning the _kick function, does not change the value of _kickCount. I would consider: using a proxy or If there is no reason to keep the _kickCount updated: removing the property from ReactControllerHost, and instead setting it to a random hash or timestamp in the component.
Linted, formatted, and tested.

Thanks for the fix! We'll definitely need tests though. I'm happy to do that soon, or you can if you want to.

I'm not very familiar with testing in the way you are doing it. So if you wouldn't mind taking care of that, I would appreciate it.

Fixed with a test in https://github.com/lit/lit/pull/1820
Thanks for this PR though @Vac1911 !

repo: lit/lit


text:
Align renderRoot type change with PatchableElement

Context
I was looking into the renderRoot, and createRenderRoot type change in 3.0. We possibly missed some locations:

PatchableLitElement: In Lit element hydration support
PatchableReactiveElement: In polyfill support

Test plan
Unit tests. I don't have a good grasp of who consumes these types and what sort of testing would be best.

Hmm it doesn't look like those types are actually getting used inside the patch implementations as accessing .prototype turns it all into any.

Hmm it doesn't look like those types are actually getting used inside the patch implementations as accessing .prototype turns it all into any.

Interesting. So maybe we could remove them? (I haven't checked yet)

authors: AndrewJakubowicz augustjk


text:
Update galaxy IAM role policy

this should fix the permissions problems with galaxy deploying new
pools from the controller.
fixes #225

Maybe update Version there?

:+1:

"Version" is a fixed AWS value. It like a policy API version or something -- you can see the same date in all the S3 bucket policies.

authors: jbardin joeshaw

repo: litl/galaxy


text:
[WIP]: Chaos-operator chaosEngine types Changes pushed for metrics

Signed-off-by: Rahul M Chheda rahul.chheda@mayadata.io

Closing this to Create new one with dep-ensure

repo: litmuschaos/chaos-exporter


text:
Don't believe PersistentVolumeClaim mongo-0

Mongo pod won't start
[root@k8s-master1 ~]# kubectl get pods -n litmus
NAME                                     READY   STATUS     RESTARTS   AGE
litmusportal-frontend-74f699bc65-xj6mg   1/1     Running    0          4m21s
litmusportal-server-5b79b6577c-qstlz     0/2     Init:0/1   0          4m21s
mongo-0                                  0/1     Pending    0          4m20s
[root@k8s-master1 ~]#
Conditions:
Type           Status
PodScheduled   False
Volumes:
mongo-persistent-storage:
Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName:  mongo-persistent-storage-mongo-0
ReadOnly:   false
kube-api-access-fx6vx:
Type:                    Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds:  3607
ConfigMapName:           kube-root-ca.crt
ConfigMapOptional:
DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type     Reason            Age                  From               Message

Warning  FailedScheduling  43s (x4 over 3m49s)  default-scheduler  0/2 nodes are available: 2 pod has unbound immediate PersistentVolumeClaims.
solution
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mongo-persistent-storage-mongo-0
namespace: litmus
spec:
storageClassName: manual
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

kind: PersistentVolume
apiVersion: v1
metadata:
name: mongo-0
namespace: litmus
spec:
storageClassName: manual
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/data/db"

cc: @rajdas98

Hi @Poswark, Mongo is an STS and it will create PVC and PV in the background. The attachment of PVC with pod depends on your storage provisioner.

ok

authors: Poswark ksatchit rajdas98

repo: litmuschaos/litmus


text:
Migrating {project APIs, project DB collections} to auth server and adding grpc calls between graphql-server and auth server

Detailed info about the PR:

Migrated project collection from litmus db to auth db, so as to prevent any DB inconsistencies and have smooth, efficient communication between users and project collection.
Added APIs related to project collection in auth server and removed existing graphql APIs related to project and user management to have a better and cleaner code base.
Added gRPC APIs in auth and graphql server so that both the servers can use RPC APIs to communicate internally.
Added necessary frontend changes that were required due to additions and modifications in project related APIs

Proposed changes

Migrated project collection to auth DB
Renamed usercredentials collection to users collection
Added gRPC clients in graphql and auth server
Modified usage query to work with new architecture
Frontend integration with new APIs

Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[x] New feature (non-breaking change which adds functionality)
[ ] Bugfix (non-breaking change which fixes an issue)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the commit for DCO to be passed.
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

Can you please fix the DeepScan issues!


text:
Idea: recognise default values

Hey @stevie-mayhew, what's up 😀
Just trying this module, it looks handy. I was thinking though, that in real world use (for me at least) all my pages have a meta title whether I provide a custom one or not, because I'll generate one if not provided. I'll sometimes do the same for Meta Descriptions too. So I would like error messages to reflect the actual tags that are output, and I would like to see the default content when a field is blank, to know whether it's worth overriding it with a custom value.
What do you think about providing a method like this to determine a default value:
// Provide a default meta title if no custom one is set
public function defaultMetaTitle() {
    return $this->Title . ' → ' . SiteConfig::current_site_config()->Title;
}

This could be overridden in the Page class to let developers define their own default. Then you could set a placeholder on form fields so that any blank fields display their default values, and show error messages based on the final resolved value rather than the custom value only.
To explain my approach further - to bring this all together I would then put something like this in my Page class:
// Resolve the actual meta title content that will be output
public function resolvedMetaTitle() {
    return $this->MetaTitle ?: $this->defaultMetaTitle();
}

And I'd put this in my PageController. (Putting it on the model would cause the resolved value to be populated on MetaTitle form fields)
// Resolve a meta title for this page
public function getMetaTitle() {
    return $this->resolvedMetaTitle();
}

Seems like a good idea as long as its configurable to turn on and off - we like to show clients where they haven't done anything beyond the default. Or we could somehow mark it as a "default value"?

Yeah the way I'm using it locally is I set a placeholder value on the field with the default value. So the user can see whether or not they've provided a custom value, and what the default value is if they haven't provided a custom one. That's the idea at least, seems for now that placeholder values and field values look identical in SS4 😅 so I might have to open an issue about that.

Relevant: https://github.com/silverstripe/silverstripe-cms/pull/2215

Little update, that PR has been merged into 4.4.x-dev, so should open up some new possibilities for reading and writing meta tags

authors: jonom stevie-mayhew

repo: littlegiant/silverstripe-seo-editor


text:
🛑 USTC Mirrors (IPv4) is down

In 73c60bb, USTC Mirrors (IPv4) (https://ipv4.mirrors.ustc.edu.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: USTC Mirrors (IPv4) is back up in 6d2b850 after 18 minutes.

repo: littlekud/sites-status


text:
Clicking on an auto closing message box that has no buttons defined causes a memory fault.

Hi,
Dev-6.0 Branch.
If you click on an auto closing message box with a mouse pointer when there are no buttons assigned it causes a memory fault.  The crash appears to be caused by the calling of the function lv_btnm_get_active_btn() with NULL.
To Reproduce
Display an auto closing message box and click on it with mouse pointer...
Kind Regards,
Pete

Hi,
I fixed it in 3abcf52. Is it working well now?

Hi @kisvegabor ,
Yes I can confirm the problem is fixed...  Thank you.
Kind Regards,
Pete

Thank you for the feedback!

authors: kisvegabor pete-pjb

repo: littlevgl/lvgl


text:
两个子moudle都依赖了rxhttp，出现BaseRxHttp is defined multiple times

Type rxhttp.BaseRxHttp is defined multiple times: E:\project\GXRCW_2021\app_gxzpb\build.transforms\ed639b27b1db40363da4896faff07237\classes\classes.dex, E:\project\GXRCW_2021\app_gxrcw\build.transforms\e503aab4d17c0a85e3f8ec40b2d9b2f5\classes\classes.dex
今天升级到2.6.1。出现了这个问题。之前使用的是2.5.7
项目是这样依赖的。
baselib 依赖
api 'com.github.liujingxing.rxhttp:rxhttp:2.6.1'
Alib 依赖
kapt  'com.github.liujingxing.rxhttp:rxhttp-compiler:2.6.1'
Blib 依赖
kapt  'com.github.liujingxing.rxhttp:rxhttp-compiler:2.6.1'
Alib和 Blib 通过  api project(path: ':baselib')  引用rxhttp。
我这样使用有什么问题吗？

。。。那我以前都这么干的，居然没出错
谢了

不行，如果Alib、Blib都去除  kapt 'com.github.liujingxing.rxhttp:rxhttp-compiler:2.6.1'  这个的话
那么就引用不到rxhttp。  kapt 有类似  api project(path: ':baselib')  这样的用法吗？
不然子moudle无法使用

kapt rxhttp-compiler的作用仅仅是为了生成RxHttp相关类，只要在baselib生成了RxHttp类，上层就可以使用。引用不到，就说明没有生存，为啥不生产，请查看集成RxHttp，却没有RxHttp这个类？

应该是生成了的
baselib自身是可以引用的。
我明天再研究一下

生成了，那这个类就属于baselib下的类，只要上层依赖了baselib，就可引用到。

我的错，今天早上重启了android studio之后就没问题了。估计的IDE的锅

repo: liujingxing/rxhttp


text:
请问有人能跑通代码吗，一训练就爆内存，是环境问题？

能不能提供一下跑通代码的环境，accelerate，deepspeed，transformers，torch。
我按照requirements并不能跑通

您好，感谢对我们工作的关注。我们的环境配置和readme里写得是一样的，请问您是报爆内存的错误吗？如果尝试调低--per_device_train_batch_size和--max_source_length参数，看能否先消掉报错？祝好

您好，如果依旧存在环境问题，可以在 #7 中继续进行讨论。感谢对我们工作的关注。祝好


text:
[DOCS]  How to Use Images

It may not be immediately obvious to a new developer playing with code in their local machine that they cannot easily 'add' or 'import' an image from their own local computer to their LiveCode pen. It would be helpful to have a little section in the docs that explains how to use images into the pens. Some of the ways I can think of may include:

using a public image URL - the URL of an image that is publicly available on the internet - while their computer is connected to the internet

embedding the image as encoded data - eg., base64 encoded

Using a local server that can serve their local images via URLs that are resolved by their local machine - eg., if using tools that create virtual servers in their machines, such as MAMP/XAMPP, Nginx, Apache, Node, PHP, etc.

Are there any other ways?...

This is a nice suggestion.
adding images or other assets to projects is a real need.
I agree to your methods 1 & 2.
method 3 (in addition to being technically challenging/out of scope) will not allow sharing your project because it depends on local resources.
Having a self-contained projects that you can easily share and re-edit is an important goal for LiveCodes.
On the other hand, your suggestion made me think of having UI to add local files. The app would give you a url for that file which is either:

base64-encoded data url
url of the file uploaded to a public server (e.g. github pages)

thank you

hi @iocouto,
based on your suggestion, the app now allows adding assets (like images, videos, scripts, stylesheets, icons or any other files).
in the settings menu look for "Assets..."
It allows adding local files as base64-encoded data url or deploys the files to GitHub pages (on livecodes-assets repo on your account). You then get the url to use in your projects.
The urls are locally saved in your browser and can be easily re-used across projects.
you may try it on the development build:
https://dev.livecodes.io/
or directly open assets
https://dev.livecodes.io/?screen=assets
please let me know if you have any comments or suggestions
Thank you :)

This is now documented here:
https://livecodes.io/docs/features/assets

authors: hatemhosny iocouto

repo: live-codes/livecodes


text:
🛑 live4.dev is down

In a7f23eb, live4.dev (https://live4.dev) was down:

HTTP code: 403
Response time: 177 ms

Resolved: live4.dev is back up in e56f189.


text:
Improve useOthers() for >90% use cases

The goal of this issue is to fix some drawbacks of the recently-implemented selector-based useOthers() hook.
It was implemented to be consistent with its current (0.17) implementation, and to be symmetric to the way useStorage() and useSelf() works.
For example:
useStorage(root => root.some.thing)
useSelf(me => me.presence.cursor)
useOthers(others => others.map(...), shallow);

Since useOthers() is the only one of these hooks that operates on a list, the only reasonable operations you can do on those that make sense are:

Some form of mapping - e.g. selecting all cursors
Some form of filtering - e.g. selecting only users with an avatar
Some form of folding - e.g. testing if some or every user matches a predicate

Let's consider a use case for each.
Use cases for mapping
There are legion of these. In fact, >90% of use cases will be some kind of mapping. For example, extracting cursors, drafts, selections, avatars, etc for each of these users would require a mapping.
// 0.18.0-beta0
const cursors = useOthers(others => others.map(other => other.presence.cursor), shallow);
const drafts = useOthers(others => others.map(other => other.presence.pencilDraft), shallow);
const avatars = useOthers(others => others.map(other => other.info.avatar), shallow);

It's pretty verbose, right? Also, the shallow here is used to compare the outer selection, which in the case of a .map() will always be the outer array. Not using a shallow comparison makes absolutely no sense with this API, and will likely always be a bug.
While selecting "stable" references means the shallow comparison makes sense here, it becomes problematic if we select derived data, for example, when we want to select multiple things:
// 0.18.0-beta0
const drafts = useOthers(
  others => others.map(other => ({
    path: other.presence.pencilDraft,
    color: other.presence.penColor,
  })),
  shallow
);

Now, the shallow won't behave like you expect, because it will be used on the outermost array, but the returned { path, color } objects will be ===-compared. Because they are always new objects, these will never match. You can only solve this by using a two-level-deep-shallow comparison function 😢  Let's call this the TwoLevelShallow Comparison Problem™.
Lastly, in 99% of use cases when using useOthers() to get a list-of-whatever, you'll want to iterate over that list and display some UI for each item. That requires using a key={...} prop in React. What key to use? In pretty much all use cases, you'll want other.connectionId. That means that in pretty much every use case of useOthers(), you'll need to also select connectionId to retain it. Then you're back to the TwoLevelShallow Comparison Problem™.
Use cases for filtering & folding
When filtering and folding others, you are narrowing down the list. For example:
// In 0.18.0-beta0
const typingUsers = useOthers(others => others.filter(other => other.presence.isTyping), shallow);
const isSomeoneTyping = useOthers(others => others.some(other => other.presence.isTyping));

In the first case, you're using a .filter(), so the result needs a shallow check. In the second case, the result is folded into a boolean, so that's unnecessary.
In the .filter() case, though, the result will change any time the presence for any of the typing users change. So the component will re-render even if one of those typing users move their cursors. In practice, you'll often want to narrow down and only select properties you want to watch for.
A pragmatic proposal
Below, I'm proposing an alternative API for useOthers() that may initially look a bit weird or unusual, but that will be much nicer to use in most practical use cases.
The proposed changes:

The 1st argument becomes an "item selector", and the final selection is always equal to others.map(itemSelector). The type of that item selector is (other: User<P, M>) => T.
The 2nd argument becomes an "item level comparison", and used to define how items are compared pairwise.
The connectionId is always selected to make it easier to use with React use cases. The final result of the hook is always of this shape: { connectionId: number, data: T }[].
The hook's internals ensure that comparison happens shallowly at the outer array level, and that only the data fields get pairwise-compared. The { connectionId, data } objects always remain stable references this way.

// Proposed to include in 0.18.0-beta1
const cursors = useOthers(other => other.presence.cursor);
cursors.map(c => <Cursor key={c.connectionId} x={c.data.x} y={c.data.y} />);

const drafts = useOthers(
  other => ({ path: other.presence.pencilDraft, color: other.presence.penColor }),
  shallow,
);
drafts.map(d => <Draft key={d.connectionId} color={d.data.color} path={d.data.path} />);

const avatars = useOthers(other => other.info.avatar);
avatars.map(a => <img src={a.data.url} />);

This makes it super ergonomic for the majority of use cases.
It unfortunately means that the "filtering" and folding are no longer supported use cases, though. However, those could be relatively easily expressed in terms of a map with some post-filtering, e.g.
const users = useOthers(other => other.presence.isTyping ? other.presence.draftText : null);
const typingUsers = users.filter(u => u.data !== null);
const isSomeoneTyping = users.some(u => u.data !== null);

A few downsides to this API:

May not be obvious at first (but hopefully appreciated later / in practice!)
Is not symmetric to useSelf() or useStorage()
May not initially be intuitive how the isEqual function applies to the item level
The { connectionId, data } return shape may feel a bit awkward at first, even though very pragmatic.
Still, I kinda dislike the extra .data path needed… ideas?
This proposal makes useOthers() (without selector) and useOthers(x => x) return different results, unlike before. Now, the second would have that data subfield, but the former does not 🙈

Thank you for writing up this proposal after our chat!
I'm convinced this is more useful than the 0.18.0-beta0 API. I like the itemSelector to avoid the TwoLevelShallow Comparison Problem™ :smile:
Still unsure about the return shape and I don't see an obvious solution the last 3 downsides 🤔  Maybe an Array<[connectionId: number, data: T]> could be an alternative API to avoid the data property? Not sure it's better.
Another use case that came to my mind (that might be a bit far fetched):
Folding based on user.id instead of user.connectionId . Google docs Avatars component merge every "other" that share the same user id (a user that is connected on multiple tabs / device appears only once in the avatar stack)
Grouping (variation of folding) could also be useful for avatars: editors vs viewers, active vs idle.
The alternative approach that I'm still considering is the one that we briefly talked about during our call. If we assume that developers that want to use a "selector" API do it to avoid re-render and performance, we could keep the current 0.18.0-beta0 useOthers API (predictable and useful for folding scenarios) and propose 2 additional hooks every time "mapping" is necessary.

useOthersConnectionIds() : that would be a tiny wrapper to useOthers(others => others.map(other => other.connectionId), shallow) which could be optimized internally by using room.suscribe("others") event (not documented). Not sure if this level of optimization is even necessary with our current number of users.
useOther(connectionId, other => other.presence.cursor) also optimizable using the same event.

I'm still not completely sure about all this and I would love to get the feedback from our team and ideally from external developers. Maybe after migrating all our examples a pattern will emerge? I have a feeling like we're getting close to something but we're not fully there yet. 🤔

I'm convinced this is more useful than the 0.18.0-beta0 API. I like the itemSelector to avoid the TwoLevelShallow Comparison Problem™ 😄

Nice!

Still unsure about the return shape and I don't see an obvious solution the last 3 downsides 🤔 Maybe an Array<[connectionId: number, data: T]> could be an alternative API to avoid the data property? Not sure it's better.

Yeah, I agree. That behavior is too magical to be the default. It should definitely be an opt-in. Options:

Adding an arg useOthers(other => other.presence.cursor, { withIds: true }). Bleh.
Adding another hook useOthersWithId(other => other.presence.cursor). Hmm.

Another use case that came to my mind (that might be a bit far fetched): Folding based on user.id instead of user.connectionId . Google docs Avatars component merge every "other" that share the same user id (a user that is connected on multiple tabs / device appears only once in the avatar stack)

Not far-fetched at all. I didn't explicitly call out flatMapping and/or grouping, but that would be perfectly legit and could be considered another form of folding. We would definitely lose support for doing that, which seems bad.

useOthersConnectionIds() […]

I don't like this long name much, but it triggered another idea! Perhaps if we shorten the name, we could kill two birds with one stone, and offer:

useOtherIds() (returning a number[])
useOtherIds(itemSelector) (returning a [number, T][], or a { connectionId: number, selection: T }[]?

If we do that, we can keep the 0.18.0-beta0 useOthers() implementation around separately. (But I still think using that API without at least a shallow 2nd arg is a bug. That part still feels like a footgun to me.)

useOther(connectionId, other => other.presence.cursor)

Still like this one. Will be instrumental to building performant cursor renders 👍

But I still think using that API without at least a shallow 2nd arg is a bug. That part still feels like a footgun to me.

Actually… is it 🤔 ? The use cases of .filter()'ing with shallow is perfectly safe! Folding to a boolean is also fine! Grouping would be less trivial, but still possible if you provide your own comparison function. You're in non-beginner land than anyway.
I think it's only a footgun in .map() situations (because of the TwoLevelShallow Comparison Problem™). But for all .map()-based use cases, the useOtherIds() seems like the more idiomatic approach anyway, because you'll always want to select the keys with those! 😄

To summarize, I think our best shot so far is:

Keep useOthers() as-is in beta0
Offer a new useOtherIds(selector?, isEqual?) API, like proposed above
Offer a new (singular) useOther(connectionId, selector?) API
Get more real-world feedback on those!

Closing for now, as this proposal has landed in 0.18.0-beta1. A final name tweak may or may not still land before the final launch, but I'm happy with the conceptual addition here, as it works well in practice.

authors: GuillaumeSalles nvie

repo: liveblocks/liveblocks


text:
Code run time Error (livechat-widget' is not a known element)

Describe the bug
We try to test LiveChat on our application but it did not work, tried to run code but that time showed an error.
We have referenced the document for implementation.
https://github.com/livechat/chat-widget-adapters
To Reproduce
Steps to reproduce the behavior:
See error:
error NG8001: 'livechat-widget' is not a known element:
1. If 'livechat-widget' is an Angular component, then verify that it is part of this module.
2. If 'livechat-widget' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Screenshots

Version:
-Angular Version 9

Hello @AmolShinde11 👋
Sad to hear that you have encountered an error with our package.
Unfortunately, as for now, this package is aimed to support the last two Angular versions: 12 and 13 as below 12 the output produced by@angular/compiler@13 seems to be incompatible with the lower version.
The dependence on specific Angular version is emphasized using peerDependecies inside packages package.json as you can see here: https://github.com/livechat/chat-widget-adapters/blob/832c5cafc34c48950ef1112c9c9b2f335f340558/packages/widget-angular/package.json#L33
Because your request targets a version lower than the currently supported ones, this issue will not have a high priority. I won't close it right away and I will try to do some debugging first and we will see if we can do anything more to actually support a wider range of Angular versions.
Feel free to propose your solution if you will have one or provide any more details if some will be available 🙂

Closing as for now we are not officially supporting the Angular versions lower than 12.
The issue will be reopened If we will introduce support for Angular 11.

repo: livechat/chat-widget-adapters


text:
feat(web): add new voice options to VoiceId and voices array

Description
This pull request introduces new voices recently added by OpenAI: https://platform.openai.com/docs/guides/realtime#voices
These voices are integrated into the dropdown list for selection.
Why is this useful?
The new voices provided by OpenAI are significantly more expressive, offering a better user experience through improved voice quality and expressiveness.
How it works
The modification involves adding references to the new voices within the voices data interface, ensuring they are available for use in the project.
Changes

Added new voice references from OpenAI to the voices data interface.

Testing

Verified that the new voices are correctly referenced and functional within the interface.

Additional Notes

No additional dependencies or configurations are required for this update.

Troubleshooting
You might need to clear the package-lock.json to make sure the latest openai lib is used

hey, i think these changes are already in master. Good PR btw!
https://github.com/livekit-examples/realtime-playground/blob/main/web/src/data/voices.ts

authors: gianpaj xbasset

repo: livekit-examples/realtime-playground


text:
关于train训练集的问题

请问原本的FEWNERD数据集中的train_5_1.jsonl如何转化成模型训练时需要的train.txt，我想要使用您的代码探索一些小样本NER的问题，所以想要尝试更多不同数据集的测试。

十分感谢您的回答，还有一个问题就是我按照您上传的代码未做修改的复现，但我的结果仍比您论文上的效果要差很多

我这里重新跑了一下run_fewnerd.sh，结果大概是正常的，这个代码应该是没问题的，可能是环境之类的问题（和requirements.txt里面的对齐）

好的，叨扰了，十分感谢您的回答

Hello
How did you calculate the confidence interval (from the paper) based on the output of the evaluation script?

Hello, thank you very much for your work How did you calculate the confidence interval (from the paper) based on the output of the evaluation script?

https://github.com/liyongqi2002/TadNER/issues/3#issuecomment-1851203922


text:
求开源哇哥，很需要学习一下您的技术

哥能给开源吗

b站来的 支持一下

b站来的 支持一下

一样一样

repo: liyupi/mianshiya-public


text:
There was a problem making my own dataset

Thank you very much for your work, I got an error when I ran the code below as per your tutorial：

The command I entered was：
bash script/prepare_pseudo_label.sh lego 1
The lego is my own dataset. Its structure is as follows：

But something went wrong

........Some intermediate outputs are omitted

Help me！
oh, my gpu is RTX4090. my cuda is 11.6 and pytorch is 1.12.1

Did you tried putting your images in input folder? I think your images should be in data/lego/input. In my case it worked well.. Additionally, my image names were written like this
01.jpg, 02.jpg ... but I'm not sure if the issue lies with the image name.

Thank you very much for your work, I got an error when I ran the code below as per your tutorial：
The command I entered was： bash script/prepare_pseudo_label.sh lego 1 The lego is my own dataset. Its structure is as follows：
But something went wrong   ........Some intermediate outputs are omitted
Help me！ oh, my gpu is RTX4090. my cuda is 11.6 and pytorch is 1.12.1

I encountered the same error, did you solve it?

I met the same error, EVEN for lerf dataset. I ran the code on the lerf dataset but also met this error.

authors: 520jz AkiiLucky MichaelWangGo lazyBsloth

repo: lkeab/gaussian-grouping


text:
DUNE automatic timestep choice

todo

automatic timestep for DUNE
allow user to adjust relative/absolute error tolerance in GUI
but default settings should just work (as much as possible)

For the 1.0 release, the time-stepping will be made by the model directly. But in the middle term, I envisage a that time integration is made outside the model and controlled in detail by the C++ user. Pretty much as how the steppers in boost odeint work.

authors: SoilRos lkeegan

repo: lkeegan/spatial-model-editor