fix Metrics docs

Made the examples match the README

Codecov Report

Merging #12 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #12   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          14     14
=====================================
  Hits           14     14

Impacted Files
Coverage Δ

lib/opencensus/plug/metrics.ex
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


isSecure method to correspond with makeSecure() ?

Is there some way to check if the object was created ... like an isSecure() call that returns boolean?

No, there doesn't seem to be a way to check it currently. The user should be easily able to keep track whether or not she has called makeSecure() though, so I'm marking this wontfix for now. Reopen if you have some use case /  argument to the contrary.


Custom Apache Clients ignores cookie management

Describe the bug
Having a custom configured Apache Client, it is not possible to disable cookie management.
To Reproduce
static {
    HttpClient baseClient =
            HttpClients.custom()
                    .setConnectionManager(new BasicHttpClientConnectionManager())
                    .build();

    Unirest.config()
            .enableCookieManagement(false)
            .httpClient(ApacheClient.builder(baseClient));
}

public static void main(String[] args) {
    System.out.println("Set-Cookie = " + getSetCookieHeader());

    // Second invocation throws exception as a Cookie is sent in the request
    // and therefore no Set-Cookie is returned.
    System.out.println("Set-Cookie = " + getSetCookieHeader());
}

private static String getSetCookieHeader() {
    return Unirest.get("https://www.google.com")
            .asString()
            .getHeaders().get("Set-Cookie")
            .stream()
            .findAny()
            .orElseThrow(() -> new RuntimeException("Set-Cookie not found"));
}

Expected behavior
As enableCookieManagement is disabled, I would expect that Unirest does not store the cookie and does not sent it in the second request.
Environmental Data:

Java Version 11
Unirest Version 3.13.0

Unirest doest store cookies, Apache does. and by setting your own client it ignores the Unirest settings. There is no opportunity to build a client with cookie management off because you just did it.
If you want it off AND to use a custom client you need to call .disableCookieManagement()
The only thing Unirest COULD do in this situation would be to throw an exception when it's in this state.

Ok - understand and I can confirm, that setting .disableCookieManagement() on the client works.
I was confused, because I thought, that Unirest.config().enableCookieManagement(false) would be configured on the Apache client in any case - no matter if it is a Unirest configured or a manual configured client.


Add Test Cases to Target Importing Cancelled Events

Summary
Adds test cases to protect against regressions in regards to how the application handles importing cancelled Meetup and Eventbrite events.

Yup, I'm not too familiar with writing the tests, but these sort of things will help bring me up to speed.
I defer to Bogan's approval and will explore the tests more as we move forward.
Thanks.
Merging


Issues connecting to MQTT broker using W5500 chip

Hi there,
I am facing connection issues with the MQTT broker, while trying to connect using an Ethernet Shield2 (W5500).
I am not sure if the library has full support for the W5500 chip, exact code seems to work fine for the w5100 one. Do you guys have any suggestions?
I am using the following Ethernet library:
Ethernet2
// AA: Program Entry point
void setup() {
	Serial.begin(9600);
	while (!Serial) { ; }

	// AA: Init Pins
	pinMode(RELAY_PIN, OUTPUT);
	pinMode(SD_PIN, OUTPUT);
	controlSD(false);

	// AA: Init Web Server
	delay(1000);
	Ethernet.begin(_Mac);
	_Server.begin();
	delay(1000);
	Serial.print("server is at ");
	Serial.println(Ethernet.localIP());
	delay(2000);

	// AA: Init Mqtt
	//if (_IsMqEnabled == 1) {
		_SrvClient = _Server.available();
		_MqClient.setServer("test.mosquitto.org", 1833);
		_MqClient.setCallback(callback);

		if (_MqClient.connect("ApoelAlex001")) {
			Serial.println("connection succeeded");
			_MqClient.subscribe(_MqTopic, 2);
		}
		else {
			Serial.println("connection failed");
			Serial.print("failed, rc=");
			Serial.print(_MqClient.state());
		}
	//}
}

same here, arduino mega/nano with w5500. sometimes the connectiin fails with rc=-2.
any idea?


Default callback for indirect calls

Currently, we have callbacks for direct function calls known as fun_specs https://github.com/draperlaboratory/cbat_tools/blob/d219cbed6609329ce5e76831e7c7103e56e5f602/wp/lib/bap_wp/src/environment.ml#L64
which takes in an env, postcondition, and tid of the target.
We should add a spec for indirect calls to the environment as well. Indirect calls do not have a tid for the target, but rather have an exp. Right now, we only need a default indirect function spec modeled similarly to the direct spec_default.
https://github.com/draperlaboratory/cbat_tools/blob/d219cbed6609329ce5e76831e7c7103e56e5f602/wp/lib/bap_wp/src/precondition.ml#L620
At a function call site, WP looks up the function spec handler inside of lookup_sub
https://github.com/draperlaboratory/cbat_tools/blob/d219cbed6609329ce5e76831e7c7103e56e5f602/wp/lib/bap_wp/src/precondition.ml#L89
where it queries the environment for the fun_spec to be used. And calls it to determine the precondition. We should look up our indirect function specs here.

Closed with #219.


[Material 3] App bar doesn't change color while scrolling when TabBarView is used.

Normally App bar changes its color when scrolling the body of the scaffold unless TabBarView is used, in which case it doesn't do anything.

Hi @michalkubizna,
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you


Call of Duty: Modern Warfare Remastered crash on campaign mission "Aftermath"

I try to play Call of Duty: Modern Warfare Remastered on Steam, using GE-Proton7-26. As per the ProtonDB listing, my run command is DXVK_ASYNC=1 %command%. Altho testing revealed that removing the DXVK_ASYNC flag does not solve the issue.
So the game runs fine for the most part. However, the game instantly crashes (= black screen, when DXVK hud is enabled it freezes) when loading the campaign mission "Aftermath". If I load the previous mission, and play "into" the buggy mission, I sometimes get into gameplay. But after taking some steps, the game crashes all the same.

Software information

Call of Duty: Modern Warfare Remastered via Steam
GE-Proton7-26

System information

OS: Arch Linux
GPU: NVIDIA GeForce RTX 3090
Driver: 515.57.0
Wine version: bleeding edge
DXVK version: v1.10.2-async

Apitrace file(s)
Couldn't get it to create one... will come back to this if required.
Log files

d3d11.log: https://pastebin.com/tASdR4w3
dxgi.log: https://pastebin.com/MwJ1LBHQ

The gist of it is this, occuring right as the game crashes:
err:   DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err:   DxvkDevice: waitForIdle: Operation failed

Also, per VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation PROTON_LOG=1 I was gather some additional error, which is thrown twice in between the VK_ERROR_DEVICE_LOST errors:
VUID-vkResetDescriptorPool-descriptorPool-00313(ERROR / SPEC): msgNum: -1611285309 - Validation Error: [ VUID-vkResetDescriptorPool-descriptorPool-00313 ] Object 0: handle = 0x14c4440000002637, type = VK_OBJECT_TYPE_DESCRIPTOR_POOL; | MessageID = 0x9ff5bcc3 | It is invalid to call vkResetDescriptorPool() with descriptor sets in use by a command buffer. The Vulkan spec states: All uses of descriptorPool (via any allocated descriptor sets) must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkResetDescriptorPool-descriptorPool-00313)
    Objects: 1
        [0] 0x14c4440000002637, type: 22, name: NULL

Damn.
Well, I am building a proton build with dxvk master right now. I will come back with results, but I don't have high hopes. I do recall that some GE build I previously tested was based on dxvk master. No harm in checking tho.
As for debugging - I think I have an AMD R9 390X laying around here..... somewhere. I might whip up a system for debugging some time, but this will definitely take a while (don't have a spare motherboard at hand).
One note - I did try out Wine3D for comparison, and the mission did at least load right away (as right away as 30min load time are without async). But performance was < 1 FPS, so I didn't bother checking further if if crashes down the line.

No dice.
GE7-26 adjusted to dxvk master:
Did not build, I think some patch applied wrongly... Not sure its even dxvk related. I will just wait for GE to cut a new release with dxvk patches rebased to master.
Proton Experimental adjusted to dxvk master:
Did build, but the same black screen while trying to load the mission in question. When trying to load the previous mission, game + Linux DE crashed after loading for about 30minutes (Long load time is expected without async support)

Uh, guys... you might check #3227 and #3073 since it's the same damn problem and any apitrace seems useless?
On Modern Warfare 1 Remastered the problem is gone after a year of DXVK commits and it's replaced by a super-cool terrain-disappearing bug, fixed by enabling pre-calculated spot-shadows and sun-shadows, which are taxing as hell thanks for the super-optimization used for this crappy games.

This is a GPU hang, which we can't really debug especially if there are no validation errors and if it works on more debuggable drivers (read: RADV). The error you posted is caused by the crash, rather than the cause of the crash.
You can try if it works with the current master branch.

How could I obtain the cause of the crash?
Keep in mind that in the first Modern Warfare now the crash is replaced by that bug that you can see in 3073 and now the crash is in 3227, more recent game but eventually same engine/stuff... without DXVK you can observe the same behaviour, either it crashes or there are those glitches with disappearing stuff.

This game is really great and plays very well. I bought this game at a good price on this site. I recommend it to anyone looking for a good price.

No there is no fix out.

I'm unable to load the level at all, and am unable to move past this one. Anything you recommend I can try?

If it's related to the blackout issue try to turn either CACHE SUN SHADOW MAPS on  or shadows off.
If that doesn't work then i don't you and you'll probably have to play without dxvk.

Oh hey that worked! Thanks for the suggestion @Blisto91. Much appreciated! I can finally move past that level now.
For others finding this - I turned off shadows completely and was able to load the level without any issues

@kernle32dll @rakshith-ravi Are you able to give this a retry with dxvk master?

@Blisto91 Sure, I will test

Can confirm issue is gone. Made a custom ProtonGE build with f813549ced659358a018d657cab43e50f00ca2ab, and it works beautifully.


Feature Request: Drag tabs to change order

A nice-to-have: the ability to drag tabs within the UI to re-order them. A use case might be that I have multiple wallets open working with several transaction details tabs, and I want to mentally group transactions with their corresponding wallet by creating a visual clue, such as:
[wallet a] [wallet a tx 1] [wallet a tx 2] [wallet b] [wallet b tx 1] [wallet c]
Right now it seems all tx tabs just get appended to the end of the tab list, which would be ok if I could drag them into the position I want.

Draggable tabs is a feature I would like to add, but there are issues in the underlying UI framework I'm not comfortable with. Specifically, enabling dragging can cause the selected tab to jump to the right when clicking on it, a behaviour I find sufficiently disconcerting that I have disabled draggable tabs. I need to report this upstream so it can hopefully be improved. Example below:

Asked on the openjfx mailing list about this problem, unfortunately without response: https://mail.openjdk.org/pipermail/openjfx-dev/2022-August/035582.html
Although it's not draggable tabs as such, bacbdb84 adds support for reordering tabs via the tab context menu.

The context menu indeed is helpful dragging would still be very welcome.
The context menu here does not open randomly. I right-click on a tab many times and on another one many times and only when trying the third tab it works and then it works for others, too and I think when switching tabs this not working context menu re-emerges.

@Giszmo it seems like the context menu problem you mention is a separate issue?

@craigraw the context menu issue is a glitch and glitches in wallet software always make me nervous but yes, it's only remotely related to this issue here. Sorry I'm not setup to document the glitch well in its own issue.


map component using google-maps-react

Issue Number:
81
Issue Description:
Feature request: create a Preact component that shows a Map
Summary of solution:

Created a GoogleMap component (I named it 'GoogleMap' because I didn't want confusion with Javascript 'Map' class)
Used the google-maps-react dependency as a placeholder solution since I wasn't able to call our own api yet.
Commented out HOST and PORT on config/dev.config.js because I was getting errors when trying to access the config for my GOOGLE_API_KEY. I'm guessing these will have to be uncommented. I'm not sure what the problem was.

Can this issue be closed?
No - we need to use our own api instead. This is just to get us started.
Should any new issues be added as a result of this solution?
Not yet.
Have you named your branch in a descriptive way? Remember to name your branch in a unique and descriptive manner in order to properly reflect the issue or feature.
Yes
Thanks for contributing!

class MapContainer extends Component {
    constructor(props) {
        super(props);
        this.state = {
            showingInfoWindow: false,
            activeMarker: {},
            selectedPlace: {},
            lat: null,
            lng: null,
        }
        this.onMarkerClick = this.onMarkerClick.bind(this);
        this.onMapClicked = this.onMapClicked.bind(this);
        this.geolocatonSuccess = this.geolocatonSuccess.bind(this);
        navigator.geolocation.getCurrentPosition(this.geolocatonSuccess);
    }

    geolocatonSuccess(position) {
        this.setState({
            lat: position.coords.latitude,
            lng: position.coords.longitude,
        });
    }

    onMarkerClick = (props, marker, e) => {
        this.setState({
            selectedPlace: props,
            activeMarker: marker,
            showingInfoWindow: true
        });
    };

    onMapClicked = (props) => {
        if (this.state.showingInfoWindow) {
            this.setState({
                showingInfoWindow: false,
                activeMarker: null
            })
        }
    };

    render() {
        return (
            <Map
                google={this.props.google}
                onClick={this.onMapClicked}
                zoom={13}
                center={{
                    lat: this.state.lat,
                    lng: this.state.lng,
                }}
            >
                <Marker
                    onClick={this.onMarkerClick}
                    name={'PWA Paris'}
                    position={{lat: this.state.lat, lng: this.state.lng}}
                />

                <InfoWindow
                    marker={this.state.activeMarker}
                    visible={this.state.showingInfoWindow}
                >
                    <h1>
                        {this.state.selectedPlace.name}
                    </h1>
                </InfoWindow>
            </Map>
        )
    };
}

Thanks @tophergates and @jkwening for jumping in on this really helps out!

Please ignore that last commit(70662c0) - I was on the wrong branch when I did it - I'll fix it shortly.

Never mind my last comment - it appears to have committed correctly. I didn't do anything with Stripe as I would need to take some time to figure out how that could be used but that seems like a good suggestion if we ever need to go that route.

I was just referring to stripe as to example methodology  they do credit card processing, but have very well written documentation and so can be an example to good practices which can be mutated to other usage scenarios.


Users can change their role or permissions in Local Storage

Problem
Using a simple example:
import { usePermify } from '@permify/react-role';

const { setUser } = usePermify();

const login = async (e) => {
    const response = await login(email, password);

    setUser({
       id: "1",
       roles: ["admin"],
       permissions: ["CREATE", "UPDATE", "DELETE"]
    })

};

Once the user is logged in the following is stored in local storage:

As seen above i changed roles from admin to CHANGED and the user can reload the page and see the private component without restriction.

Problem
Using a simple example:
import { usePermify } from '@permify/react-role';

const { setUser } = usePermify();

const login = async (e) => {
    const response = await login(email, password);

    setUser({
       id: "1",
       roles: ["admin"],
       permissions: ["CREATE", "UPDATE", "DELETE"]
    })

};

Once the user is logged in the following is stored in local storage:

As seen above i changed roles from admin to CHANGED and the user can reload the page and see the private component without restriction.

In my opinion, I think that's expected since any roles/permission set on the client side are just merely to control visualization/rendering of components or even handling specific redirects based on those same constraints. But the feature itself, like listing/deleting a group of resources or executing any other role/permission-based action, for example, should be enforced on the back-end side, not on the client side.

In my opinion, I think that's expected since any roles/permission set on the client side are just merely to control visualization/rendering of components or even handling specific redirects based on those same constraints. But the feature itself, like listing/deleting a group of resources or executing any other role/permission-based action, for example, should be enforced on the back-end side, not on the client side.

@fabioferreira3's comment explains the situation clearly, this library purely used for feature flagging on client side and nothing more actually. So I'm closing this issue.


Support @validateOn="blur/change"

This is a draft PR to just start a discussion, will close it afterwards as it is not ready for review yet...
Let's say we have @validateOn="blur". Now on an input (or other field control) the user causes the blur/focusout events to trigger. The action that must follow is that we validate, all fields or just this one, but most importantly we only show the field's errors that triggered the event, not any other.
So the question is this: how do we know, which field caused the event? There are several ways to do this, all with their pro and cons:

we can let the event bubble up to <form> (so our main <HeadlessForm> component), inspect the event target's name attribute (which is what we passed as form.field @name="...") and use that to look-up the field. This. is what this PR currently does, and it works so far. However it requires the event to be triggered from a real native form control, and it needs to have name properly set up. That's the case here, but this might not work everywhere, e.g. might not work for rich custom controls like a <PowerSelect>, or combined controls like a date picker that (internally) is split up into 3 <select> with name="date_{day,month,year}", so the name won't match what the field's name is (just date in this example). I think it would be possible to provide a yielded action like triggerValidationFor(name), but this requires actively wiring this up for the user.
we could only do the latter, i.e. provide a triggerValidationFor(name) and all controls need to wire this up explicitly, so our own here (field.input, field.checkbox etc.) same as any custom ones., and not rely on any name matching logic at all
or we could make our form.field component create a wrapper div, and attach the event listeners to that. Currently it does not render any markup (truly headless), so when the event bubbles up from the <input> it would immediately reach the <form>, at which point we wouldn't know which field this belongs to (unless we do 1.). But with a wrapping div (which would have ...attributes, so users could use it for their own styling etc.) we would be able to catch the event within the boundaries of the field, so we know which field this event belongs to, and show validation only for this field. This has the downside of an additional wrapping div, that does not have any other good reason to exist like a11y or so, so not really headless in a pure way. But the upside is that this would work out of the box, both for our own controls, but also any custom ones, as long as they are able to trigger focusout/change events properly.

Any thoughts?

I think allowing bubbling is one of our requirements, because users may want to do this approach to get easy / no-fuss two-way binding™

For number 3 above -   I could be misunderstanding this, but thought I'd ask.  One concern I'd have here is if the markup is:
<div ...attributes>
  <input />
</div>

rather than
<div>
  <input ...attributes />
</div>

It's my understanding that you have no way to access the input component directly to add modifiers or attributes without exposing component arguments, right?  So if I wanted to do <input type="number", there'd have to be a component argument to pass that into the input element directly, right?
<div ...attributes>
  <input type={{@type}} />
</div>

As a user, I'd much rather have access directly to the input element with the attributes spread so that I can provide attributes and modifiers that just work.
<SimonsInput type="number" {{on "focus" this.someAction}} />

So I think for me, I'm leaning more towards option 1 knowing that, but also am curious what @NullVoxPopuli and @nicolechung think.

I, and our current users, also want direct access to the control elements 🙃

It's my understanding that you have no way to access the input component directly to add modifiers or attributes

No, that's not correct. Nothing in that regard would change with 3. here! See this example adding (imaginary) classes to all elements:
<HeadlessForm as |form|>
  <form.field @name="date" class="add-padding-to-wrapper" as |field|>  <-- this would now be a div that captures the event, and *knows* what @name it belongs to!
    <field.label class="align-right">Date:</field.label>
    <field.input class="border-gray"/>
    <field.errors class="text-red" />
  </form
</HeadlessForm>

In other words, there would still be no implicit element, that don't have any ...attributes you can use to add whatever you want!

Btw, I think in most cases you will want a wrapping div around the label and input anyway, like a flex container for positioning the children horizontally. So you could use that to do something like <form.field class="flex" @name="foo">....
In our case, when we use <Field> (was that the name of the new reusable component? also didn't check the actual API, just a example here) as in
<HeadlessForm as |form|>
  <form.field @name="date" as |field|>  <-- this would now be a div that captures the event, and *knows* what @name it belongs to!
    <Field>
      <:label>
        <field.label class="align-right">Date:</field.label>
      </:label>
      <:input>
        <field.input class="border-gray"/>
      </:input>
      <:hint>
        <field.errors class="text-red" />
      </:hint>
    </Field>
  </form.field>
</HeadlessForm>

we would probably end up with one additional wrapper div here. But that's also not the end of the world!? 🤷♂

having a built-in opportunity for controlling layout (form.field) is a good call out.
I think you sold me 🎉
option 3 ✨

Thanks for the great write up! Yeah if that's not an issue at all then I think I'm good with option 3 as well! As you mention, we will want the label and input in a wrapping element anyway.

If we all have Friday brain on Friday, we should all take the day off, right? 🙃

Had to re-read all of this a few times, but option #3 sounds good to me now.

Btw, I think in most cases you will want a wrapping div around the label and input anyway, like a flex container for positioning the children horizontally. So you could use that to do something like <form.field class="flex" @name="foo">....

This is good to know! Because sometimes we might want the label on the left or right (not just above)

For 3., event.target.name would not matter, and everything would "just work"(TM)

I can't quite visualize how this would work until I see it in a demo or test / maybe I'm not following that whole thread here (quite likely, Friday brain for me too)

I can't quite visualize how this would work until I see it in a demo or test / maybe I'm not following that whole thread here (quite likely, Friday brain for me too)

I can certainly provide a working example, like I could amend this PR to switch to 3., shouldn't be much work. But the outline of the implementation is what I wrote in https://github.com/CrowdStrike/ember-headless-form/pull/24#discussion_r1089348895. See the first snippet there: when you have a div, the field can put on {{on "focusout"}} on it. Though it is not the form control that actually triggers the event, it will bubble up and the event listener attached to the div will see the event. And this event listener knows the name of the field, as @name is in scope for the form.field template.

I imagine this may be something that a custom-control author would want to opt in to.

Oh, that's an interesting approach as well! 🤔  Option 4. I guess 😅

would there be a way to not add those event bindings if no validator is passed? (conditionally apply the on modifier?)

Probably yes. Should be the case when you explicitly pass @validate functions. Not sure how exactly #10 will turn out, but maybe that will be difficult to support (conditional event handlers w/ native validation), as you apply things as plain HTML attributes like required, so we don't really know what is in use (unless we inspect DOM to change JS behaviour, which no, I don't think we want to do...)

I do have a concern though, so, what would happen if a field has multiple focusables?

Oh, another great point, I haven't thought about. So yes, without further measures, this would trigger validations as it is now. But there are ways to handle this. Off the top of my head:

we could apply some heuristics on what elements we see as valid form controls. Like we would could check for ['button', 'a'].includes(event.target.tagName) and ignore them if they match. However there might be a risk that some custom control is indeed a button (like a custom select), and focusing out is equivalent to focusing out of an input? 🤷♂
there is always the escape hatch that a custom control author could intercept the event and call stopPropagation(), if they think this shouldn't be handled by headless form. We could even provide that form the addon, like a {{field.ignoreValidationEvents}} modifier
Saad mentioned this in a Zoom session recently: instead of showing validations on every focusout, we could only show them when the value has actually changed. I first thought of this as another mode for @validateOn, but it could also be the default behaviour for @validateOn="blur" maybe? Anyway, in this case just focussing out of the button in your example wouldn't do a thing.

Btw nitpick: we use focusout internally, but the API calls for @validateOn="blur". Do want to keep this? The rationale would be that "blur" is more commonly used and understood, but I am not really sure that is the case!? 🤔

I created a real PR (#25), but keeping this open here for further discussions.
I am leaning towards option 4 here, which is basically option 1 plus additional primitives for custom controls in case they are needed, like a yielded modifier (see above comment) as a variation of what @NullVoxPopuli proposed with field.captureEvents. WHat do you think?


zed relationship read does not show caveat name and context

https://github.com/authzed/zed/pull/199


Startup Lua Scripts

What feature do you want to get added on the base engine?
a lua script that runs when you open the game
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

I have also talked to some friends that use Psych and they suggested Lua scripts for each menu


NearITManager adds listener to app lifecycle in constructor

As discussed in #171, we should have an explicit method for this so that we won't be surprised on why we're instantiating the ProximityService in the application onCreate without using it.
An option is to have ProximityService.registerToApplicationLifecycle and that will then call NearITManager.registerToApplicationLifecycle.

We don't have NearIt anymore as of #309 so this is obsolete


Update scale transformation in pyqtgraph plot

Update the scale transformation in qcodes.plots.pyqtgraph to use the modern interface. I think the old interface was deprecated a very long time ago (see commnent in https://github.com/pyqtgraph/pyqtgraph/pull/1533).
Fixes #4756. @rsokolewicz Could you check this PR with the quantify plotting?
@jenshnielsen

@peendebak Thanks, could you add a newsfragment describing this fix

@peendebak Thanks, could you add a newsfragment describing this fix

Done. Would be nice if there is a github action to add such a fragment easily (cpython has this for example, although not for towncrier)

I agree that it would be nice to streamline that a bit but I don't have the time to make such an improvement right now


adjust endpoints to REST standards

- GET /variable/{processInstanceId} should be /variable?processInstanceId=:processInstanceId
- GET /process-definition/{bpmEngineId}/{processDefinitionId}/xml - this is probably old stuff. We don't want bpmEngineId in the API but auto-discoverable
- PATCH /case-definition/{caseDefId} - Maybe this is UPDATE instead since is replacing the entire resource record
- PATCH /case/{businessKey} - can we define the mergePatch schema? Current stage will only show "string" as the request body in Swagger
- PATCH /case/{businessKey}/comment/{commentId} - should it be UPDATE instead?
- PATCH /queue/{queueId} - should id be UPDATE instead?
- name for record-controller (see swagger endpoint title)
- PATCH /record-controller/{id} - should it be UPDATE
- name for record-type-controller (see swagger endpoint title)
- PATCH /record-type-controller/{id} - should it be UPDATE
- name for data-import-controller (see swagger endpoint title)
- name for data-export-controller (see swagger endpoint title)
- name for deployment-controller (see swagger endpoint title)

- processDefinitionId -> id on process-definition endpoints
- taskId -> id on task endpoints
- formKey -> key on form endpoints
- caseDefId -> id on case-definition endpoints
- queueId -> id on queue endpoints
- recordTypeId -> id on queue endpoints

@francav I would like to work on this, can you assign it to me?

Thanks @sindhunaydu

And feel free to reach out since the task description may be too high level @sindhunaydu

Hi @francav, I've started working on this and have a few questions,

GET /process-definition/{bpmEngineId}/{processDefinitionId}/xml.. auto-discoverable - can you explain this please?
PATCH /case/{businessKey} - can we define the mergePatch schema?  - can you explain this as well?
name for *-controller (see swagger endpoint title) - we can use @Tag annotation to provide a name for the controller, is that the requirement? If so, what would be the preferred names for the controllers?

Thanks!

Hi @sindhunaydu
1 - it needs to be deleted
2 - it may need a bit of investigation on how to formalize the body of this endpoint since the parameter is a string(see how swagger shows the body structure). We can leave this for another issue if we don’t know how to deal with it for now.
3 - Import, Export and Deployment
Thanks!

Hi @francav I created a PR with the changes, but looks like there are new changes in the same files after I forked the repo causing conflicts. I dont have write access so I'm unable to see the conflicts. Will those changes overwrite my changes?

@francav PR created - #144

Hi @sindhunaydu, thanks for the great work. Sorry for bringing this now, but I have just realised we neet to check on the impacts of these changes at the react app.
Would you be able to do that check on the files at apps/react/case-portal/src/services ?

@francav I made changes to the JS files. Quick question, how do I run the local changes on my machine? Is there a way for me use my local changes with the docker setup?

Thanks @sindhunaydu. You can follow this guide to configure your local dev enviroment: https://docs.wkspower.com/docs/instalation-guide


Change icons on app bar for control and sensor

Not sure what to do with the controls icon, but for the sensor it would be nice if we had something like a line that looks like sensor data

possible icons?
for sensors

for controls


[described] [FE + BE] enable easy registration for cyclical trainings in selected period

To make reservations for cyclic trainings easy, after selecting event, we would show list of next events of the same session, grouped by month with checkboxes to select them (also group checkboxes for months) and after confirmation, all selected events would be added to the pending reservations

for backend only make endpoint to get all events of session in period of 6 months

the same list of upcoming events in drag&drop dialog


updating package.json

@patrickjconroy funny thing, sent a PR for the firehoser fix and it was merged and published; but we had already cloned the repo, before I knew this.

@andela-oakinniranye do we still need this?

i don't think so.
Closing.


add a shared namespace

What's the use case behind this? In principle, I have no objection, but I'd like to understand what you're trying to do. Also, before this gets merged, it'll need tests and documentation.

Instead of some “shared namespace” why not just use an agreed-upon namespace name? I agree with @othiym23, the goal of this PR is unclear and the only use cases I can guess at are nonsensical.


[docs][bug] Logo Wall Examples missing styles

Description
If you visit the Logo Wall Examples page, you'll notice gigantic logos.
Screenshots

Steps to reproduce

Visit the Logo Wall Examples page.
Observe the broken layout and gigantic logos

Expected behaviour
The Logo Wall examples should look like the Sample Patterns on the Overview page.
Operating System (OS)
macOS
Browser
Safari, Microsoft Edge
Additional browser or assistive technology info
Console shows the logo-wall-lightdom.css file is not loading and likely causing these issues.

Will be fixed when #1953 merges
https://deploy-preview-1953--red-hat-design-system.netlify.app/patterns/logo-wall/examples/
I included a change to the 11ty config there for a seperate reason in that PR, the desire to use CSS/JS in the sub folders of /docs directory.  In doing so it fixes the issue here as well as uxdot-pattern is looking for a file in sub directories as well and 11ty was not copying those over to _site/* on build


using gulp tslint stylish instead of tslint stylish

Take a look at the package's npm page https://www.npmjs.com/package/gulp-tslint-stylish:

Please be aware that this package will be superceded by (tslint-stylish)[https://www.npmjs.com/package/tslint-stylish] in the near future.


potential solution that reduces divergences in fbased rt

I found that the change of sum to nansum can avoid nan values of the fbased computation in some cases (See "File changed"). Can you check  if this change reduces the number of divergences in your case? @ykawashima

Thank you! Just for your information, the computational time for the spectrum (in my setting) with the current develop and fbased_nansum branches (so just the difference of sum and nansum ) are 0.0271 $\pm$ 0.0015 and 0.0270 $\pm$ 0.0020 [s].

Just for your information,
HMC (500 warm-up steps + 1000 samples, H2O + CIA) for 2 Subaru/IRD orders dominated by H2O absorption took 3.0 hr (33,571 total steps) and 3.5 hr (40,921 total steps) for without and with nansum calculations, respectively (cf. 2.7 hr and 29,855 total steps for 8-stream intensity-base case).
On the other hand, HMC (500 warm-up steps + 1000 samples, H2O, CH4, NH3 + CIA) for 2 Subaru/IRD orders dominated by H2O/CH4/CIA absorption took 118 hr (398,410 total steps) and 66 hr (227,615 total steps) for without and with nansum calculations, respectively (cf. 28 hr and 93,022 total steps for 8-stream intensity-base case).

Thanks! So, the replacement of sum to nansum looks useful. Oh, the intensity-based 8 stream is much faster than the flux-based one for the latter case!

Yes, it really does for the CIA region.

I'm sorry. I realized that I used different accounts for the calculations of the cases of sum and nansum, so the computational time differences might come from the different versions of packages. The difference for exojax is just between sum and nansum, and the numpyro version is the same, but for example, the jax version is different.
I re-ran HMC for 2 Subaru/IRD orders dominated by H2O absorption using the same account used for the case with nansum (I have updated the above post). The calculation for the CIA region will take another 4 days or so. I will let you know once it finishes.

Ah, sorry. The difference in computational time indeed came from the different package versions. Given that there is no difference between nansum and sum, it can be just kept. Sorry for the confusion.

The faster calculation uses jax 0.4.16, while the slower calculation uses jax 0.4.8. It might be better to upgrade jax.

oh, good to know!


Make .nbt file names based off Item Name or Command Args

The feature of saving items to a .nbt file is absolutely amazing, but with one small annoyance: the file names are just the date and time of when you saved the file, meaning you have to rename the files as you save them, unless you want a jumble of files with no indication as to what is what.
I suggest one or both of the following:

Make .nbt files be named after the Item saved, possibly even minus spaces and non-alphanumeric characters (e.g a shulker box called [ C0DO Kit] would be saved as C0DOKit.nbt)
Make .nbt files be named based off an argument provided, e.g /nbt export file C0DOKit would be saved as C0DOKit.nbt

If both were added, then it would default to item name if no arguments are given.
I look forward to seeing this added :)

I've just released v1.11.0, which adds this! When no arguments are added, the exported file is the item name followed by the timestamp. When there is an additional argument, the file name is set to it without any timestamp.
The exported files use the same system as world names, so the same characters will be filtered out and duplicate file names will be handled in the same way.
To go along with this upgrade, I've also added [Open Folder] and [Delete] buttons to the export message and screenshot message.

This is amazing!! Thank you so much for adding this (and adding it full featured) :)


Simulate .one() without jQuery

Hi, thanks for making the repo. It helps a lot.
I didn't find a related topic of simulating .one() in the doc. I googled to find out rofrol's answer in Only fire an event once?, which works for me. Do you think it is something we need? I can make a PR on this.
function addEventListenerOnce(target, type, listener) {
    target.addEventListener(type, function fn(event) {
        target.removeEventListener(type, fn);
        listener(event);
    });
}

Yep, PR please. thanks for the contribution


Coloring based on metadata

For instance the sex of an animal in the swarm
Or based label them based on the size

Closed with 33c90fd


demo(tabs): Add accessibility demo page for tabs

Closes #6500

Just needs rebase

@tinayuangao this is failing the aot task


ParquetJS Memory Issue

This is a fix for issue 60 (https://github.com/ironSource/parquetjs/issues/60) and 101 (https://github.com/ironSource/parquetjs/issues/101)

Please check if this works. I retained the change in the test file to force the issue of unordered write and make sure it works.

@asmuth  - Will it be possible to get a review of this pull request this week and then a merge? Thanks!

Code looks good to me and tests still pass; will go ahead and merge this since there seem to be no objections. Thank you!

Thank you @asmuth. This is very helpful.

@asmuth - will it be possible to get an npm build, or does this have to wait to be made along with other changes?

Although I see the solution here is merged, it doesn't seem the best.  Probably instead of a mutex you could just have a variable on the writer that is the promise of the current row group being written and await that if it is there, e.g.
appendRow() {
  if(this.writeInProgress) await this.writeInProgress;

// ...

if (this.rowBuffer.rowCount >= this.rowGroupSize) {
        this.writeInProgress = this.envelopeWriter.writeRowGroup(this.rowBuffer);
        this.rowBuffer = {};
        await this.writeInProgress;
        this.writeInProgress = null;
      }
}

close() {
  if(this.writeInProgress) await this.writeInProgress;
}

Can avoid an extra dependency that way.


[FLINK-25228][table] Introduce flink-table-test-utils

What is the purpose of the change
Goal of this new module is to provide a easy to use module for testing formats, connectors and end users.
The module brings in transitively all the dependencies you need to run a table test and includes a couple of test utilities.
Brief change log

Introduce flink-table-test-utils, shipping the existing table assertions and TableFactoryHarness. Both assertions and TableFactoryHarness are marked as @Experimental
Expand the existing table assertions
Show the usage of the assertions

Verifying this change
The newly introduced assertions are tested in a new test, showing how to use them.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? JavaDocs

@twalthr the reason for placing the classes in two places is to continue to use the asserts in table-common as well.

If it is only about DataStructureConverter we can also perform a class lookup whether flink-table-runtime is present or not

That's something I can do with some reflections. This way, we can still use the assertions within table-common (without some methods that requires the runtime dep), and then we don't have duplicated code. But we'll still need the shading. Is it ok for you?

@twalthr ready for another pass

@twalthr as discussed, I've removed the table factory harness


Sync with trunk

https://webapps.stackexchange.com/questions/28998/how-do-you-update-a-github-repo-fork-in-the-web-interface

Used Rebase and merge:


Can't import Bestiary 2 - Purrodaemon (Daemon)

Can't import statblock:
Purrodaemon (Daemon)      CR 18
XP 153,600
Male purrodaemon (Pathfinder RPG Bestiary 2 73)
NE Large outsider (daemon, evil, extraplanar)
Init +10; Senses darkvision 60 ft.; Perception +26
Aura fear (15 ft., DC 24), unholy aura (DC 23)
Defense
AC 35, touch 19, flat-footed 29 (+4 deflection, +6 Dex, +16 natural, -1 size)
hp 294 (19d10+190)
Fort +25, Ref +21, Will +14
DR 10/good, 10/silver; Immune acid, death effects, disease, poison; Resist cold 10, electricity 10, fire 10; SR 29
Offense
Speed 30 ft.
Melee +2 wounding halberd +32/+27/+22/+17 (2d8+18/19-20/×3 plus 1 bleed) or
bite +24 (1d8+5)
Space 10 ft.; Reach 10 ft.
Special Attacks weapon steep
Spell-Like Abilities (CL 18th; concentration +23)
Constant—true seeing, unholy aura
At will—greater teleport (self plus 50 lbs.)
3/day—chain lightning (DC 21), cone of cold (DC 20), flame strike (DC 20)
1/day—summon (level 5, 2 derghodaemons 50%)
Statistics
Str 32, Dex 23, Con 30, Int 17, Wis 18, Cha 21
Base Atk +19; CMB +31 (+33 sunder); CMD 51 (53 vs. sunder)
Feats Combat Expertise, Combat Reflexes, Greater Vital Strike, Improved Critical (halberd)[B], Improved Initiative, Improved Sunder, Improved Vital Strike, Lunge, Power Attack, Quick Draw, Vital Strike, Weapon Focus (halberd)[B]
Skills Acrobatics +28, Bluff +21, Diplomacy +17, Intimidate +27, Knowledge (planes) +25, Perception +26, Sense Motive +26, Spellcraft +22, Stealth +24, Survival +17
Languages Abyssal, Draconic, Infernal; telepathy 100 ft.
Other Gear +2 wounding halberd
Ecology
Environment any (abaddon)
Organization solitary, patrol (2-5), or unit (6-12)
Treasure standard
Special Abilities
Combat Expertise +/-5 Bonus to AC in exchange for an equal penalty to attack.
Combat Reflexes (7 AoO/round) Can make extra attacks of opportunity/rd, and even when flat-footed.
Damage Reduction (10/good) You have Damage Reduction against all except Good attacks.
Damage Reduction (10/silver) You have Damage Reduction against all except Silver attacks.
Darkvision (60 feet) You can see in the dark (black and white only).
Energy Resistance, Cold (10) You have the specified Energy Resistance against Cold attacks.
Energy Resistance, Electricity (10) You have the specified Energy Resistance against Electricity attacks.
Energy Resistance, Fire (10) You have the specified Energy Resistance against Fire attacks.
Fear Aura (15 feet, DC 24) Foes within radius are affected by the fear spell.
Immunity to Acid You are immune to acid damage.

Immunity to Disease You are immune to diseases.
Immunity to Poison You are immune to poison.
Improved Sunder You don't provoke attacks of opportunity when sundering.
Lunge Can increase reach by 5 ft, but take -2 to AC for 1 rd.
Power Attack -5/+10 You can subtract from your attack roll to add to your damage.
Quick Draw Draw weapon as a free action (or move if hidden weapon). Throw at full rate of attacks.
Spell Resistance (29) You have Spell Resistance.
Summon (level 5, 2 derghodaemons 50%, 1/day) (Sp) Summon creatures as though with summon monster spell but with limited chance of success.
Telepathy (100 feet) (Su) Communicate telepathically if the target has a language.
Vital Strike Standard action: x2 weapon damage dice.
Weapon Steep (Su) A purrodaemon can sheathe a weapon in its flesh as a swift action. This does no damage to the daemon. If a weapon remains sheathed in its body for at least 24 hours, the weapon absorbs some of its essence and gains magical enhancements. A purrodaemon

I used Hero Lab to produce this statblock.  For greater accuracy, you might want to use one of the online resources.  Hero Lab can truncate some of the text.  All the other statblocks from Bestiary 2 imported -- a total of more than 96% imported.

Used your latest module that was available as of this morning.

Should import with v0.4.0 apart from

[ ] Spell-Parse Errors (i'm entering these separately)


allow to validate non ascii urls (fixes #57)

Add function url_to_ascii that converts utf8 url to plain ascii one.

This covers domains but not URL paths.
Half way there.

I'm trying to test this but idn_to_ascii isn't on my system.. I have pretty standard install and the function is visible on the official docs without the need for any extensions. I have a fairly standard install too so this is strange.
This cannot be merged without a shim.

idn_to_ascii is related to the intl extension. We could use pure php shim with an external library like https://github.com/phlylabs/idna-convert as the converstion rules are a bit complicated.


feat: add schema revision samples

This adds support for easily getting a schema gapic client, along with samples for schema revisions.

Hmm. The sample tests are going to need some more manual testing.

These samples look good. I think there are a few missing ones,most important is probably pubsub_get_schema_revision but also pubsub_commit_proto_schema and pubsub_subscribe_avro_records_with_revisions. The first two should probably go in this PR, while the latter two can be in a separate PR?

Hmm, those didn't make it into my hotlist. I'll just add them in this PR.


Error, directory at provided path does not exist: E:/Github/tensorrt-cpp-api/build/Benchmark/Release/CocoVal

What is cocoval?

What branch are you working off of? If you build the main branch, you will not get that error.

Closing due to inactivity.


Sort by short name not Full Name

review @thieman   Sorting by Full Name gave nonintuive ordering when I changed to use multiple ways of specifying repo urls:

It is better where gcweb is back in order:

:bear: good change


Added react and react-dom to  Peer dependencies

Why ?
https://nodejs.org/en/blog/npm/peer-dependencies/

Did it!

@RRutsche publish it ?

@ateev Version 1.2.0 is already published on npm

@RRutsche Oh sorry ! I was checking in Releases section. Thanks for such quick reply !

@ateev Yeah, I forgot to push the new tag to origin. But npm is up-to-date.


Unable to install composer dependencies

Laravel Version
10.x
PHP Version
8.1.19
Database Driver & Version
No response
Description
I noticed that the tests in the action can install dependencies normally, but after trying various methods, I still cannot install the laravel/prompts package.
Steps To Reproduce
# git clone git@github.com:laravel/framework.git && cd framework && composer install

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravel/prompts v0.1.0 requires illuminate/collections ^10.3 -> found illuminate/collections[v10.3.0, ..., v10.21.0] but these were not loaded, likely because it conflicts with another require.
    - laravel/prompts[v0.1.1, ..., v0.1.2] require illuminate/collections ^10.0 -> found illuminate/collections[v10.0.0, ..., v10.21.0] but these were not loaded, likely because it conflicts with another require.
    - laravel/prompts[v0.1.3, ..., v0.1.6] require illuminate/collections ^10.0|^11.0 -> found illuminate/collections[v10.0.0, ..., v10.21.0] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires laravel/prompts ^0.1 -> satisfiable by laravel/prompts[v0.1.0, ..., v0.1.6].

Hey there, thanks for reporting this issue.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

I found the reason. I actually executed composer install inside my Docker container, but Git was not installed in my container, so this error occurred.


Building Scalable Projects using the Multi-Module Architecture with Spring Boot and Maven

NOTE: All 1st-time contributors should know Topic approval and PR submission does NOT guarantee your Topic/Article will be published. Our team of Peer Reviewers and Content Moderators will review all PRs that come in to make sure they adhere to the standard of quality we expect from the EngEd community.
We expect all community members to go through provided examples, resources, and previously published material before submitting content. As a rule of thumb, please only submit articles (pull requests) that are complete, formatted correctly, and include a fully polished article (ready to be published and error free).
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue). Any PR that is submitted incomplete (meaning not ready to be published as is) will be closed. A PR being closed does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.
Topic Suggestion
Building Scalable Projects using the Multi-Module Architecture with Spring Boot and Maven
Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Writing sample(s):
Include any links or writing samples - to help our team better gauge your writing quality.
Proposed article introduction
We're looking for the first 2-3 paragraphs of your article that appropriately summarize what your article will be about.
We will use this writing snippet to help us assess the overall quality before approval so ensure it has been proofread, spellchecked and grammar-checked.
A three-man organisation in 2019 grew to become a twelve-man team fourteen months later. The growth in team members was necessitated by the growth in the project. However, for them also came an increase in the cost of building, maintaining and scaling the project; they were running the microservices architecture.
In this tutorial, we will be going through the multi-module architecture - which is an drastic improvement on the monolith approach, yet offering as much possibilities of the microservices architecture, while evading the huge demands of microservices. We will be building a model of a hospital management system, taking into account some of the departments that make for a successful medical application, using the multi-module architecture, using Spring Boot and Maven.
Key takeaways

Why is the multi-module approach better than the monolith
Advantages of multi-module over microservices architecture
Gaining the benefits of microservices architecture from the multi-module architecture
Passing dependencies and avoiding setup roadblocks in multi-module architecture

Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
This article is unique as it helps address the issue of scalability and maintenance for growing projects. Much focus has been on Microservices being the only way to achieving smooth functionality. Not much attention has been put into multi-module approach as being as viable for growth, expansion, scalability and maintenance.
References
Please list links to any published content/research that you intend to use to support/guide this article.

Great topic @teevyne -Approved.


Update create_bgc_mask

Writing out of the geopackages in the function needs to be updated to st_write(..., delete_dsn = T) currently is st_write(delete_layer = T) but this will fail out if trying to overwrite over previous exclusion masks.

done - thanks @joshuasamuelevans


Django110

@somexpert @ldko
Upgraded to django 1.10 version and ready for review.

Changes look good, tests pass, and app seems to be working fine :thumbsup:


AWS Centos 6 AMIs do not resize the root partition

Problem
The AWS Centos 6 AMIs do not resize the root partition to use all of the attached EBS volume. This is a big problem because the default size is only 10GB which fills up very quickly especially when chef-server-ctl marketplace-setup ends up upgrading Chef packages.
The problem is that the AMI is relying on cloud-init's growpart module to resize the partition but apparently this only works for kernels > 3.8.
Reference: http://lists.openstack.org/pipermail/openstack/2014-August/008721.html

Growpart called by cloud-init only works for kernels >3.8. Only newer kernels support changing the partition size of a mounted partition. When using an older kernel the resizing of the root partition happens in the initrd stage before the root partition is mounted and the subsequent cloud-init growpart run is a no-op.

Here's the kernel in my Marketplace Chef Server I launched today.
[ec2-user@ip-172-31-5-119 ~]$ uname -r
2.6.32-573.12.1.el6.x86_64

Solutions
One solution would be to rebuild the Centos 6 AMIs using the old style of resizing which is described pretty well in the Mail List thread above and also in this blog post.
http://blog.backslasher.net/growroot-centos.html
After talking with @ryancragun though it seems that the better solution would be to build the AMIs using Centos 7 which is able to correctly use the cloud-init growpart module. Centos 7 build work is already underway so I think this is the direction @ryancragun plans to take to fix this issue.
Workaround
In the meantime you can use fdisk to resize the partition entry in the partition table while the partition is mounted and then reboot the instance. After the reboot finishes the entire EBS volume is completely available to the root partition without needing to run resize2fs. As long as you follow the steps below carefully resizing the partition can be done without losing any data.
The following is an example of the partition resizing procedure.
Be sure to login as the root user when running the following commands.
If you just launched the Marketplace Chef Server then you will want to wait approximately 15 minutes for the cloud-init work to finish running. Yes, it really takes that long. :)
You can run pgrep -lf S53cloud-final to see if the cloud-init process is still running.
Once cloud-init is finished you can run lsblk to see that the EBS volume attached as xvda has 30GB available but the xvda1 partition only has 10GB.
[root@ip-172-31-3-55 ~]# lsblk
NAME    MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda    202:0    0  30G  0 disk
└─xvda1 202:1    0  10G  0 part /

First determine the Start sector of the xvda1 partition. Make sure you use sectors for units instead of the default of cylinders. The -u flag changes the units to sectors.
In this case the Start sector is 2000.
[root@ip-172-31-3-55 ~]# fdisk -lu /dev/xvda

Disk /dev/xvda: 32.2 GB,<PHONE_NUMBER>0 bytes
255 heads, 63 sectors/track, 3916 cylinders, total 62914560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002370f

    Device Boot      Start         End      Blocks   Id  System
/dev/xvda1   *        2000    20971519    10484760   83  Linux

Now use the following command to set the units to sectors, delete the partition entry from the partition table and create a new partition entry using the same Start sector value, 2000 in this case. The empty line accepts the default End sector which will be the last sector of the disk. The w saves the modifications to the partition table.
[root@ip-172-31-3-55 ~]# fdisk /dev/xvda <<END
u
d
n
p
1
2000

p
w
END

Now reboot the instance and when you log back in you can run lsblk or df -h to see that the partition has been resized.
[root@ip-172-31-3-55 ~]# lsblk
NAME    MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda    202:0    0  30G  0 disk
└─xvda1 202:1    0  30G  0 part /

I can't see to ssh back into my aws instances once I run the commands. Did you have this issue?

Hello Team,
LVM didn't create in the CentOS Linux release 7.2.1511 (Core) because of that we didn't able to extend the root partitions. Please share the details or steps how we extend the root partitions without LVM ?
[root@ip-******** ec2-user]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1      9.8G  8.0G  1.3G  87% /

Hey mihir-govil, here is how I was able to solve it
Use 'lsblk' to verify that you do indeed have more space on your device than is showing in your root partition. If so, run the following command
"sudo growpart /dev/xvda 1"
"sudo reboot"

I'd also like to add that you may need to install the cloud-utils-growpart package with yum to be able to do what @Purple90 said. Otherwise, his solution worked like a charm.

FYI, we're also seeing this issue in Centos 7:  https://getchef.zendesk.com/agent/tickets/10386  (internal Chef ticket)

The newer Marketplace Chef Server built on Centos 7 doesn't auto resize its root partition because the cloud-utils-growpart package is not installed. I've tested this by using the cloud-boothook hook that cloud-init provides to install the cloud-utils-growpart package very early in the boot process. The package installs and cloud-init's growpart module automatically uses it to expand the partition.
As a workaround until cloud-utils-growpart gets built into the AMI you can put the following in your instance's user-data.
#cloud-boothook

#!/bin/bash

yum install -y cloud-utils-growpart

Reference: https://help.ubuntu.com/community/CloudInit

The images published today contain growpart and expand as expected. Thanks for reporting it y'all.

@Purple90 thanks, it worked:
After I typed sudo growpart /dev/xvda 1
This output came out CHANGED: partition=1 start=2048 old: size=62908492 end=62910540 new: size=209710462,end=209712510
Then I didn't have to reboot, I just typed sudo xfs_growfs -d / and it all just went smoothly.

Disk /dev/xvda: 530 GiB,<PHONE_NUMBER>20 bytes,<PHONE_NUMBER> sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Here's my partition table
Device     Boot    Start        End    Sectors  Size Id Type
/dev/xvda1 *        4096   16773119   16769024    8G 83 Linux
/dev/xvda2      16773120<PHONE_NUMBER><PHONE_NUMBER>  492G 83 Linux
When I try to resize partition using growpart
growpart /dev/xvda 1
NOCHANGE: partition 1 is size 16769024. it cannot be grown
ANy suggestion on how to go ahead with this?

@shonry27 same issue here
did you happen to find a solution?

@CrashLaker, I have the same issue as @shonry27 and can't seem to find an answer for it.
ubuntu@ip-192-0-2-100:~$ lsblk
NAME                MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0                 7:0    0  24.9M  1 loop /snap/amazon-ssm-agent/7628
loop1                 7:1    0  55.7M  1 loop /snap/core18/2812
loop2                 7:2    0  63.9M  1 loop /snap/core20/2182
loop3                 7:3    0    87M  1 loop /snap/lxd/27037
loop4                 7:4    0  40.4M  1 loop /snap/snapd/20671
nvme0n1             259:0    0    20G  0 disk
├─nvme0n1p1         259:1    0  19.9G  0 part /
├─nvme0n1p14        259:2    0     4M  0 part
└─nvme0n1p15        259:3    0   106M  0 part /boot/efi
nvme1n1             259:4    0   800G  0 disk
├─nvme1n1p1         259:5    0   500M  0 part
├─nvme1n1p2         259:6    0 583.5G  0 part
│ ├─vgroot-lvu01    252:0    0  93.1G  0 lvm
│ ├─vgroot-lvu0x    252:1    0 372.4G  0 lvm
│ ├─vgroot-lvvar    252:2    0    12G  0 lvm
│ ├─vgroot-lvlog    252:3    0    24G  0 lvm
│ ├─vgroot-lvtmp    252:4    0     8G  0 lvm
│ ├─vgroot-lvitvmgr 252:5    0    48G  0 lvm
│ ├─vgroot-lvusr    252:6    0     4G  0 lvm
│ ├─vgroot-lvhome   252:7    0    16G  0 lvm
│ └─vgroot-lvroot   252:8    0     6G  0 lvm
└─nvme1n1p3         259:7    0    16G  0 part
ubuntu@ip-192-0-2-100:~$ sudo growpart /dev/nvme1n1 2
NOCHANGE: partition 2 is size<PHONE_NUMBER>. it cannot be grown

hi @jackbtran
i cant remember the specific details now.
but at the time i documented what i did here
https://crashlaker.github.io/2022/03/19/ec2_grow_disk_size.html
regards,c.


Structure.ansisType vocabularies

related to https://github.com/ANZSoilData/def-au-schema-json/issues/129

Structure type already bound to pedality-type


Use hmac(key + URL) as client token

Currently, all clients get given one token, so any client can listen to or deliver any messages.
The plan is to tie the authorization token to the URL, so /pub/foo/bar/baz has one token and /sub/foo/bar/baz has another (and likewise for varying foo, bar or baz).
This has the effect of disallowing clients to listen to things they're not supposed to, and also preventing them from firing notifications.
It does mean that intermediates that don't know all URLs up front (for example a thing which routes github notifications to different /pub/ URLs) must know the master secret to generate hmacs for that URL, but @drj11 and are I OK with this.

Oh, and clients might be able to understand URLs of the form<EMAIL_ADDRESS>and pass the token via basic auth.


nvitop: 0.10.0 -> 1.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for nvitop is: An interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management
meta.homepage for nvitop is: https://github.com/XuehaiPan/nvitop
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.0.0 with grep in /nix/store/6l9j80bz2c23jv6v2697gl10wrgd0y36-nvitop-1.0.0
found 1.0.0 in filename of file in /nix/store/6l9j80bz2c23jv6v2697gl10wrgd0y36-nvitop-1.0.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
nvitop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6l9j80bz2c23jv6v2697gl10wrgd0y36-nvitop-1.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A nvitop https://github.com/r-ryantm/nixpkgs/archive/9da6903bc546653930afaa72a30bff2553dc8b7f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6l9j80bz2c23jv6v2697gl10wrgd0y36-nvitop-1.0.0
ls -la /nix/store/6l9j80bz2c23jv6v2697gl10wrgd0y36-nvitop-1.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

nvitop

Maintainer pings
cc @GaetanLepage for testing.

Still works fine on NixOS systems, but still broken on non-NixOS systems.
(The NVIDIA management library cannot be found).
Anyway, this update is good to merge :)

I don't have the hardware with me to test it, sorry...


Questions regarding Cluster.WebCrawler sample

I am new to Akka.NET so please feel free to correct me if I am wrong.
I understand that Cluster.WebCrawler is just a sample project (not the production code) but is it the best practice to put all logic in one main project? I think the main logic for crawling is in WebCrawler.TrackingService and Shared. As the micro-service architecture is being used in this sample, wouldn't it be better if the code that has different purpose can be separated? What I worry is that when the project got bigger (e.g. adding new cluster.uploaders ), we might end-up writing more logic in tracker and more classes in Shared project..

I found that Web talk to Tracker via clustering. The logic for tracker is not in web project but in tracker. So, I guess it's not the technical limitation to put the crawling logic in tracker. I think it was a choice. I am interested to know why you guys choose that. Thanks!


Test configuration

Karma config, using babel
Loaders for all major browsers, including IE
Simple test for AppComponent

Sorry, it wasn't suppose to be here. Closed.


signal: fix tray icon

Description of changes
As suggested in
https://github.com/signalapp/Signal-Desktop/issues/6259
run Signal with --use-tray-icon to show icon in tray.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 258018 run on x86_64-linux 1

2 packages built:

signal-desktop
signal-desktop-beta

Hey folks, I don't think changing the default runtime params is a fix, if anything it's a feature (and one I didn't personally want). Is there a way of packaging this that lets users choose whether or not to run signal with the tray icon flag? Thanks!


Partial edge wrap

Can you add a way for the base template to include a partial edge wrap as it saves time to not have to bend the edges around the tip and tales of the skis.

haha I was wondering exactly the same about this yesterday "it is on the list of things to do" , Mike and I discussed a few enhancements for MonkeyCAM to do this a while back now, and Mike has also put out some of this high level thoughts already into how he proposes MonkeyCAM and SnoCAD-X could integrate to do all this even easier, but its not without some serious design and coding efforts -  the challenge is we need more people involved who can do the programming.......... @mikemag I'll put the word out again soon to recruit! @evolutionsk thanks for your interst in snoCAD-X and @evolutionsk are you a programmer?????


Added the version info

Made the "in progress" status color lighter.
Added the version of the application

build flags : go build -ldflags="-X 'github.com/datarootsio/cheek/pkg.Version=${{ needs.version_tag.outputs.new_tag }}' -X 'github.com/datarootsio/cheek/pkg.CommitSHA=${{ steps.vars.outputs.sha_short }}'"

Thank you @alaGarbey675 🙌


Is it a must to have same number of neurons in each hidden layer?

Hello all,
This is not an issue but I didn't see an option to start a discussion. Hence posting it here.
I have seen examples on DeepSurv and PyCox packages where the number of neurons in each hidden layers are the same. Is this how we need to define the network for DeepSurv? Or can we play around with the number of neurons in each layer?
Thanks!

I think I found what I'm looking for: DeepSurv is a package that implements a DL generalization of the CPH model using the TensorFlow structure21. DeepSurv uses a multilayer perceptron to self-learn the effects of a covariate. Priori selection and interaction of the covariates should be considered in designing the CPH model, but DeepSurv has the advantage of not considering this. DeepSurv is composed of 1 input layer (12 nodes for independent variables), 3 hidden layers with 6, 3, and 1 nodes with tanh activation, and output. We used the Adam optimizer with a learning rate of 0.4 and a learning rate decay of 1.0. We used dropout, batch normalization, and L1 and L2 regularization during training. We additionally experimented whether the elimination of the covariate with the least important feature leads to an improvement in the C-index. All covariates were standardized when entered into the DeepSurv model, and grid search mechanisms were used for hyperparameter optimization.
Ref.: Paper Link
I'm concluding that it is not mandatory to use same number of neurons in each layer for DeepSurv model.
Thank you!


Will snapshot saving leads to election?

I have a question. I am using a concurrent state machine in my project, and after running steadily for one year, I have observed a phenomenon: every time a snapshot is written to disk, it triggers a leader re-election, as indicated in the logs by the leader losing quorum during snapshot generation. The snapshot data generation in the project holds a lock that blocks other actions of the state machine. I am unsure if this has any impact.

Good to know that it has been running steadily for one year.
Snapshot creation happens in its own thread, it is completely separated from the threads used for raft protocol execution. There is not much dependencies between the raft protocol (as implemented in dragonboat) and your concurrent state machine (implemented in your code) so I have the feeling that it is unlikely to be caused by some explicitly used locks.
Could you please provide more details, e.g. the mentioned log, so we can look into this together? In case you don't want to make the log publicly available on the web, please feel free to shoot me an email with the log, my email address is available in those dragonboat source files. Thanks.

Checked code again - I don't see how snapshotting could possibly block the execution of the raft protocol.
Please prepare a minimum example that can reproduce your claimed issue, you can just make a dummy state machine that sleep certain amount of time to emulate delays required by the I/Os of your snapshot.

@tt67wq would you like to provide a minimum example to reproduce your reported issue?

@tt67wq would you like to provide a minimum example to reproduce your reported issue?

I‘m trying to make a simpler example cause it's a huge project, give me some time...

@tt67wq
you can just modify the existing dragonboat-example project available here, a minimum example showing that taking a snapshot can somehow block the execution of the raft protocol and thus causing a election will be enough. you can just sleep some time in the SaveSnapshot() method to emulate certain workload.
please shot me an email (see source code header for my email address), I can connect you on WeChat and help you to get such an example done.

@tt67wq any progress on reproducing this reported issue?
I will close it and mark it as "can't reproduce" in a week unless you can share more info.

@tt67wq any progress on reproducing this reported issue?
I will close it and mark it as "can't reproduce" in a week unless you can share more info.

OK，If I am able to reproduce it, I will initiate a new issue.

Closed as can't reproduce.


add "are you sure?" on closing tab or directing it elsewhere

to prevent "yikes!"

This looks like an issue related to the JSHint website. Could you file it against that project's repository? https://github.com/jshint/jshint.github.io


Montage correction for misplaced cap

Describe the new feature or enhancement
I have several hours of EEG recording where a mistake was made: the cap was shifted down such that Cz channel was instead located over CPz location. I would like to correct for this misplaced cap
The measurement has 128 channels and thus I'd like to correct the montage and perhaps later use inverse methods on this corrected data rather than discarding it.
Is there any elegant solution for this? Such as shifting all electrodes locations in the montage by an angle?
I'm not very comfortable with the underlying geometry and a bit scared to make mistakes in this regard

Hi @lokinou
I think this question is better suited for our discussion forum: https://mne.discourse.group/
I have written a response to your question, so I could paste it here, but I think it will be better if I reply once you post your question to the dicsussion forum. :)


Can't create project with approved=false

When I try to create a project with "approved": false, I get a 422 error message saying:
Only Admins may Approve Projects

I'm sure this is related to #765

Only admin's can modify this field. I'll add a default value to those fields so you won't have to set them. PR to follow.

Sounds good.


add a noproof mode that disables connection keeper verifications

Before merging we probably should think carefully about this to make sure this is upstream-able work. Thinking about alternatives, this approach seems the safest way to do this, but wonder what other think.

I wasn't thinking to upstream this change to be honest. And it's ok if that means not merging this PR. We do need to build our chain against this patch though or nothing will work.
What I can do is reference the npernas/nooproof-mode branch from our chain for the time being. It's an extra step we need to take if we want to add more changes to our fork but it keeps the change out of it. Thoughts?

IMO we should leave this PR open but never merge it to our 'upstream-able' branch.


Security issue with django < 2.2.13

Can django be upgraded to the version specified by Dependabot?
https://github.com/waikato-ufdl/ufdl-backend/network/alert/ufdl-api-site/requirements.txt/django/open

Merged into master branch in d45adae8d5b292f6158144b117f7bb3d831066a7


Let's get a database setup that I'm happy with

Okay, upon further consideration, I don't want the database migrations to be bundled with the source code. To see why, suppose I have a sequence of commits to my codebase which correspond to a sequence of database migrations. If I decide to go back to a previous version of the code, the code will be presented with a version of the database that it doesn't recognize. Therefore, in at least some cases I might have to handle the database separately, so I should have independent control over database migrations.

Dolt / Dolthub seem interesting

Okay, I'm starting to get the impression that database migrations are extremely hard. I wonder if I could just wipe the database every time I re-deploy to main and build from scratch.

Okay, here's a thought: I could omit all migration files from the codebase. I could pass a flag to my backend telling it whether or not to wipe the database and rebuild everything from scratch. I would then want another way of manually editing my database, preferably with a nice user interface so I can actually see what's going on.

I think that all of these issues would be much less annoying if it felt easier to manually update the database. I should look into database management tools that are centered on the UI experience. This does move away from the "Infrastructure as Code" mantra, but as long as the backend specifies exactly what models need to exist and tells me whether the database conforms to that specification, I can perform the changes manually.

https://django-extensions.readthedocs.io/en/latest/sqldiff.html

TODO:

Test this setup with some actual models!

Everything looks good! Let's merge!


[Bug Report] Wrong sign bit when 0 is multiplied by a negative number

Environment:
RSD version: bd7c5c12dfd8d20c7cb5c1d5a75f7ba59f9fce52

Bug Description:
There is an instruction fmul.s  ft9, fs4, ft8, where fs4=0x00000000 and ft8=0x998a3664.
After the fmul.s instruction, the result of ft9 in RSD is 0x00000000. However, the result in spike is  0x80000000.

It seems that RSD mistakes the sign bit of the final result?

Thank you for finding the bug.
@RSD team: Fix the following 32'h00000000 to 32'h80000000. The identity element of floating-point addition is -0.0, not +0.0.
            if(fpuCode[i] == FC_MUL) begin
                fmaAddend[i] = 32'h00000000;
            end

https://github.com/rsd-devel/rsd/blob/master/Processor/Src/Pipeline/FPBackEnd/FPExecutionStage.sv#L180

We reopen this report because this bug has not been fixed yet.
When we finish fixing, we will close this report.


Fix modification of it in the loop

Update the code to correctly modify the values of AccuTailHitsRegularPool[pid] in the loop. Previously, the code was modifying a copy of the value instead of the original value.

thanks for the fix. How did you come across this bug?


Fix: use a crossbeam channel instead of a Mutex on Android

What kind of change does this PR introduce?
This fixes #760 by using a crossbeam channel, like its sibling iOS implementation.

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Checklist

[x] This PR will resolve #760
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[x] I have added a convincing reason for adding this feature, if necessary
[x] It can be built on all targets and pass CI/CD.

Other information

Thanks for the PR! Could you also sign the commits?

Done!


More explosions

Allow damage types to also specify the force of the impulse sent to the dropped item.
Move the constant values from the systems into the ExplosionActionComponent and TunnelActionComponent.
Create a couple new variants of the railgun.  They are in the starting stuff chest.
Create a short and long fuse that you can activate on a TNT block so that it explodes.  Also in the starting stuff chest.

You know, this PR makes me realize something critical we're lacking. We don't have an Exploding Gooey - @SuperSnark your services are desperately needed! :D
Also, aw man chaining TNT blocks at last. Woot!

Refer to this link for build results (access rights to CI server needed):
http://jenkins.terasology.org/job/TerasologyPRs/434/
Hooray Jenkins reported success with all tests good!

Merged with a tiny tweak: The short railgun was still captioned "thorough" - fixed caption and renamed to "shallow" since that seemed more clear (relates to depth more than length?)
:boom: :boom: :boom: :boom: :boom: :boom: :boom: :boom: :boom: :boom: :boom: :boom:
Applying some updates to #1680
Thanks! Now we actually have something "new" to play with, woo. I also added in the DamagingBlocks module since it seemed fitting timing.


Change method name to be more fluent

Look at the objectives in the checkpoint,.
read() should be find(), this is more appropriate and understandable. readAll should be getAll. Implement those changes and also reword your README to reflect the change

Hi Prosper,
I have updated the method names from read() and readAll() to find() and
getAll() respectively.
Thanks for the correction.
On Fri, Oct 16, 2015 at 5:01 PM, Otemuyiwa Prosper<EMAIL_ADDRESS>
wrote:

Look at the objectives in the checkpoint,.
read() should be find(), this is more appropriate and understandable.
readAll should be getAll. Implement those changes and also reword your
README to reflect the change
—
Reply to this email directly or view it on GitHub
https://github.com/andela-womokoro/urban_dictionary/issues/6.

--
Wilson Omokoro | Software Developer | Andela
See what TechCrunch
http://techcrunch.com/2015/06/25/backed-by-spark-capital-andela-will-develop-a-continent-of-tech-talent/
and StackOverflow
http://blog.stackoverflow.com/2015/05/stack-overflow-and-andela-partner-to-provide-education-beyond-borders/
say
about us!
(c) +234-803-380-6531 | Andela.com http://andela.com/


Problem with spend money from Multibit

Tell me what is happening with a purse. For the second time in a row to send money to the recipient but they did not reach. Do you have some sort of support. What would decide my problem? For the first time I sent $ 5, but for about a month, they have never reached. And yesterday sent 40 dollars but they also did not reach the recipient.

Hi Baronchik,
Can you attach a screenshot of your Transactions screen please so that we can have a look at it please.

Screenshot from multibit,or screenshot transaction on blockchain.info?

That transaction looks perfectly ok.
There are 4 steps in sending a transaction from Person A to Person B

Person A uses MultiBit to create a transaction and transmits it to the Bitcoin network
The Bitcoin network relays the transaction to all the nodes
Person B picks up the unconfirmed transaction from the Bitcoin network and it appears in their wallet.
(Some time later) the transaction appears in a block and hence is confirmed.

From your description in the OP:

Transaction has been transmitted successfully (blockchain.info has it in their database)
Yes, the transaction is definitely broadcast and relayed (same reason as 1)
Person B picking up the transaction is obviously dependent on THEIR wallet software.
Yes, the transaction is confirmed.

If the transaction is sent from MultiBit and you can see it confirmed on blockchain.info then it really has been sent. You can point to the blockchain.info entry as evidence that it was sent correctly.
If the recipient does not have it in their wallet then they need to fix it at their end. You sent it correctly.
This issue is a repeat of the the earlier one you raised where the transaction was also sent ok so I am not sure what else to say.

The problem in my purse, as with other purses to the same recipient receives the money.

How can I solve my problem? You support Multibit purse. Help solve the problem. The last time this month the money did not come, but I did not do anything because the amount is small, but this time amount is more.

blockchain.info has it in their database, but blockexplorer.com dont have in their database.

The following block chain explorers confirm that MultiBit correctly sent the transaction and it is present on the block chain:

Blockchain.info
BitPay Insight

Blockchain explorer has been broken for a while (the latest block it shows is 1st June 2015) so its results cannot be trusted.
If the person receiving the funds is complaining that they do not have them, then they need to check their wallet that they own the private keys for address: 1EJC5s29pXNLwzxtA62T6BoVnUErh7jsMU which has the bulk of the bitcoin sent in that transaction.
Once again, since this transaction was successfully signed and accepted by the Bitcoin network and mined deeply into the block chain MultiBit is not at fault. There is nothing we can do.
Closing.


zsdl: bunch of small fixes

Defined Bool, True and False
Fixed some functions not checking for or returning errors
Fixed some incorrect types
Fixed the RectF bindings
Renamed PixelFormat to PixelFormatEnum since PixelFormat is the name of an SDL type that we just havn't defined yet
Renamed RectF to FRect to be consistent with SDL docs and source
Other small cleanups

@Jack-Ji could you confirm these changes work for you?

@hazeycode Sorry for slow response. I'm still working on switch my framework's SDL dependency to zsdl, which requires  lots of tweak. Until then, I can't effectively verify zsdl's functionality.

No problem, I just wanted to check I wasn't breaking anything for you


fix typo

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:zembutsu/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

LGTM


http3: applying config options upstream

Risk Level: low (http/3 only)
Testing: new unit tests
Docs Changes: n/a
Release Notes: n/a

@lizan PTAL

LGTM, modulo small cleanup comment from Lizan.
/wait


Caching improvement

After finishing slash commands (#856), I planned improving caching. This, for now, is one of major problems in the DiscordGo: for example, let's imagine, you put everything into cache... and at some time... you just run out of memory (yeah... if you didn't know, there is no, at all, cleaner for cache). I want to fix such problems and introduce more flexible and comfortable caching. But first of all, I want to discuss this concept with other people here, so I will know what everyone wants, before starting writing the code.

Also, why I brought this here, because if I will start changing the cache module, many people projects may break. So... you know understand my motivation.

I understand, but I think at least I can fix the problem with infinite filling of caching, by idk, applying MRU (most recent used) cleaner.

About complex state, yeah, probably I will implement it in my own library (it's not public yet... but still).


Add Julian Meyer to authors/contributors

needed by https://github.com/go-interpreter/wagon/pull/166


Added LICENSE file and license definition in bower.json (for supporti…

License for WebJars (Issue #103)


how to compile this?

I read your mentohust's readme and know how to compile mentohust. But this repo doesn't have a compile  method

This is the repo about using an alternative client for Digital China 802.1X Client running on an OpenWrt-based router. It's NOT about MentoHUST. If you wanna cross-compile this repo for OpenWrt, see also MentoHUST-OpenWrt-ipk, the mothod is almost the same as that repo. Get your cross-compile environment ready, clone this repo, and then make. Then you can find the ipk you need. Sorry the pictures in my README on mentohust repo is now unavailable, I'm considering fix that. Good luck, I'll be here if you have any further questions.


Update old code

I copied a few data structures from the meilisearch core project when I started this SDK.
It seems that these structs and enums were modified during the last months and that breaking changes were introduced.
It would be useful if GitHub allowed me to subscribe to the changes on the 2 concerned files but it's not possible.
TODO

[x] Update the outdated code
[x] Add new tests so that we can detect breaking changes faster (note that test structure is not ideal and there will be a new PR about this)

Hello @Mubelotix!

It would be useful if GitHub allowed me to subscribe to the changes on the 2 concerned files but it's not possible.

Can you give me the names of the file you would watch? I can try to take a look at them on each release!
Is this PR over? Can you convert it to a draft PR if it's not finished? 🙂 Once you've done it you can open it (= make it green again) and request me as reviewer! I will request someone in the core-team myself if needed only.

Can you give me the names of the file you would watch? I can try to take a look at them on each release!
I can try to take a look at these files myself but they are MeiliSearch/meilisearch-core/src/update/mod.rs and MeiliSearch/meilisearch-core/src/settings.rs for information.

Is this PR over? Can you convert it to a draft PR if it's not finished? slightly_smiling_face Once you've done it you can open it (= make it green again) and request me as reviewer! I will request someone in the core-team myself if needed only.
It wasn't but now it is! I forgot to select "draft PR".

Can you describe what kind of current problem we have? I will open an issue about this!
I am going to open the issue myself it will be faster.

I can try to take a look at these files myself but they are MeiliSearch/meilisearch-core/src/update/mod.rs and MeiliSearch/meilisearch-core/src/settings.rs for information.

Got it! That's also my job to make sure this package is up-to-date 😉

It wasn't but now it is! I forgot to select "draft PR".

You can also change it anytime by clicking here:

Not really obvious, I know 😅

I am going to open the issue myself it will be faster. And we are going to fix this in another PR.

You're awesome!
I will review your PR soon!

Would love to see progress on this, given that applying settings with facets isn't possible with this SDK atm :)

Waiting for the removal of the primary_key by @Mubelotix and we will merge it 🙂

Hello @Mubelotix!
Thanks for the fix!
There are still merge conflicts you might fix with a rebase before the merge! 😇

I applied your suggestion @curquiza. It worked but I had to force push which is not that great. Would not have been better to merge main into this branch instead of rebasing?

bors merge


FS1099 when instantiating internal delegate from another assembly

When using a lambda expression to instantiate an internal delegate defined in another assembly (available via InternalsVisibleTo), the compiler issues FS1099: No Invoke methods found for delegate type.
Repro steps
a.cs:
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("b")]
namespace Repro {
    internal delegate string D( int x );
    internal class C { public C( D d ) {} }
}

b.fs:
module ReproFS
let c = new Repro.C( fun x -> "" )

compile:
> csc a.cs /out:a.dll /target:library
> fsc b.fs --out:b.dll --target:library -r:a.dll

Expected behavior
Successful compilation.
Actual behavior
b.fs(2,20): error FS1099: No Invoke methods found for delegate type

Known workarounds

Specifying the delegate type explicitly works: new Repro.C( Repro.D(fun x -> "") )
If the delegate is itself defined in F# (i.e. type D = delegate of int -> string), the error is different: FS0002: This function takes too many arguments, or is used in a context where a function is not expected (though this doesn't have to do with it being internal).
And of course, making the delegate public removes the issue.

Related information

Operating system: Windows
Branch: Compiler installed, not built locally. Microsoft (R) F# Compiler version 14.0.23413.0
.NET Runtime, CoreCLR or Mono Version: .NET Framework 4.6

@fsoikin Per CONTRIBUTING.md please file a bug at http://github.com/Microsoft/visuafsharp first, thanks

@dsyme sorry, stepped into this again :-(

@fsoikin No problem :) Thanks for reporting the problem :)


Mistral::new assumption about model. prefix

https://github.com/huggingface/candle/blob/fd7c8565646039e35925b8730d27ddad195d7e73/candle-transformers/src/models/mistral.rs#L384
Some Mistral models don't prefix the safetensors keys with model. and this prevents Mistral::new from being able to load them.
https://huggingface.co/intfloat/e5-mistral-7b-instruct/discussions/23

Would an addition to the Mixtral that makes lm_head Option be acceptable. That way the same model config can accommodate both text generation models and the aforementioned embedding model.


batch_flatten gives unpredictable results when batch_size is 1

Problem
When I attempt to use tf.contrib.keras.backend.batch_flatten or more readily keras.backend.batch_flatten on a Tensor of shape (1, a, b) it produces a Tensor with shape (None, None).
MCVE
Note, I'll use keras tensorflow backend because that is how I noticed it.
t = K.zeros((1,2,2))
print(K.int_shape(K.reshape(t,(-1,2*2))))
print(K.int_shape(K.batch_flatten(t)))

prints out (1,4) and (None, None).
If you replace the first dimension to 2 or more it works as expected.
System
tensorflow 1.2.0
keras 2.0.8 python 3.6 installed from git repo

cc @fchollet
(is there a separate list for keras issues?)

This was caused by https://github.com/fchollet/keras/pull/3253. The repository also has a list for keras issues.

Maybe PR https://github.com/tensorflow/tensorflow/pull/13561 fixes it.

It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 195 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 211 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 226 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 241 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 256 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 271 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 286 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 301 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 316 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatianashp: It has been 331 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Addition of "exhaustiveness" option for vina run

The default value of exhaustiveness when running Autodock Vina is 8.
At least in some cases, using a lower value of exhaustiveness may lead to similarly good results while reducing substantially the computational effort. Thus it would be very interesting to have this parameter available at the Biobb level so it can be lowered when doing high-thoughput virtual screenings.
This option can be implemented similarly to the --cpu option that is already available.
You may search for --exhaustiveness in the Autodock Vina manual.
Thank you! :)

Hi @PabloNA97 which range can have this property? 0-10, 1-100?
Thanks!

From what I understand in the following manual, exhaustiveness controls the number of runs of the search algorithm: "...the number of runs is set by the exhaustiveness parameter..."
So I guess the answer would be 1 or greater than 1.

Thank you very much! :)