text:
Padding for whole text area or line number area

I tried to add border via CSS, based on this https://stackoverflow.com/questions/37808715/how-to-make-look-and-feel-of-richtextfx-similar-to-textarea and issue #394.
It works, but line numbers cover part of the border, which doesn't look very nice.

I tried to add padding for .virtualized-scroll-pane, .styled-text-area, .virtual-flow and .virtualized-scroll-pane .styled-text-area .paragraph-box but it didn't work.
With the last one there is also a strange issue, see #508
CSS:
/* Border for RichTextFX, similar to normal JavaFX text area: focused color, etc.
*/

.virtualized-scroll-pane {
    -fx-background-color: linear-gradient(to bottom, derive(-fx-text-box-border, -10%), -fx-text-box-border),
    linear-gradient(from 0px 0px to 0px 5px, derive(-fx-control-inner-background, -9%), -fx-control-inner-background);
    -fx-background-insets: 0, 1;
    -fx-background-radius: 3, 2;
}

.virtualized-scroll-pane:focused {
    -fx-background-color:
            -fx-focus-color,
            -fx-control-inner-background,
            -fx-faint-focus-color,
            linear-gradient(from 0px 0px to 0px 5px, derive(-fx-control-inner-background, -9%), -fx-control-inner-background);
    -fx-background-insets: -0.2, 1, -1.4, 3;
    -fx-background-radius: 3, 2, 4, 0;
}

.virtualized-scroll-pane .styled-text-area {
    -fx-background-insets: 0px;
}

.virtualized-scroll-pane .styled-text-area .paragraph-box:first-paragraph .paragraph-text {
    -fx-padding: 5px 2px 0 2px;
}

.virtualized-scroll-pane .styled-text-area .paragraph-box:first-paragraph .lineno {
    -fx-padding: 5px 5px 0 5px;
}

.virtualized-scroll-pane .scroll-bar:horizontal {
    -fx-background-radius: 0 0 2 2;

    -fx-padding: 0 0.08333325em 0.08333325em 0.08333325em;
    -fx-border-insets: 0 0.08333325em 0.08333325em 0.08333325em;
    -fx-background-insets: 0 0.08333325em 0.08333325em 0.08333325em;
}

.virtualized-scroll-pane .scroll-bar:vertical {
    -fx-background-radius: 0 2 2 0;

    -fx-padding: 0.08333325em 0.08333325em 0.08333325em 0;
    -fx-border-insets: 0.08333325em 0.08333325em 0.08333325em 0;
    -fx-background-insets: 0.08333325em 0.08333325em 0.08333325em 0;
}

import javafx.scene.Node;
import org.fxmisc.flowless.Virtualized;
import org.fxmisc.flowless.VirtualizedScrollPane;

public class VirtualizedScrollPaneExt<T extends Node & Virtualized> extends VirtualizedScrollPane<T> {
    private PseudoClass FOCUSED = PseudoClass.getPseudoClass("focused");

    public VirtualizedScrollPaneExt(T content) {
        super(content);

        content.focusedProperty().addListener((obs, oldVal, newVal) -> {
            pseudoClassStateChanged(FOCUSED, newVal);
        });
    }
}

Yeah, the second issue probably should have been created as a separate issue.

Yeah, the second issue probably should have been created as a separate issue.

Please do so next time.
Correct me if I'm wrong but.... doesn't this line mean that padding should only be added to the bottom?
.virtualized-scroll-pane .styled-text-area .paragraph-box {
    -fx-padding: 15px 0 0 0;
}

Shouldn't it be -fx-padding: 15px 0 15px 0; ?

Created separate issue about that with more information.

About border issue, I am not sure if everything is ok with my CSS, but I think it would work fine if it was possible to add padding for .virtual-flow (or .paragraph-box).
Wiki says that .virtual-flow padding should work, but it is not.
.virtual-flow {
    -fx-padding: 15px;
}

Scenic View shows padding values, but nothing is affected.

See Tomas' comment's comment section. I'd guess VirtualFlow doesn't handle padding in its layoutChildren() method. Since you're already have a VirtualizedScrollPaneExt, could you handle the padding there?

Yeah, looks like this works. :)
public class VirtualizedScrollPaneExt<T extends Node & Virtualized> extends VirtualizedScrollPane<T> {
    private PseudoClass FOCUSED = PseudoClass.getPseudoClass("focused");

    public VirtualizedScrollPaneExt(T content) {
        super(content);

        content.focusedProperty().addListener((obs, oldVal, newVal) -> {
            pseudoClassStateChanged(FOCUSED, newVal);
        });
    }

    @Override
    protected void layoutChildren() {
        super.layoutChildren();

        Insets ins = getInsets();
        getContent().resizeRelocate(ins.getLeft(), ins.getTop(), getWidth() - ins.getLeft() - ins.getRight(), getHeight() - ins.getTop() - ins.getBottom());
    }
}

.virtualized-scroll-pane {
    -fx-padding: 0.08333325em;
}

btw why the virtual-flow fix mentioned in that comment was not applied?

Great!

why was the virtual-flow fix mentioned in that comment not applied?

I'm not sure. Perhaps we forgot to do so? Maybe @TomasMikula could explain.

#510 may have revealed a bug in Flowless where VirtualFlow#hit does not account for insets. One can see this with the following code:
import javafx.geometry.Bounds;
import javafx.geometry.Insets;
import javafx.scene.input.MouseEvent;
import javafx.stage.Stage;
import org.junit.Test;

import java.util.function.Consumer;

import static javafx.scene.input.MouseButton.PRIMARY;
import static org.junit.Assert.assertEquals;

public class TestGUI extends InlineCssTextAreaAppTest {

    @Override
    public void start(Stage stage) throws Exception {
        super.start(stage);
        stage.show();

        String text = "abcdefghijklmnopqrstuvwxyz";
        String fullText;

        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < 19; i++) {
            sb.append(text).append("\n");
        }
        sb.append(text);
        fullText = sb.toString();
        area.replaceText(fullText);
        area.setPadding(new Insets(20));
        area.setStyle("-fx-font-family: monospace; -fx-font-size: 12pt;");
    }

    @Test
    public void test() {
        interact(() -> {
            int start = area.getAbsolutePosition(3, 8);
            area.selectRange(start, start + 1);
            Bounds b = area.getCharacterBoundsOnScreen(start, start + 1).get();

            StringBuilder sb = new StringBuilder();
            sb.append("Bounds: ").append(b).append("\n");
            Consumer<MouseEvent> press = area.getOnOutsideSelectionMousePress();
            area.setOnOutsideSelectionMousePress(e -> {
                sb.append("Mouse screen x/y: ").append(e.getScreenX()).append(" / ").append(e.getScreenY());
                press.accept(e);
            });
            moveTo(b).clickOn(PRIMARY);

            sleep(2000); // Here, one sees that the caret is moved a few chars to the right and one line under the mouse
            System.out.println(sb.toString());
            assertEquals(start, area.getCaretPosition());
        });
    }

}

repo: TomasMikula/RichTextFX


text:
"ion-item-sliding" not working

The <ion-item-sliding> Ionic element does not work. Items are displayed statically, but do not react to sliding gestures, making them effectively static list items. No errors are thrown and it does not prevent the app from compiling.

Closed this because I realized the elements come from the Ionic 4 framework, however, the ion-item-sliding was already part of v4, so I'm still curious to know what's going on here.

That's correct -  awaiting resolution in Ionic/core
https://github.com/Tommertom/svelte-ionic-npm/issues/10

I've got this issue too, but it doesn't seem to work in production either, so I'll wait for the fix.

ok thx - the app will follow system preferences, so if you switch to dark mode overall, it will show in dark mode. So basically overriding system systems is not working as per Ionic API.

Item Sliding appears to work again in the rebuild demo app?  https://github.com/Tommertom/svelte-ionic-app/issues/93

source: gharchive/issue

authors: Tommertom burggraf grabbels

repo: Tommertom/svelte-ionic-app

license: MIT

license_type: permissive

license_source: github-api


text:
CentreOfRotationCorrector xcorrelation find projections over 180 degrees

Describe your changes
CentreOfRotationCorrector xcorrelation method tries to find the projection closest to 180 degrees away from a specified projection, within specified angular tolerance
If the target projection is >180 degrees, it doesn't find projections less than 180 degrees because all angles are shifted into -180 to 180 and the calculation to find the closest angle doesn't consider projections -180->180 to be close to each other.
Find projection closest to +180 including projections above 180 degrees by also consider -180->180
Describe any testing you have performed
Please add any demo scripts to CIL-Demos/misc/
Link relevant issues
#1619
Checklist when you are ready to request a review

[ ] I have performed a self-review of my code
[ ] I have added docstrings in line with the guidance in the developer guide
[ ] I have implemented unit tests that cover any new or modified functionality
[ ] CHANGELOG.md has been updated with any functionality change
[ ] Request review from all relevant developers
[ ] Change pull request label to 'Waiting for review'

Contribution Notes
Please read and adhere to the developer guide and local patterns and conventions.

[ ] The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License.
[ ] I confirm that the contribution does not violate any intellectual property rights of third parties

I'm in a muddle trying to figure this out! Please can you give an example of a range of angles and given starting projection where the original code fails and this PR works?
Also would be great to add unit tests, which could include this example range.

Thanks for looking at this @lauramurgatroyd. Sorry it is a bit confusing! I tested this by getting some data with angles between 0.5 and 179.5 degrees
ad = reader.read()
ag = reader.get_geometry()
data_limited = Slicer(roi={'angle': ((abs(ag.angles-0.5)).argmin(), (abs(ag.angles-179.5)).argmin(), 1)})(ad)
data_limited.geometry.angles
>>> array([  0.5,   0.6,   0.7, ..., 179.2, 179.3, 179.4], dtype=float32)

Then tried to run CentreOfRotationCorrector.xcorrelation with projection index = 0 (0.5 degrees), and an angular tolerance of 45 degrees. It should find a target projection to correlate with at 179.4 degrees
processor = CentreOfRotationCorrector.xcorrelation(slice_index = 'centre', projection_index = 0, ang_tol=45)
processor.set_input(data_limited)
processor.get_output(out=data_limited)

But we get an error
>>> ValueError: Method requires projections at 180 +/- 45 degrees interval, got 0.0.
>>> Pick a different initial projection or increase the angular tolerance `ang_tol`.

Even though there are projections within the specified range 180 +/- 45 degrees.
I think this error should actually make clear that the target is projection index = 0 (0.5 degrees) + 180 = 180.5, but we should still find the projection at angle 179.4 degrees.
This error doesn't occur when the target angle is greater than 180 degrees, even if there's lots of missing angles. This is because the algorithm correctly finds angles above 180 but is not currently searching for angles below 180 degrees
data_limited = Slicer(roi={'angle': ((abs(ag.angles-10)).argmin(), (abs(ag.angles-180.5)).argmin(), 1)})(ad)
processor = CentreOfRotationCorrector.xcorrelation(slice_index = 'centre', projection_index = 0, ang_tol=45)

The fix makes sure that target projections both above and below 180 degrees can be found. I'm not sure I'm doing this in the most efficient way so would appreciate some feedback! But the following now passes:
processor = CentreOfRotationCorrector.xcorrelation(slice_index = 'centre', projection_index = 0, ang_tol=45)
processor.set_input(data_limited)
processor.get_output(out=data_limited)

And the following, with a lower tolerance, fails with an error indicating the correct target angle, and identifying the closest angle is not within the tolerance
processor = CentreOfRotationCorrector.xcorrelation(slice_index = 'centre', projection_index = 0, ang_tol=1)
processor.set_input(data_limited)
processor.get_output(out=data_limited)
>>> ValueError: Method requires projections at 180.5 +/- 1 degrees interval, got 178.89999389648438.
>>> Pick a different initial projection or increase the angular tolerance `ang_tol`.

I've also added some tests for this case.

source: gharchive/pull-request

authors: hrobarts lauramurgatroyd

repo: TomographicImaging/CIL


text:
MHD header files on zenodo should contain file name not file path

currently they contain a file path which will be different to a user's file path
https://zenodo.org/record/4835668#.Y34oZ33P2Uk

closed by https://zenodo.org/record/7363345

authors: lauramurgatroyd paskino

repo: TomographicImaging/iDVC


text:
🛑 TP Avatar is down

In f391479, TP Avatar (https://avatar.vtp.xyz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TP Avatar is back up in 778ca31.

repo: TomsProject/uptime


text:
Error when clicking previous track after 3 sec. on the mini player

I am using the turn-key solution of the player, no dev happening here, and have noticed that with the mini player I can go forward and reverse along the playlist as long as I do so before three seconds. After that time period I can only go forward, sometimes, and not back. When I attempt to go back the console logs a series of errors. I am using two tracks in the playlist. One from a public link and one from a private share link. Any help would be appreciated. Thanks!
iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. Error     at Ue.Object.defineProperty.get (http://sd.toneden.io/production/v2/toneden.js:41:30804)     at http://sd.toneden.io/production/v2/toneden.js:2:1447     at r (http://sd.toneden.io/production/v2/toneden.js:2:1283)     at u (http://sd.toneden.io/production/v2/toneden.js:2:4956)     at r (http://sd.toneden.io/production/v2/toneden.js:3:1790)     at r (http://sd.toneden.io/production/v2/toneden.js:3:825)     at r (http://sd.toneden.io/production/v2/toneden.js:3:517)     at http://sd.toneden.io/production/v2/toneden.js:19:22320     at Array.map (native)     at http://sd.toneden.io/production/v2/toneden.js:19:22296 toneden.js:41 iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. Error     at Ue.Object.defineProperty.get (http://sd.toneden.io/production/v2/toneden.js:41:30804)     at r (http://sd.toneden.io/production/v2/toneden.js:2:3323)     at r (http://sd.toneden.io/production/v2/toneden.js:2:5035)     at u (http://sd.toneden.io/production/v2/toneden.js:2:4961)     at r (http://sd.toneden.io/production/v2/toneden.js:3:1790)     at r (http://sd.toneden.io/production/v2/toneden.js:3:825)     at r (http://sd.toneden.io/production/v2/toneden.js:3:517)     at http://sd.toneden.io/production/v2/toneden.js:19:22320     at Array.map (native)     at http://sd.toneden.io/production/v2/toneden.js:19:22296 toneden.js:41 iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. Error     at Ue.Object.defineProperty.get (http://sd.toneden.io/production/v2/toneden.js:41:30804)     at http://sd.toneden.io/production/v2/toneden.js:2:1447     at r (http://sd.toneden.io/production/v2/toneden.js:2:1283)     at r (http://sd.toneden.io/production/v2/toneden.js:2:1093)     at r (http://sd.toneden.io/production/v2/toneden.js:2:3349)     at r (http://sd.toneden.io/production/v2/toneden.js:2:5035)     at u (http://sd.toneden.io/production/v2/toneden.js:2:4961)     at r (http://sd.toneden.io/production/v2/toneden.js:3:1790)     at r (http://sd.toneden.io/production/v2/toneden.js:3:825)     at r (http://sd.toneden.io/production/v2/toneden.js:3:517) toneden.js:41 iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. Error     at Ue.Object.defineProperty.get (http://sd.toneden.io/production/v2/toneden.js:41:30804)     at r (http://sd.toneden.io/production/v2/toneden.js:2:5057)     at u (http://sd.toneden.io/production/v2/toneden.js:2:4961)     at r (http://sd.toneden.io/production/v2/toneden.js:3:1790)     at r (http://sd.toneden.io/production/v2/toneden.js:3:825)     at r (http://sd.toneden.io/production/v2/toneden.js:3:517)     at http://sd.toneden.io/production/v2/toneden.js:19:22320     at Array.map (native)     at http://sd.toneden.io/production/v2/toneden.js:19:22296     at http://sd.toneden.io/production/v2/toneden.js:26:203 toneden.js:41 iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. Error     at Ue.Object.defineProperty.get (http://sd.toneden.io/production/v2/toneden.js:41:30804)     at http://sd.toneden.io/production/v2/toneden.js:2:1447     at r (http://sd.toneden.io/production/v2/toneden.js:2:1283)     at r (http://sd.toneden.io/production/v2/toneden.js:2:1093)     at r (http://sd.toneden.io/production/v2/toneden.js:2:5085)     at u (http://sd.toneden.io/production/v2/toneden.js:2:4961)     at r (http://sd.toneden.io/production/v2/toneden.js:3:1790)     at r (http://sd.toneden.io/production/v2/toneden.js:3:825)     at r (http://sd.toneden.io/production/v2/toneden.js:3:517)     at http://sd.toneden.io/production/v2/toneden.js:19:22320 toneden.js:1 player.audioInterface.track_error event dispatched with payload  Object {error: Error: I don't know how to deal with that URL.     at p.parameters.cache.p.resolveCache.(anonymous f…, trackID: undefined} 3toneden.js: 19 Uncaught TypeError: Cannot read property 'setPosition' of undefined(anonymous function) @ toneden.js:19(anonymous function) @ toneden.js:26(anonymous function) @ toneden.js:26(anonymous function) @ toneden.js:19(anonymous function) @ toneden.js:26(anonymous function) @ toneden.js:26(anonymous function) @ toneden.js:26o.run @ toneden.js:2r @ toneden.js:2 toneden.js:1 player.audioInterface.track_ready event dispatched with payload  Object {sound: a, trackID: "track_2"}

Note: I'm closing every issue on this repo with this message.
I apologize for not being in contact earlier. We recently received notice from SoundCloud that they're shutting down their external streaming API for business reasons that I won't speculate about.
Every user of a custom SoundCloud player, ours included, will need to switch to their embedded player in order to stream songs from SoundCloud.
It's disappointing that we have to be the ones to break this news to developers, and I'm sorry for the inconvenience it's caused the users of our player. I'll leave this repo up and add this message to the top of the README so that others become aware of the situation.

authors: elsbree mnordstrom

repo: ToneDen/toneden-sdk

license: mit

license_source: bigquery


text:
added track.isPercussion and track.channelNumber

As described in https://www.midi.org/specifications/item/gm-level-1-sound-set, Channel 10 (0x9) is reserved for percussion.
Closes #13

Current coverage is 85.28% (diff: 100%)

No coverage report found for master at 226c81d.

Powered by Codecov. Last update 226c81d...331c75b

@tambien This branch should have all of tonight's changes on it.  If you merge this, you can close the other two.
I tend to think/work linearly.  Breaking them out into atomic pieces seemed like it would just add more work for you (because it would introduce merge issues).  Let me know if there are any I need to rebase out.

sorry, missed that comment about this including all of the previous PRs in it. seems fine, no merge issues.
thanks for all of the effort.
'isPercussion' sounds like more of a getter function in the naming to me, i might change it just to 'percussion'

i'm going to keep isPercussion, i think that makes it nice and clear that it's a readyOnly boolean.
I've moved 'midi.name' into the header with the rest of the file information.
thanks again for all these updates! much appreciated

Wow; thanks for the fast merge!
header.name  seems fine to me.  I only didn't include it there because I didn't know if you wanted it to match the MIDI header.
Speaking of header, I've always been curious about PPQ and bpm.  Shouldn't those be both either upper or lower case?  I don't use them, so I haven't opened a PR for them (it would just be busywork for you to merge, then go change all your code that uses them), but consistency is 👍.
More importantly, are you sure you want to have a truthy default value for instrument et. al.?  undefined or '' seem like safer choices, because you can easily if (instrument) them, or midi.instrument || ' whatever fallback you like'.  Even if a file doesn't set it, any track with notes represents some instrument, so 'none' doesn't quite feel right to me.

oh good point about instrument = 'none'. i'll change that.
re: PPQ and bpm. those are the way that they are referenced in Tone.js. I will consider making PPQ lowercase to make it more consistent, and if i do, i'll change it here too.

Thanks.
Not breaking the ecosystem to be pedantic about features I don't use is exactly why I didn't PR it.  :)

authors: appsforartists codecov-io tambien

repo: Tonejs/MidiConvert


text:
DOC "increasing function" in false_position and binary_search

The docstrings of these two functions mentions "increasing functions" which is not clear for a function from Rn to Rn ; their behavior is also tested on $(x - 1)^2$ which is not increasing

Hello @mathurinm,
Thanks for the remark, it is a batched version of a 1D function that takes as input x > 0 .
Will be made clearer in the next push.

Ok thanks, two remarks:

if $x$ is assumed to be positive testing with the constraint -0.5 < x < 2 in the test may be misleading
If you want to strengthen the tests you should test a case where the boundaries are active ie min x over [-1, 1]

we modified the test and docstring to take into account your advice, thanks!

Following your advice we modified the test and docstring, thanks!

authors: huguesva mathurinm

repo: TorchDR/TorchDR


text:
Updated Readme to link to PHP Project

Enhanced Description and Added links to screenshots.

:100:

authors: best-nazar jbarmash

repo: Tradeshift/tradeshift-app-samples


text:
SSSOM output

Instead of a special file format, we should perhaps be writing out SSSOM file.
Is that going to make the files even more gigantic?  Probably?  Is that a problem?

We currently have SSSOM output working as part of Babel Validator, but we could modify Babel to directly produce SSSOM instead of the custom JSON format. The main question is the urgency: do we want to try to get this done in Jan-Mar 2023, or can it wait until later that year?
This will need to be developed in sync with https://github.com/TranslatorSRI/NodeNormalization/issues/111 (PR https://github.com/TranslatorSRI/NodeNormalization/pull/145).

authors: cbizon gaurav

repo: TranslatorSRI/Babel


text:
🛑 MeVuelo Packages API (production) is down

In 217c039, MeVuelo Packages API (production) (https://api.packages.production.travelonux.com/status) was down:

HTTP code: 502
Response time: 657 ms

Resolved: MeVuelo Packages API (production) is back up in 50df575.

repo: Travelonux/upptime


text:
feat: could we decrease integration test minutes?

We can implement parallel testing

resolved in this PR.

repo: Trendyol/kafka-konsumer


text:
feat: 331 new context for state

Closes #331

@Tinoooo I added an alias for useTresContext called useTres to:

Fix the issue with the docs build
Avoid having a BREAKING CHANGE that may confuse the user and bump the version to 3.0

@Tinoooo I added an alias for useTresContext called useTres to:

Fix the issue with the docs build
Avoid having a BREAKING CHANGE that may confuse the user and would have to bump the version to 3.0 instead of 2.5 which is the one we want.

I like that. But the breaking change exists anyways, because the useTres now returns Refs instead of the objects themselves.

authors: Tinoooo alvarosabu

repo: Tresjs/tres


text:
fix: 849 support Symbol keys in provide/inject

Closes: #849
As Object.entries(...) only lists string properties, and Vue supports provide/inject with Symbols as keys, all provisions are not picked up.
I opted for Reflect.ownKeys, as its a good choice per the MDN documentation:
Object.entries()

The Object.entries() static method returns an array of a given object's own enumerable string-keyed property key-value pairs.

Reflect.ownKeys()

The Reflect.ownKeys() static method returns an array of the target object's own property keys

Return Value
Array of the target object's own property keys, including strings and symbols. For most objects, the array will be in the order of:

I've modified the #732 example to add the symbols. Prior to my change, this is the output:

And with my changes it's this

@eriklumme1 thanks a lot for raising this and providing a working solution. You are awesome

@alvarosabu thanks a lot for getting this in!


text:
⚠ T:Riza Roblox Proxy has degraded performance

In a3e4e7e, T:Riza Roblox Proxy (https://rprxy.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 3170 ms

Resolved: T:Riza Roblox Proxy performance has improved in 1b6f795.

repo: TrizaCorporation/Status


text:
Purifying Channel - feature request

https://www.d20pfsrd.com/feats/general-feats/purifying-channel/

Thank you so much for implementing this.
Currently it appears to be damaging all enemies in the area instead of only a single one.
Feels great and powerful but not how the feat is written?
Okay with it if it was an intentional change ;)

No, that's a bug.

Fixed

repo: Truinto/DarkCodex


text:
Future testnet versions of BNS (v2, v3 etc.)

Use import function to airdrop every mainnet address to there respective testnet address.
This is also a good test of the import function for mainnet where you'd airdrop v2 names to v1 name holders.
Stacks CLI can be used to derive the testnet address from the mainnet address and visa versa. Related comment: https://github.com/hirosystems/stacks.js/issues/920#issuecomment-813952041

Thank you! Really useful

We will implement this when launching the final version for testnet and do migration of all namespaces and all names on mainnet to their corresponding testnet address


text:
Casper 3.0

Refreshed the overall theme. High level summary of the changes:
Site level changes

refined and simplified site header
refined mobile sizes

Post lists

redesigned post cards
added adaptive site headers for tag and author lists depending whether they have background image

Posts

refined typography and vertical rhythm
removed read indicator
unified author avatars for cards and posts
simplified feature image
added custom post excerpt
redesigned read next footer

NB: This has been merged to the v3 branch here: https://github.com/TryGhost/Casper/pull/617 -- all further work should be done there, then when we're ready to ship we merge the v3 branch to master

Moving here: https://github.com/TryGhost/Casper/pull/618

authors: JohnONolan peterzimon

repo: TryGhost/Casper


text:
various test deprecation cleanup

no issue

cleans up a lot of the deprecation noise in tests

Changes Unknown when pulling 60878da0c4c5006a4d009f892d69333689303442 on acburdine:deprecation-cleanup into ** on TryGhost:master**.

@kevinansfield I think if we want to remove ember-invoke-action we should do that as a separate PR, as it's used in a large part of the codebase. The specific deprecations that were being thrown were due to a specific usage of ember-invoke-action that needed to be removed.
Also, due to the fact that there's not a huge use for it at the moment, I dropped the ember-cli-deprecation-workflow dependency. I feel like it may have more use added locally if it's needed temporarily.

👍 agree on both points, everything LGTM, will merge once Travis is green

Coverage remained the same at 73.333% when pulling 71aa7a365309cab1e36c51ef67f458fb94cc4266 on acburdine:deprecation-cleanup into bc4e60766162a40ae537a64ae403f4937122375b on TryGhost:master.

authors: acburdine coveralls kevinansfield

repo: TryGhost/Ghost-Admin


text:
📖 update all support.ghost.org links to docs/help.ghost.org

no issue

support.ghost.org has gone away, we now have self-host/dev documentation on https://docs.ghost.org and user documentation at https://help.ghost.org

Coverage remained the same at 73.069% when pulling aac0204026ca1818098c93e1b9478ec8e73efc0c on kevinansfield:update-docs-links into 25bfa20ce770b84fc2e5a325f00b83175699548e on TryGhost:master.

Coverage remained the same at 73.069% when pulling ae06298026385dc8313ada1f43d4c5d1fc7ad910 on kevinansfield:update-docs-links into 34ec72e753b0c27194b291c5580af4e5609e6659 on TryGhost:master.

authors: coveralls kevinansfield


text:
Docker: connect ECONNREFUSED 127.0.0.1:3306 on docker.io/library/ghost:latest

Issue Summary
I usually pull the latest ghost image (docker.io/library/ghost:latest)
Latest couple of images have the following error:
[2022-08-27 04:18:30] INFO Ghost is running in production...
[2022-08-27 04:18:30] INFO Your site is now available on https://shanwong.design/
[2022-08-27 04:18:30] INFO Ctrl+C to shut down
[2022-08-27 04:18:30] INFO Ghost server started in 0.799s
[2022-08-27 04:18:30] ERROR connect ECONNREFUSED 127.0.0.1:3306

connect ECONNREFUSED 127.0.0.1:3306

"Unknown database error"

Error ID:
    500

Error Code:
    ECONNREFUSED

----------------------------------------

Error: connect ECONNREFUSED 127.0.0.1:3306
    at /var/lib/ghost/versions/5.12.0/node_modules/knex-migrator/lib/database.js:57:19
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16)

[2022-08-27 04:18:30] WARN Ghost is shutting down
[2022-08-27 04:18:30] WARN Ghost has shut down
[2022-08-27 04:18:30] WARN Your site is now offline
[2022-08-27 04:18:30] WARN Ghost was running for a few seconds

Steps to Reproduce

Download latest Docker Ghost image
run with docker run -d --restart always --name shan-ghost -v /srv/shan-ghost/blog:/var/lib/ghost/content -e url=https://shanwong.design -p 3001:2368 ghost

Using version 5.8 does not have this problem, I can get it to work using docker run -d --restart always --name shan-ghost -v /srv/shan-ghost/blog:/var/lib/ghost/content -e url=https://shanwong.design -p 3001:2368 ghost:5.8
Ghost Version
latest
Node.js Version
latest (docker)
How did you install Ghost?
Docker
Database type
SQLite (I think)
Browser & OS version
Linux OS
Relevant log / error output
connect ECONNREFUSED 127.0.0.1:3306

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

I can confirm this error. It occurs on my Synology NAS, too. Every image after 5.8 seems to be broken and produces the error mentioned above.

This is a duplicate of https://github.com/TryGhost/Ghost/issues/15244. The repo for the docker image (maintained by Docker, not Ghost) is here: https://github.com/docker-library

still having the same identical problem after 9 months, incredible work ghost developers. Does anyone have any ideas why this is happening ?

authors: BorisBrock DennisYildirim ErisDS Tuinslak

repo: TryGhost/Ghost


text:
Quirky search behavior

Issue Summary
I'm seeing some not-quite-right behavior from the sodo-search package, but having trouble coming up with a simple repro case.
Here's what I've got:
Run a search for 'fitness' at https://goodvibeswellness.com/
Scroll down.  There are posts that actually match 'fitness', but the ui seems to get stuck with a bunch of posts that just match 'F' at the top.
I can reproduce it for this site's content (when exported and imported locally), using sodo-search 1.3, and also 1.1.  (That probably rules out the CJK changes being to blame.)
I cannot reproduce it with another site running search at 1.1, nor on another site running search @1.3.
Leaving this here in case anyone else is seeing something similar.
Steps to Reproduce
see above
Ghost Version
search 1.1-1.3
Node.js Version
varies
How did you install Ghost?
local & ghost pro
Database type
MySQL 8
Browser & OS version
chrome, windows 10
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

/assign

Hey @cathysarisky,
I'm not able to reproduce your issue. It's working completely fine for me.
Can you provide a screenshot of the issue if possible ?

authors: STAR-173 cathysarisky chennaroshan


text:
Added e2e tests for creating+saving pages containing collection cards

no issue

act as regression tests for internal collection code changes
useful to test as we've hit missing transaction passthrough for sqlite a couple of times that wasn't caught

Test failed successfully, closing to cherry-pick into https://github.com/TryGhost/Ghost/pull/18328


text:
[WIP] Reload page after import

No Issue

fixes intermittent bugs that occur after importing content. e.g. no author in PSM for a post until page is refreshed

Closing this for now, will reopen when it's in a mergable state.


text:
🐛  correct favicon redirects with subdirectory

no issue
Use our url util urlFor to ensure, the redirect includes the subdirectory, if set up.

This is ready for review and merging!


text:
add firmware modifiers to Macro

Hi Freddie,
First, I wanna thank you for this great tool!
I wonder if it's possible to add the on-board firmware modifiers keys (i.e. Fn, Fn1, and Pn) when defining macros.
Currently they are not available when defining macros. If it's possible, it would be very useful in the following scenario.
If I want to press the shifted layer of the number keys, I need to either

press Shift+Fn1+NumberKey
or define a macro on for example the Pn layer, then I just have to press Pn+NumberKey

The second method is preferred as it requires less key press and is similar to the typical  Shift+NumberKey, but in this way, one would need to define a macro for each number key, which is cumbersome to do but still fine. The other issue is, one will run out of macros very quickly, as the board only supports a maximum of 20 macros.
If the onboard firmware modifiers can be added to macro definition, then only one macro is needed. For example, one can define the base layer of a key as  Shift+Fn1, the macro type is until release, then it will work with all Fn1 layer keys, saving a huge amount of macros.

Tried to add it myself. But unfortunately, it seems not supported by the firmware. I could define the Macro (see the screenshot below), but after flash it to the keyboard, it just doesn't work as intended, instead it triggers some weird inputs. I guess there's a reason that they were not included in the first place.
I wonder if it's possible at all ...

Probably not possible if you already tried it. I can't change the firmware behavior.
I think in the firmware, the modifiers key ids are different from actual Fn1 Fn and Pn. For example, the L1 switch is actually just Fn+O, but it is not done by macro, instead the keyboard can refer to a internal key map that is fixed.
My guess is when you use Fn1 in macro, it can only check the internal key map instead of the custom layout. probably because 1. they didn't thought of it and 2. it would be really easy to create infinite loops even if they did thought of it and lock your keyboard.

Guess you're right. When I tried it, the shift+Fn1 sometimes sends l infinitely. Thanks for the information.

repo: TsFreddie/much-programming-core


text:
Fedkd加入差分隐私时报错ValueError: Module parameters are different than optimizer Parameters

作者 你好，很感谢你上次回答我的问题
Algorithm: FedKD
Local batch size: 10
Local steps: 10
Local learing rate: 0.005
Local learing rate decay: False
Total number of clients: 3
Clients join in each round: 1.0
Clients randomly join: False
Client drop rate: 0.0
Client select regarding time: False
Running times: 1
Dataset: fmnist
Number of classes: 10
Backbone: cnn
Using device: cuda
Using DP: True
Sigma for DP: 0.7
Auto break: False
Global rounds: 50
Cuda device id: 0
DLG attack: False
Total number of new clients: 0
Fine tuning epoches on new clients: 0
报错
Traceback (most recent call last):
File "E:\yanjiusheng\PFL-Non-IID-KDsim\system\main.py", line 490, in
run(args)
File "E:\yanjiusheng\PFL-Non-IID-KDsim\system\main.py", line 306, in run
server.train()
File "E:\yanjiusheng\PFL-Non-IID-KDsim\system\flcore\servers\serverkd.py", line 44, in train
client.train()
File "E:\yanjiusheng\PFL-Non-IID-KDsim\system\flcore\clients\clientkd.py", line 51, in train
initialize_dp(self.global_model, self.optimizer, trainloader, self.dp_sigma)
File "E:\yanjiusheng\PFL-Non-IID-KDsim\system\utils\privacy.py", line 8, in initialize_dp
model, optimizer, data_loader = privacy_engine.make_private(
File "E:\yanjiusheng\anaconda\envs\fl\lib\site-packages\opacus\privacy_engine.py", line 393, in make_private
raise ValueError(
ValueError: Module parameters are different than optimizer Parameters
可以帮忙看一下 是我的参数出现了问题 还是什么原因 请您指正一下 感谢

正如报错所示：ValueError: Module parameters are different than optimizer Parameters，你这里initialize_dp中的self.global_model 和 self.optimizer不匹配，应该是self.global_model 和 self.optimizer_g。


text:
nodejs使用neo4j-driver的时候，不支持属性是DATETIME的类型,DATETIME变成了Infinity

Environment:

OS: Ubuntu 20.04.6 LTS
CPU: AMD Ryzen 7 PRO 4750U with Radeon Graphics
TuGraph-DB Version 4.3.1

Describe the bug
nodejs使用neo4j-driver的时候，不支持属性是DATETIME的类型,DATETIME变成了Infinity
How to reproduce and expected behavior
main.js：
const neo4j = require('neo4j-driver')
const _url = 'bolt://localhost:7687'
const _auth = neo4j.auth.basic('admin', '123456')
const _database = 'test'
const _options = { disableLosslessIntegers: true, maxTransactionRetryTime: 10000 }

const test = (async () => {
    var driver = neo4j.driver(_url, _auth, _options)
    var session = driver.session({ database: _database })
    try {
        var res = await session.run("return datetime() AS ts")
        for (var i = 0; i < res.records.length; i++) {
            console.log(JSON.stringify(res.records[i]))
            console.log(res.records[i].get("ts"))
            console.log(neo4j.temporal.isDate(res.records[i].get("ts")))
            console.log(neo4j.temporal.isDateTime(res.records[i].get("ts")))
            console.log(neo4j.temporal.isDuration(res.records[i].get("ts")))
            console.log(neo4j.temporal.isLocalDateTime(res.records[i].get("ts")))
            console.log(neo4j.temporal.isLocalTime(res.records[i].get("ts")))
            console.log(neo4j.temporal.isTime(res.records[i].get("ts")))
        }
    } catch (e) {
        console.log(e)
        throw e
    } finally {
        await session.close()
        await driver.close()
    }
})

const main = (async () => {
    await test()
})

main()

package.json:
{
  "dependencies": {
    "neo4j-driver": "5.24.1"
  }
}

运行：
$ node main.js

结果：
Record {
  keys: [ 'ts' ],
  length: 1,
  _fields: [ Infinity ],
  _fieldLookup: { ts: 0 }
}
Infinity
false
false
false
false
false
false

TuGraph-DB Version 4.5.0, 有返回，isLocalDateTime返回true。问题关闭
{"keys":["ts"],"length":1,"_fields":[{"year":2024,"month":10,"day":8,"hour":10,"minute":26,"second":41,"nanosecond":881902000}],"_fieldLookup":{"ts":0}}
LocalDateTime {
  year: 2024,
  month: 10,
  day: 8,
  hour: 10,
  minute: 26,
  second: 41,
  nanosecond: 881902000
}
false
false
false
true
false
false

TuGraph-DB Version 4.5.0有返回，至少 isLocalDateTime返回true，问题关闭
{"keys":["ts"],"length":1,"_fields":[{"year":2024,"month":10,"day":8,"hour":10,"minute":26,"second":41,"nanosecond":881902000}],"_fieldLookup":{"ts":0}}
LocalDateTime {
  year: 2024,
  month: 10,
  day: 8,
  hour: 10,
  minute: 26,
  second: 41,
  nanosecond: 881902000
}
false
false
false
true
false
false

repo: TuGraph-family/tugraph-db


text:
🛑 Content Delivery Network (S3 Bucket) is down

In b7e57dd, Content Delivery Network (S3 Bucket) (https://cdn.tubnet.gg/minecraft-resourcepack/TubPack-production.zip) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Content Delivery Network (S3 Bucket) is back up in a980efa after 2 hours, 1 minute.

repo: Tubnom/tubnet-uptime


text:
latest docker container (April 8th) introduces a bug that causes false positives

Describe the bug
The docker version of oasdiff finds errors between identical schema files
To Reproduce
Steps to reproduce the behavior:

We use docker, but the command essentially boils down to: docker run tufin/oasdiff breaking --fail-on ERR
Spec 1: openapi.json
Spec 2: the same as Spec 1
Output:

1 breaking changes: 1 error, 0 warning
error	[request-property-one-of-removed] at /schemas/openapi.next.json
	in API PUT /v1alpha1/generic
		removed 'BaseSchema[0], BaseSchema[1]' from the 'resources/items/kind' request property 'oneOf' list

Expected behavior
Since the files are identical, they should not be found to have a difference
Desktop (please complete the following information):

latest Docker Image

Additional context
~I notice there was no official tagged version released, it was only pushed to latest... perhaps this indicates something is off with your CI release process?~
I see that you have a stable tag on docker, I'll use that going forward since it appears to track the latest release from github (v1.10.12)

Thanks for reporting. I'll take a look at this ASAP. Please use the previous version until then.

authors: effervescentia reuvenharrison

repo: Tufin/oasdiff


text:
Not downloading from a certain URL

Describe the bug
This website does not work with TumblThree: https://pizzacakecomic.com/
To Reproduce
Steps to reproduce the behavior:

Add https://pizzacakecomic.com/
Add to queue and try to download.
It doesn't work. Nothing gets downloaded.

Expected behavior
The pictures should download.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

TumblThree version: v2.10.2

Hi @curya,
I think I have found a solution.

When adding the url to TumblThree, it won't accept just "x.com" but "x.tumblr.com". This case, try adding https://pizzacakecomic.tumblr.com.

On the Details page of "pizzacakecomic" set the Crawler to Tumblr SVC instead of Tumblr API.

It worked for me with e.g. ofhouses.com.

@curya
Thanks for reporting a bug.
It will be fixed in the next version.
In the meantime you can use the solution suggested by vozmor, but please note that the blog name ends with "s" while the domain name does not, so use https://pizzacakecomics.tumblr.com/.

Doesn't work no matter how I enter the URL.
https://pizzacakecomic.com/
https://pizzacakecomic.tumblr.com/
https://pizzacakecomics.tumblr.com/
I tried all three and nothing downloaded.

Did you change the crawler type to "SVC" in the blog's settings page after adding the blog (https://pizzacakecomics.tumblr.com/)?

@thomas694 That worked! Thanks!
Will it just be automatic in the next version? Or is this something I need to look out for in the future?

Adding custom domains will work in the next version.

The issue has been fixed and closed. You can still comment. Feel free to ask for reopening the issue if needed.

authors: curya thomas694 vozmor

repo: TumblThreeApp/TumblThree


text:
Extend the suite of tests to match level of coverage in Turing

In progress on a local branch I have

@HarrisonWilde Do you still have these?

authors: HarrisonWilde ParadaCarleton


text:
Support Bayesian evidence estimation for GLM models

There are some excellent packages for estimating Bayesian evidence for Turing models. It would allow us to perform model comparisons for various priors and model choices. We should consider supporting these options - it could be a (killer) feature!

https://github.com/treigerm/AnnealedIS.jl
https://github.com/theogf/ThermodynamicIntegration.jl
https://github.com/TuringLang/NestedSamplers.jl

LOO-CV can be viewed as a proxy for Bayesian evidence / marginal likelihood.
See Vehtari, A., Gelman, A., & Gabry, J. (2017). Practical Bayesian model evaluation using leave-one-out cross-validation and WAIC. Statistics and Computing. https://link.springer.com/article/10.1007/s11222-016-9696-4

Ok, converting to a Tutorial issue.

thanks, @ParadaCarleton - your clarification is correct. Sorry, I wasn't precise. For a good reference on this, see below.
Fong, E., & Holmes, C. C. (2020). On the marginal likelihood and cross-validation. Biometrika, 107(2), 489–496. https://academic.oup.com/biomet/article/107/2/489/5715611

authors: storopoli yebai


text:
Ne faire qu'un seul apt-get update au début de tuxml

Plusieurs apt-get update sont effectués au cours du programme (avant chaque installation de paquets)
Il faudrait n'en faire qu'un seul au début , dans la fonction main, pour gagner du temps.
L'idéal serait de faire ça après la découverte du gestionnaire de paquets

C'est bon, voir commit ci-dessus

repo: TuxML/ProjetIrma


text:
Define own shell commands in config.yaml

Describe the feature request
Gives the user the possibility to define own shell commands in the config.yaml to check the health status of services that either do not have a web server or do not have their own IP address/location.
endpoints:
  - name: example
    command: "docker ps -q --filter name=cloudflare-ddns"
    conditions:
      - "[RESPONSE] == 490981d83b15"

(where 490981d83b15 = CONTAINER ID of cloudflare-ddns container)
Why do you personally want this feature to be implemented?
I noticed the following scenario: I have a few Docker containers. Many of them are in shared docker networks, others are not. I also have containers that have to run via network_mode: host. This means that they cannot join any docker networks.
Another example: Many Docker images simply do not have a web server. They have neither an internet IP address nor a port (let's take cloudflare-ddns as an example).
What I want to get at: In both scenarios, there is no chance to reach the address range of the containers to check the health status. In scenario 1 there is a problem with different networks (the containers simply cannot "see" each other), in scenario 2 there is simply no suitable endpoint.
However, I could, for example, check the status of a docker container with docker ps -q --filter name=cloudflare-ddns. If it is running I get the CONTAINER ID back, if it is not running then I get nothing back.
But to do this, you would have to have the option of executing your own shell commands in config.yaml and checking the return value.
I'm sure there are other scenarios where this makes sense. The above is just my current scenario: I can't monitor services that don't have a web server or otherwise have an independent IP address that differs from my host system.
How long have you been using this project?
No response
Additional information
No response

Another scenario where this could be useful is where a low-use container is put behind something like containernursery / sablier, where the container is stopped if there is no traffic to that container.
So basically, being able to check if a container is running or stopped via a docker command and displaying the time times where a low-use container get traffic on the status page is another use-case where this could be useful.
Are there any other ways of monitoring if a docker container is up ?
(other than using http / tcp , because sablier / container nursery will spin up the container for status check requests, which will moot the point of using containernursery / sablier in the first place. we wouldnt want the container to be spun up for status check requests)

authors: Staubgeborener accforgithubtest

repo: TwiN/gatus


text:
Remove SmsNotifier service and put those methods on the models instead

In Python, we prefer to add methods to our Models instead of breaking them out into separate utilities or services. We often say the phrase "Fat models are a good thing."
Let's remove the SmsNotifier class, and instead add its methods to the Reservation method instead.
Edit: We should also remove the SmsSender class and include its logic in these new model methods. I prefer not to make a new class, utility, or service if it's only going to be used in one place, which is the case with SmsSender.

OK no problem doing that. The idea behind that particular example was following responsibility principle to show/encourage correctness and the use of SOLID practices

authors: atbaker nebtrx

repo: TwilioDevEd/airtng-flask


text:
WIP: adjust for new seq/map serialization

just leaving this here so noone repeats any work when doing the next serde update

:+1:

authors: TyOverby oli-obk

repo: TyOverby/bincode


text:
--excludeExternals but keep custom defined interfaces

Search terms
excludeExternals
Question
hello, i have a library that inject into javascript language my custom methods:
example:
declare interface ArrayConstructor {
	isNotArray(arg: any): boolean
}

declare interface Array <T> {
	remove(t: T): void
}

// implementation

Array.isNotArray = function(arg: any) {
  return !Array.isArray(arg)
}

Array.prototype.remove = function <T>(this: Array<T>, element: T) {
	for (let i = 0; i < this.length; i++) {
		if (this[i] === element) {
			this.splice(i, 1)
			i--
		}
	}
}

now i want to generate documentation using typedoc,
and i want to suppress library methods (any provided by typescript/lib/lib.*.d.s) so i use  --excludeExternals
but in this way my methods are excluded as well.
there is a way to exclude standard methods and only generate mine?
Thanks!

Currently, no. Whether or not a symbol is considered external is determined by whether or not any of its declarations are external. I can't recall right now why some rather than every behavior is important, but I know it is, since I saw false positives when implementing the warnings for missing exports in 0.22 recently when trying to use every.
https://github.com/TypeStrong/typedoc/blob/d943dc6b0f66974d41f55d0206664aaf09960e1f/src/lib/converter/converter.ts#L412-L426
If you are dead set on adding this to globals, I would still likely implement them as standard exported functions, then mention in the documentation comment that it is available on the appropriate global.

Yeah, i mean, i am currently implementing a lib that enhance JavaScript base types: https://github.com/GiovanniCardamone/polyfull and I'd like to use TypeDoc to document this one (but not the language itself)
Furthermore, I'd like to to use TypeDoc but for now I haven't found a way to documentare my declaration and ignore the one of the language
Thanks a lot!

I have the exact same issue. I'm not using TypeScript, just documenting a JS API. Upfrtunately a couple of my class names clash with typescript internal classes. If I includ externals, I get extra stuff added to my classes. If I exclude externals, my own classes disappear. Neither option is desired.

TypeDoc gets what is visible from TypeScript, so your globals clashing with names isn't just a problem here, but will also be a problem when writing code. You should probably set "noLib": true, or adjust the lib option to not include those.
I'll admit that both of these use cases are pretty low priority for me - libraries which muck with globals are doing bad things, and it's much more important to produce good documentation for the vast majority of libraries which do not do this. As for JavaScriptCore, well... if it doesn't have modules, TypeDoc here is matching what TypeDoc is doing.
I would accept a PR which fixes this, but probably won't get to it any time soon.

You should probably set "noLib": true, or adjust the lib option to not include those.

Aha! That pointed me directly to the solution. My big problem was a couple of my interface names clashing with some DOM object names (my environment has no DOM). By setting "lib": [ "ES6" ] I was able to exclude the DOM libraries from the project and, hey presto, no more clashes. Thanks!

authors: Gerrit0 GiovanniCardamone invariant

repo: TypeStrong/typedoc


text:
Is it possible to close the form programmatically?

After the respondents have filled the form that embed using popup, I'd like to close the form instead of showing the end page of the form.

Hello, you can achieve this via onSubmit callback:
<script src="//embed.typeform.com/next/embed.js"></script>
<link rel="stylesheet" href="//embed.typeform.com/next/css/popup.css" />

<button>open</button>

<script>
  document.querySelector('button').onclick = () => {
    const {open, close} = window.tf.createPopup('oWPUHPmF', {
      onSubmit: () => {
        close()
      }
    })
    open()
  }
</script>

@mathio After looking at the code, I see that close() isn't supported in react embed library.
Do you have a plan to support this?

authors: mathio redhoyasa

repo: Typeform/embed


text:
fix(TYP-2386): Pass hidden fields via fragment

Report: TYP-2386
Bug introduced in DIST-241 by changing passing of hidden fields from query param to fragment.

[BOT] Preview available: https://embed.typeform.com/5c3b9aa9ee623fc101b5c3cad7c0c4ceeac74f77/embed.js

:tada: This PR is included in version 0.22.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: mathio travis-tf


text:
chore(SP-1664): remove docker credentials

This PR removes Docker credentials from ci-standard-checks as they are not needed anymore since we're using a public image for the secrets detection configuration.

:tada: This PR is included in version 2.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: tf-security typeform-ops-gha

repo: Typeform/quill


text:
🛑 Web OPL is down

In 571a7ee, Web OPL (https://opl.uab.cat) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Web OPL is back up in 894f38c after 5 minutes.

repo: UAB-OPL/opl-uab-monitoring


text:
🛑 Web OPL is down

In 3d78181, Web OPL (https://opl.uab.cat) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Web OPL is back up in 6c181b4 after 24 minutes.


text:
🛑 Web OPL is down

In 442569b, Web OPL (https://opl.uab.cat) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Web OPL is back up in d6f9b58 after 7 minutes.


text:
Implement DSDL documentation hosting

See context:

https://forum.uavcan.org/t/generate-rich-navigable-html-docs-using-nunavut/1163
https://github.com/UAVCAN/nunavut/pull/201

Superseded by #35

repo: UAVCAN/nunaweb


text:
AWS - npm ERR! nospc ENOSPC: no space left on device, write

[cloudshell-user@ip-10-0-180-32 ~]$ npm install -g @aws-amplify/cli
npm ERR! code ENOSPC
npm ERR! syscall write
npm ERR! errno -28
npm ERR! nospc ENOSPC: no space left on device, write
npm ERR! nospc There appears to be insufficient space on your system to finish.
npm ERR! nospc Clear up some disk space and try again.
[cloudshell-user@ip-10-0-180-32 ~]$

Issue was that the AWS EC2 CLI was being used through the AWS console as opposed to CLI on local machine for deployment.

authors: Cris-FPAZ ShreyT-hash

repo: UBC-CIC/health-platform


text:
Broadcast state of each state machine over CAN

Summary

Changelist

Testing Done

Resolved Issues

Checklist
Please change [ ] to [x] when you are ready.

[ ] I have read and followed the code conventions detailed in README.md (This will save time for both you and the reviewer!).
[ ] If this pull request is longer then 500 lines, I have provided explicit justification in the summary above explaining why I cannot break this up into multiple pull requests (Small PR's are faster and less painful for everyone involved!).

Oh maybe I was overthinking it. I was just trying to make sure I can getting can_tx correctly in the state machines. In any case, re-opening this in #556 and I'll ping you when I've ported the code to every board and need another review pass


text:
Wingsail controller integration

Purpose

This issue aims to integrate the controller software into the ROS node and start publishing data.
Description

Take lookup table parameters to create an LUT object
Create a controller object
Periodically pull data from the sensors and update the trim tab angle

Resolved this comment through PR #327


text:
Stranice 404 sa engleskim jezikom

Npr/en/members/ bi trebalo loadati members page sa engleskim prijevodom, ali ne radi niti jedna podstranica.
Izgleda da se content mora duplicirati. Potrebno:

U site/content dodati folder croatian i kopirati u njega sve iz english
U config.toml fajlu pod "Croatian language" postaviti contentDir = "content/croatian"

Ne mogu naći mogućnost da jedan fallbacka na drugog...

@Swader neko pametnije rješenje?

Nema potrebe za tim sada, cro only. Multilang kasnije.

Nema potrebe za tim sada, cro only. Multilang kasnije.

Disableala engleski. Imamo sve već tamo za multilang samo se mora duplicirati content za svaki jezik, issue: https://github.com/gohugoio/hugo/issues/5612. S obzirom da dodajemo blog postove sada, ne da mi se paziti na to. Možda možemo neki symlink kasnije napraviti s obzirom da ćemo blog vjerojatno pisati na jednom jeziku najčešće.

authors: Swader morrigan

repo: UBIKhr/web


text:
fix bug where Firefox crashes when selection box is dragged too quickly

I noticed this bug while working in this branch:
https://github.com/UC-Davis-molecular-computing/scadnano/tree/show-hand-grabbing-cursor-when-pointer-is-able-to-grab-for-click-and-drag-panning
which is for implementing issue #55. However, the bug also appears on the current dev branch when running locally. I cannot reproduce the bug on the deployed dev version https://scadnano.org/dev/, only when running locally, but I'm worried that it might still be a problem in the deployed production version.
Press Shift in select mode, click the left mouse button, and drag the cursor around rapidly to alter the size of the selection box. It causes an error like this in Firefox:

The good news is that this doesn't seem to happen for production.
Test production code with webdev serve --release.
Based on this, I am guessing that the issue has to do with how Firefox retains debugging information for the Developer Tool. When in production mode, most of the debugging variables has been optimized away. I will need to examine more to figure out exactly what's causing the memory issue, but fortunately, this bug shouldn't have issue on user end

The good news is that this doesn't seem to happen for production.
Test production code with webdev serve --release.
Based on this, I am guessing that the issue has to do with how Firefox retains debugging information for the Developer Tool. When in production mode, most of the debugging variables has been optimized away. I will need to examine more to figure out exactly what's causing the memory issue, but fortunately, this bug shouldn't have issue on user end

@dave-doty can you still produce this issue? I cannot reproduce on Firefox 95.0.1

Yes, I have to drag it fairly fast, but I can still reproduce it. I think it only happens when you drag over objects like strands:

authors: UnHumbleBen dave-doty

repo: UC-Davis-molecular-computing/scadnano


text:
Cannot create docker image using the dockerfile

Hi,
I want to create a docker image with a stable commit of AutoSA (i.e. this one: https://github.com/UCLA-VAST/AutoSA/commit/15c877b9fbb206f1a15b58e71428eea58998d889). However, I ran into this error when building the image
Makefile.am:67: but option 'subdir-objects' is disabledMakefile.am:59: warning: source file '$(poly_src)/testlib.c' is in a subdirectory,
Makefile.am:59: but option 'subdir-objects' is disabled
Makefile.am:68: warning: source file '$(poly_src)/verif_ehrhart.c' is in a subdirectory,
Makefile.am:68: but option 'subdir-objects' is disabled
Makefile.am: installing '../depcomp'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:9: installing 'build-aux/compile'
configure.ac:12: installing 'build-aux/config.guess'
configure.ac:12: installing 'build-aux/config.sub'
configure.ac:4: installing 'build-aux/install-sh'
configure.ac:4: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
configure
./install.sh: 16: ./configure: not found
make
make: *** No targets specified and no makefile found.  Stop.
Removing intermediate container b13cdb4058b4
 ---> 84c4cdc9fc6b
Successfully built 84c4cdc9fc6b
Successfully tagged autosa:latest

Cloud you please kindly create a docker image of that old commit with a different tag?

It looks like the GNU Autotools fails and didn't generate the correct Makefile.
I just updated the source files and fixed several bugs. Can you test if the latest version fixed the bugs mentioned in #9 ?
And try again for generating the Docker image?

Thanks! I will have a try.

The docker image still cannot be built. I just replaced the last few commands into the following commands. Not sure why it happened.
RUN cd /usr/src && \
    git config --global http.sslVerify false && \
    git clone https://github.com/UCLA-VAST/AutoSA.git docker_autosa && \
    cd /usr/src/docker_autosa && \
    ./install.sh

Also unfortunately, the issue #9 is still there with the latest fix. Is it possible to create a docker image based on 15c877b? Debugging through this is kind of painful to me 😂

authors: Hecmay whbldhwj

repo: UCLA-VAST/AutoSA


text:
Spanning Tree implementation for scatterv

Original author: Vipul Harsh
Original issue: https://charm.cs.illinois.edu/redmine/issues/1465

Use a spanning tree implementation for optimised scatterv

Original author: Vipul Harsh
Original date: 2017-03-09 06:57:16

Patch: https://charm.cs.illinois.edu/gerrit/#/c/2296/

repo: UIUC-PPL/charm


text:
Fix/dtfs2 7092 code consistency

Introduction :pencil2:
Ensure exceptional handling variables are called error and exception (where error is declared on an upper scope).
Ensure coding pattern is consistent where not followed.
Resolution :heavy_check_mark:

Updated variables called e to error and exception respectively
Improve string substitution usage for code consistency.

Miscellaneous :heavy_plus_sign:

Added docstring for functions.
Changed string substitution formatter to %o for enhanced logging.
Updated azure/login GHA plugin to v2

Codecov Report
Attention: Patch coverage is 13.94231% with 179 lines in your changes are missing coverage. Please review.

Project coverage is 26.60%. Comparing base (fbe7ec4) to head (2d0793d).
Report is 127 commits behind head on main.

Files
Patch %
Lines

trade-finance-manager-api/src/v1/api.js
0.00%
41 Missing :warning:

...ce-manager-api/src/v1/helpers/amendment.helpers.js
0.00%
13 Missing :warning:

external-api/src/v1/controllers/acbs.controller.ts
0.00%
12 Missing :warning:

...rs/tfm/amendments/tfm-get-amendments.controller.js
0.00%
10 Missing :warning:

...xternal-api/src/v1/controllers/estore/eStoreApi.ts
0.00%
7 Missing :warning:

portal/server/routes/api-data-provider.js
0.00%
7 Missing :warning:

...1/controllers/currency-exchange-rate.controller.ts
0.00%
4 Missing :warning:

gef-ui/server/services/api.js
20.00%
4 Missing :warning:

...ger-api/src/v1/controllers/amendment.controller.js
0.00%
4 Missing :warning:

...s/portal/gef-deal/add-min-activities.controller.js
0.00%
3 Missing :warning:

... and 49 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2981      +/-   ##
==========================================
+ Coverage   22.57%   26.60%   +4.02%
==========================================
  Files        1136      911     -225
  Lines       27255    20564    -6691
  Branches     4486     2972    -1514
==========================================
- Hits         6153     5471     -682
+ Misses      18388    13595    -4793
+ Partials     2714     1498    -1216

Flag
Coverage Δ

api-test
0.50% <ø> (+0.02%)
:arrow_up:

ui-test
?

unit-test
26.91% <13.94%> (+22.27%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

authors: abhi-markan codecov-commenter


text:
[Feature Request] Support returning multiple Samples for record_to_sample_fn

I'm working on adding tasks that have different difficulties, each difficulty would provide different hints. It would be great that if the record_to_sample_fn function supports returning a list of Samples so that I don't need to duplicate the same task multiple times in the config json file where the only difference is just the hints.
I'd be happy to contribute making this change if you agree that it makes sense.

I had exactly this scenario where I wanted to add different difficulty leves through hints. I ended up writting this code snippet, but it would maybe be nice to have something builtin. There's probably a cleaner way to do this, but in case you find it useful here's what I wrote:
def _add_difficulty_levels(task: Task, difficulty_map: dict[str, dict[str, any]] | None) -> Task:
    """
    Add difficulty levels to a task.
    :param task: The task to add difficulty levels to.
    :param difficulty_map: The difficulty map.
    :return: The task with difficulty levels added.
    """
    dataset = []
    # for each sample in the dataset, create a new sample for each difficulty level
    for sample in task.dataset:
        dataset.extend(create_difficulty_dataset(sample, difficulty_map))

    task.dataset = MemoryDataset(dataset)

    return task

def add_difficulty_levels(
        tasks: list[Task] | Task,
        difficulty_map: dict[str, dict[str, any]] | None,
) -> list[Task] | Task:
    """
    Add difficulty levels to a task or list of tasks. This function will create new samples for each combination of difficulty level in the difficulty map for every sample in each task.
    :param tasks: The task or list of tasks to add difficulty levels to.
    :param difficulty_map: The difficulty map.
    :return: The task or list of tasks with difficulty levels added.
    """
    if isinstance(tasks, Task):
        return _add_difficulty_levels(tasks, difficulty_map)
    else:
        return [_add_difficulty_levels(task, difficulty_map) for task in tasks]

def generate_combinations(d: dict[str, dict[str, any]]):
    # Extract the items from each nested dictionary
    items = [
        [
            {'category': category, 'level': level, 'value': value}
            for level, value in category_levels.items()
        ]
        for category, category_levels in d.items()
    ]
    # Use product to generate all combinations
    combinations = product(*items)
    # Convert each combination to a set and put it in a list
    return combinations

def create_difficulty_dataset(sample: Sample, difficulty_map: dict[str, dict[str, any]] | None) -> MemoryDataset:
    """
    Create a dataset with a single sample and a difficulty map. The difficulty map is a dictionary where the keys are
    the difficulty category and the values are maps from difficulty levels within that category to the string to
    insert into the prompt.

    The sample's input field should be a format string with placeholders for each of the difficulty categories. For
    example, if the sample's input is "Question: ... \n\n Hint: {hint}", then the difficulty map should have a key
    "hint" with a value that is a dictionary mapping difficulty levels to strings to insert into the prompt.

    We combine every combination of difficulty levels to create a new sample for each combination. i.e. if there are
    two difficulty categories (hint and explanation) with three levels of hint difficulty and three levels of
    explanation difficulty, we will create 9 samples.

    :param sample: The sample to base the dataset on
    :param difficulty_map: The difficulty map
    :return: The dataset
    """
    # If there are no difficulty levels, return the sample as is
    if difficulty_map is None or len(difficulty_map) == 0:
        return MemoryDataset([sample])

    samples = []

    # create a new sample for each combination of difficulty levels
    for combination in generate_combinations(difficulty_map):
        substitutions = {c['category']: c['value'] for c in combination}

        metadata = sample.metadata.copy() if sample.metadata is not None else {}
        metadata.update({c['category']: c['level'] for c in combination})
        metadata['difficulty'] = {c['category']: c['level'] for c in combination}

        input = sample.input
        # first format anything that is not callable
        input = input.format(**{k: v for k, v in substitutions.items() if not callable(v)}).strip()
        # then format anything that is callable
        for key, value in substitutions.items():
            if callable(value):
                input = value(input)

        id_ = sample.id
        if id_ is not None:
            for category, level in metadata['difficulty'].items():
                id_ += f'_{category}_{level}'

        new_sample = Sample(
            id=id_,
            input=input,
            target=sample.target,
            choices=sample.choices,
            metadata=metadata,
            files=sample.files
        )
        samples.append(new_sample)

    return MemoryDataset(samples)

This is then used something like this:
sample = Sample(input="Question: ... Hints: {hint_A}\n{hint_B}", ...)

task = ...

task = add_difficulty_levels(
    task,
    difficulty_map={
        "hint_A": {
            "easy": "...",
            "medium": "...",
            "hard": ""
        },
        "hint_B": {
            "easy": "...",
            "medium": "...",
            "hard": ""
        }
    },
)

Yes, this does make a lot of sense and will definitely reduce repetition in a lot of datasets. Implemented and merged to main. here: https://github.com/UKGovernmentBEIS/inspect_ai/pull/364

authors: XkunW jjallaire kaifronsdal


text:
Add optional tool param "properties" to adhere to OpenAI spec

Prior, I was unable to have a tool param with type "array" because OpenAI spec requires items={"type": "str"} property to be set. This solution adds the option to specify any optional parameters to pass to the actual API. May also be useful for flexibility in working with different providers.
Very open for feedback on how this should be tackled.
This PR contains:

[x] New features
[ ] Changes to dev-tools e.g. CI config / github tooling
[ ] Docs
[ ] Bug fixes
[ ] Code refactor

What is the current behavior? (You can also link to an open issue here)
Cannot have a list as the type of my toolparam since it doesn't adhere to OpenAI API spec.
What is the new behavior?
By setting optional properties you can override this behaviour
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No
Other information:
This solution may not be optimal. Probably it could be nicer to have a specific property for this

Thanks! Would like get this in but need to think about how it might affect other providers that also consume the same JSON schema. Will do some additional research/experimentation then revert back.

Took a closer look at this and what I think I'd like to do is generally extend our tool use / docstring handling to support arrays (then you wouldn't need a special field here, we would just do the right thing when seeing a Python list). Will likely work on this soon and post an update here once we have one.

Sounds good, thanks for looking at this!

@aisi-inspect Is there any update on this? Should I open up an issue to be able to track this better?

This issue should cover it: https://github.com/UKGovernmentBEIS/inspect_ai/issues/97
We will introduce richer typing (arrays, objects, etc.) fairly soon.

FYI there is work in progress on this here: https://github.com/UKGovernmentBEIS/inspect_ai/tree/feature/tool-json-schema
Should be merged within the next few days.

Resolved with https://github.com/UKGovernmentBEIS/inspect_ai/pull/158

authors: aisi-inspect bjoernpl jjallaire jjallaire-aisi


text:
Can't access other models in docker image

Hi,
I'm sorry for this noobish question/issue and maybe it is easy to resolve (I'm not experienced with docker). I've built a web app which uses easyNMT in the back via the docker images and REST. When translating from romanian to german I noticed that the docker image is only using the opus model which does not provide this language direction. But when executing the "/model_name" request it shows me only "opus" as part of the docker image.
So how can I get the other models? I have 3 docker images of easynmt (one with 7.7gb, one with 6.02 and one with 3.8 gb size) but it seems none of them contains the other models. Am I doing something wrong here?
And also when they are part of the image, is there some kind of auto selection if a language is not available in one of the packages?
I installed the docker images via the "build-docker-hub.sh" file.
Best regards,
André

When you start the docker, you must set the env. variable EASYNMT_MODEL to control which model to load:
https://github.com/UKPLab/EasyNMT/tree/main/docker#environment-variables
So pass to docker that the env. variable EASYNMT_MODEL should be e.g. the M2M model and then the docker will load this specific model

Hi,
ok, so it's not possible to load multiple models in the same container, right?
Best regards,
André

No, that is not possible.
You can start multiple docker containers. The overhead is quite small compared to the model size.

Hi, ok thanks for the quick help and response!

@4quen I ran into the same issue. Instead of docker I went straight to Python and servered it all with fastapi, uvicorn and Nginx reverse proxy. I load the models in a list on startup then select the model I need depending on language pair:
all_models = [
  Model(source_lang="en", target_lang="de", model=EasyNMT(translator=models.AutoModel('Helsinki-NLP/opus-mt-en-de'),device="cpu")),
  Model(source_lang="de", target_lang="en", model=EasyNMT(translator=models.AutoModel('Helsinki-NLP/opus-mt-de-en'),device="cpu"))
]

You need enough GPU/RAM to do this but also has the bonus of giving you control over the language codes and over the Huggingface model names. For example the Portuguese opus-mt model has "tc-big" inserted in the name, or Japanese is not "jp" but "jap". Those can cause the autoloader to fail miserably!

authors: 4quen grantmk nreimers

repo: UKPLab/EasyNMT


text:
Vacuum out timing belt housing

Has not been done in a while and is full of dust and dirt.

Done today.

repo: UNH-OE/tow-tank


text:
Revisión contenido desplegable "Número de jugadores" en pantalla "Crear sala"

El prototipo de interfaz establecido, no queda claro si el número de jugadores que el usuario selecciona en el desplegable incluye a él mismo o no. Queda pendiente remarcar esta situación con algún mensaje informativo.

Solucionado. Se sobreentiende que en el número de jugadores está incluido el propio jugador que crea la sala.


text:
Update EM Submission API Post Validation Error Message

As an ECMPS user, I want to see updated API validations and additional ones added
Current Message: "You reported an invalid [monitorPlanId]."
New Message: "The reported [monitorPlanId] is invalid."
Current Message: "You reported an invalid [reportingPeriodId]."
New Message: "The reported [reportingPeriodId] is invalid."

EM Submission API Post Validation Error Message has been updated for monitorPlanId and reportingPeriodId.

repo: US-EPA-CAMD/easey-ui


text:
TASK: Set Up MDM API for error message endpoints

[x] Create an MDM API so that the end points can be displayed in error messages.

Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)

Set up basic scaffolding for MDM API to return "hello masterDataManagement"
Need to work on connecting the database with app

Created PRs:
Created MDM API Scaffolding

Created project using NEST CLI
Set up controller, service, and module to return dummy data "Hello masterDataManagement!"
Updated Readme file
Added .github folder with the workflows
Added manifest files
Added sonar-project properties file
PR in EASEY-mdm-api repo (task/748 MDM API scaffolding #1)

Added unit tests so sonar cloud would run
Created PR for unit tests :
PR in EASEY-mdm-api repo (Task/748 MDM API scaffolding #2)
Added Unit Tests


text:
Default - Limit Timeseries Measurements Endpoints to 7days

Timeseries dependency SQL

closes USACE/instrumentation#111

repo: USACE/instrumentation-api


text:
How to understand the reshape operator?

@Ugness Thanks for your work, I have some question about the Figure 2 (b) and formula 2 of the original paper, could you tell me how do you understand and implement the reshape operation in figure 2 (b)?In my understanding, according to formula (2), if the sum of attention weight after softmax is calculated, wouldn't the attention weight of each position become 1?

I hope this slide would help your understanding. Sorry for the late comment.
For the formula (2), the softmax is calculated in the actual channel C wise, but the sum of attention weight is applied in D (H x W) wise. So it does not become 1.

So the fi in formula 2 can be understood as F, right?

I hope this slide would help your understanding. Sorry for the late comment.
For the formula (2), since we made a summation of alpha x f, not the alpha only, the F_att does not become 1.

So the fi in formula 2 can be understood as F, right?

Yes, you are right.

authors: Ugness lpengc

repo: Ugness/PiCANet-Implementation


text:
[BUG] Desktop-Link zum Theme verhindert u.U. Import des Themes

Der Import des Themes funktioniert u.U. nicht, wenn man es mit Hilfe des Desktop-Links versucht zu importieren.
Stattdessen erscheinen Fehlermeldungen, "Can't create" für viele Files.
Ich vermute, dass das passiert bei Systemen, wo der Username einen Umlaut beinhaltet, wie äö oder ü.

Ich denke das ist auf jeden Fall ein REAPER-Problem, das wir nicht fixen können. Wird also zur 4.0.1 nicht behoben werden. Zwei Möglichkeiten: 1) Wenn es schon ein Issue für den neuen Installer gibt, die Issue-Nummer von dem hier (239) per Label da dran kleben und auf wontfix stellen, oder 2) als Bug an Cockos melden und warten.

Die Umlaute sind grundsätzlich nicht das Problem. Habe ich ausprobiert. Vielleicht könnte man nochmal gucken, wie die Varianz in der installierten Windows-Sprache auf den betroffenen Systemen ist, aber ich denke das ist Zeitverschendung. Die werden alle deutsch sein.

Auf jeden Fall könnte man anhand dieses Bugs drüber nachdenken, ob man nicht einen Abschnitt Known Issues in das README oder CHANGELOG aufnimmt.

authors: heikopanjas mespotine

repo: Ultraschall/ultraschall-portable


text:
How many epochs and what is the best loss that you trained your model?

Hi,
I am trying to replicate the training procedure on ChartQA, PlotQA, Chart2Text, SimChart9K as described in your paper. It's my first time training such a big model so I don't know when I should stop the training loop. Could you please kindly provide the information about the number of epochs and the best loss that you trained your model with these 4 datasets.
Thank you for your attention to this matter.

Hi @nguyenquangtan,
We have trained 50 and 5 epochs for the base decoder and auxiliary decoder respectively.

May I ask what the best losses of both models are? I saw that you use the Cross-entropy loss. As our training data is different, the information about the best losses is really helpful for us to somehow determine the upper bound, therefore, knowing when the right time to stop the training loop.

I also want to know the losses of both models. Have you guys figured it out? Thanks!
I tried to train several epochs but the result were bad :(


text:
🛑 Champaign County Environmental Stewards is down

In a6a9ec6, Champaign County Environmental Stewards (https://www.ccenvstew.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Champaign County Environmental Stewards is back up in 1fa538b after 1 hour, 29 minutes.

repo: UniSynTechnologies/Upptime


text:
Add pages caching

Add ability to cache web site pages to optimize performance and resources usage.

done in b231c15

repo: Unicorn-TAF/ui-web


text:
fix sls invoke local not works.

This plugin not works sls invoke local.
Traceback (most recent call last):
  File "/usr/local/lib/node_modules/serverless/lib/plugins/aws/invokeLocal/invoke.py", line 72, in <module>
    module = import_module(args.handler_path.replace('/', '.'))
  File "/Users/hiroshi.toyama/.pyenv/versions/3.6.6/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "./ec2.py", line 1, in <module>
    import unzip_requirements
  File "./unzip_requirements.py", line 20, in <module>
    zipfile.ZipFile(zip_requirements, 'r').extractall(tempdir)
  File "/Users/hiroshi.toyama/.pyenv/versions/3.6.6/lib/python3.6/zipfile.py", line 1090, in __init__
    self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: '/var/task/.requirements.zip'

Because LAMBDA_TASK_ROOT set serverless main code, os.getcwd() not work.
https://github.com/serverless/serverless/blob/master/lib/plugins/aws/invokeLocal/index.js#L102

or do you have to run sls package before calling sls invoke local?

of course do it.
before sls requirements install checked too.


text:
Package Manager version

Hi,
Will this be made available through the Unity 2018.1 package manager? If not, this would be really useful to help reduce code within repositories and make it more accessible/easier to update.
-Matt

Hey Matt,
I suggested something similar in my issue https://github.com/Unity-Technologies/NavMeshComponents/issues/60
If the Assets/NavMeshComponents directory was in it's own repository we could include it as a Git submodule in our projects.

This is less git submodules for us, but the upcoming package manager which acts like NuGet for Unity. Means the code isn’t even included in our own distributable binaries.

Is there a package id to try this with packman?

Answer please?

NavMeshComponents will be definitely turned into a package but not in the next few months.

@turadr Just wondering the status on this request, is it due to lack of resource? Anything users can do to help?
(Even releasing this as a preview package, or uploading .package in the release tab, is better than no package.)

We've previously postponed transitioning NavMeshComponents into a package due to limitations in the publishing workflow. Recently that process has been simplified and we're evaluating again if it's ready to allow for easy package maintenance. I don't have other news about it yet.
I think users cannot help at this stage because the workflow is internal as far as I know.

WOW! 1 year since this issue opened up, and still no package, even better, not much development except compatibility with newer versions of Unity.
Here is a suggestion : since there's not much development going on, why don't you scrap the whole package idea and integrate the Components directly into the Editor?

Agreed, NavMeshComponents should be managed via Package Manager or included directly in UnityEngine binary. Why this library is only separated from Packages? Is there any technical issue?

Would be realy nice.

Please?

Looking at the components code there are Assembly Definitions which have been created for the project (https://github.com/Unity-Technologies/NavMeshComponents/tree/master/Assets/NavMeshComponents/Scripts). I just don't see how this can take a year... very disappointing and slow.

Unity 2019.x allows custom packages AFAIK, someone could take a step to fork and package this :)

Hey all,
We took the liberty of forking it and taking their work which they have done on the build/package branch to make our own fork. As some of you may know, the Unity 2019.3 Alpha allows you to insert packages via their Git URL. So we decided to fork and package the Unity NavMesh Components. If you want to add the components in 2019.3 Alpha, click on the + symbol on the top left of the package manager and then select "Add package from git URL...". Paste in https://github.com/DarkWindowStudios/NavMeshComponents.git and the package will be added, showing up under "Unity Navmesh components". If anyone has any issues with the package directly, create an issue there, otherwise please make issues on the official Unity repo and refrain from making them on ours.
Cheers,
-Matt

Any new features being developed here?

@turadr really wish to see this happen!

@turadr really wish to see this happen!

It is being worked on. https://github.com/Unity-Technologies/NavMeshComponents/issues/172#issuecomment-741714518

It is now an experimental package for Unity 2019.4 or newer. https://github.com/Unity-Technologies/NavMeshComponents/issues/172#issuecomment-808105998

authors: Arugin KichangKim ShivamMukherjee Sonorpearl Stormy102 bitinn mdawsonuk purple-movies turadr xCyborg

repo: Unity-Technologies/NavMeshComponents


text:
Adding USD runtime export for Android and iOS

Ticket #178 was closed - either erroneously or at the very least without any explanation.
I'm sure I'm not the only person holding off on USD until I know if it's feasible outside of desktop-only environments. Please can #178 either be reopened or at least updated with a clear reason for why the ticket was closed and whether Unity ever plans to support USD on Android or iOS?

Bump.
Would like to know the status of this as well.

authors: andybak lruminski

repo: Unity-Technologies/usd-unity-sdk


text:
Switch to JaCoCo for coverage

Closes #53

Coverage decreased (-0.2%) to 95.073% when pulling d3cf1b02bf7394f5397d1e67a80cd5caa4291836 on jacoco into a3e8dc09013e9caf9478537fe2207124312aa09a on master.

authors: coveralls ivarconr

repo: Unleash/unleash-client-java


text:
BREAKING CHANGE: remove built-in support for react native async storage

[Breaking Change] v2
Removing built-in support for react-native (will become optional as custom storageProvider provided by developer itself)

if will remove a lot of installed dependencies (for react-native it's huge...)
it will reduce amount of packages that needs to be maintained (dependabot, renovate...)
it's a suggestion to create own client for react-native if more custom things are needed
instead of react-native-async-storage which fallbacks to window.localStorage I just used window.localStorage

Kind regards
Dziczek!

(rebasing ☝)

@ivarconr ping 😅

repo: Unleash/unleash-proxy-client-js


text:
fix: Add config for CORS header

today we have a default for CORS. It could be good if the customers was allowed to configure their custom CORS header when needed.

Hi, how's this issue going? our app use unleash proxy and meet CORS error, so I think we need this

We should add a few options to control the essential parts, like providing a list of origins and maxAge
https://expressjs.com/en/resources/middleware/cors.html
Any takers?

authors: ivarconr lewisloofis

repo: Unleash/unleash-proxy


text:
아두이노 제어 프로세스 구성 관련 문제

cdb0915와 협의한 뒤로 아두이노 제어 프로세스를 원래 C++로 작성하려다 Python으로 작성하기로 결정한 사안에 대해서 이야기하도록 하겠습니다.
아직 커밋하지 않은 소스 파일이 남아있지만 어제 긴 협의를 거쳤으므로 Python으로 같이 페어 프로그래밍하는 것이 어려운 작업이 아닐 것으로 예상합니다. 최대한 실전 테스트를 거치는 내일까지 완료해주시기 바랍니다.

현배 하드웨어 구성은 거의 다 끝났으나 lcd패널 제어와 프로그래밍이 많이 진행 되지 않은 상태입니다. 빠른 시일 내에 완료하도록 하겠습니다.

authors: Unperknown asphalt-alpha

repo: Unperknown/AINOMOK


text:
Add rollouts

First version of a rollout feature. UI does not yet allow creating/editing rollouts - it just displays those captured directly inside the database. Will enhance this once the feature is conceptually ok.
What it does

Introduces concept of feeds and flavours to segregate different rollout streams
For devices with firmware "none" the most recent matching rollout is looked up. If it is not paused, then the referenced firmware gets installed

Limitations

No reliable approach to match firmware update success/failure events to the originating rollout/firmware version
No abort mechanism implemented yet - key feature of rollout to stop as soon as "too many" issues got detected.

Hmm, getting an error when I try and run this locally:
Traceback (most recent call last):
  File "/home/user/goosebit/main.py", line 3, in <module>
    from goosebit import app
  File "/home/user/goosebit/goosebit/__init__.py", line 9, in <module>
    from goosebit import api, db, realtime, ui, updater
  File "/home/user/goosebit/goosebit/api/__init__.py", line 1, in <module>
    from .routes import router
  File "/home/user/goosebit/goosebit/api/routes.py", line 3, in <module>
    from goosebit.api import devices, download, firmware, rollouts
ImportError: cannot import name 'rollouts' from partially initialized module 'goosebit.api' (most likely due to a circular import)

Strange. Just made a clean checkout, and ran the following commands (on macOS)

poetry install
poetry run python3 main.py

I could check on a Linux machine later today if I can reproduce the issue.

Should work now. Forgot to commit one of the files.

authors: jameshilliard tsagadar

repo: UpstreamDataInc/goosebit


text:
complex Json with data

I am trying to plug the following code into cells using VBA. I can get the data from the "data" section but I also need to include data from the "included" Section, more specifically the "product_name".
VBA Code:
Dim JSON As Object
Dim i As Integer
Set JSON = JsonConverter.ParseJson(xmlhttp.responseText)
i = 2
Dim data As Variant
Dim object As Collection
ReDim data(JSON("data").Count, 5)
For Each value In JSON("data")
Sheets(1).Cells(i, 1).value = value("id")
Sheets(1).Cells(i, 2).value = value("attributes")("customer_first_name")
Sheets(1).Cells(i, 3).value = value("attributes")("customer_last_name")
Sheets(1).Cells(i, 4).value = value("attributes")("customer_email")
Sheets(1).Cells(i, 5).value = value("items[3].product_name")
Sheets(1).Cells(i, 6).value = value("attributes")("shipping_address_1")
Sheets(1).Cells(i, 7).value = value("attributes")("shipping_address_2")
Sheets(1).Cells(i, 8).value = value("attributes")("shipping_city")
Sheets(1).Cells(i, 9).value = value("attributes")("shipping_state")
Sheets(1).Cells(i, 10).value = value("attributes")("shipping_zip")
Sheets(1).Cells(i, 11).value = value("attributes")("shipping_latitude")
Sheets(1).Cells(i, 12).value = value("attributes")("shipping_longitude")
Sheets(1).Cells(i, 13).value = value("attributes")("created_at")
'Sheets(1).Cells(i, 14).value = value("included")(3)("attributes")("price")
Sheets(1).Cells(i, 15).value = value("attributes")("item_count")
Sheets(1).Cells(i, 16).value = value("attributes")("total")
i = i + 1
Next value
For Each value In JSON("included")
ReDim included(JSON("included").Count, 3)
Sheets(1).Cells(i, 5).value = value("attributes")("product_name")
Sheets(1).Cells(i, 14).value = value("attributes")("price")
Next value
MsgBox ("complete")
End Sub
JSON code
{
"data": [
{
"id": "LMFN-543196",
"type": "orders",
"attributes": {
"item_count": 1,
"item_total": "100.1",
"discount_total": "10.0",
"shipping_total": "10.0",
"tax_total": "0.0",
"total": "100.1",
"customer_first_name": "Joe",
"customer_last_name": "Somebody",
"customer_email": "joe@somebody.com",
"customer_opted_in_to_marketing": false,
"customer_note": "Created by Joe",
"shipping_address_1": "123 some street",
"shipping_address_2": "#123",
"shipping_city": "Somewhere",
"shipping_state": "UT",
"shipping_zip": "64801",
"shipping_latitude": null,
"shipping_longitude": null,
"shipping_status": "unshipped",
"payment_status": "completed",
"created_at": "2014-12-25T00:00:00.000Z",
"updated_at": "2014-12-25T00:00:00.000Z",
"completed_at": "2014-12-25T00:00:00.000Z"
},
"links": {
"self": "https://api.bigcartel.com/v1/accounts/1/orders/LMFN-543196"
},
"relationships": {
"currency": {
"data": {
"type": "currencies",
"id": "USD"
}
},
"shipping_country": {
"data": {
"type": "countries",
"id": "US"
}
},
"events": {
"data": [
{
"type": "order_events",
"id": "1"
}
]
},
"items": {
"data": [
{
"type": "order_line_items",
"id": "2"
}
]
},
"transactions": {
"data": [
{
"type": "order_transactions/payments",
"id": "3"
}
]
},
"adjustments": {
"data": [
{
"type": "order_adjustments/shipping",
"id": "4"
},
{
"type": "order_adjustments/tax",
"id": "5"
},
{
"type": "order_adjustments/discount",
"id": "6"
}
]
}
}
}
],
"meta": {
"count": 25
},
"included": [
{
"id": "USD",
"type": "currencies",
"attributes": {
"name": "U.S. Dollar",
"sign": "$",
"locale": "en-US"
}
},
{
"id": "US",
"type": "countries",
"attributes": {
"name": "United States"
}
},
{
"id": "1",
"type": "order_events",
"attributes": {
"created_at": "2014-12-25T00:00:00.000Z",
"message": "Payment completed"
}
},
{
"id": "2",
"type": "order_line_items",
"attributes": {
"product_name": "This product",
"product_option_name": "This option",
"quantity": 1,
"price": "100.0",
"total": "100.0",
"image_url": "https://images.bigcartel.com/some_resource/12345/-/example.jpg"
},
"relationships": {
"product": {
"data": {
"type": "product",
"id": "7"
}
},
"product_option": {
"data": {
"type": "product_option",
"id": "8"
}
}
}
},
{
"id": "3",
"type": "order_transactions/payments",
"attributes": {
"label": "Visa ending in 1234",
"amount": "100.0",
"processor": "stripe",
"processor_id": "ex_123456789",
"processor_url": "https://manage.stripe.com/test/payments/ex_123456789"
},
"data": {
"currency": {
"data": {
"type": "currencies",
"id": "USD"
}
}
}
},
{
"id": "4",
"type": "order_adjustments/shipping",
"attributes": {
"amount": "10.0",
"label": "Shipping charges"
}
},
{
"id": "5",
"type": "order_adjustments/tax",
"attributes": {
"amount": "0.1"
}
},
{
"id": "6",
"type": "order_adjustments/discount",
"attributes": {
"amount": "10.0",
"label": "[FREESHIPPING] Free shipping discount"
}
}
],
"links": {
"next": "https://api.bigcartel.com/v1/accounts/1/orders?page[limit]=10&page[offset]=10",
"last": "https://api.bigcartel.com/v1/accounts/1/orders?page[limit]=10&page[offset]=10"
}
}

I don't quite understand the reason for the ReDim in the original example (on the project page). Here is how I made it work :

I also found this site to be a great help into parsing and viewing the data :
https://jsonformatter.curiousconcept.com/
Alex

repo: VBA-tools/VBA-JSON


text:
Invalidate visualization thumbnails if the dataset has been updated

This is potentially a can of back end worms, but I overheard on a clinepi call that a selling point/use case is that users/providers can build visualizations on their dataset, and then when new tranches of data are added, all they have to do is revisit their saved analysis and see the newly updated visualizations.
Do we want the thumbnails to grey out like when subsets are changed?
Presumably some kind of dataset version attribute would need to be implemented.

We would need a way to know when study data has been updated, and to track that in the analysis object somehow.

authors: bobular dmfalke

repo: VEuPathDB/web-monorepo


text:
implement dane's changes to rebar to make it faster

Things Done:

this is how Dane made rebar 'faster'. I wanna have start tracking these kinds of changes in our own forked rebar3. Take a look.

How To Test

build this rebar3 using ./bootstrap
anything the old Dane-flavored script can do, this one can do (and hopefully better considering this is based on a newer version of rebar)

Next Steps

throw this built version of rebar in vhx source in the vhx_scripts directory

Just curious, what is the functionality that was removed?  And would it be better to put this version of rebar in the base of the project instead or is this just used if all of the dependencies have already been pulled down?

@rherro this seems to be the request that was taken out
httpc:request(get, {Url, [{"User-Agent", rebar_utils:user_agent()}]},
                                           [], [{stream, TmpFile}, {sync, true}],
                                           rebar)

Then, later down...
{ok, Data} = file:read_file(TmpFile),
Unzipped = zlib:gunzip(Data),
ok = file:write_file(HexFile, Unzipped),

What exactly it does I don't know, @dbills can enlighten us! I'm pretty sure it just stops up from rewriting a registry over and over when there is no need to.
I'm gonna do some testing with this rebar3 whenever I get my Vagrant machine in a decent state, but if I remember correctly, this does not work if the dependencies haven't been pulled down first.

Cool, thanks for the info @ssawan623!  😄

@rherro after some testing, this rebar3 cannot be run unless the 'normal' rebar3 is run first.


text:
Легально ли использовать includes без полифила?

https://github.com/VKCOM/vk-connect/blob/2cf4f3283acef956b3d8ff8b2d2a2bef9ccdbfc5/src/index.ts#L221
В этой строке используется метод Array.includes, судя по всему он остается в таком же виде в js-коде. Из-за чего получаем ошибку на старых андроидах.

Резонно, спасибо

authors: danakt stels-cs

repo: VKCOM/vk-connect