RDF distiller / JSON-LD playground canonization results differs from this implementation

Consider this testcase - am I doing something wrong?
This library provides the same results as the reference (JSON-LD playground) most of the time, however, I just found bunch of JSON-LD documents where it assigns different IDs to the graphs, not sure why.
    @Test
    public void rdfTest() throws Exception {
        String nQuads = """
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.com/#DocumentVerification> _:b0 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> <https://example.com/#documentPresence> "Physical" _:b0 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> <https://example.com/#evidenceDocument> "DriversLicense" _:b0 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> <https://example.com/#subjectPresence> "Physical" _:b0 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> <https://example.com/#verifier> "https://example.edu/issuers/14" _:b0 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.com/#SupportingActivity> _:b0 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> <https://example.com/#documentPresence> "Digital" _:b0 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> <https://example.com/#evidenceDocument> "Fluid Dynamics Focus" _:b0 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> <https://example.com/#subjectPresence> "Digital" _:b0 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> <https://example.com/#verifier> "https://example.edu/issuers/14" _:b0 .
                <urn:uuid:789> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.w3.org/2018/credentials#VerifiablePresentation> .
                <urn:uuid:789> <https://www.w3.org/2018/credentials#holder> <did:example:123> .
                <urn:uuid:789> <https://www.w3.org/2018/credentials#verifiableCredential> _:b0 .
                _:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.w3.org/2018/credentials#VerifiableCredential> _:b0 .
                _:b1 <https://w3id.org/security#proof> _:b2 _:b0 .
                _:b1 <https://www.w3.org/2018/credentials#credentialSubject> <did:example:456> _:b0 .
                _:b1 <https://www.w3.org/2018/credentials#evidence> <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> _:b0 .
                _:b1 <https://www.w3.org/2018/credentials#evidence> <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> _:b0 .
                _:b1 <https://www.w3.org/2018/credentials#issuanceDate> "2021-01-01T19:23:24Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> _:b0 .
                _:b1 <https://www.w3.org/2018/credentials#issuer> <did:example:123> _:b0 .
                _:b3 <http://purl.org/dc/terms/created> "2021-10-02T17:58:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> _:b2 .
                _:b3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/security#JsonWebSignature2020> _:b2 .
                _:b3 <https://w3id.org/security#jws> "eyJiNjQiOmZhbHNlLCJjcml0IjpbImI2NCJdLCJhbGciOiJFZERTQSJ9..VA8VQqAerUT6AIVdHc8W8Q2aj12LOQjV_VZ1e134NU9Q20eBsNySPjNdmTWp2HkdquCnbRhBHxIbNeFEIOOhAg" _:b2 .
                _:b3 <https://w3id.org/security#proofPurpose> <https://w3id.org/security#assertionMethod> _:b2 .
                _:b3 <https://w3id.org/security#verificationMethod> <did:example:123#key-0> _:b2 .
                """;

        // I got the same output from RDF distiller and JSON-LD playground...
        String expectedCanonizedOutput = """
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.com/#DocumentVerification> _:c14n1 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> <https://example.com/#documentPresence> "Physical" _:c14n1 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> <https://example.com/#evidenceDocument> "DriversLicense" _:c14n1 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> <https://example.com/#subjectPresence> "Physical" _:c14n1 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> <https://example.com/#verifier> "https://example.edu/issuers/14" _:c14n1 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.com/#SupportingActivity> _:c14n1 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> <https://example.com/#documentPresence> "Digital" _:c14n1 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> <https://example.com/#evidenceDocument> "Fluid Dynamics Focus" _:c14n1 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> <https://example.com/#subjectPresence> "Digital" _:c14n1 .
                <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> <https://example.com/#verifier> "https://example.edu/issuers/14" _:c14n1 .
                <urn:uuid:789> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.w3.org/2018/credentials#VerifiablePresentation> .
                <urn:uuid:789> <https://www.w3.org/2018/credentials#holder> <did:example:123> .
                <urn:uuid:789> <https://www.w3.org/2018/credentials#verifiableCredential> _:c14n1 .
                _:c14n0 <http://purl.org/dc/terms/created> "2021-10-02T17:58:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> _:c14n3 .
                _:c14n0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/security#JsonWebSignature2020> _:c14n3 .
                _:c14n0 <https://w3id.org/security#jws> "eyJiNjQiOmZhbHNlLCJjcml0IjpbImI2NCJdLCJhbGciOiJFZERTQSJ9..VA8VQqAerUT6AIVdHc8W8Q2aj12LOQjV_VZ1e134NU9Q20eBsNySPjNdmTWp2HkdquCnbRhBHxIbNeFEIOOhAg" _:c14n3 .
                _:c14n0 <https://w3id.org/security#proofPurpose> <https://w3id.org/security#assertionMethod> _:c14n3 .
                _:c14n0 <https://w3id.org/security#verificationMethod> <did:example:123#key-0> _:c14n3 .
                _:c14n2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.w3.org/2018/credentials#VerifiableCredential> _:c14n1 .
                _:c14n2 <https://w3id.org/security#proof> _:c14n3 _:c14n1 .
                _:c14n2 <https://www.w3.org/2018/credentials#credentialSubject> <did:example:456> _:c14n1 .
                _:c14n2 <https://www.w3.org/2018/credentials#evidence> <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231> _:c14n1 .
                _:c14n2 <https://www.w3.org/2018/credentials#evidence> <https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab> _:c14n1 .
                _:c14n2 <https://www.w3.org/2018/credentials#issuanceDate> "2021-01-01T19:23:24Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> _:c14n1 .
                _:c14n2 <https://www.w3.org/2018/credentials#issuer> <did:example:123> _:c14n1 .
                """;

        InputStream inputStream = new ByteArrayInputStream(nQuads.getBytes(StandardCharsets.UTF_8));

        RdfDataset rdf = Rdf.createReader(MediaType.N_QUADS, inputStream).readDataset();
        RdfDataset canonical = RdfNormalize.normalize(rdf);
        StringWriter stringWriter = new StringWriter();
        RdfWriter rdfWriter = Rdf.createWriter(MediaType.N_QUADS, stringWriter);
        rdfWriter.write(canonical);

        String canonicalizationResult = stringWriter.toString();

        System.out.println(canonicalizationResult);
        assertEquals(expectedCanonizedOutput, canonicalizationResult);
    }

Thank you for making me aware of this issue.
There was an error in the way literal data types were handled which led to incorrect canonicalization.
I've added you test case to the library and released a new version that should resolve the bug.


Disabling tsan-inout.swift due to bot failures.

Disabling tsan-inout.swift due to bot failures.

@swift-ci please smoke test and merge


Add support for custom user tags

You can set tags for monitors and monitor groups on site24x7. Support parsing these and add them as labels to the metrics.

Some progress in https://github.com/svenstaro/site24x7_exporter/commit/75167b0abc1d97a1939b6ee5ab0e75410d4658b6
I can't use the MetricVecs for this any more as they need their labels predeclared and they can't change.


Bus error

Hello,
Recently I've received a PR with a patch from Eugene Grosbein:
"fix SIGBUS
This commit changed contrib/bc/configure from regular file to the symlink to configure.sh
https://cgit.freebsd.org/src/commit/contrib/bc/configure?h=stable/12&id=e32b8140f4e7de93eb7d571e7fcb2bf9db6c97a3
gitup-0.96 crashes with SIGBUS trying to repair or update local repository copy when old (pre-commit) tree is present:

The function save_repairs() contains logic error calling calculate_file_hash() function to calculate hash of local file passing file mode of an object from the repository. The function calculate_file_hash() assumes that mode describes local file, calls readlink() for supposed symlink, but readlink() returns -1 with errno=EINVAL. This returned value ("uint32_t bytes_read" assigned with -1) is used in a statement:

temp_path[bytes_read] = '\0';
SIGBUS is imminent.

With this bug fixed by passing real mode of local file to calculate_file_hash(), the function save_file() still does not handle the situation because it halts on any error on symlink creation including EEXIST. Instead, it should remove old file preventing symlink creation and retry.

The patch solving the problem is attached.
"
Patch and more details available at PR 261307
Could you take a look at this?
Thanks,
Nuno Teixeira

I just committed his patch.  Thank you!

Thank you .)

Ah, I also encountered a bus error. Can't recall whether it was on the same machine as #82, but I (lazily) removed the contents of /usr/src and /var/db/gitup.


Remember Float on Top option

It would be nice if Noty remembered whether to "float on top" whenever I close and reopen it.

This app is now deprecated, you should use Notable instead, which is a much better note-taking app overall, its zen mode can replace Noty's UI pretty effectively and it is very actively developed.
Notable has this option already.


Key repeats after rebuilding

I'm so sorry I keep bugging you, but I re-built the waynergy-git AUR package and now any key I press repeats until I press another key.
I don't see anything depicting this in the debug log, with --loglevel 9, but here's my log anyway:
$ waynergy --host <IP_ADDRESS> --name Bespin --enable-crypto --enable-tofu --loglevel 9
0.000000309: [INFO] Log initialized at level 9

0.000093007: [DEBUG] requiring wait() on SIGCHLD
wl-clipboard 2.0.0
Copyright (C) 2019 Sergey Bugaev
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
SIGCHLD sent without exit
0.002719720: [DEBUG] Found wl-paste
wl-clipboard 2.0.0
Copyright (C) 2019 Sergey Bugaev
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
SIGCHLD sent without exit
0.005567831: [DEBUG] Found wl-copy
0.005595991: [DEBUG] not requiring wait() on SIGCHLD
SIGCHLD sent without exit
0.046969418: [WARN] Could not kill lingering wlpaste instances: -1

0.048230174: [DEBUG] Got idle manager
0.048455691: [DEBUG] Mutating output...
0.048477056: [DEBUG] Got output at position 0,0
0.048492345: [DEBUG] Got current mode: 3840x2160@60000
0.048504736: [INFO] Not using preferred mode on output -- check config
0.048516002: [DEBUG] Mutating output...
0.048527363: [DEBUG] Got scale factor for output: 1
0.048538161: [DEBUG] Mutating output...
0.048549220: [INFO] Output updated: 3840x2160 at 0, 0 (scale: 1)
0.048561213: [DEBUG] All outputs updated, triggering event
0.048570428: [INFO] Geometry updated: 3840x2160
0.048582206: [DEBUG] Got xdg output name: DP-1
0.048596184: [DEBUG] Mutating output from xdg_output event
0.048612695: [DEBUG] Got xdg output desc: Goldstar Company Ltd LG Ultra HD 0x0000EE50 (DP-1 via HDMI)
0.048629137: [DEBUG] Mutating output from xdg_output event
0.048646519: [DEBUG] Got xdg output position: 0, 0
0.048659367: [DEBUG] Mutating output from xdg_output event
0.048674110: [DEBUG] Got xdg output size: 3840x2160
0.048688044: [DEBUG] Mutating output from xdg_output event
0.048701929: [INFO] Output name: DP-1
0.048716843: [INFO] Output description: Goldstar Company Ltd LG Ultra HD 0x0000EE50 (DP-1 via HDMI)
0.048729683: [INFO] Output updated: 3840x2160 at 0, 0 (scale: 1)
0.048745708: [DEBUG] All outputs updated, triggering event
0.048761188: [INFO] Geometry updated: 3840x2160
0.052254352: [DEBUG] got idle inhibit request
0.052285422: [INFO] Going to connect to <IP_ADDRESS> at port 24800
0.090854162: [INFO] Trust-on-first-use enabled, saving hash SHA256:0df167cc28dadd55e8122dab8010a31033aa57dc11ae5ef36e4c0b0272631b44
0.090942682: [ERROR] configWriteString: Could not create config file: No such file or directory
0.090977541: [ERROR] Could not save hash
0.091025286: [DEBUG] Accepting
0.091082120: [DEBUG] Accepting
0.091147145: [DEBUG] Clipboard data read for c: 1 bytes
0.091257821: [DEBUG] Clipboard data read for p: 45 bytes
0.100996854: [INFO] Server is Synergy 1.6
0.101070034: [INFO] Connected as client "Bespin"
0.101284597: [ERROR] Protocol error
10.109933441: [ERROR] Poll timeout encountered -- disconnectin synergy
10.112788712: [INFO] Going to connect to <IP_ADDRESS> at port 24800
10.138872402: [INFO] Trust-on-first-use enabled, saving hash SHA256:0df167cc28dadd55e8122dab8010a31033aa57dc11ae5ef36e4c0b0272631b44
10.138982239: [ERROR] configWriteString: Could not create config file: No such file or directory
10.139026967: [ERROR] Could not save hash
10.151977594: [INFO] Server is Synergy 1.6
10.152108069: [INFO] Connected as client "Bespin"
13.165222430: [DEBUG] Got CALV
15.923939155: [DEBUG] Got CALV
15.924077093: [DEBUG] Got CALV
15.998517794: [DEBUG] Accepting
15.998552643: [DEBUG] Clipboard data read for p: 45 bytes
16.164880080: [DEBUG] Got CALV
19.198098011: [DEBUG] Got CALV
22.171294996: [DEBUG] Got CALV
SIGCHLD sent without exit
24.644952018: [DEBUG] Accepting
24.645038902: [DEBUG] Clipboard data read for p: 1 bytes
24.647341669: [DEBUG] Accepting
24.647428245: [DEBUG] Clipboard data read for p: 0 bytes
24.945142162: [DEBUG] Accepting
24.945241239: [DEBUG] Clipboard data read for p: 42 bytes
24.947469068: [DEBUG] Accepting
24.947556632: [DEBUG] Clipboard data read for p: 0 bytes
25.172219381: [DEBUG] Got CALV
28.211048108: [DEBUG] Got CALV
31.177518907: [DEBUG] Got CALV
34.071088697: [DEBUG] Accepting
34.071188223: [DEBUG] Clipboard data read for p: 16 bytes
34.073271396: [DEBUG] Accepting
34.073425634: [DEBUG] Clipboard data read for p: 0 bytes
34.179141942: [DEBUG] Got CALV
34.214919017: [DEBUG] Accepting
34.215018233: [DEBUG] Clipboard data read for p: 16 bytes
34.217105706: [DEBUG] Accepting
34.217194848: [DEBUG] Clipboard data read for p: 0 bytes
37.220325151: [DEBUG] Got CALV
40.292179500: [DEBUG] Got CALV
43.197921635: [DEBUG] Got CALV
46.210958102: [DEBUG] Got CALV
49.195965106: [DEBUG] Got CALV
52.205844788: [DEBUG] Got CALV
55.298289004: [DEBUG] Got CALV
58.314756470: [DEBUG] Got CALV
61.208849092: [DEBUG] Got CALV
64.204533494: [DEBUG] Got CALV
67.237205606: [DEBUG] Got CALV
70.211467279: [DEBUG] Got CALV
73.213044014: [DEBUG] Got CALV
76.215571413: [DEBUG] Got CALV
79.215825972: [DEBUG] Got CALV
82.219800825: [DEBUG] Got CALV
85.350343482: [DEBUG] Got CALV
88.421659686: [DEBUG] Got CALV
91.287487707: [DEBUG] Got CALV
94.295462711: [DEBUG] Got CALV
97.233351429: [DEBUG] Got CALV
100.298736575: [DEBUG] Got CALV
100.773830315: [DEBUG] Keycode (with offset 7): 46, state 1
100.773881908: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
101.529139537: [DEBUG] Keycode (with offset 7): 59, state 1
101.529179886: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
103.236496359: [DEBUG] Got CALV
106.241940755: [DEBUG] Got CALV
108.082117585: [DEBUG] Keycode (with offset 7): 54, state 1
108.082183601: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
108.082352725: [DEBUG] Keycode (with offset 7): 8, state 1
108.082389650: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
108.125523763: [DEBUG] Keycode (with offset 7): 53, state 1
108.125561069: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
108.213966939: [DEBUG] Keycode (with offset 7): 53, state 0
108.213995033: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
108.260386116: [DEBUG] Keycode (with offset 7): 53, state 1
108.260412284: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
108.372535820: [DEBUG] Keycode (with offset 7): 53, state 0
108.372551864: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
108.507600289: [DEBUG] Keycode (with offset 7): 42, state 1
108.507656601: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
108.574221202: [DEBUG] Keycode (with offset 7): 53, state 1
108.574251473: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
108.666262096: [DEBUG] Keycode (with offset 7): 13, state 1
108.666280858: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
108.709048019: [DEBUG] Keycode (with offset 7): 53, state 0
108.709065809: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
108.866736480: [DEBUG] Keycode (with offset 7): 55, state 1
108.866786075: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
109.254107527: [DEBUG] Got CALV
110.176115758: [DEBUG] Keycode (with offset 7): 59, state 1
110.176156260: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
112.381798044: [DEBUG] Got CALV
115.457162172: [DEBUG] Got CALV
118.321409136: [DEBUG] Got CALV
121.393305660: [DEBUG] Got CALV
122.007469040: [DEBUG] Keycode (with offset 7): 54, state 1
122.007523831: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
123.445850184: [DEBUG] Keycode (with offset 7): 59, state 1
123.445886868: [DEBUG] Modifiers: depressed: 0 latched: 0 locked: 0 group: 0
124.353510831: [DEBUG] Got CALV
127.262415329: [DEBUG] Got CALV

Sorry for the delay; this should be fixed now (works for me, in any case); re-open if it persists

Thank you! Confirmed working!


Crash when viewing certain rituals in guidebook

Describe the bug
When clicking the little eye icon in the guidebook (to see how the ritual is placed in the world) the game crashes
To Reproduce
Steps to reproduce the behavior:

Open guidebook
Select a ritual (haven't yet tested with every ritual, but Hedyrin's Lure was consistently crashing)
Click little eye icon
Crash to desktop

Expected behavior
A ghost of the ritual would appear for me to fill out and properly setup the ritual
Screenshots

System (please complete the following information):

Occultism Version:  occultism-1.21.1-neoforge-1.166.0
OS: Windows 11
Minecraft Version: 1.21.1
Modpack Link and Version, or list of mods: https://www.curseforge.com/minecraft/modpacks/tnp-limitless-8 (specifically Limitless 8 - v0.25.0)

Additional context
Seems like its a Placebo issue from what I saw in the crash log, but I'll post a link to that as well (also not very good at making these reports so sorry for mistakes)

So I was unable to get the same crash again (to make sure I posted the right crash log), but  I did encounter this when looking at other rituals

It seems to randomly happen in the pack when looking at ritual previews (what I was calling ghost blocks), but the lack of a crash report make this harder to figure out at all (also I removed rendering mods like Sodium to make sure it wasn't them and still got the crash)

when i did the pentacles, the texture of the skulls seems to be the mahou tsukai textures in all the mods 10

I am tentatively close this for now as recently a few modonomicon changes were made that fixed some crashes if certain other mods where involved.
Please open a new issue if the crash appears again or ping me to reopen it


Adding specific configuration for gradle projects using kotlin build script

Issue #1097
Allows to use build.gradle.kts instead of build.gradle

@philippeagra Thanks for submitting this change. Can you also add an integration test so we know this works now and moving forward?

@sanathkr yes, it's added.


Is login really necessary

Note:
Considering if login is necessary and where should it be located.

At this moment, to be implemented at start, probably to change in future update.


Samba denied connection

After update to 0.102 and reboot I was not able to access Hassio with Samba from my Mac or Windows PC
Log:
Denied connection from ...
Connection denied from ...

see #796


@sveltejs/adapter-node: Unable to find certain packages in built app

Describe the bug
Certain packages don't seem to get exported into the build when using the node adapter. npm run preview for the built app works fine, but if the build folder is run as a stand-alone node server using a barebones package.json and with the command node index.js, the following error appears for some packages:

internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'pg-promise' imported from /home/sridhar/work/occ/data-dashboard/workspace/builds/node_v4/index.js
at packageResolve (internal/modules/esm/resolve.js:655:9)
at moduleResolve (internal/modules/esm/resolve.js:696:18)
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:810:11)
at Loader.resolve (internal/modules/esm/loader.js:86:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:230:28)
at ModuleWrap. (internal/modules/esm/module_job.js:56:40)
at link (internal/modules/esm/module_job.js:55:36) {
code: 'ERR_MODULE_NOT_FOUND'
}

This doesn't happen for all packages though. In my demo app, there are three packages in production dependencies. While svelte-frappe-charts, dotenv work fine, pg and pg-promise don't.
Due to this, deployment to an environment like AWS fails, with the same Error [ERR_MODULE_NOT_FOUND] error. Is this an issue with adapter-node related to the packages?
Reproduction
I've created a demo repo here - https://github.com/sridharraman/sveltekit-api-chart
If you want to test the api endpoint, you can run the following SQL statements in your database:

create table orders(
id integer primary key,
name text
);
insert into orders(id, name) values (1, 'Lorem');
insert into orders(id, name) values (2, 'Ipsum');
insert into orders(id, name) values (3, 'Scriptum');

In the dev environment, these are the links that work fine:
localhost:3000/api/orders
localhost:3000/chart
They show that the database and chart packages work fine.
Logs
internal/process/esm_loader.js:74
    internalBinding('errors').triggerUncaughtException(
                              ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'pg-promise' imported from /home/user/work/build/index.js
    at packageResolve (internal/modules/esm/resolve.js:655:9)
    at moduleResolve (internal/modules/esm/resolve.js:696:18)
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:810:11)
    at Loader.resolve (internal/modules/esm/loader.js:86:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:230:28)
    at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:56:40)
    at link (internal/modules/esm/module_job.js:55:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

System Info
System:
    OS: Linux 5.11 Ubuntu 20.04.2 LTS (Focal Fossa)
    CPU: (4) x64 Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz
    Memory: 250.76 MB / 7.65 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 14.15.3 - ~/.nvm/versions/node/v14.15.3/bin/node
    Yarn: 1.22.5 - /usr/bin/yarn
    npm: 7.16.0 - ~/.nvm/versions/node/v14.15.3/bin/npm
  Browsers:
    Chrome: 92.0.4515.107
    Firefox: 90.0.2
  npmPackages:
    @sveltejs/adapter-node: ^1.0.0-next.39 => 1.0.0-next.39
    @sveltejs/adapter-vercel: next => 1.0.0-next.27
    @sveltejs/kit: next => 1.0.0-next.142
    svelte: ^3.34.0 => 3.42.1

Severity
blocking all usage of SvelteKit
Additional Information
No response

Dependencies aren't bundled into the final build. Did you copy the package.json and installed the dependencies on the prod server?

@ignatiusmb I assumed that the build folder was a stand-alone node server and had all the dependencies included in it. Let me try with the full package.json. I was only using a basic one (like below) for deployment.
{
  "type": "module",
  "name": "sveltekit-0",
  "version": "0.0.1",
  "scripts": {
    "start": "node index.js"
  },
  "engines": { "node" : "14.16.0" }
}

But, why does the svelte-frappe-charts dependency work fine?

You should make sure the dependencies in the original package.json exists in the server.
svelte-frappe-charts exposes a "svelte" key in its package file, which SvelteKit uses to determine if it's a Svelte package and bundles them regardless where we put it.

svelte-frappe-charts exposes a "svelte" key in its package file, which SvelteKit uses to determine if it's a Svelte package and bundles them regardless where we put it.

Ah understood. But for packages that expose a "svelte" key, they don't get bundled. That makes sense.

You should make sure the dependencies in the original package.json exists in the server.

So, if I am using AWS EB to deploy the build app, how do I do it? Do I have to install the dependencies in the package.json within the build folder? And then push the folder to AWS? Or is there a better approach?

You're free to do it however you like, I suggest you seek help on either the Discord or Stack Overflow.

From the relevant PR #1648

This means that, in production, you should be able to copy over your package.json and build/, run npm install --production, and run node build - which is what you'd expect to be able to do.

It seems this hasn't been properly documented in the package readme, which is pretty important as we had similar issues with deploying Sapper app back then. Marking as a documentation issue instead.


Cscope cleanup

Motivation for this change
cscope was not compiling on a machine where emacs was not in the PATH. While investigating the problem, I saw the opportunity to cleanup the derivation.
Change details

use buildInputs emacs, not system one
do all emacs mode creation in postInstall
make emacs support optional
remove unused dependency on pkgconfig
15.8a -> 15.8b

Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] OS X
[x] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Potential problem on Hydra
I noted that Hydra was building the package without problems despite emacs being picked up in the PATH. Is that a problem on Hydra's configuration?

I'm unsure whether your diagnosis is correct. Adding emacs to the build inputs ought to also add it to PATH within the build environment. If that were not the case, pretty much every build recipe would be broken.
If the build process is picking up stuff from the ambient environment, you're probably not using sandboxing, in which case purity is bound to suffer.

Indeed. My bad. I was working on the emacs derivation when I tried to install cscope. I am guessing that my emacs derivation did not contain the binary at the time. I will remove the first commit, rebase, and submit a new PR.


bug: WalletConnectConnector doesn't work on iOS 15.2

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.2.1
Current Behavior
Using WalletConnectConnector (the v2 one) on an iOS 15.2 device, the connect function fails with the error "Could not generate WalletConnectModal Instance."

Expected Behavior
It should connect as expected.
Steps To Reproduce
Go to https://wagmi.sh/examples/connect-wallet on an iPhone 13 using Simulator and click the WalletConnect button. It is also happening on my iPhone 11 Pro, which is on iOS 15.2.1.
The legacy (v1) connector works fine, and it seems to work okay on iOS 16.4.
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
https://wagmi.sh/examples/connect-wallet
Anything else?
No response

Seems to be an issue with @walletconnect/ethereum-provider. cc. @0xAsimetriq

Opened bug ticket in web3modal to investigate.

Let's track this issue on web3modal.

Thanks! This is fixed now in v1.3.1


enhancement make segment cache prune more effectively

Proposed changes
Issue Number: close #xxx
Problem summary
For Unqiue Key MoW table, Segment object holds a PrimaryKeyIndexReader, which will load a primary key bloom filter to it's member _bf, the memory will be released until the segment object is cleared from SegmentCache. Primary key boom filter can consume quite large memory, we've seen a user with 40000 handles (which is not a quite large number), their SegmentCache consumes 20GB memory.
The _bf variable is designed to be loaded on demand (currently it's only load when we need to lookup row key), but for MoW table, almost all segment need to load it(all segments need to check if they have keys that should be marked as deleted).  In most MoW scenario, user need realtime load, the segments will be retired very quickly (due to frequently compaction), So we need to release the segment object timely.
In this PR, I propose to prune stale segments every 1 minute (now it's 30min).
The prune operation is quite costive, since it needs to hold the write lock to traverse all items in cache and check if they need to be pruned. The traverse is start from the oldest item to newest ones, If we try to prune stale segments only, we don't need to traverse all items every time, we can stop once we found an item is not stale.
In this way, every item only need to be checked once, even we try to prune the cache frequently, it's still very effective.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.58 seconds
stream load tsv:          465 seconds loaded<PHONE_NUMBER>9 Bytes, about 153 MB/s
stream load json:         36 seconds loaded<PHONE_NUMBER> Bytes, about 62 MB/s
stream load orc:          67 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          27 seconds loaded 861443392 Bytes, about 30 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230222045737_clickbench_pr_101526.html

run p0

run p0

run p0

run compile


(PUP-10013) Update minitar in Gemfile in 6.4 and newer

We updated this in project_yaml.yaml but in 6.4 and newer branches we're also specifying this in Gemfile (thanks @glennsarti for pointing this out!)

Needs a rebase to upstream 5.5.x to pick up the rspec-expectations fix

CLA signed by all contributors.


clr-open-label not initialized on osX

Great picker, thank you! The only problem I've found is that on osX (Venture) and Chrome (Version 117.0.5938.88 (Official Build) (x86_64)) the clr-open-label is not initialized with the default color, even though the label text shows the correct color value. The exact same code on Windows/Chrome works perfectly. Any ideas?

Thank for the kind words!
I'm not sure I understand. clr-open-label is the id of the element that contains a text label used for accessibility purposes, it has nothing to do with a default color.
If the following page works for you on MacOS Ventura and Chrome 117, then it's not a issue in the color picker itself:
https://coloris.js.org/examples.html

I'm using the picker in a Chrome Extension pop-up and I'm not exactly sure what the problem is, but I've fixed it by setting the color with inline css on 'clr-field' each time the pop-up loads. I also had to set '.clr-preview button' opacity to 0 or there's a weird shape in front of the 'close' button:

Unfortunately I have no experience writing chrome extensions, but from the screenshot, I'm guessing the buttons' width and background color CSS properties are being overridden.

Yes, I think it's a combination of CSS overrides and some JS timing issues particular to Chrome Extensions. Not a big problem - it's all working perfectly now with those tweaks, thanks for your help, and for what is probably the best JS colour picker!


do a single push per command

git push can be done from anywhere and do multiple things at once!
# git ship
# push the master branch and remove the feature branch
git push origin master :feature

# git sync --all
# push all branches (works even for those without a remote)
git push origin master feature1 feature2 feature3

If we can make this happen without error handling becoming more complicated, this would be an awesome improvement. Network requests are so slow!

@kevgo started implementing this and it was easy for the initial direction, but is hard for the undo. Thoughts on updating to the following, the undo steps for a push command simply adds a push command to the other end of the step list.

I'd say if this is a nice-to-have feature. If it ends up too complicated, or adds a lot of infrastructure to support this, then let's not do this at all.
Having said that, the undo can be slow, so if the undo for a complex push command is several steps, that's totally acceptable.

@charlierudolph okay to close this? It's ambitious, creates higher risk of inconsistent behavior in a lot of edge cases than benefits, and neither of us is going to get to implementing it.

Ideas to make this simpler:

move all pushes to the end of the StepList
aggregate all pushes that are safe (we are sure they won't cause conflicts) in the StepList into one push command

A challenge is that branches might get pushed some time after being synced locally. This would lead to possible conflicts if the tracking branch receives new commits in the meantime. It's a very small risk, though, so probably worth doing.

Closing because this increases the risk of overwriting commits on the tracking branches, which would require complex logic to resolve and mitigate.


[SPARK-27329][SQL] Pruning nested field in map of map key and value from object serializers

What changes were proposed in this pull request?
If object serializer has map of map key/value, pruning nested field should work.
Previously object serializer pruner don't recursively prunes nested fields if it is deeply located in map key or value. This patch proposed to address it by slightly factoring the pruning logic.
How was this patch tested?
Added tests.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9478/
Test PASSed.

Test build #104135 has started for PR 24260 at commit 664add6.

Test build #104135 has finished for PR 24260 at commit 664add6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/104135/
Test PASSed.

cc @dongjoon-hyun @maropu @dbtsai

Thanks @dongjoon-hyun @maropu. I've addressed your comments. Please take a look the updates.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9506/
Test PASSed.

Test build #104165 has started for PR 24260 at commit 982741e.

Test build #104165 has finished for PR 24260 at commit 982741e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Thanks guys!


Documentation error

$loop->parentLoop

should just be
$loop->parent

Will alter it soon, when i got the new doc generation procedure finished. Thanks!

new documentation has been released together with 2.1.0


[fix] shard-reshard下dp间is_matched行为不一致，以dp0为准

PR types

PR changes

Description

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Asses gensim's Similarity index as a replacement for zope

If searching an index was much faster, we could dramatically simplify many things in dedupe and substantially reduce memory use.

Got zope index fast enough for now.


CoM task and optional joint limit check

In this PR, we introduce a simple Center of Mass (CoM) regulation task, where the CoM is calculated using Pinocchio. This task is structured similarly to the existing Frame task, but without the orientation aspect. We have included an example using the G1 robot in the script examples/humanoid_g1_com.py:
https://github.com/stephane-caron/pink/assets/26837717/70129c42-c491-4531-981f-a625611b312e
However, we currently need to install the robot_descriptions package directly from the dedicated repository. @stephane-caron, could you kindly release a new version of robot_descriptions that includes the G1 robot on PyPI before we merge this PR?
Additionally, we propose adding an optional argument in the solve_ik function to allow users to ignore joint limit checks. This feature could be useful for those who prefer handling exceptions themselves. Alternatively, joint limit violations could generate a warning instead of an exception. We would love to hear your thoughts on this, @stephane-caron.
Thank you for reviewing these proposed changes, and we look forward to your feedback.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

126 of 126 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 99.034%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
1640

Relevant Lines:
1656

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

126 of 126 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 99.034%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
1640

Relevant Lines:
1656

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

167 of 168 (99.4%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 98.997%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pink/tasks/com_task.py
41
42
97.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1678

Relevant Lines:
1695

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

166 of 167 (99.4%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 98.997%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pink/tasks/com_task.py
41
42
97.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1678

Relevant Lines:
1695

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

167 of 168 (99.4%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 98.997%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pink/tasks/com_task.py
41
42
97.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1678

Relevant Lines:
1695

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

167 of 168 (99.4%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 98.997%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pink/tasks/com_task.py
41
42
97.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1678

Relevant Lines:
1695

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

167 of 168 (99.4%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 98.997%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pink/tasks/com_task.py
41
42
97.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1678

Relevant Lines:
1695

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

167 of 168 (99.4%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 98.997%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pink/tasks/com_task.py
41
42
97.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1678

Relevant Lines:
1695

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

167 of 168 (99.4%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 98.997%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pink/tasks/com_task.py
41
42
97.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1678

Relevant Lines:
1695

💛  - Coveralls

Dear @stephane-caron  I have corected some minor typos and perform tests and formatting, it hink now we are ready to merge :)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

168 of 169 (99.41%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 98.998%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pink/tasks/com_task.py
41
42
97.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1679

Relevant Lines:
1696

💛  - Coveralls

Thank you @simeon-ned for this contribution! :+1:


JxlEncoderAddJPEGFrame() failed

Describe the bug
I'm transcoding a large (~1.3M) image dataset of JPEGs to JXL using the lossless transcoding. For 864 images I get the following error:
JPEG XL encoder v0.8.0 091b60e5 [AVX3,AVX2,SSE4,SSSE3,Unknown]
Read JPEG image with 43279 bytes.
Encoding [Container | JPEG, lossless transcode, effort: 7 | JPEG reconstruction data],
JxlEncoderAddJPEGFrame() failed.
EncodeImageJXL() failed.

running in verbose mode does not give any extra information.
I've attached an example inside a zip file (in case github tries to mess with the image)
n03476991_52119.zip
To Reproduce
cjxl --lossless_jpeg=1 n03476991_52119.JPEG ./test.jxl

should reproduce the failure
Expected behavior
A JXL trancoding is produced
Environment

OS: Linux
Compiler version: n/a
CPU type: x86_64
cjxl/djxl version string: JPEG XL encoder v0.8.0 091b60e5 [AVX3,AVX2,SSE4,SSSE3,Unknown]

Thank you for the bug report, @Queuecumber.
The ICC profile of the image you provide has a weird rendering intent. Those are stored in the bytes with offset 64 to 67 in the ICC profile.
Normally the bytes at offset 64, 65 and 66 should be zero and the byte with offset 67 should be one of 0, 1, 2, or 3. For your image the byte at offset 67 is 0, which should correspond to the rendering intent perceptual, but while the bytes at offset 65 and 66 are zero, the byte at offset 64 is 1. So stricly speaking, I guess this means the ICC profile announces the rendering intent to be $2^{24} = 16777216$, which does not correspond to anything useful.
In fact checking with exiftool this is just what we see:
~/libjxl ((2a95fe4d…))> exiftool n03476991_52119.JPEG | grep Rend
Rendering Intent                : Unknown (16777216)

@Queuecumber could you check, e.g. with exiftool, what the Rendering Intent for the other 864 images is? If is is always $2^24$, there might be a problem with a tool generating the ICC profiles...
I'm not entirely sure what we should do in the case that there is no valid rendering intent; I guess one possibility would be to separate the check we currently have in https://github.com/libjxl/libjxl/blob/2a95fe4d03080ffd82b654d0745f7d9f4e2cda94/lib/jxl/enc_color_management.cc#L892 into two checks:

one checking that rendering_intent32 > 3 and failing in this case
and one checking that the other three bytes are zero and only printing a warning in this case, showing the non-valid rendering intent.

could you check, e.g. with exiftool, what the Rendering Intent for the other 864 images is?

Yes I'll try to check on this ASAP, the our compute environment is currently having some issues.
These images actually come from the ImageNet dataset as we're evaluating JXL as a replacement for our JPEG based ML datasets, so the images are public (and often they're quite strange)

That is cool that you using JXL as replacement for JPEG in the ML dataset, we are happy to help to make that work and are of course interested in the cases where failures occur.

I've been having this same problem too. Currently using cjxl 0.9.0 and imlib2 1.12.1. I'm getting
Input:
cjxl -v -v --num_threads=4 -e 9 "file.jpg" "file.jxl"
Output:
JPEG XL encoder v0.9.0 [SSE2,Unknown] Note: Implicit-default for JPEG is lossless-transcoding. To silence this message, set --lossless_jpeg=(1|0). Read JPEG image with 110977 bytes. Encoding [Container | JPEG, lossless transcode, effort: 9 | JPEG reconstruction data], JxlEncoderAddJPEGFrame() failed. EncodeImageJXL() failed.
In batch converting a directory of images I have consisting of pictures I took with my iphone, none could be successfully converted to .jxl except for all the pictures I'd previously mirrored horizontally using ImageMagick.


Allow disabling the Buftabline

I really like Buftabline but I want to use my Tabline for more than just buffers.
So I implemented a way to disable Buftabline but still be able to use it in my code.
Changes:

enable autoloading
disable multiple sourcing of files
add 'g:buftabline_enabled' (which defaults to true)

What does this achieve:
The user has far more flexibility about the layout of the Tabline.
function RightAlignTabline()
    return '%=' . buftabline#render()
endfunction

Or just create your own Tabline with a greeting and showing the current working dir.
function MyTabline()
    return 'Hi ' . buftabline#render() . '%=%{getcwd()}' .
endfunction

The basic idea is reasonable.
But this PR seems insufficiently ambitious for that. Buftabline does its rendering based on &columns i.e. it’s written with the assumption that its output is going to exactly take up the whole tabline. If you want to use it as only a component of the tabline, how would that work? Doesn’t that issue require some kind of solution, such as passing the width as an argument? (Which would then necessitate changes to keep the signature of render() identical for backcompat…) And that seems like the bare minimum… it would require allocating a precomputed amount of space to the buftabline so it would not allow sizing other components dynamically based on its actual size (such as if there are only a few tabs, and you have more room for other components).
As to the individual changes:

Is there any point to lazy-loading buftabline? It’s not a ton of code and doesn’t spend any time initialising itself. The only real gain I can see would be to reduce the number of files sourced at startup… which that commit doesn’t do. It does however add a file to be sourced later…

Is the variable to prevent re-sourcing an autoload plugin actually needed? Under what circumstances would an undesirable re-sourcing happen? (And if it is in fact needed, then it only becomes another downside of autoloading…)

The loaded variable is fine.

The now has a way to fully disable it. Autoloading allows
A) to use the functions while disabled
B) the tabline code doesn't have to be loaded in every session
C) the function name indicates autoloading which I found confusing
But you're right, it doesn't really speed up the startup time, it was more of a personal preference.
The autoloaded would be needed in case a not existing function or a user function with the same namespace would be called.

I've got a very wide screen so until now I didn't have more tabs than my screen can show. I'll think if I can find a good solution for this issue 👍

I think the best option is to have the user provide the space for the rendering:
function! buftabline#render()
   return buftabline#renderWithWidth(&columns)
endfunction

function! buftabline#renderWithWidth(width)
" ...
endfunction

My previous example would then be:
function MyTabline()
    let l:cwd = getcwd()
    return 'Hi ' . buftabline#renderWithWidth(&columns - 3 - len(l:cwd)) . '%=' . l:cwd
endfunction

set tabline=%!MyTabline()

I would implement this into my PR if the naming is fine for you.
Should I revert the autload?
Personally I'd prefer it this way, as I like this structure when looking at a plugin (seeing where the functions are and where/what is actively called by the plugin). But I can see your point of an "one file plugin" 👍

Hi @ap, I've changed the implementation of the render function while still being backwards compatible.
I also removed autoloading as I understand that your focus is to have a single file plugin 🎉

Hey, just wanted to say that I really enjoy this plugin, and I came here to open an issue around this idea. Is there anything holding it up from being merged?

@tbremer not from my point of view. I've used my fork for a while and the stopped using buftabline altogether. (Using the default now).
Haven't had an issue using it.


[$500] Approve button not disappear after approving report offline if advanced approval set

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: N
Found when validating PR : https://github.com/Expensify/App/pull/44940
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition: create a control workspace, set "Manually approve all expenses" over to $10 and set advanced approval in OD:

boss owner (admin) submits to mini owner
mini owner (admin) submits boss owner
manager (employee) submits to mini owner forwards to mini owner over limit forwards (limit 100) to boss owner
employee 1 (employee) submits to manager
employee 2(employee) submits to manager

Log in as an employee 1 and submit an expense below $100, e.g. $25
Log in as an manager
Disable internet connection
Approve the report

Expected Result:
The approve button dsiappears
Actual Result:
The approve button is still displayed until user returns online
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/5b3f27ae-2414-42d4-9b3b-e62419645ce4

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01682c8c3ddb795078
Upwork Job ID:<PHONE_NUMBER>213012581
Last Price Increase: 2024-09-06

Issue OwnerCurrent Issue Owner: @

Production
https://github.com/user-attachments/assets/fc7a8c83-a0e7-40f9-a214-034a3fdb4ea9

I'd say this isn't a blocker since advanced approvals in NewDot are quite new - I'll get @rushatgabhane and @mananjadhav to look into this ASAP (tomorrow hopefully) 🙏  - see https://github.com/Expensify/App/pull/44940#issuecomment-2284943045

@Beamanator any updates on this from @mananjadhav and @rushatgabhane? Should I assign them here?

I can take a look at this tomorrow.

@mananjadhav Any update?

@mananjadhav were you able to get to this one?

I couldn't get to this one. I'll try to get to this by tomorrow.

Great! If you don't have time we'll reassign to get it moving forward!

@adelekennedy I haven't got time to take a look at the issue. We can open up for External contributors and I can help with the review if needed.

Still seeing if someone has time to pick this up

Let's get some action on this one.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Approve button not disappear after approving report offline if advanced approval set
What is the root cause of that problem?
When there is an advanced approval chain the report status will not change to approved status
https://github.com/Expensify/App/blob/812fc316a007b711d62a986582d19440c2c1dad8/src/libs/actions/IOU.ts#L6922
but instead the manager id will be changed to the next approver but we are not updating the managerID of the expense report
https://github.com/Expensify/App/blob/812fc316a007b711d62a986582d19440c2c1dad8/src/libs/actions/IOU.ts#L6938-L6948
What changes do you think we should make in order to solve the problem?

We need to set the manager id optimistically to next approver id
    const currentUserApprovalIndex = approvalChain.findIndex((email) => email === currentUserEmail);
    const managerID = isLastApprover(approvalChain) || currentUserApprovalIndex === -1 ? expenseReport?.managerID : getAccountIDsByLogins([approvalChain[currentUserApprovalIndex + 1]])[0];

and set the managerID of the expense report optimistically here
https://github.com/Expensify/App/blob/812fc316a007b711d62a986582d19440c2c1dad8/src/libs/actions/IOU.ts#L6942-L6946
What alternative solutions did you explore? (Optional)

@mananjadhav are you able to review proposals here or should we reassign?

i can take a look ^

I’ll review in an hour.

Reviewing the proposal now.

@FitseTLT I understand adding the managerID to the optimistic steps but when I was trying to access the props last time this is what I found.
{
    "isCurrentUserManager": true,
    "isOpenExpenseReport": false,
    "isApproved": false,
    "iouSettled": false,
    "isArchivedReport": false
}

Essentially the canApproveIOU was returning true and if you see currentManagerID is already true based on the iouReport.managerID. So I am not sure how this is getting fixed. Can you please clarify?
https://github.com/Expensify/App/blob/9affb1384815fa8155fe23c523127c1e72b1120d/src/libs/actions/IOU.ts#L6812-L6833

Essentially the canApproveIOU was returning true and if you see currentManagerID is already true based on the iouReport.managerID. So I am not sure how this is getting fixed. Can you please clarify?

Yeah. @mananjadhav This is exactly the reason my solution fixes it(BTW I have already tested my solution works perfectly). The reason the approve button exists after pressing the approve button is because the current user is still the manager.
There are two cases for the approve action btw:

For simple approve flow as soon as you press the button the iou report will be changed into approved state (so the approve button will disappear)
But for our case here, advanced approval flow, the iou report state will not change because there is unfinished approval flow and there is still another approver to approve it and the iou report state will change to approved only when the last approver in the approval chain approves it. So when the current user is not the last approver in the chain what BE does (and also what I have done in optimistic data) is the managerID of the iou report will be set to the next approver and the approve button will disappear because the current user will not be manager anymore (isCurrentUserManager is false).

@FitseTLT Do you mind uploading the video of the fix you've applied? I'll take a look again at my end too.

Here is a test branch https://github.com/FitseTLT/App/tree/fix-approve-button-in-offline
https://github.com/user-attachments/assets/087fffaf-1b3d-4ef3-bc48-3e2ab31aa737

Precondition: create a control workspace

This is an advanced approvals bug with the prerequisite being a control workspace, moving to #wave-control.

Thanks for sharing the branch. I tested the flow and it worked fine. I was attempting a different change from yours and hence it didn't work for me.
I think @FitseTLT's proposal looks good to me.
🎀 👀 🎀 C+ reviewed.

PR is in progress

Deployed to prod today!

@adelekennedy this should be ready for payout. I couldn't exactly pinpoint the offending PR. Closest I think this should've been a part of https://github.com/Expensify/App/pull/44940/files.
Meanwhile I don't know if a regression test exists for the whole advance approval workflow. @adelekennedy can you confirm this? I think it should exists and in that case we don't need a regression test here.

Payouts due:

[ ] Contributor: $500 @FitseTLT (Upwork) @FitseTLT will you confirm you received the payment? I know we've been experiencing an Upwork bug, in this case i released payment first and then closed the contract
[ ] Contributor+: $500 @mananjadhav (NewDot)

Upwork job is here.

@adelekennedy I received the payment Thx!

is the issue still live?

$250 approved for @mananjadhav

@garrettmknight The amount is $500.


Arabic RTL Labels

Is it possible to make it working with RTL arabic labels
currently it is showing each Arabic alphabet separately not as word and also it is not RTL

Hi @alamadcs unfortunately this does not work out of the box with PHP's GD library. I tried some workarounds but no luck so far. If anyone finds a nice solution and would like to contribute, please do so.


Data for BERT, OpenAI GPT-2, BigBird (MT-DNN), ERNIE

Hi all. Let's use this issue to discuss approach and challenges for reproducing the large transformer-based models such as GPT-2 (#592), BigBird (MT-DNN) (#633), ERNIE, as well as exploring their limits. We can also use this thread to track and pool resources that people find.
Data

The biggest challenge in reproducing GPT-2 is in curating the data. There are some efforts in the open source community (e.g. this one) though it's unclear how far these efforts have gone.
There are good corpora out there such as STORIES #598, resources in WMT2019.

ERNIE team has released the preprocessed task corpora there, though they didn't release their corpora for pre-training. Maybe Chinese Gigaword is a good substitute?

Here's a cleaned-up corpus from Trinh et. al., consisting of stories
https://console.cloud.google.com/storage/browser/commonsense-reasoning/reproduce/stories_corpus?pli=1
https://arxiv.org/abs/1806.02847

Here are several large scale raw corpora for Chinese: https://github.com/brightmart/nlp_chinese_corpus


obj Export classes

Add some classes to the FileIO namespace for exporting obj file format

http://mcneel.myjetbrains.com/youtrack/issue/RH-30051


bumping findup-sync

Whatcha think, @phated? Minor or major bump here for Liftoff?

/ref gulpjs/gulp-cli#33, cowboy/node-findup-sync#20

@tkellen we control all the lookups using findup-sync, correct?  No user input for globs?  And I am pretty sure none of our usage was reliant on globs breaking changes so we should be able to get away with a minor (unless I am mistaken on the 2 questions I asked).

You're right, we can totally do this as a minor bump.


Wrong version of Kubernetes listed in the Prereqs

Kubernetes version 1.5 listed instead of 1.15

I signed it

Closing this PR in favor of a fix to #15572
/close


Fix populate_sections when using nested subsections

Until now, Site.sections was incorrect when nested subsections were used. This PR fixes this behavior, together with #446.

I moved it to the next branch, can you remove the commits from master?

-__- let me just create a new one, sorry for the fuckups.


Swap TileMap and TileSet buttons

Closes #83228
I changed TilesEditorUtils to be initialized by the first editor that appears, so now they can be freely swapped.

Thanks!


how to horizontally scrollable header tab and switch tab by swipe tab content in v3

Still not found a way to make tab header scrollable
can somebody please help me how to

make the header tab scrollable
switch tab by swipe tab content

Here is the code i try
`
import React from 'react';
import {Tabs} from 'native-base';
import {Text, View, ScrollView} from 'react-native';
export default function TabComponent() {
return (

  <Tabs.Bar style={{borderBottomColor: 'transparent'}}>
    <Tabs.Tab>one</Tabs.Tab>
    <Tabs.Tab>two</Tabs.Tab>
    <Tabs.Tab>three</Tabs.Tab>
    <Tabs.Tab>four</Tabs.Tab>
    <Tabs.Tab>five</Tabs.Tab>
    <Tabs.Tab>eight</Tabs.Tab>
    <Tabs.Tab>nine</Tabs.Tab>
    <Tabs.Tab>ten</Tabs.Tab>
  </Tabs.Bar>

  <Tabs.Views>
    <Tabs.View>one</Tabs.View>
    <Tabs.View>two</Tabs.View>
    <Tabs.View>three</Tabs.View>
    <Tabs.View>four</Tabs.View>
    <Tabs.View>five</Tabs.View>
    <Tabs.View>eight</Tabs.View>
    <Tabs.View>nine</Tabs.View>
    <Tabs.View>ten</Tabs.View>
  </Tabs.Views>
</Tabs>

);
}
`
Screenshots

@samuelzega Thanks for reporting the issue.
Tab is currently under development. It's still exported, but not recommended to use. You can use React Native tab view in the meantime. Check out this recipe.
https://docs.nativebase.io/buildingTabView
We'll cover most of the cases you mentioned when it's officially released. Closing this issue for now.


fix: partially false statement removed

Installing DevLake is not always "easy", so instead we shall let people know that community is there to support you.

Thank you for your suggestions. Can you give use some advice which can help users deploy devlake easily?


Relevant Issues: https://github.com/pixie-io/pixie/issues/1596
Type of change: /kind bug
Test Plan: None

Done @JamesMBartlett 👍

Done @JamesMBartlett (sorry it took so long!)


Caption controls not visible in high contrast mode desert theme

Dev Home version
0.301.198.0
Windows build number
10.0.22621.1992
Other software
OS Build Version: 10.0.22621.1992.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.18
Steps to reproduce the bug
Turn on high contrast, desert theme

Expected result
caption controls
Actual result
No caption controls
Included System Information
Physical Memory: 63.72GB (30.95GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHome_0.301.198.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.300.198.0_x64__8wekyb3d8bbwe

@pehammer Interesting, I'm not seeing this issue. Is there anything else about your settings that you think might be relevant?

@pehammer Are you still seeing this bug?
/needinfo

Talked with @pehammer offline, he's still seeing it. Close buttons do show up on hover. App title is missing.

Duplicate of #1754


Question regarding coding style

Hey, I got this code snippet, which I rather dislike. I have a feeling it can be written better, but I could not find similar mechanism in Anyhow...
let action = Action::from_str(action_str);
if action.is_err() {
    bail!("Failed to parse: {}", action.err().unwrap());
};
let action = action.unwrap();

I would expect some syntactic sugar in this form:
let action = Action::from_str(action_str).unwrap_or_bail_with(|err| "Failed to parse: {err}");

I'll be grateful if you could suggest a better exiting syntax to use, or consider adding similar function to what I have suggested above. Thanks!

Maybe anyhow::Context might suit your needs?

@smoelius , I would use with_context, but the issue is that I would like the error to be part of the context, i.e. .with_context(|err| ...) rather than .with_context(|| ...).

@tomers, I think you want to use map_err() and anyhow!().
let action = Action::from_str(action_str)
    .map_err(|err| anyhow!("Failed to parse: {err}"))?;

That's great, @stevecheckoway! Thanks.
Maybe consider adding this important example to the documentation. I believe it could help some users.


Add MOROS 0.10.3 release link

Hello :wave:
I published a new release of MOROS in March with some interesting improvements that I think are worth sharing in the newsletter.
Thanks!

Thanks for submitting!


Include with delegate

The comprehensive support for function callbacks makes this framework suitable for DI frameworks.
However, the AbstractValidator.Include function does not have a function callback - which would be useful when validators aren't yet resolved in the constructor.

Added for 7.5.2


DEV: Requested or sent money message shows default profile picture

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

change Profile picture(if it’s default Profile picture)
go to any chat
click on + icon
select requested or sent money option
request or sent any amount
check the profile picture in chat

Expected Result:
should not show default profile picture
Actual Result:
default profile picture appears
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: Dev
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/236691719-230119e3-6f16-49f5-abf1-0dacb4c1051a.mov
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683357157168249
View all open jobs on GitHub

Discussion on the thread here, closing.


(Duplicate) Add time_scale option

This is a duplicate of the original PR but with the requested changes added, decided to do it myself since the original is almost 2 years old

any reason why this hasn't been merged? @karb94

I wanted to finish a large refactor first. Now that it's done I'll take another look soon.

Requesting merge.

Apologies, I added this feature a while ago but somehow forgot to push it. I just added it in 81c47f9d111c00d13111b65bfd13cc81b7b347a1 so we can close this. Feel free to open an issue if it doesn't work as expected.
PS: @YodaEmbedding, please let's try to keep different topics separate so open another issue if you want to suggest another feature or raise another issue. Notice what you suggest at the end has already been proposed in #70 so feel free to comment there instead.


2.0

Current coverage is 35.94% (diff: 100%)

Merging #125 into 2.0 will not change coverage

@@                2.0       #125   diff @@
==========================================
  Files           225        225
  Lines         12585      12585
  Methods           0          0
  Messages          0          0
  Branches       2131       2131
==========================================
  Hits           4524       4524
  Misses         7490       7490
  Partials        571        571

Powered by Codecov. Last update abfbdb8...ce60f68


Dogecoin Core 1.14.6 Error Launching on Mac OS Ventura Beta 5

Which version of Dogecoin Core 1.14.7 did you install? The signed or the unsigned one? The signed build (dogecoin-1.14.6-osx-signed.dmg) has been notarized by Apple and should not display the error above. I am not too familiar with macOS, so please correct me if I am wrong.
More infomation about the signed and unsigned builds for macOS can be found here: https://github.com/dogecoin/dogecoin/discussions/3054

@Cyclic If you did use the signed binary, could you please let us know the output of the following?
codesign -vvv --deep --strict /Applications/Dogecoin-Qt.app/Contents/MacOS/Dogecoin-Qt

That should tell us if there is anything we need to change for Ventura compatibility.

can confirm doesn't work at first, right click on dogecoin and open and then crashes. but once it appears in the launchpad just click the icon and works.

can confirm doesn't work at first, right click on dogecoin and open and then crashes

Is this performed inside the .dmg Finder window where you drag the .app file to the Applications folder?


USB neofetch

Description
It would be awesome if you could provide a means to build a USB stick that once booted simply dumps to a text file (or post to a URL).
Would be great for system inventory tracking.
Thanks!

This seems really out of scope for neofetch.
This could easily be done with an additional script that made use of curl.

You can store neofetch's output in a file by just appending > file to your neofetch command.
You can use curl to upload the file to a file host.


Use Orchard 2 for a blog

I saw the first commit of @sebastienros on a blogs branch.
For a few days, I have been thinking about it and I now have one goal : Use Orchard2 to run my website.
I hope this thread will allow us to list the minimal features and steps needed to run a new blog (or even better: migrate an existing one).

Here is what I did to setup my blog manually (in the future, I guess there will be a recipe):

Create a 'Blog Post' content type:
Add Autoroute, Body, Title parts
Organize parts in desired order: Title, Autoroute, Body, Blog fields
Edit AutoroutePart settings: Use a token in Pattern (ex: {{slug}} ) or check 'Allow custom path'

Create a 'Blog' content type
Add Title, Autoroute, Body, List parts
Organize parts in desired order: Title, Autoroute, Body, Blog Post fields
Edit AutoroutePart settings: Check 'Allow custom path'
Edit ListPart setting: Choose BlogPost for 'Contained Content Type'

Create your Blog content item.

Add Blog posts to your blog.

I need to be able to manage the site Settings in the admin: To set the BaseUrl, SiteName, PageSize, HomeRoute (point it to my blog route or url)

I also want to work on it to see what it feels to build a site and what is missing.
Agreed with Settings, that's my next task, it's necessary for all modules and already a limitation for Search. I have added it to the backlog for visibility, I will do something reusable.
For tags, we can just create a text field that would contain comma separated values. It doesn't provide listing by tags, but it would already work with search.
I also see we need to be able to define the homepage, I will create a module for it, and a Part.
Then Menu management. With probably a ViewComponent while widgets are not available, so we can render a menu from the Layout directly.
I am currently trying to use this theme: https://startbootstrap.com/template-overviews/clean-blog/

I have added a new token block helper for List, now you can use this expression {{#container}}{{slug}}/{{/container}}{{slug}} for both blogs and blog posts.

To automatically create some content types BlogPost and Blog, would we use a Migration in an Orchard.Blogs module or import a recipe (see #350) ?

Recipe, definitely.

Another thing I think we need and is easy to do, reverting a previous decision, is that we should be able to have a list of different content types. We talked about it during a previous meeting and I asked who had used it, actually I think for Blogs of "feeds" in general it's important. For instance the homepage feed on orchardproject.net accepts different kinds of posts, like external link, article, ... And it's very easy to implement actually. So I will do it.

Support for multiple content types in lists added in #361

Created a Project https://github.com/OrchardCMS/Orchard2/projects/1

ContentDefinitionStep allow to create content from recipe : #419
Blog recipe, TheBlogTheme.
See https://github.com/OrchardCMS/Orchard2/projects/1 to follow progress.


Create test assets for name generation

guc automatically generates unique names for prims, shading nodes and image files. This functionality is not covered by the Khronos validation and sample models. Custom test assets need to be created.

Moved over to guc-tests.


Fix policy enforcement to handle identical layers.

Read-only container layer enforcement currently tracks which layers
have been mounted for each container. The state is being tracked
by maintaining a 2D slice of device targets and each slice represents
a potential overlay FS that can be used for a given container.
Index i in the Devices slice corresponds to container at index i
in the policy. For example for containers with the following hashes:
[
  [hash1, hash2, hash3],
  [hash1, hash4],
]

The corresponding Devices slice will look something like:
[
  [/mnt/target1, /mnt/target2, /mnt/target3],
  [/mnt/target1, /mnt/target4],
]

Each individual slice then corresponds to a potential overlay fs:

overlay1: [/mnt/target1, /mnt/target2, /mnt/target3]
overlay2: [/mnt/target1, /mnt/target4]

The issue arises when container contains duplicate layers like:
[
  [hash1, hash2, hash2],
  [hash1, hash4],
]

The potential overlays will be computed as following:
[
  [/mnt/target1, /mnt/target2, /mnt/target2],
  [/mnt/target1, /mnt/target4],
]

Instead of:
[
  [/mnt/target1, /mnt/target2, /mnt/target3],
  [/mnt/target1, /mnt/target4],
]

The issue is reproducable by the following Dockerfile:
FROM ubuntu:latest
COPY script.sh .
RUN chmod +x script.sh

where script.sh already has executable permission flag set.
To address the issue, the logic to track currently mounted devices
and enforcing the overlay has been updated.
Instead of tracking potential overlays, we track the devices that
have been mounted and their hashes:
{
  /mnt/target1: hash1,
  /mnt/target2: hash2,
  /mnt/target3: hash2,
}

During overlay, we map the mount targets to the hashes and check
the resulting hash chain against the ones in the policy.
Signed-off-by: Maksim An<EMAIL_ADDRESS>

@SeanTAllen @KenGordon @svolos FYI

For the record, I had an idea for how to address this and Maksim's was much better than mine. I was to stuck in thinking about changing the way it current worked rather than stepping back and going "wait, what is the best way to address this".
I heartily endorse this PR. Let's ship this!

FYI @Matajoh


Auto-hyperlink

When tying an http(s):// link, it would be nice if Trumbowyg automatically hyperlinked it.
I've done the research on auto-hyperlinking plugins on StackOverflow.

..make it as an option to disablle/enable it.

Autolink plugins have the same size like Trumbowyg itself... It's not cool :/
Maybe I will see for an simplified version of that feature.

Plugin

Maybe but not for now.

how about just explicit links, like http(s)://  (or http(s):\)

Too hard, I don't have the time :/


VM Service Protocol 3.5: ReloadReport has a field success not status

Hello :)
Actual response from reloadSources with dart 1.21.1:
{type: ReloadReport, success: true, details: {savedLibraryCount: 15, loadedLibraryCount: 1, finalLibraryCount: 16, shapeChangeMappings: []}}

runtime/vm/service/service.md says:
class ReloadReport extends Response {
  // Did the reload succeed or fail?
  bool status;
}

Mainly, status should be changed to success at least. This also means that the vm_service_drivers package needs to be updated.
Thanks,
Andreas

@BlackHC thanks for pointing this out. The spec should be success and not status.


Adjust _maybe_convert_datetime for pandas 2.2.x

Pandas 2.2.0 (release 2024-01-19) deprecated "M" as an offset prefix; see the release notes. This however remains a valid frequency;
PeriodDtype(freq="M")

…still works.

Adjust _maybe_convert_datetime() to use the PeriodDtype public API instead of pandas internals to parse these frequency specifiers.
Address other warnings that appeared with pandas 2.2.0.

Housekeeping:

Address some TODOs from https://github.com/khaeru/sdmx/pull/154#pullrequestreview-1826871349 and https://github.com/khaeru/sdmx/pull/154#issuecomment-1895452744 to limit reliance on the GitHub API in the test suite, thus also limit flakiness.

PR checklist

[x] Checks all ✅
~Update documentation~
[x] Update doc/whatsnew.rst

FYI @goatsweater—I just realized that the code from #154 used the latest release from this repo:

https://github.com/sdmx-twg/sdmx-ml-v2_1/releases which is tagged "v1.0.2" and is from 10 July 2015.

There is also a release of the SDMX-ML 2.1 schemas in the other/current SDMX-ML repository:

https://github.com/sdmx-twg/sdmx-ml/releases/tag/v2.1 from 25 May 2021.
The description calls itself "the current specification" and points to the above repo as "previous releases".

So, I've switched the code to point to the latter.


The defence from analogue of the 51% attack will not work.

Quotation from the "White paper":
"but a fetching node may always re-validate the entire wallet, by checking RSA signatures of all transactions".
This will not save from 51% attack, because the attack will be made for those who want to double spent his money.
Thus, all transactions will be signed properly.
In the Zold the situation with 51% attack is significant worse, than in the Bitcoin.
In the Bitcoin an intruder has to get more than 51% of all calculating resources of the Bitcoin network, because all nodes are calculating ONE blockchain. Their calculation resources are added up.
In Zold one node is calculating itself little blockchain. Thus, the intruder has to use more resources than one node, rather than all nodes. It is the real ability to attack with a powerful server.

I create an ordinary transaction, and the network accept it.
I take backed up copy of the ledger without this transaction and add the double spending transaction.
Then I calculate on it much bigger score with a powerful server and send it to network.
The ledger with the fraudulent transaction replaces in the network the previous one with the correct transaction.
.

@vizotov keep in mind that during MERGE we summarize all scores of all nodes. Thus, your single powerful server will only be able to create a single score. While other nodes will have bigger cumulative score.

@vizotov yes, all nodes will try to keep all wallet files. Of course, not all of them will manage to do that, but they will try to.

@yegor256, OK. This will solve the problem.

The job is not in WBS, won't close the order


Add Admin port and group all ports in one file

Which problem is this PR solving?
Health checks, metrics, and other housekeeping data should not be exposed on the ports that also serve public APIs

Partially supersedes #1375.
Resolves #1428
Resolves #1332

Short description of the changes

combines health check and metrics handlers on a single admin port. There are breaking changes:

agent metrics move from /sampling config port to the new admin port 14271
query metrics move from /api port to the former health check port 16687
collector metrics move from HTTP API port to the former health check port 14269
ingestor metrics move from standalone port 14271 to the health check port 14270

groups all numeric port numbers in a single file ports/ports.go for easier reference
consolidates common boilerplate code in all binaries into a Service type
flag health-check-http-port is deprecated and replaced by admin-http-port
ingester's DefaultHTTPPort = 14271 is deprecated and repurposed as the agent's admin port

This is a breaking change that will probably impact everyone who is using Jaeger in production, as they are probably monitoring Jaeger via Prometheus. We should communicate this change as loud as possible.

Hi All, super appreciate the project and all the work that goes into it. I just spent an hour wondering where my metrics went only to find this PR. I could find nothing in the release notes. In the future can we make sure to have an PR label that release leads could look at to find all breaking changes?
Or maybe have a draft changelog that is updated with every PR by the PR author?

@gouthamve apologies, we missed it from release notes. I added a PR #1595 to indicate this was a breaking change.


style: fix glossary term overflow in tables

 Demo
🎫 Ticket

🧰  Changes
RDMD tables hide overflow content (in order to achieve some fancy border-radius shit) which cuts off glossary terms' written in table cells!

[x] Unset overflow: hidden on RDMD tables.

lol wtf @rafegoldberg?

This PR was released!
🚀 Changes included in v6.26.1-next.1

This PR was released!
🚀 Changes included in v6.26.1


Flexible indexes: review the implementation of alignment and merge

The current implementation of the align function is problematic in the context of flexible indexes because:

the sizes of the joined indexes are reused for checking compatibility with unlabelled dimension sizes
the joined indexes are used as indexers to compute the aligned Dataset / DataArray.

This currently works well since a pd.Index can be directly treated as a 1-d array but this won’t be always the case anymore with custom indexes.
I'm opening this issue to gather ideas on how best to handle alignment in a more flexible way (I haven't been thinking much at this problem yet).

Conceptually, align should ensure that all indexes in the provided arguments match.
This is potentially ambiguous for cases with multiple (non-MultiIndex) indexes, if the result of aligning the separate indexes does not match, e.g., if we have:

Index for x along dimension x: [1, 2, 3] vs [1, 2]
Index for y along dimension x: [1, 2, 3] vs [2, 3]

We should raise an error in this cases (and/or suggest setting a MultiIndex). It should also be OK if not every index implements alignment, in which case they should raise an error if coordinates do not match exactly.
With regards to your concern:

This currently works well since a pd.Index can be directly treated as a 1-d array but this won’t be always the case anymore with custom indexes.

I don't think we should try to support alignment with multi-dimensional (non-orthogonal) inside align(). Instead we can just require the coordinates correspondign to such indexes to match exactly (or within a tolerance). I can see supporting alignment between two DataArrays that are indexed by a KDTreeIndex over multiple coordintaes along a single dimension in the same way tthat we support alignment with MultiIndex indexes currently.
But if your indexes correpsond to multi-dimensional arrays (rather than just multiple coordinates), joining indexes together is a much messier operation, one that may not be possible without thinking carefully about interpolation/regridding. In many cases it may not be possible to retain the multi-dimensional nature of the indexes in the result (e.g., the union of two partially overlapping grids). Since the desired behavior is not clear, it is better to force the user to make a choice, either by stacking the dimensions in multi-dimensional indexes into 1D (like a MultiIndex) or by calling a specialized method for interpolation/regridding.

We should raise an error in this cases (and/or suggest setting a MultiIndex). It should also be OK if not every index implements alignment, in which case they should raise an error if coordinates do not match exactly.

Agreed.

I don't think we should try to support alignment with multi-dimensional (non-orthogonal) inside align(). Instead we can just require the coordinates corresponding to such indexes to match exactly (or within a tolerance).

I could see some examples (e.g., union or intersection of staggered grids) where it could still be useful to have a (meta-)index that implements alignment, though.
Actually, while working on #5636 I was thinking more about how to perform alignment based on xarray.Index objects given that the concept of an xarray.Index should be clearly distinct from the concept of a Variable.
We could maybe add an xarray.Index.sizes property similarly to Variable.sizes.
Alternatively, we could allow xarray.Index.union() and xarray.Index.intersection() returning both the joined index and the new Variable objects created from the latter index.
I'd lean towards the 2nd option, which is consistent with the class method constructors added in #5636. Not sure the 1st option is a good idea and it doesn't solve all the issues mentioned in my comment above.

Other possible solutions (from discussion with @shoyer):

Take care of coordinate order (and maybe other things) inside Index.join and Index.equals, e.g., for PandasMultiIndex maybe reorder the levels beforehand.

pros: more flexible
cons: not great to implicitly reorder levels if it's a costly operation?

Find matching indexes using a two-passes approach: (1) group all indexes by dimension name and (2) check compatibility between the indexes listed in each group.

I think we can close this issue, which has mostly been addressed in #5692. I opened #7002 for the potential problem of index alignment vs. coordinate ordering.


More than one instance on the same page?

When I use more than one on the same page, only the 2nd one works.
Any ideas why?

Weird, it probably has something to do with the event handlers having to be globalized.
I'll take look and update you on anything I find

Also, if you read this @compedit have you gotten the full screen button to show up in an embed?
let opts = {
            width: 800,
            height: 459,
            playerVars: {
                autoplay: 1,
                fs: 1
            }
        };

seems to be as instructed but it doesn't show up.

I'm currently looking at this problem too. Would be nice to get it fixed soon. :/

From a bit more of my testing, I've found that it's always the last react-youtube component which is rendered. For some reason, calling:
new window.YT.Player(props.id, params)
doesn't actually return unless it's targeted at the last component...

I think I've got it,  rough version of it here, with a demo on jsbin. Would you all mind making sure the demo works on your machines too?
Turns out window.onYouTubeIframeAPIReady was being redefined with every single player creation, so when the API actually loaded only the last component/player was notified which is super not cool.
@framerate fs should be enabled by default, it's working here. It might be getting cancelled out inside of createPlayerwhen set explicitly though, I'll check it out right now while cleaning up
@KeweiCodes I'll try to get a release out in the next day or so, just going to clean up the code a little bit and write some tests, should have a release out by tomorrow night latest.
Update here when finished, thanks for the help so far!

@compedit Unfortunately I refactored my code so that it creates the instance on-demand to get past this bug. Once I finish this deadline though, I'm more than happy to try and help test it. I'll let you know, but update this thread if you do a release and I'll at least get it into my package.json to test backwards compat.

Everything should work perfectly now!


WebAPIService usage for MS Dynamics CRM

Hello,
is it possible to use the WebAPIService for on-premise MS Dynamics CRM?
Thank you in advanced.
Kind regards,
Ilija.

@ilazarevski
The WebAPIService class library is a sample that demonstrates recommended practices, such as managing service protection limits, etc. It is a resource to learn from, not something we expect people to use in production 'as-is'.
I haven't done any testing with on-premises, but I expect it should work. You will need to change the version in the configuration because it currently defaults to v9.2, which is only online. On-premises would be v9.1.
If you are already using .NET, I would recommend using the SDK. If you want to use .NET Core, then I would recommend using Dataverse ServiceClient. See Transition apps to Dataverse ServiceClient. ServiceClient (and CrmServiceClient) manage service protection limits, has advanced capabilities for logging and is supported for use in your production environment.
I hope this helps. Let me know if you have any other questions.


Notification Option - Wait for n number of down events before sending.

📑 I have found these related issues/pull requests
I've searched but not found any related PRs
🏷 Feature Request Type
Change to existing notification-provider
🔖 Feature description
You should add the option WAIT N NUMBER OF DOWN EVENTS BEFORE SENDING (default 1)
I get so many notifications that are just very temporary timeouts.  Then next check (1 minute usually) it's fine.  For services running on slower machines or whatever, I get a lot of these.  It makes too much noise, notifications are ignored and then what's the point of them.
✔ Solution
In my use case, I would set WAIT 2 DOWN EVENTS BEFORE SENDING NOTIFICATION.
The volume of "noise" i would get would go down very substantially.
❓ Alternatives
No response
📝 Additional Context
Also, at my work we use a different software, and the devs there would love this but don't have it, as they currently ignore notifications as 90% of them are back up in 1 minute.

I think the setting you are overlooking is the retry setting.
It does exactly as you want..
We changed this to default to 0 to prevent the high number of confused users
Closing as resolved

That's exactly it, thank you so much @CommanderStorm


Add Get Started to Documentation Website

Currently, clicking 'Get started' pops up an alert that says 'Coming Soon'

website content required - Tom to update ticket with existing code
create react page with MDX file
'Getting started in how to import this into your project'
#148


[Bugs/Not installed] Things I noticed.

EDIT2 [SOLUTION]: I had a ppa repository with errors and for some reason that breaks this installation script. I deleted it, uninstalled noob-term and installed it again and it worked perfectly. Awesome.
So I think you can close the issue Aaron.
Hi Aron. For first let me tell you that I like so much your initiative to collect the tools with the beautiful Nord theme.
I came across some problems/things not installed after run the installing script (worth to mention that I didn't receive error messages during the instalation).

First thing I noticed was the nord theme for gnome was not installed, I had to install it by hand.
Tmux nord was not installed.
Zsh spaceship theme was not installed, I had to install it manually:

When nvim was installed, the nvim folder under .local/share/ had root as the owner so when I wanted to run vim or nvim, it throwed errors. I solved it by changing that with chmod.
The entire .dotfiles folder was not installed (this is weird).

I tried to run twice but nothing. What do you suggest to try? Here are the installation log process and info of my system (under virtual box)
ubuntuvm% sh -c "$(wget -q https://raw.githubusercontent.com/aaronkjones/noobs-term/master/noobs-term.sh -O -)"
Current platform: Linux
Current distribution version: 19.04
Current distribution: Ubuntu

/usr/bin/nvim

Installing dependencies...
[sudo] password for lean: \

# And that was all

If I can contribute to you and this project with something I'll glad to.
EDIT1: If I manually clone your dotfiles it seems to fix the tmux and zsh color configs.

Now, I installed it on my Mac and everything seems to work ok except vim (it has the Nord theme applied). It looks ok but for some reason there is no a .vimrc file.

This is just a question, do we need to specify all our configs in out init.vim? I mean, noob-term does not come with custom configs like remap leader key, set shortcuts for the plugins i.e toggle nerdtree, etc.

Yeah you can add them in init.vim or what I like to do is modularize them like:
In init.vim add:
source ~/.config/nvim/general.vimrc
source ~/.config/nvim/plugins.vimrc
Is that what you mean?

Sorry for the delay, hard week.
Yes exactly that. I thought first that noobs-term comes with some default customs itself.
I have one last question, for example, I am using one tab in iTerm with 3 tmux panes and when I want to create a new iTerm tab, that initializes the same 3 panes as the previous tab instead of a clean one. I can fix that with Tmux sessions, right?
Cheers!

The reason that is happening is due to this block in .zshrc:
if [ -z "$TMUX" ] # When zsh is started attach to current tmux session or create a new one
then
    tmux attach -t TMUX || tmux new -s TMUX
fi

You can...

Remove that block and create/delete tmux sessions manually
Use tmux's built in tabbing Control+a then c

@aaronkjones Thanks for the info.
Maybe in the future, the script could support fails and rollback instead of installing half of the things. But the job you did is awesome, I love the Nord palette.
I'm closing the issue. Have a good day.


how to create database??

I was able to do the server.js node, then I was confused about how to create it for the database, and for what sequalize db : migrasi

Hello @shafwanaw
You need to install the MySQL on the server or in another instance depending on your requirements, create a blank database and then link the magoware system with the created database.
Regards
Iris

Halo @shafwanaw
Anda perlu menginstal MySQL di server atau dalam contoh lain tergantung pada kebutuhan Anda, buat database kosong dan kemudian tautkan sistem magoware dengan database yang dibuat.
Salam
Iris
how to connect the magoware system with the database, after I give the command node server.js magoware directly stack and there is writing ECONNREFUSED


weave tries to ping de-scaled nodes and shows failed connections

What you expected to happen?
After AWS k8s cluster de-scaling weave stop pinging gone nodes
What happened?
Weave on single machine still tries to establish connection with nodes that removed from the cluster. That happened only on single machines (of 10 machines total)
How to reproduce it?
In our case we scaled cluster by scaling ASGs, did perf tests and then de-scaled it back (by de-scaling ASGs)
Anything else we need to know?

Cloud provider - AWS
Configuration - terraform output generated by kops

Versions:
/home/weave # /home/weave/weave --local version
weave 2.5.0

$ docker version
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 06:36:34 2017
 OS/Arch:      linux/amd64

$ uname -a
Linux 4.4.115-k8s #1 SMP Thu Feb 8 15:37:40 UTC 2018 x86_64 GNU/Linux

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.2", GitCommit:"5fa2db2bd46ac79e5e00a4e6ed24191080aa463b", GitTreeState:"clean", BuildDate:"2018-01-18T21:10:44Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.4", GitCommit:"9befc2b8928a9426501d3bf62f72849d5cbcd5a3", GitTreeState:"clean", BuildDate:"2017-11-20T05:17:43Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Weave Logs:
logs - https://gist.github.com/notmaxx/b608d0dc4238ae65b7576735ea4c95dc
status connections - https://gist.github.com/notmaxx/10fe3fb8a824853493d60820e469426d
Network:
$ ip route
default via <IP_ADDRESS> dev eth0
<IP_ADDRESS>/20 dev eth0  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS>/11 dev weave  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS>/16 dev docker0  proto kernel  scope link  src <IP_ADDRESS>

$ ip -4 -o addr
1: lo    inet <IP_ADDRESS>/8 scope host lo\       valid_lft forever preferred_lft forever
2: eth0    inet <IP_ADDRESS>/20 brd <IP_ADDRESS> scope global eth0\       valid_lft forever preferred_lft forever
3: docker0    inet <IP_ADDRESS>/16 scope global docker0\       valid_lft forever preferred_lft forever
6: weave    inet <IP_ADDRESS>/11 scope global weave\       valid_lft forever preferred_lft forever

$ sudo iptables-save
https://gist.github.com/notmaxx/de7cd4951d4c9685f82e18d6fdd09d7e

hi @murali-reddy yes, only single node, other nodes have nothing like this

Root cause is same as the issue reported in https://github.com/weaveworks/weave/issues/3613
DEBU: 2018/11/29 09:12:49.517294 [kube-peers] Noting I plan to remove  3e:6a:4e:29:47:96
E1129 09:12:49.517445    7666 runtime.go:66] Observed a panic: "assignment to entry in nil map" (assignment to entry in nil map)
/go/src/github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:72
/go/src/github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65
/go/src/github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51
/usr/local/go/src/runtime/asm_amd64.s:573
/usr/local/go/src/runtime/panic.go:502
/usr/local/go/src/runtime/hashmap_fast.go:696
/go/src/github.com/weaveworks/weave/prog/kube-utils/annotations.go:104
/go/src/github.com/weaveworks/weave/prog/kube-utils/main.go:159
/go/src/github.com/weaveworks/weave/prog/kube-utils/main.go:115
/go/src/github.com/weaveworks/weave/prog/kube-utils/main.go:236
/go/src/github.com/weaveworks/weave/vendor/k8s.io/client-go/tools/cache/controller.go:209
/go/src/github.com/weaveworks/weave/vendor/k8s.io/client-go/tools/cache/shared_informer.go:556
/go/src/github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:203
/go/src/github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:203
/go/src/github.com/weaveworks/weave/vendor/k8s.io/client-go/tools/cache/shared_informer.go:548
/go/src/github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133
/go/src/github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134
/go/src/github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88
/go/src/github.com/weaveworks/weave/vendor/k8s.io/client-go/tools/cache/shared_informer.go:546
/go/src/github.com/weaveworks/weave/vendor/k8s.io/client-go/tools/cache/shared_informer.go:390
/go/src/github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:71
/usr/local/go/src/runtime/asm_amd64.s:2361
panic: assignment to entry in nil map [recovered]
	panic: assignment to entry in nil map

goroutine 23 [running]:
github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
	/go/src/github.com/weaveworks/weave/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x107

Once the panic happens, kube-utils no longer running as daemon, which results in skipping weave forget on dead nodes.
@notmaxx issue got fixed in https://github.com/weaveworks/weave/pull/3623, fix will be available in 2.5.2 release.


Kyle dev

Added file for raspberry pi development and a simple program to capture photos

Merge is out of date - New data processing implementation available. Closing merge request.