Change arrow appearance when a single line is collapsed

This pull request addresses https://github.com/codemirror/CodeMirror/issues/4041
Add findMarksOnLine function which finds all marks on a line. Use findMarksOnLine in foldGutter.js to correctly find marks when a single line is collapsed.

This pull request appears to just add a findMarksOnLine method (which is already well covered by findMarks), and doesn't do anything else. Did you forget a patch? (In any case, use findMarks, no need to add a new method.)

... Oh, on closer look, the patch would have an effect, due to the changed meaning of the call in foldcode.js. I get what it does. Could you do it differently?

Yeah I could use findMarks instead

@marijnh I tried to use findMarks and there is an issue with that approach.
When you use findMarks to find all marks on line like so...
var line = cm.getLine(lineNumber);
var marks = cm.findMarks(CodeMirror.Pos(lineNumber, 0), Pos(lineNumber, line.length));

If the mark starts on the very end of the line, the fold mark is not returned from findMarks because the cursor position at the end of the line is the same ch position as the start of the mark (see https://github.com/codemirror/CodeMirror/blob/master/lib/codemirror.js#L7642)
We could resolve this issue in one of two ways.

Add the findMarksOnLine function as is
Change findMarks so that if the we are at the end of the line, use span.from > to.ch instead of span.from >= to.ch - this seems a little hacky and I'm not sure if this would have any adverse effects

Actually, findMarks looks like it will work if I go from from Pos(lineNum, 0) to Pos(lineNum + 1, 0)

@marijnh I made the fix using findMarks instead. Could you take a look?

Thanks, looks good now. Merged as 431dd1b


HAWQ-1067. Append hawq version number to plr-hawq rpm pakcage install location

Previously it will get install to /usr/local/hawq, but it's possible that hawq is installed into '/usr/local/hawq_2_0_1_0.
@paul-guo- @xunzhang

+1

+1


Notifications sent while connection pool is closing may not be resolved

desc:when I close the client, I only received one response but have send ten messages.
In class ApnsChannelPool, I think these codes below has something wrong (please see 'added by me '  and 'modified by me'):
class ApnsChannelPool {

    private final PooledObjectFactory<Channel> channelFactory;
    private final OrderedEventExecutor executor;
    private final int capacity;

    private final ApnsChannelPoolMetricsListener metricsListener;

    private final ChannelGroup allChannels;
    private final Queue<Channel> idleChannels = new ArrayDeque<>();

    private final Set<Future<Channel>> pendingCreateChannelFutures = new HashSet<>();
    private final Queue<Promise<Channel>> pendingAcquisitionPromises = new ArrayDeque<>();

    private static final Logger log = LoggerFactory.getLogger(ApnsChannelPool.class);

    // added by me
    private volatile boolean closed = false;
   // added by me

private void acquireWithinEventExecutor(final Promise<Channel> acquirePromise) {
        assert this.executor.inEventLoop();

        final Channel channelFromIdlePool = ApnsChannelPool.this.idleChannels.poll();

        if (channelFromIdlePool != null) {
            if (channelFromIdlePool.isActive()) {
                acquirePromise.trySuccess(channelFromIdlePool);
            } else {
                this.discardChannel(channelFromIdlePool);
                this.acquireWithinEventExecutor(acquirePromise);
            }
        } else {
            // We don't have any connections ready to go; create a new one if possible.
            if (this.allChannels.size() + this.pendingCreateChannelFutures.size() < this.capacity) {
                final Future<Channel> createChannelFuture = this.channelFactory.create(executor.<Channel>newPromise());
                this.pendingCreateChannelFutures.add(createChannelFuture);

                createChannelFuture.addListener(new GenericFutureListener<Future<Channel>>() {

                    @Override
                    public void operationComplete(final Future<Channel> future) throws Exception {
                        ApnsChannelPool.this.pendingCreateChannelFutures.remove(createChannelFuture);

                        if (future.isSuccess()) {
                            final Channel channel = future.getNow();

                            ApnsChannelPool.this.allChannels.add(channel);
                            ApnsChannelPool.this.metricsListener.handleConnectionAdded();

                            acquirePromise.trySuccess(channel);
                        } else {
                            ApnsChannelPool.this.metricsListener.handleConnectionCreationFailed();

                            acquirePromise.tryFailure(future.cause());

                        }
                    }
                });
            } else {
            	// modified by me
            	if(closed){
            		acquirePromise.tryFailure(new IllegalStateException("pool has been closed"));
            	}else{
            		pendingAcquisitionPromises.add(acquirePromise);
            	}
               // added by me
            }
        }
    }

public Future<Void> close() {
    	// added by me
    	closed = true;
    	Promise<Channel> pro;
    	while(null != (pro = pendingAcquisitionPromises.poll())){
    		pro.tryFailure(new IllegalStateException("pool has been closed"));
    	}
     // added by me
        return this.allChannels.close();
    }

@Tielancy I changed the summary of this issue to "notifications sent while connection pool is closing may not be resolved." Is that an accurate description of the problem?

This should be fixed in #527.


[5.8][MiscDiagnostics] OpaqueTypes: Handle unrelated #available conditions  gracefully

Cherry-pick of https://github.com/apple/swift/pull/62856

OpaqueUnderlyingTypeChecker should skip conditional availability
blocks if none of the conditions restrict the current target.
Resolves: rdar://103445432
(cherry picked from commit 3c03449797c6a8e4582da17a7b742f3c981f2328)

@swift-ci please test

@swift-ci Please test macOS platform


test: add jest for testing styles

Just a quick change! Adds in Jest, although I'm sure it can be re-written in mocha if we want 😄 Wanted to bring this over from the add-ons repo as it is a strategy that's been pretty helpful there.
The thought process here is that we can use glob to find all .scss files in our project. We use those in Jest's table driven test setup to verify that every scss file that we export can compile by itself. This is useful for verifying that folks can directly import any part of our setup without encountering a compile-time error from node-sass.
Looking forward, it'd be nice if we could add file sizes as-well in order to catch any kind of regressions or mishaps when it comes to duplicating imports.

 Will try and debug and see what's going on.


Mark local changes in (ci) check report

When a user fetches a project and does some quick fixes, this is all allowed. However if he forgets to either create a local patch or upstream the changes, the next time he wants to update he first needs to find out what changed and why.
  Background:
        Given a git repository "SomeProject.git"
        And a fetched and committed MyProject with the manifest
            """
            manifest:
                version: 0.0
                projects:
                  - name: SomeProject
                    url: some-remote-server/SomeProject.git
            """

    Scenario: A local change is reported
        Given "SomeProject/README.md" in MyProject is changed and committed with
            """
            An important sentence for the README!
            """
        When I run "dfetch check SomeProject"
        Then the output shows
            """
            Dfetch (0.6.0)
              SomeProject [LOCAL CHANGES]: wanted (e1fda19a57b873eb8e6ae37780594cbb77b70f1a), available (master)
            """

Add an actionable warning wth the dfetch diff + manifest patch: command


Can we have this run as a CLI?

Imagine running this every time a PR gets merged to create issues, just an idea

It currently runs for every commit pushed to Master. I think we can make the way it runs configurable.
see https://github.com/freelyformd/github-todos/issues/56


fix: recipient deserialization problem

Issue https://github.com/ably/ably-flutter/issues/491
Resolves SDK-3919

I had a question though, It shouldn't throw exception for key being object, can you just double check that


Adding spring data and hibernate auditing demos

My projects about auditing to review

I create new pull request to send JPAAuditDemo


Add driver for the VR-Tek WVR headsets

This patchset adds basic support for the VR-Tek WVR3 and WVR2 headsets made by Direkt-tek. There is also a WVR1 that could be supported, but I don't have access to a WVR1 so for now only the two higher-end models are supported.
The distortion coefficients and aberration coefficients still need work (although to be honest the display output doesn't look too bad right now), but rotational tracking is working.
These are cheap and cheerful 3DoF headsets sold by Walmart in the US:
https://www.walmart.com/ip/VR-Tek-Windows-VR-Glasses-Ultra-HD-Resolution-1440x1400-Black/56206938
Emdoor VR is the actual OEM for the headsets, with:

WVR1 -> SpearI FHD
WVR2 -> SpearI 2K
WVR3 -> SpearII
http://vr.emdoor.com/en/products/PC_VR/

The headsets are reusing the USB ID of the Oculus DK1, so I added a quick test to the rift driver to check for "Oculus VR, Inc." as the manufacturer. This was just a guess though based on what I could find online. So, some input from folks who know about Oculus gear would be greatly appreciated.
Any feedback is welcome.
Thanks!

Re-using the (paid for) USB vendor ID of Oculus VR LLC is a naughty move.

Re-using the (paid for) USB vendor ID of Oculus VR LLC is a naughty move.

Yeah, that surprised me. I figured you wouldn't be able to get away with doing that for too long before the cease and desist letters started piling up...

Thanks for the help and feedback guys! It's much appreciated.

Will look into merging after 0.3 release.

Will look into merging after 0.3 release.

Sounds good. Thanks!

FTR, verified that Rift DK2 and CV1 still enumerate with these changes.

Perfect, will do a double check and merge after 0.3
@mdnelson8 Also, always happy to help :) feel free to hang out with us on our IRC channel, would love to get to know contributors. irc.freenode.net / #openhmd

Re-using the (paid for) USB vendor ID of Oculus VR LLC is a naughty move.

Yeah, that surprised me. I figured you wouldn't be able to get away with doing that for too long before the cease and desist letters started piling up...

you'd be very surprised - esp. since they open-sourced the firmware and board design for the DK1 tracker, lots of things show up as a DK1. Interesting part is, this unit (well, WVR3 at least, that's all I have right now) actually has a much newer IMU, the ICM20602...

Re-using the (paid for) USB vendor ID of Oculus VR LLC is a naughty move.

Yeah, that surprised me. I figured you wouldn't be able to get away with doing that for too long before the cease and desist letters started piling up...

you'd be very surprised - esp. since they open-sourced the firmware and board design for the DK1 tracker, lots of things show up as a DK1. Interesting part is, this unit (well, WVR3 at least, that's all I have right now) actually has a much newer IMU, the ICM20602...

These VR-Tek headsets sure are interesting. And so ridiculously cheap! It's an excellent little toy to play with :)  I guess EmdoorVR started with what was released for the DK1 and has been iterating on it since?

Re-using the (paid for) USB vendor ID of Oculus VR LLC is a naughty move.

Yeah, that surprised me. I figured you wouldn't be able to get away with doing that for too long before the cease and desist letters started piling up...

you'd be very surprised - esp. since they open-sourced the firmware and board design for the DK1 tracker, lots of things show up as a DK1. Interesting part is, this unit (well, WVR3 at least, that's all I have right now) actually has a much newer IMU, the ICM20602...

Glad to hear that there's more WVR3 owners out there. Especially ones who know infinitely more about VR than me :)

It's actually much newer tech all around than dk1. I suppose I should un-hack my web site so I can put up my teardown as a blog post. They look like a pretty promising base for modification.
How did you figure out the protocol? Do you have a sniff? Even more useful, do you have a sniff of a firmware upgrade? In a not-long-past life I did a lot of hmd display firmware with very similar displays and controllers.

It's actually much newer tech all around than dk1. I suppose I should un-hack my web site so I can put up my teardown as a blog post. They look like a pretty promising base for modification.

A nice teardown sounds like a great addition to the body of knowledge around these headsets. I look forward to it! (I'm too chicken to tear mine apart :) )
The extra USB port on the WVR3 does open up a lot of possibilities for interesting projects. And from this video:
https://youtu.be/kKBTPngIsQ0?t=233
it sounds like Emdoor fitted that front face plate with a RealSense camera in some models of the SpearII. Even more possibilities for mods.

How did you figure out the protocol? Do you have a sniff? Even more useful, do you have a sniff of a firmware upgrade? In a not-long-past life I did a lot of hmd display firmware with very similar displays and controllers.

I've got wireshark captures from the WVR2 and WVR3 for initialization and running under SteamVR on Windows. I also have captures for the firmware check, but no actual firmware upgrade, unfortunately.
To figure out the bits of the protocol that I'm using I spent a lot of time dissecting the captures I'd taken and hacking on OpenHMD-Dumper. The SteamVR logs were invaluable because the vrtek driver provides really good info messages that I could correlate to the captures. This was the key to working out the commands. There's still a heap that I don't understand about the command responses from the headset (the info messages weren't exhaustive unfortunately ;) ), but at least I have enough for it to be functional. Having captures for two different headsets that responded differently to the same stimulus helped a lot too.
It almost looks like the WVR3 shares the same displays as some of the cheaper Windows Mixed Reality headsets: dual 1440x1440 2.89" Sharp LCD panels. The fact that these headsets are so cheap still blows me away.

Additionally to the changes asked, please remove the autotools files since they are removed (rebase on Master would do the trick)

Additionally to the changes asked, please remove the autotools files since they are removed (rebase on Master would do the trick)

Done. The autotools files should be gone now.
I haven't had a chance to work on using OpenHMD's sensor fusion yet sorry. It's at the top of the list though when I get some time.
Thanks!

Additionally to the changes asked, please remove the autotools files since they are removed (rebase on Master would do the trick)

Done. The autotools files should be gone now.
I haven't had a chance to work on using OpenHMD's sensor fusion yet sorry. It's at the top of the list though when I get some time.
Thanks!

No worries, take your time :)
Looking into if i can get one or two in Europe without any ridiculous shipping cost to play around with. Would be a nice paring with the NOLO and would give me the opportunity to also look into undistortion.

Additionally to the changes asked, please remove the autotools files since they are removed (rebase on Master would do the trick)

Done. The autotools files should be gone now.
I haven't had a chance to work on using OpenHMD's sensor fusion yet sorry. It's at the top of the list though when I get some time.
Thanks!

No worries, take your time :)
Looking into if i can get one or two in Europe without any ridiculous shipping cost to play around with. Would be a nice paring with the NOLO and would give me the opportunity to also look into undistortion.

Cool. Thanks!
Availability does seem to be the biggest problem with these headsets. They're only cheap provided that you're stateside. Still, if you could get your hands on a couple that would be great! Some help with distortion correction would be welcome :)
It's interesting that you mention NOLO because I noticed that the Windows installer for these headsets also installs NOLO drivers. I guess they envisioned that would be a good match up, like with the Pimax 4k.
(Totally off topic, but speaking of Pimax, I noticed a dev-pimax branch and a reference on the udev rules page. Was there support for the Pimax 4k in development once upon a time?)

It took me a while, but here's the commit that adds support for using OpenHMD's sensor fusion. The existing vive driver provided a nice example to follow.
Let me know what you folks think.

I can't wait to test this.. Any idea on when it is going to be merged with Master?

Going over this at the end of the week and merge if ready :)

I couldn't wait so I grabbed the driver from the pull request and built it with SteamVR-OpenHMD and it works but my VR headset is showing everything that should be black as pink/purple. Any ideas on how to fix this? Is it a driver issue or something else? I am using amdgpu drivers and xorg. I have the WVR3 headset.

that sounds like bad EDID declaring YUV support where none exists. I have a wvr3 here (in pieces), thought I dumped the edid...

Glad to hear the driver is working well for you!
What GPU do you have? I have a Polaris-based RX570 and at the moment my workaround for the pink/purple tinge is to disable the use of amdgpu's new DC display code, by adding amdgpu.dc=0 to my kernel command line. I guess the new display code doesn't handle quirky EDID as well as the old code paths. I've been meaning to dig into this but haven't had a chance yet. That said, if your GPU is too new you may not have the option of not using DC...

I have an RX Vega 64

I have an RX Vega 64

Unfortunately Vega is new enough that it requires using the DC display code to provide any graphics output at all, so you won't have any luck disabling DC unfortunately :(
Another option I read about, but couldn't get to work for me was playing with the output_csc xrandr parameter for the HDMI output that's driving the HMD. Maybe you'll have more luck.
If you do xrandr --verbose you'll hopefully see something like:
...
output_csc: bypass
supported: bypass, tvrgb, ycbcr601, ycbcr709
...
for your HDMI output after the EDID dump.
You could try setting that with:
xrandr --output HDMI-A-1 --set "output_csc" "SOMETHING_ABOVE"
where SOMETHING_ABOVE is one of those supported options listed.

unfortunately I don't even see output_csc:  Any other ideas?

The next thing to try is probably that modified EDID above from @rpavlik. You should be able to use that with the process outlined here:
https://blog.tingping.se/2018/12/01/amdgpu-fullrgb.html

That process just makes it so that my main screen doesn't work anymore. Can't test the headset as I can't launch steam/openhmd

That process just makes it so that my main screen doesn't work anymore. Can't test the headset as I can't launch steam/openhmd

Ah, that's probably because the modified EDID is being applied to any connector the way that blog post had it. You really want to specify the connector to use, for example:
drm.edid_firmware=HDMI-A-1:
That was probably not the best example to point you to...
In case it's helpful, all the details on that parameter can be found here:
https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt

Still doesn't work :( but at least I can boot now.

Still doesn't work :( but at least I can boot now.

You've still got the pink tinge?
 (So, you're skipping straight to step 4, substep 3 from that blog post.)

OK I finally got it working... Here is how I did it.
first I ran ls -1 /sys/class/drm/*/edid It counts differently than xrandr (xrandr being incorrect.)
That gave me my HDMI port names. HDMI-A-1 and HDMI-A-2 (HDMI-A-2 being my VR headset.)
I copied wvr3-modified.bin to /usr/lib/firmware/edid/wvr3-modified.bin and ran a chmod 644 /usr/lib/firmware/edid/wvr3-modified.bin Then I edited /etc/default/grub adding the following line: GRUB_CMDLINE_LINUX_DEFAULT="drm.edid_firmware=HDMI-A-2:edid/wvr3-modified.bin" lastly I rebuilt my grub.cfg by doing a grub-mkconfig -o /boot/grub/grub.cfg then it was time for a reboot and now everything works. Thanks for all of the help.

Awesome! Glad to hear you got it sorted.

Cool, so the EDID I posted worked? That's great. Now if only we could modify the headset to inject that EDID right into it... (anybody reverse the firmware update procedure?)

Yes it worked... I wonder if you could do a dd if=edid.bin of=/path/to/vr/headset to flash the headset... I'm not going to try though as it is working and I don't know what might happen.

no, the HDMI bridge that's being used takes its edid from the microcontroller. If i could get my hands on firmware one way or another, I could change it.

Everything is working Great, and no merge conflicts... Why isn't this merged?

Everything is working Great, and no merge conflicts... Why isn't this merged?

Still reviewing, please keep in mind this is a Open Source project done by volunteers, things can take time.

So this works great in Linux however... I can't seem to build it for Windows. I can't link the DLL I have tried compiling it using both methods.

You can ignore my previous post... I figured it out.

Sorry to post so much. But after about a week of testing (playing Elite Dangerous) I found a bug that I don't know how to fix. In Windows with the OEM driver the game works great. In Linux with this driver (and SteamVR-OpenHMD) everything is zoomed out (to the point where I can barely read anything in game). I even tried copying my settings from windows to Linux. Still everything is zoomed out and tiny. Windows is big and readable. I have tried every setting that I could find in both the game and steam. Seems to be a driver issue. I think that the IPD might be set too high in the driver as well as everything is also stretched really wide. With OEM Driver I can move the IPD sliders to max and I see fine, with this driver I need them to be as close together as possible.

All good to go, thanks for submitting this driver!


Fix crashing dashboard when region has no default language

Short description

Fixes a bug when the newly introduced dashboard (#2348) would cause a regression before a new region could be set up, because it assumed regions always have a default language. When trying to access its slug, it crashed, ironically preventing anyone from setting up the language tree through the CMS.
Proposed changes

Add checks to detect when there is no default language and don't display the items in that case

Side effects

I couldn't think of any yet
Resolved issues

Fixes: #2518

Pull Request Review Guidelines

There is also a 500 Internal Server Error in the test deployment when going to Machine Translations of a region, but I couldn't reproduce that locally yet

There is also a 500 Internal Server Error in the test deployment when going to Machine Translations of a region, but I couldn't reproduce that locally yet

Could you open an issue for that?

One code style suggestion: you don't need is not None when checking something is None or not. Though this is not so important.

In this case I 100% agree, however just to clarify, it is not always the same:
Python distinguishes between truthy/falsy values and actual boolean True/False values.
When you do:
assert 2 == True

this is False because (boolean) True is not the same as (truthy) 2. (assert bool(2) == True, on the other hand, is True.)
But this actually has a "deeper" meaning:
assert 2         # True
assert 2 == True # False

may not make sense at first glance, but it's an important distinction when working with (potentially unknown) variables:
assert x == True

is only True if x is a boolean and is True. However,
assert x

is True as soon as x has a value (that is not 0, 0.0, [], or None). Slightly different example:
if get_return_value() is None:
    # throw error or something, idk

actually checks if x is None. If you get back an empty list, or 0, or False, the condition is false.
if not get_return_value():
    # throw error or something, idk

s true as soon as you get any non-truthy value.

There is also a 500 Internal Server Error in the test deployment when going to Machine Translations of a region, but I couldn't reproduce that locally yet

Could you open an issue for that?

It's #2510 now

no language = no content = no broken links and no bad hix ? Since we are hiding all other content-related sections rather than showing them with "in total 0"...

Hmm, that sounds to me like we need to look at what the life cycle of a region is and how the dashboard should behave at each step. What does it mean for a region not to have a default language, in terms of the user? If that only occurs in the beginning between Creating a region and Region is ready to be populated with content, we might just show a message "Set up languages in order to start adding content", or decide that it is negligible and not worth addressing at all.

Hmm, that sounds to me like we need to look at what the life cycle of a region is and how the dashboard should behave at each step. What does it mean for a region not to have a default language, in terms of the user? If that only occurs in the beginning between Creating a region and Region is ready to be populated with content, we might just show a message "Set up languages in order to start adding content", or decide that it is negligible and not worth addressing at all.

Exactly, this is the only case where no language exists normally. So I think showing a message like "Set up languages in order to start adding content" is not needed, just hiding the "to do" box is sufficient.


Secure cookie example

Hi,
I have the setup with auth similar to one in example (https://github.com/felixmosh/bull-board/blob/master/examples/with-express-auth/index.js).
But I also have secure cookie enabled in session:
adminRouter.use(
  session({
    ...
    cookie: { secure: config.env === Env.PRODUCTION, httpOnly: true },
    proxy: config.env === Env.PRODUCTION || undefined
  })
);

I also had to enable proxy, because, without it, I couldn't get past login.
Now, I can login to the bull board, but I'm getting Internal Server Error, which comes from request /admin/queues/api/queues?page=1

if you remove the secure flag, it works?
Secure flag means that cookies will be send only over https, do you have ssl enabled?

Yes it does work without secure flag.
I do have SSL enabled, and it does work because I can login properly to the board.
Proxy prop is for using secure cookie when the server is behind a proxy: https://github.com/expressjs/session#cookiesecure
Additionally, I don't see any logs from the server when I see Internal server error

Try to run with logs enabled  by DEBUG=true, maybe it will show you the error

I deployed the version without the secure flag to see if it works. Then I reverted the change and now it works with secure flag.


SaveGame write error

An error occurs when attempting to save a game.
Reference:
https://forum.outpost2.net/index.php/topic,6353.0.html

Couldn't open 'savegames/MyTest.xml' for writing: not found

Saving can be made to work by changing the save location in:
const std::string SAVE_GAME_PATH = "data/savegames/";

It seems there may be a difference in folder structure between the sample files in the data/ static asset folder versus the user settings in the user's profile folder.

This sounds like an issue with NAS2D's filesystem. Will need to investigate its write paths to verify.

There is no longer an error when I attempt to save or load a game with or without the debugger attached. I suspect PR #435 fixed this.
Games are saving to here:
C:\Users\Brett\AppData\Roaming\LairWorks\OutpostHD\savegames
Which is probably appropriate enough. I would recommend closing this issue.

Will look at and verify this. That is where they're supposed to save. If confirmed fixed will closed.

Confirmed fixed in PR #435.

This error is still present on master.

Ahh, I see what's happening. The folder doesn't exist. Which is unexpected due to a bug in main:
		if (!fs.exists(constants::SAVE_GAME_PATH))
		{
			fs.makeDirectory(constants::SAVE_GAME_PATH);
		}

Such a path exists in the read folder, but not in the write folder. Since it exists (in the read folder), it never tries to create the path (in the write folder).

This is verified to work correctly on Windows.


Clicking on the address or moniker should directly go to the account details

Clicking on the address or moniker should directly go to the account details

Please add your planning poker estimate with ZenHub @rachelhox


How to get the visibility of pose landmarks?

Android platform
When I am building holistic app I know I can use landmark.getX() to get the landmark coordinates. But what is the function of getting visibility of the landmark?
thanks for replying.
_POSE_LANDMARKS
A list of pose landmarks. Each landmark consists of the following:
x and y: Landmark coordinates normalized to [0.0, 1.0] by the image width and height respectively.
z: Should be discarded as currently the model is not fully trained to predict depth, but this is something on the roadmap.
visibility: A value in [0.0, 1.0] indicating the likelihood of the landmark being visible (present and not occluded) in the image._

you should be able to find the method you need in LandmarkProto.class:
`public boolean hasVisibility() {
return (this.bitField0_ & 8) != 0;
}
    public float getVisibility() {
        return this.visibility_;
    }

    private void setVisibility(float value) {
        this.bitField0_ |= 8;
        this.visibility_ = value;
    }

    private void clearVisibility() {
        this.bitField0_ &= -9;
        this.visibility_ = 0.0F;
    }`


added blocking delay functions

DelayUs and DelayMs trait implementations for CountDown timer peripherals
Tested using an oscilloscope to verify correct timing behaviour
Bugfix for wait function

bors r+


validation error: juke_id field required (type=value_error.missing)

When using the 0.0.22 version on step (2. Add API keys) I get the following 400 Error.
Url: /jukebox/api/v1/jukebox
Payload:
{   price: "300",   sp_secret: "549c8cc0edc74c2xxxxxxxxx",   sp_user: "ce5c9dfc9f5d4e298yyyyyyy",   title: "test",   user: "12d4249ae0384ac7b87zzzzz",   wallet: "440bbead02344ooooooooo" }
Response:
{     "detail": "1 validation error for Request\nquery -> juke_id\n  field required (type=value_error.missing)" }

hey, thanks for this issue, the current version on our vetted repo is 0.2.2 did you mean that?
i looked through the code and improved it a bit, can you maybe try that pr?

works like a charm ;) thx


bash command not found

hello,
while i'm trying to insall nvm via curl, i get this message in the console:
bash: line 1: not: command not found
does anynone have an idea why this error appears? i tried to google something, bit nowhere was an explanation that worked for me.

Can you provide the entire shell output, including the command you ran? Also alias curl?

Of course:
i run this command:


Using "include REXML" cause an exception error with "text" widjet

Desktop (please complete the following information and make sure it matches Glimmer Pre-Requisites before reporting an issue):

CPU Architecture [x86_64]
OS [Linux Ubuntu 22.04 LTS]:
Java Version [JDK 19.0.2]:
JRuby Version [jruby-<IP_ADDRESS>]:
Glimmer Libraries/Versions [glimmer 2.7.3 / glimmer-dsl-swt <IP_ADDRESS>]:

Describe the issue
If the source code include REXML and text widget,  the execution throw an exception:
E, [2023-05-31T12:31:24.452499 #60765] ERROR -- : Error encountered in painting shape (#<Glimmer::SWT::Custom::Shape::Text:0x6a2badb1 args=[nil, :default, :default, true] properties={"foreground"=>[#<Java::OrgEclipseSwtGraphics::Color:0x18faaff6>], "font"=>[#<Java::OrgEclipseSwtGraphics::Font:0x137a4b54>]}} shapes=["#<Glimmer::SWT::Custom::Shape::Text:0x4ca970d5 args=[\"test\"] properties={}}>"]>) with method (drawText) calculated args () and args ([nil, :default, :default, true])
E, [2023-05-31T14:11:11.015709 #90968] ERROR -- : org.eclipse.swt.SWT.error(org/eclipse/swt/SWT.java:4899): Argument cannot be null (Java::JavaLang::IllegalArgumentException)
[...]

example code:
require 'glimmer-dsl-swt'
require 'rexml/document'

include Glimmer
include REXML

shell {
  text { text 'test' }
}.open

Glimmer DSL for SWT was not designed to have REXML mixed into the same namespace as Glimmer. What you did caused a namespace conflict. If you avoid include REXML and you use REXML another way, the code would work.
Also, the example you provided follows the way short demos are written, but it is not the recommended way for writing actual apps as it does not shield the public namespace from namespace pollution.
You're supposed to write an app like this:
require 'glimmer-dsl-swt'

class TestApp
  include Glimmer::UI::CustomShell

  body {
    shell {
      text { text 'test' }
    }
  }
end

TestApp.launch

Afterwards, you could include REXML in a separate class, and have this TestApp class call the other class for any XML related work. That would prevent namespace pollution completely and any errors resulting from it.
I am closing this issue given that I provided an answer for what is causing it. If you have further questions or comments, feel free to respond to the closed issue, and I will see your comments (regardless of being closed).
Cheers.

thanks for the exhaustive answer.
I opened the issue because I spent about 3 hours figuring out where the problem was.
I hope it will be useful to someone else.
Currently the problem occurs in a more complex structure than the simple example given, which follows your advice, where the REXML module is loaded in a separate class.  the way to avoid having the exception is to use the full name :: instead of use the shortcut "include REXML".
Thank you  for the great work!


Give a better error message for using import() as a type

We fixed #24172 but the error message we give is still not great.
https://twitter.com/yankeeinlondon/status/1005564400697135104?s=19
Adding a suggestion like "Did you mean 'typeof import(...)'?" would be way better.

@mhegazy Oh, I didn't notice the previous PR which was opened 20 days ago. I'll close my PR.


Xctool uses wrong scheme files when building a scheme

The issue is that when building a scheme, XcodeSubjectInfo functions matchingSchemePathForWorkspace and matchingSchemePathForProject are used to search for schemes with the name that was given by -scheme argument. The function implementations loop over all schemes and return the last matching scheme.
However, schemes should be searched from username.xcuserdatad or xcshareddata/xcschemes directories. Currently, the wrong scheme file is returned (since the active user's scheme is not the last one in the list) and the build does not act as xcodebuild.

I think I've fixed it in https://github.com/facebook/xctool/commit/728150d6ce8bc90e2603c2b92eec79ac8fd15b08. I've tried to run several tests and xctool behavior was always the same as xcodebuild. I have added several new tests (25113b5219416127c089f6a0df7f47c512cbaa36) to cover use case when there are schemes with the same name in shared and users directory to be sure we don't break it in a future. Please reopen if it is not the case for you.


Fix for animation delay zero bug

Fixes #11819

You can test this PR using the following package version. 11.0.999-cibuild0036741-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]


QueuedHostedService implementation will throw OperationCanceledException

The current implementation of QueuedHostedService will most likely encounter an OperationCanceledException in the var workItem = await TaskQueue.DequeueAsync(stoppingToken); line. This exception will not be caught. This in turn means that the logging "Queued Hosted Service is stopping." - and any clean up code! - will not be executed. A finally clause is in order here, I think.
There is a master issue for that page, so if you agree  with my suggestion you might want to add it there.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c3460b0d-9c60-3a06-ac63-18cf990e53c3
Version Independent ID: b2dece1f-15b8-03af-6d52-7cc070432b4b
Content: Background tasks with hosted services in ASP.NET Core
Content Source: aspnetcore/fundamentals/host/hosted-services.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

This exception will not be caught.
Why not, catch (Exception ex) catches all exceptions.

@halter73 please review or suggest a reviewer
The code in question:
private async Task BackgroundProcessing(CancellationToken stoppingToken)
    {
        while (!stoppingToken.IsCancellationRequested)
        {
            var workItem =
                await TaskQueue.DequeueAsync(stoppingToken);

            try
            {
                await workItem(stoppingToken);
            }
            catch (Exception ex)
            {
                _logger.LogError(ex,
                    "Error occurred executing {WorkItem}.", nameof(workItem));
            }
        }
    }

The line var workItem = await TaskQueue.DequeueAsync(stoppingToken); is not within the try block. Maybe it should got there?

Glancing at the quoted code, BackgroundProcessing has inconsistent behavior depending on how the stoppingToken cancellation is observed.
If the cancellation is observed by workItem, and it throws an OperationCanceledException, it will be appropriately logged and swallowed. The while loop will then exit gracefully.
If the cancellation is instead observed by TaskQueue.DequeueAsync, the exception won't be swallowed.
I don't think expanding the existing try block is the fix, because the error log wouldn't make sense. Swallowing the exception without a log is probably the right thing to do in this case. It's already possible for the loop to exit gracefully without a log of the cancellation is first observed by the while condition.

Thanks for contacting us. We believe that the question you've raised have been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.


Implementing SAJOIN

Hello,
Is there a way to implement the SAJOIN command (https://wiki.inspircd.org/Modules/2.0/sajoin), or even RAW messages, without modyfing the core files?
Thanks in advance!

For now I have created an alias on the server to translate summon to sajoin, but it would be great if a "send raw" method gets implemented.


duplication glitch

https://imgur.com/a/KTlfXwM
I tested this on the latest forge update and without any other mod on 1.16.2

Hi, thanks for the report. The link doesn't seem to be working :)

Hope this will work this time :)

Are you on the latest version as I thought I had fixed this issue? (I had spotted it myself just after release)

it's the latest for 1.16.2

Fixed in the latest version :) Sorry about that :)


Markers are Missing on Hover When size is zero

Description
While using the line chart, I was trying to not have any marker points unless I will hover over the chart.
When the Y-axis will contain values greater than 0, it works perfectly fine. But, if the Y-axis value equals 0, the markers will not show up at all.
Steps to Reproduce

Create a line chart.
Use data that contains 0 values in y-axis.
Set markers size = 0.
Set markers hover size = 3.

markers: {
        size: 0,
        colors: ["#ffffff"],
        strokeColors: [baseColor],
        strokeWidth: [2],
        hover: {
          size: 3,
        },
      },

Expected Behavior
Hovering zero values should show the marker points as it is shown when the y axis value is greater than zero.
Actual Behavior
Hovering zero values does not show the marker points as it shows when the y axis value is greater than zero.
Screenshots

But here...

Reproduction Link
https://codepen.io/avishairoi/pen/MWEXMjz

@junedchhipa could you please at least explain why did you close this issue?

@avishairoi I closed the issue with a fix. Please check the commit I have linked above.
The fix will be released in the next patch version (probably this week)

Hi, thanks for your reply,
I missed it. Thanks!
On Mon, Jan 10, 2022, 21:47 Juned Chhipa @.***> wrote:

@avishairoi https://github.com/avishairoi I closed the issue with a
fix. Please check the commit I have linked above.
The fix will be released in the next patch version (probably this week)
—
Reply to this email directly, view it on GitHub
https://github.com/apexcharts/apexcharts.js/issues/2872#issuecomment-1009284157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANAXUEXNZZ7ZIYVHDZFIMMLUVMZUNANCNFSM5LMGQN5A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


s.getUserAgent is not a function

Hi,
I'm using braintree inside an angular2 app.
var braintree = require('braintree-web');

    braintree.setup(token, "custom", {
      id: "ccForm",
      hostedFields: {
        number: {
          selector: "#card-number",
          placeholder: "Card number"
        },
        cvv: {
          selector: "#cvv",
          placeholder: "CVV"
        },
        expirationDate: {
          selector: "#expiration-date",
          placeholder: "MM/YY"
        }
      },
      onPaymentMethodReceived: data => {
        //Some code goes here
      },
      onError: err => {
       //Some code goes here
      },
      onReady: data => {
        //Some code goes here
      }
    });

And I get this error from the console:
TypeError: s.getUserAgent is not a function
at i (braintree.js:3)
Does someone knows something about this issue ?
Package.json:
    "braintree-web": "^2.24.1",

Please, let me know if you need more information

FYI:
The code worked well when I was using the script tag braintree integration, but I need to use webpack for my application, so I switched to braintree-web and I didn't change one single line of code (Except var braintree = require('braintree-web)')

Found a solution (Not ideal, but working):
I went back to using:
<script src="https://js.braintreegateway.com/js/braintree-2.24.1.min.js"></script>

And I added:
declare var braintree:any;

to my typings definition file


Adparams

Have a look.

Thanks for the pull request, Johannes. Here are my first thoughts:

please remove the "Merge branch 'fix_campaign_criteria' into adparams"
commits. 'fix_campaign_criteria branch was already merged to v201109. If there
are some recent changes, please create a separate pull-request for them.

let's stick to certain formatting of commit messages. I've just created a
first draft of commit guidelines
(https://github.com/lstejskal/adapi/blob/v201109/GUIDELINES.markdown), please
read them and update commit messages accordingly by rebase. (I can help you
with that if you want.)

the same applies for commits, but leave that to me. I'll rebase the changes
before merging (you'll still be listed as the author of the commit).

I rebased your updates and merged them with v201109 branch.


368 | Largest Divisible Subset | Python

Largest Divisible Subset
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Python

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

@Yashica7, can you assign this to me.


Feat: better Help command

This refines the help command for the bot and introduces a menu like system.
qq help outputs->

qq help <Category> gives information about the commands in the cog:

qq help <command> gives information regarding the command:

Moreover there is also an add-on for jishaku.
A debugging and testing cog that adds an immense amount of powers to the bot.

closes #137


Consistent Error When Slicing

Just recently bought a Snapmaker J1s and downloaded the J1s plugin for cura, as per the instructions.  However, when trying to send to the printer/disk/export, the error " could not convert string to float: '4.30557m, 0' " repeatedly shows up no matter what I do.  How can I fix it so I can at least export my file to my printer?

@JackTR1357 Which version of Cura are you using?
Cura 5.3 and 5.4 both look fine on my side.


multi_gpu_model doesn't work for cifar10_resnet.py example

The cifar10_resnet.py example is from keras examples folder, and I just add two following lines before model.compile(..):
from keras.utils import multi_gpu_model
model = multi_gpu_model(model, gpus=2)

The training can only works for the 1st epoch but failed after the second one:
Epoch 00001: val_acc improved from -inf to 0.57460, saving model to /tmp/saved_models/cifar10_ResNet20v1_model.001.h5
Traceback (most recent call last):
  File "./cifar10_resnet.py", line 380, in <module>
    callbacks=callbacks)
  File "/usr/local/lib/python3.5/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 2213, in fit_generator
    callbacks.on_epoch_end(epoch, epoch_logs)
  File "/usr/local/lib/python3.5/dist-packages/keras/callbacks.py", line 76, in on_epoch_end
    callback.on_epoch_end(epoch, logs)
  File "/usr/local/lib/python3.5/dist-packages/keras/callbacks.py", line 418, in on_epoch_end
    self.model.save(filepath, overwrite=True)
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 2573, in save
    save_model(self, filepath, overwrite, include_optimizer)
  File "/usr/local/lib/python3.5/dist-packages/keras/models.py", line 111, in save_model
    'config': model.get_config()
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 2414, in get_config
    return copy.deepcopy(config)
  File "/usr/lib/python3.5/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.5/copy.py", line 243, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python3.5/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.5/copy.py", line 218, in _deepcopy_list
    y.append(deepcopy(a, memo))
  File "/usr/lib/python3.5/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.5/copy.py", line 243, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python3.5/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.5/copy.py", line 243, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python3.5/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.5/copy.py", line 223, in _deepcopy_tuple
    y = [deepcopy(a, memo) for a in x]
  File "/usr/lib/python3.5/copy.py", line 223, in <listcomp>
    y = [deepcopy(a, memo) for a in x]
  File "/usr/lib/python3.5/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.5/copy.py", line 223, in _deepcopy_tuple
    y = [deepcopy(a, memo) for a in x]
  File "/usr/lib/python3.5/copy.py", line 223, in <listcomp>
    y = [deepcopy(a, memo) for a in x]
  File "/usr/lib/python3.5/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib/python3.5/copy.py", line 297, in _reconstruct
    state = deepcopy(state, memo)
  File "/usr/lib/python3.5/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python3.5/copy.py", line 243, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python3.5/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/usr/lib/python3.5/copy.py", line 306, in _reconstruct
    y.__dict__.update(state)
AttributeError: 'NoneType' object has no attribute 'update'

@anj-s Thanks!

The root-case is that multi_gpu_model doesn't fully support model.save() while cifar10_resnet does an checkpoint callback after the first epoch. If the checkpoint callback is disabled, the application will be correctly executed.

Thanks ghostplant@ for the RC.


Remove Elasticsearch 1.7 from GovCloud

Elasticsearch 1.7 went EOL on 1/16, we should deactivate it in the k8s broker.
Acceptance Critera

[ ] Elasticsearch 1.7 is not available via the marketplace in GovCloud

@suprenant per Atlas grooming, we need this one to happen... 1.7 is an obsolete service, and we want people to remove their dependance on it as they migrate!

@mogul ah, ok! Sorry we monkeyed with it, thanks


First crack at alt-text

@tupui I took a shot and added alt text to signal.rst. If this looks good to you then I'll continue to make commits in a separate PR to your repo.
If you prefer I submit this PR directly to the scipy repo, let me know.

Thank you for writing alt text for SciPy! I can see you wrote a lot, at least 15! We really appreciate it! :)
However, we would like this alt text as Github Suggestions in the original PR requesting alt text.
Could you move this alt text to Github Suggestions? I think you could copy+paste the plain text and put it into the respective files. For example, you can take your alt text for fft.rst from your PR into the original PR as Github suggestions.
Here are some resources:
Slides on how to add Alt Text to the original PR, starting from slide 11

Thank you @Teque5 I will close this now in favour of what you did directly in the repo.


(WIP) Fixed some issues with deoplete source

It now will respect deoplete setting for min_pattern_length, and will also properly set the "partial" string that is passed to omnisharp server.  Without this partial string then omnisharp returns everything in global scope which leads to lag over time.  It should also make much fewer requests to omnisharp, because it will only make new requests when actually necessary.

Looks great, thanks @svermeulen

Np!

Word!


Camel 10141 have more modules build on JAVA 9

https://issues.apache.org/jira/browse/CAMEL-10141
This PR makes several modules build on JAVA 9 (see commit descriptions).
Thanks!

Thanks for the PR it has been merged. Do you mind closing this?

Thanks!


fix : includeing windows.h header caause error

Description
includeing windows.h header caause error
because includeing std:: max will call max in windows.h.
GitHub Issues
Noting

Thanks very much for this fix, as we had the exact same problem adding doctest support to ApprovalTest.cpp.
The fix almost works - it just has a stray (
We suggest just changing std::max to std::max<double> - this worked for us in both VS2017 and cygwin's gcc.

Thank you for fixing it!!!

@rinechran You're welcome, but we only fixed it in our copy of the doctest single header...
It remains to be fixed in the master repo, so please could you re-open this issue?

@claremacrae sorry  I first tried to pull request and I accidentally closed the issue.

thanks!


Enhancement: Set focus on show

For the alertify.promt() it'd be awesome if the input had focus when the dialog is shown!

In addition to this, submitting the data by hitting the enter key would also be great!
That functionality could also apply nicely to the confirm() and alert() dialogs as well.. although the confirm dialogs might be better with the cancel button focused, or an option to turn off the focusing just in case "ok" is followed by a delete function.

The focus for sure was in the older version, probably enter as well. It should be a relatively minor thing to add them back it, so I think that it would be a good addition.
@shaneparsons Are you in a position to do it? If you are, feel free to assign yourself to it.

@bradberger Yeah definitely! How do I assign myself?

@shaneparsons I think you'll have to accept the invite to join the contributors group first, and then you should have the option in the right column of the issue.

Trying to adress the enhancement. Open to discuss since it's the first commit in this repo.

It'd be awesome if there could be an option to set which button was focused with an option. i.e .btnFocus('ok') or .btnFocus('cancel').. The default could remain OK but for destructive actions, the user would probably want CANCEL focused.
Should I open a new issue or just re-open this one?

@shaneparsons Either one is fine.


Optional, More Accurate Timing Through Repetition

Because we're in the browser, timing is noisy and unreliable. Any one figure can be too high because of background activity.  For example, on one occasion a subscription might run in 1ms but on the next occasion it might take 5ms because the browser decided to pause for a partial GC.  If you see the 5ms figure, you can be fooled into thinking there's a performance problem in the subscription where, in fact, its just an anomaly.
For accurate timings, you have to run the same action 50 times and then take the best figure (the average is useless because it is distorted by the random bad results which happen when the browser pauses to go off and do something else).
Which leads to the following blue sky idea ...
Under user control, re-frame-trace could replay an event 50 times, resetting app-db each time back to the original value, so we get 50 identical trace outputs.  By finding the best outcome for each part of the trace, it could then provide much more accurate timings, by removing all the bounce.
Notes

the user would have to specifically ask for this to happen.  Might take a quite a few seconds to run 50 repetitions. User would have to somehow put the application into the right state and then maybe tell re-frame-trace what event to dispatch?  Maybe they just say to redo the last event (but how then do we know what value app-db had before the last event?
will the trace for each of the 50 runs actually be identical?  Could there be non-determinism because of the timings around animation-frames, maybe?
we're still measuring dev builds, not prod builds.

Implementation
There will be some tricky implementation issues to solve.  Each of the 50 iterations involves resetting app-db to the original value and re-dispatch-ing the event again:

how do we know when we have captured all the trace caused by a single event? At any point there might be more work queued for the next animation frame.  See https://github.com/Day8/re-frame-trace/issues/114
closely related to point 1, how do we know when we should do the reset of app-db and do another iteration.
when we do reset app-db we want to stop capturing trace - the going backwards bit is not interesting
related again to point 1,  how do we know when the reset of app-db has stopped propagating? We can't turn on tracing capture and re-dispatch until the effects of the reset have stopped happening.

The following is tendered as Exhibit A for the prosecution

https://blog.chromium.org/2011/05/chrome-developer-tools-put-javascript.html shows --enable-memory-info as an option to get more detailed memory usage which might be helpful for detecting GC's. console.memory returns memory usage normally, but at a very coarse grain, and I'm not sure if it's even meant to be accurate.

I'm feeling more and more like this is a lower priority.  The "Replay" button might do us.  #155


Add SpiritSwap fUSDT-USDC, FRAX-USDC, and MIM-USDC vaults

Add the following vaults:
fUSDT-USDC
Vault: 0xFbfa12b10626151fB7735aBe4af5277104b480ee
Strategy: 0xf2e24273821835D177eB7A6C222c5AfE5de38e87
Want: 0xe7F86CEf8FEf60ce5050899D1F8e465C00D04a79
PoolId: 65
FRAX-USDC
Vault: 0x11d4D27364952b972AC74Fb6676DbbFa67fDa72F
Strategy: 0x5ef24da9a51a577FE17a9385Ca9206A7266161B0
Want: 0x1478AEC7896e40aE5fB858C77D389F0B3e6CbC5d
PoolId: 66
MIM-USDC
Vault: 0x3aA3341433E8efE228F75777213787f1a51Ab09d
Strategy: 0xA7Ba5D21CE2E9F002fa0348aA71f228a8974273B
Want: 0xc19C7615237f770179ed93d89126478c60742664
PoolId: 67
Related API PR: https://github.com/beefyfinance/beefy-api/pull/581

All vaults and strategies have been signed over.

pangolin-yfi.e-wavax-pause is blocking the build, should I remove it?

Ill merge this and adjust. But for reference, new vaults should always be at the top below BIFI Maxi and any live boost. These were submitted above the FTM boost.


Error during tns run

Hello, the console out this problem when  i launch tns run android.
Exception in thread "main" java.lang.ClassNotFoundException: org.nativescript.Process
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.ig.GetInterfaceNames.generateInterfaceNames(GetInterfaceNames.java:63)
at com.ig.GetInterfaceNames.main(GetInterfaceNames.java:35)
node version: 6.12.2
tns doctor output: No9 issues were detected.
tns version: 3.4.0.

@sabadoc provide a sample project that can reproduce and as much as possible details about the issue so we could investigate further.
Note: Running with tns run android --log trace will provide a more detailed log.

Hi @NickIliev, thanks but i found the solution. The problem was in the path beacause it had a strange characters.


fix: Multiseries chart data does not load completely

Description
When single series line chart data has 0 in one y axis value the chart renders fine but when we add a series to the chart the 0 values were being sent as null. This was because of an if condition which would send null if the value is 0.
This PR fixes it so that 0 values are passed down to chart properly.
Fixes #20212
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Jest

Test Case

https://github.com/appsmithorg/TestSmith/issues/2174

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[x] Test plan has been approved by relevant developers
[x] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=3e807b5

Tested this PR and LGTM

Tested all default charts with single and multi series chart
Tested the same on containers and modals type widgets

/ok-to-test sha=3e807b5

/ok-to-test sha=670d052

/ok-to-test sha=b81b87e


Add the ability to compute things by hand

I would like to take an Expr and see what happens to it at a specific value, to see how the various functions that construct Expr behave, before I run a solver on it. That would be very helpful.

There is a function called evaluate that's exported from the top-level module. I think it does what you're asking for.


Azure Data sync creates some temp file on On-premise Database and machine. Then what is the purpose of Sync database in Azure?

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@practicalspartaa Thank you for sharing your feedback! Since this channel is for driving improvements towards MS Docs, could you provide us with a specific URL of the MS Doc that your feedback is most applicable to? That way, we're able to connect you with the right team that's best fit to address your feedback.

@practicalspartaa Just following up here on my previous comment above. Please let us know if there's a specific MS Docs that feedback is applicable to.

@practicalspartaa Since we haven't heard back, we will now proceed to close this thread for now. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Object literal completions remove original

"tsEssentialPlugins.objectLiteralCompletions.keepOriginal": "remove" setting removes error even though it should keep it.
With remove setting:

With before setting:

As you can see it should keep error: {} instead of removing error & error: {} from suggestions.

Also, weird one is that if I add more props it now remove onRetry


Feature request: Improve the UI experience

The current UI looks like a very traditional one.
The request is to design it for a better style using modern UI technologies.

A completely different UI will increase the learning curve.  Do you have anything specific in mind?

Closing due to lack of response. Please comment/reopen if you have additional information.


GDScript 2.0: Cannot use void functions as a return value

Godot version
v4.0.beta11.official [91713ced8]
System information
macOS 13.1
Issue description
When using a function with a return type of void as the return value of another function with a return type of void, the following error occurs:

Cannot get return value of call to "foo()" because it returns "void"

This wasn't a problem in Godot 3.x and Godot 4.x until now. Seems it's related to https://github.com/godotengine/godot/pull/70702.
I understand why this is happening, but I'd expect to be able to use functions like this that return void because they both use the matching return type. It seems overly strict.
In a real world example I use this to return early when switching states in a FSM:
func _process(_delta: float) -> void:
  if player.is_grounded():
    return state_machine.transition_to("ground") # returns void

  if player.is_on_wall():
    return state_machine.transition_to("wall") # returns void

Steps to reproduce
extends Node

func foo() -> void:
	print("hello")

func _ready() -> void:
	return foo()

Minimal reproduction project
godot_4_return_value_regression.zip

void just means it returns nothing. It's not an actual value. So no, state_machine.transition_to() doesn't actually returns a void value, they return nothing.
I suggest you to fix your code to remove the return statements.

void just means it returns nothing. It's not an actual value. So no, state_machine.transition_to() doesn't actually returns a void value, it returns nothing.
I suggest you to edit your code to return after the transition_to() calls.

I get that bit. It just seems a bit strict that returning nothing should fail to compile.

There was a discussion on the developers' chat about the strictness of return values. It would be quite hard to ensure that the function effectively don't return anything. There's no quick way to make syntactic sugar so that return void_func() would mean void_func(); return.
Before the #70702 merge, void functions would return null. So, it was always returning a value, hence return transition_to() working previously.
No decision has been made to not create in any way syntactic sugar to fix this issue, but it is not considered as a high-priority issue neither.

Fair enough, that makes sense about it technically being syntactical sugar. Thanks for explaining!

IMO, return void_func() worsens readability, return something looks like the function returns some value, and this is confusing, since nothing is actually returned. I would prefer two lines instead of one.

@dalexeev for me it's an aesthetic choice and what I'm used to. But yeah, I can see how the intention might be less explicit, so I'll update my opinions (and my code) ;--)

Void functions shouldn't use return since they don't return anything, they should use exit instead :)

It is quite common in typed languages to allow return void_func() from void functions. Like in C++ for example. So it will be a little bit unexpected for users that it is forbidden. Though I am not saying that it is definitely should be allowed.


Panic: nodeToMember should never fail: raftAttributes key doesn't exist

I'm trying to upgrade from etcd 2.1.3 to 2.2.5 but the migration fails. When I run v.2.2.5 over the v2.1.3 data directory, the following error is thrown:
etcdmain: etcd Version: 2.2.5
etcdmain: Git SHA: bc9ddf2
etcdmain: Go Version: go1.5.3
etcdmain: Go OS/Arch: linux/amd64
etcdmain: setting maximum number of CPUs to 2, total number of available CPUs is 2
etcdmain: the server is already initialized as member before, starting as etcd member...
etcdmain: peerTLS: cert = /etc/ssl/etcd/server.etcd.eu-1.crt, key = /etc/ssl/etcd/server.etcd.eu-1.key.insecure, ca = , trusted-ca =
etcdmain: listening for peers on https://<IP_ADDRESS>:2380
etcdmain: clientTLS: cert = /etc/ssl/etcd/server.etcd.eu-1.crt, key = /etc/ssl/etcd/server.etcd.eu-1.key.insecure, ca = , trusted-ca
etcdmain: listening for client requests on https://<IP_ADDRESS>:4001
etcdserver: recovered store from snapshot at index 42924295
etcdserver: name = etcd0
etcdserver: data dir = /data/etcd0.etcd
etcdserver: member dir = /data/etcd0.etcd/member
etcdserver: heartbeat = 100ms
etcdserver: election = 1000ms
etcdserver: snapshot count = 10000
etcdserver: advertise client URLs = https://example.com:4001
etcdserver: loaded cluster information from store: <nil>
etcdserver: restarting member cc6cc34f9b98d22c in cluster 5e5f1168c9014648 at commit index 42926187
raft: cc6cc34f9b98d22c became follower at term 1913
raft: newRaft cc6cc34f9b98d22c [peers: [cc6cc34f9b98d22c], term: 1913, commit: 42926187, applied: 42924295, lastindex: 42926187, last
etcdserver: nodeToMember should never fail: raftAttributes key doesn't exist
panic: nodeToMember should never fail: raftAttributes key doesn't exist
goroutine 1 [running]:
github.com/coreos/etcd/Godeps/_workspace/src/github.com/coreos/pkg/capnslog.(*PackageLogger).Panicf(0xc8201ac980, 0xefb860, 0x22, 0xc8204f8560, 0x1, 0x1)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/Godeps/_workspace/src/github.com/coreos/pkg/capnslog/pkg_logger.go:
github.com/coreos/etcd/etcdserver.membersFromStore(0x7f42bb8613e0, 0xc8203c2d20, 0xc820401ce8, 0x7f42bb857798)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/etcdserver/cluster.go:388 +0x3b3
github.com/coreos/etcd/etcdserver.(*cluster).Recover(0xc820401cc0)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/etcdserver/cluster.go:226 +0x9a
github.com/coreos/etcd/etcdserver.NewServer(0xc82038cfc0, 0xc82038cfe0, 0x0, 0x0)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/etcdserver/server.go:289 +0x3517
github.com/coreos/etcd/etcdmain.startEtcd(0xc8201f6000, 0x0, 0x0, 0x0)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/etcdmain/etcd.go:303 +0x1b51
github.com/coreos/etcd/etcdmain.Main()
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/etcdmain/etcd.go:117 +0x212d
main.main()
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/main.go:29 +0x14
goroutine 44 [syscall]:
os/signal.loop()
        /usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
        /usr/local/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 53 [select]:
github.com/coreos/etcd/raft.(*node).run(0xc820401e00, 0xc8203d89c0)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/raft/node.go:275 +0x1383
created by github.com/coreos/etcd/raft.RestartNode
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/raft/node.go:190 +0x2e3

This occurs also after doing a etcdctl backup and trying to launch a new instance of the same etcd version.
Any ideas for how to solve this error to migrate to 2.2.5 and then to 2.3?

See also #3630 and #2297

@ceecko Can you try to stop all the members and start them with 2.3 again?

@xiang90 I tried 2.3.3 and got this
etcdmain: etcd Version: 2.3.3
etcdmain: Git SHA: c41345d
etcdmain: Go Version: go1.6.2
etcdmain: Go OS/Arch: linux/amd64
etcdmain: setting maximum number of CPUs to 1, total number of available CPUs is 1
etcdmain: the server is already initialized as member before, starting as etcd member...
etcdmain: peerTLS: cert = /etc/ssl/etcd/etcd.example.com.crt, key = /etc/ssl/etcd/etcd.example.com.key.insecure, ca = , trusted-ca = /etc/ssl/etcd/ca.crt, client-cert-auth = true
etcdmain: listening for peers on https://<IP_ADDRESS>:2380
etcdmain: clientTLS: cert = /etc/ssl/etcd/etcd.example.com.crt, key = /etc/ssl/etcd/etcd.example.com.key.insecure, ca = , trusted-ca = /etc/ssl/etcd/ca.crt, client-cert-auth = true
etcdmain: listening for client requests on https://<IP_ADDRESS>:4001
etcdserver: recovered store from snapshot at index 42914294
etcdserver: name = eu1-sbg
etcdserver: force new cluster
etcdserver: data dir = /home/admin/etcd-backup-working
etcdserver: member dir = /home/admin/etcd-backup-working/member
etcdserver: heartbeat = 100ms
etcdserver: election = 1000ms
etcdserver: snapshot count = 10000
etcdserver: advertise client URLs = https://eu1-sbg.etcd.example.com:4001
etcdserver: forcing restart of member 54aafd041d0001 in cluster 54aafd041d0002 at commit index 42924044
raft: 54aafd041d0001 became follower at term 1912
raft: newRaft 54aafd041d0001 [peers: [cc6cc34f9b98d22c], term: 1912, commit: 42924044, applied: 42914294, lastindex: 42924044, lastterm: 1912]
etcdserver: added member cc6cc34f9b98d22c [https://etcd.eu-1.example.com:2380] to cluster 54aafd041d0002 from store
etcdserver: set the cluster version to 2.1 from store
etcdserver: starting server... [version: 2.3.3, cluster version: 2.1]
etcdmain: failed to notify systemd for readiness: No socket
etcdmain: forgot to set Type=notify in systemd service file?
etcdserver: added member<PHONE_NUMBER>4e40d [https://<IP_ADDRESS>:2380] to cluster 54aafd041d0002
etcdserver: removed member<PHONE_NUMBER>4e40d from cluster 54aafd041d0002
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
etcdserver: skipped updating attributes of removed member<PHONE_NUMBER>4e40d
panic: runtime error: index out of range

goroutine 53 [running]:
panic(0xdc2620, 0xc820012080)
        /usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/coreos/etcd/raft.(*raft).maybeCommit(0xc8200b0480, 0xc8203998f0)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/raft/raft.go:382 +0x302
github.com/coreos/etcd/raft.(*raft).removeNode(0xc8200b0480, 0xcc6cc34f9b98d22c)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/raft/raft.go:842 +0x59
github.com/coreos/etcd/raft.(*node).run(0xc82059ec30, 0xc8200b0480)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/raft/node.go:330 +0xca4
created by github.com/coreos/etcd/raft.RestartNode
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/raft/node.go:215 +0x2e4

I must have gotten into some weird state, because I have only one working copy of the data directory which starts etcd v2.1.3 correctly. But after I restart the same instance, I get the same raftAttribute error.
This is the output of starting form the working copy:
etcdmain: etcd Version: 2.1.3
etcdmain: Git SHA: 30801de
etcdmain: Go Version: go1.4.2
etcdmain: Go OS/Arch: linux/amd64
etcdmain: setting maximum number of CPUs to 1, total number of available CPUs is 2
etcdmain: the server is already initialized as member before, starting as etcd member...
etcdmain: peerTLS: cert = /etc/ssl/etcd/server.etcd.eu-1.crt, key = /etc/ssl/etcd/server.etcd.eu-1.key.insecure, ca =
etcdmain: listening for peers on https://<IP_ADDRESS>:2380
etcdmain: clientTLS: cert = /etc/ssl/etcd/server.etcd.eu-1.crt, key = /etc/ssl/etcd/server.etcd.eu-1.key.insecure, ca =
etcdmain: listening for client requests on https://<IP_ADDRESS>:4001
etcdserver: recovered store from snapshot at index 42924295
etcdserver: name = etcd0
etcdserver: data dir = /data/etcd0.etcd
etcdserver: member dir = /data/etcd0.etcd/member
etcdserver: heartbeat = 100ms
etcdserver: election = 1000ms
etcdserver: snapshot count = 10000
etcdserver: advertise client URLs = https://etcd.eu-1.evennode.com:4001
etcdserver: loaded cluster information from store: <nil>
etcdmain: etcd Version: 2.1.3
etcdmain: Git SHA: 30801de
etcdmain: Go Version: go1.4.2
etcdmain: Go OS/Arch: linux/amd64
etcdmain: setting maximum number of CPUs to 1, total number of available CPUs is 2
etcdmain: the server is already initialized as member before, starting as etcd member...
etcdmain: peerTLS: cert = /etc/ssl/etcd/server.etcd.eu-1.crt, key = /etc/ssl/etcd/server.etcd.eu-1.key.insecure, ca =
etcdmain: listening for peers on https://<IP_ADDRESS>:2380
etcdmain: clientTLS: cert = /etc/ssl/etcd/server.etcd.eu-1.crt, key = /etc/ssl/etcd/server.etcd.eu-1.key.insecure, ca =
etcdmain: listening for client requests on https://<IP_ADDRESS>:4001
etcdserver: recovered store from snapshot at index 42914294
etcdserver: name = etcd0
etcdserver: data dir = /data/etcd0.etcd
etcdserver: member dir = /data/etcd0.etcd/member
etcdserver: heartbeat = 100ms
etcdserver: election = 1000ms
etcdserver: snapshot count = 10000
etcdserver: advertise client URLs = https://etcd.eu-1.evennode.com:4001
etcdserver: loaded cluster information from store: <nil>
etcdserver: restarting member cc6cc34f9b98d22c in cluster 5e5f1168c9014648 at commit index 42924042
raft: cc6cc34f9b98d22c became follower at term 1912
raft: newRaft cc6cc34f9b98d22c [peers: [cc6cc34f9b98d22c], term: 1912, commit: 42924042, applied: 42914294, lastindex: 42924042, lastterm: 1912]
etcdserver: starting server... [version: 2.1.3, cluster version: 2.1.0]
etcdserver: added member<PHONE_NUMBER>4e40d [https://<IP_ADDRESS>:2380] to cluster 5e5f1168c9014648
rafthttp: failed to dial<PHONE_NUMBER>4e40d on stream MsgApp v2 (dial tcp <IP_ADDRESS>:2380: connection refused)
rafthttp: failed to dial<PHONE_NUMBER>4e40d on stream Message (dial tcp <IP_ADDRESS>:2380: connection refused)
etcdserver: removed member<PHONE_NUMBER>4e40d from cluster 5e5f1168c9014648
raft: cc6cc34f9b98d22c is starting a new election at term 1912
raft: cc6cc34f9b98d22c became candidate at term 1913
raft: cc6cc34f9b98d22c received vote from cc6cc34f9b98d22c at term 1913
raft: cc6cc34f9b98d22c became leader at term 1913
raft: raft.node: cc6cc34f9b98d22c elected leader cc6cc34f9b98d22c at term 1913
etcdserver: published {Name:etcd0 ClientURLs:[https://etcd.eu-1.evennode.com:4001]} to cluster 5e5f1168c9014648
etcdserver: start to snapshot (applied: 42924295, lastsnap: 42914294)
etcdserver: saved snapshot at index 42924295
etcdserver: compacted raft log at 42919295
fileutil: purged file /data/etcd0.etcd/member/snap/0000000000000019-00000000028e35b2.snap successfully

And here's how I got to this strange situation:

I had running etcd 2.1.3
I wanted to add a new member
etcdctl member add
Started the new member (v2.1.3) with no data
I had wrong SSL certificate in the new member
Shutdown the new etcd
etcdctl member remove - this has failed because the cluster was not healthy
Fixed certificate
Started new member
Some weird error on the original etcd appeared (don't remember, but I could try to find out)
Stopped the new member
Restored original member from backup (this is the only working backup I have and cannot create any new backup because it always fails to start with the panic)
The output above is what happens when I start etcd from the only working backup

@ceecko OK... Seems like a few bad things happened in sequence... Let's try to use force-new-cluster to remove all the previous configuration? It might help with this situation. I am not exactly sure what really happened. https://github.com/coreos/etcd/blob/release-2.3/Documentation/admin_guide.md#restoring-a-backup

@xiang90 Probably too many things ;)
I've tried the -force-new-cluster before, but doesn't help either
/home/etcd/etcd-v2.3.3-linux-amd64/etcd  \
-name eu1-sbg  \
-data-dir /home/admin/etcd-backup-2.3  \
-client-cert-auth  \
-trusted-ca-file=/etc/ssl/etcd/ca.crt  \
-cert-file=/etc/ssl/etcd/etcd.example.com.crt \
-key-file=/etc/ssl/etcd/etcd.example.com.key.insecure  \
-peer-client-cert-auth  \
-peer-trusted-ca-file=/etc/ssl/etcd/ca.crt  \
-peer-cert-file=/etc/ssl/etcd/etcd.example.com.crt  \
-peer-key-file=/etc/ssl/etcd/etcd.example.com.key.insecure  \
-advertise-client-urls https://eu1-sbg.etcd.example.com:4001  \
-listen-client-urls https://<IP_ADDRESS>:4001  \
-listen-peer-urls https://<IP_ADDRESS>:2380  \
-initial-advertise-peer-urls https://eu1-sbg.etcd.example.com:2380  \
-initial-cluster-token etcd-cluster  \
-initial-cluster eu1-sbg=https://eu1-sbg.etcd.example.com:2380  \
-initial-cluster-state new -force-new-cluster

etcdmain: etcd Version: 2.3.3
etcdmain: Git SHA: c41345d
etcdmain: Go Version: go1.6.2
etcdmain: Go OS/Arch: linux/amd64
etcdmain: setting maximum number of CPUs to 1, total number of available CPUs is 1
etcdmain: the server is already initialized as member before, starting as etcd member...
etcdmain: peerTLS: cert = /etc/ssl/etcd/etcd.example.com.crt, key = /etc/ssl/etcd/etcd.example.com.key.insecure, ca = , trusted-ca = /etc/ssl/etcd/ca.crt, client-cert-auth = true
etcdmain: listening for peers on https://<IP_ADDRESS>:2380
etcdmain: clientTLS: cert = /etc/ssl/etcd/etcd.example.com.crt, key = /etc/ssl/etcd/etcd.example.com.key.insecure, ca = , trusted-ca = /etc/ssl/etcd/ca.crt, client-cert-auth = true
etcdmain: listening for client requests on https://<IP_ADDRESS>:4001
etcdserver: recovered store from snapshot at index 42924295
etcdserver: name = eu1-sbg
etcdserver: force new cluster
etcdserver: data dir = /home/admin/etcd-backup-2.3
etcdserver: member dir = /home/admin/etcd-backup-2.3/member
etcdserver: heartbeat = 100ms
etcdserver: election = 1000ms
etcdserver: snapshot count = 10000
etcdserver: advertise client URLs = https://eu1-sbg.etcd.example.com:4001
etcdserver: forcing restart of member 54ab3502af01 in cluster 54ab3502af02 at commit index 42926635
raft: 54ab3502af01 became follower at term 1913
raft: newRaft 54ab3502af01 [peers: [cc6cc34f9b98d22c], term: 1913, commit: 42926635, applied: 42924295, lastindex: 42926635, lastterm: 1913]
etcdserver: nodeToMember should never fail: raftAttributes key doesn't exist
panic: nodeToMember should never fail: raftAttributes key doesn't exist

goroutine 1 [running]:
panic(0xbeaea0, 0xc820752330)
        /usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/coreos/etcd/Godeps/_workspace/src/github.com/coreos/pkg/capnslog.(*PackageLogger).Panicf(0xc82015f060, 0x10510e0, 0x22, 0xc8204342d8, 0x1, 0x1)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/Godeps/_workspace/src/github.com/coreos/pkg/capnslog/pkg_logger.go:73 +0x191
github.com/coreos/etcd/etcdserver.membersFromStore(0x7f85772badc8, 0xc8202d69a0, 0xc820750668, 0x0)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/etcdserver/cluster.go:448 +0x3c7
github.com/coreos/etcd/etcdserver.(*cluster).Recover(0xc820750640)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/etcdserver/cluster.go:226 +0xce
github.com/coreos/etcd/etcdserver.NewServer(0xc8202548c0, 0xc820254978, 0x0, 0x0)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/etcdserver/server.go:334 +0x3c6f
github.com/coreos/etcd/etcdmain.startEtcd(0xc820079400, 0x0, 0x0, 0x0)
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/etcdmain/etcd.go:302 +0x1b40
github.com/coreos/etcd/etcdmain.Main()
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/etcdmain/etcd.go:118 +0x2142
main.main()
        /home/gyuho/go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/main.go:29 +0x14

I have tried to create the backup from v2.1.3 by using both etcdctl 2.1.3 and etcdctl 2.3.3

@ceecko
Yea... The root cause is the bug we fixed in 2.3. That bug probably leads to something else that I am not aware of.
Is the data critical to you? Can you share it? If it is very critical to you and you can share it with me, probably I can try to recover the data for you with some "magic"... But still no guarantees...

@xiang90 Unfortunately it contains sensitive data, I can't share it. However we load data to etcd from a db and we wrote a script to reload the data into v2.3.3. Everything works fine now.
If there's anything I could provide to help you debug the issue, I'll be happy to help. Please let me know.

Thank you for your really quick help debugging btw.

@ceecko Yea. I think the root cause is fixed by https://github.com/coreos/etcd/pull/3657 . And to be honest with you, I do not have interest in investigating what other issues that bug might introduce into the cluster and led the cluster into an unrecoverable state. :(


Filter playtime on characters during a specific period

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
A feature to be able to see activity on a character through out a specific set dates period. For example I could go to a players logs figure out a specific character and select a date from the 19th to October 25th and it would tell me total play time for that period.
I'm part of the Group Managers on Legacy International and we constantly find ourselves going though manually checking activity and adding up the time for every time someone disconnects and connects again during a period to check for activity. This would help us a bit with this process and checking activity for groups.
Describe alternatives you've considered
The alternative would be what we are currently doing which is going though players logs and under details putting characters names and filtering to connect logs then manually adding up total play time for whatever period we're looking for could be past 30 days past 2 weeks etc.. into a spread sheet
Additional context
N/A

Last 2 weeks is plenty useful, thank you Laura!


Inconsistency in XLA Compiled Models with tf.matmul, tf.concat with Extra Transpose Output

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.15.0
Custom code
Yes
OS platform and distribution
Ubuntu 22.04.3 LTS
Mobile device
No response
Python version
3.10.0
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I've encountered a bug exhibiting inconsistency under XLA compilation when using tf.matmu with extra transpose output.
In an effort to isolate the issue, we experimented with reducing the complexity of the models by altering the concatenation operation.
We found that either removing one of the tensors involved in the tf.concat or changing the shapes of the tensors being concatenated prevents the error from occurring.
This behavior suggests that the specific combination of tensor shapes and the concatenation operation could be the root cause for the inconsistency.
I hope this information aids in pinpointing the root cause of the error.
Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np
class Model1(tf.keras.Model):
    @tf.function(jit_compile=True)
    def __call__(self, inp1, inp2, inp3, inp4, inp5):
        concat = tf.concat([inp4, inp3, inp2, inp1], axis=0)
        matmul = tf.matmul(inp5, concat)
        out = tf.transpose(matmul, perm=[1, 0])
        extra_trans = tf.transpose(matmul, perm=[1, 0])
        return out, extra_trans,

class Model2(tf.keras.Model):
    @tf.function(jit_compile=True)
    def __call__(self, inp1, inp2, inp3, inp4, inp5):
        concat = tf.concat([inp4, inp3, inp2, inp1], axis=0)
        matmul = tf.matmul(inp5, concat)
        out = tf.transpose(matmul, perm=[1, 0])
        return out,

inputs = [
tf.random.uniform(shape=[1, 8], dtype=tf.float64),
tf.random.uniform(shape=[1, 8], dtype=tf.float64),
tf.random.uniform(shape=[1, 8], dtype=tf.float64),
tf.random.uniform(shape=[1, 8], dtype=tf.float64),
tf.random.uniform(shape=[61, 4], dtype=tf.float64),
]
model1 = Model1()
model2 = Model2()
device = "cpu"
with tf.device(device):
    tf.config.run_functions_eagerly(True)
    out1 = model1(*inputs)
    out2 = model2(*inputs)
    print(f'=========eager_output(version:{tf.__version__})================')
    try :
        for i in range(min(len(out1),len(out2))):
            np.testing.assert_allclose(out1[i].numpy(), out2[i].numpy(), rtol=0.001, atol=0.001, err_msg=f'at checking {i}th')
        print("XLA_eager does not trigger assertion")
    except AssertionError as e:
        print("XLA_eager triggers assertion")
        print(e)
    tf.config.run_functions_eagerly(False)
    out1 = model1(*inputs)
    out2 = model2(*inputs)
    print(f'=========compiled_output(version:{tf.__version__})================')
    try :
        for i in range(min(len(out1),len(out2))):
            np.testing.assert_allclose(out1[i].numpy(), out2[i].numpy(), rtol=0.001, atol=0.001, err_msg=f'at checking {i}th')
        print("XLA_complie does not trigger assertion")
    except AssertionError as e:
        print("XLA_complie triggers assertion")
        print(e)

Relevant log output
=========eager_output(version:2.15.0)================
XLA_eager does not trigger assertion
=========compiled_output(version:2.15.0)================
XLA_complie triggers assertion

Not equal to tolerance rtol=0.001, atol=0.001
at checking 0th
Mismatched elements: 485 / 488 (99.4%)
Max absolute difference: 1.85405643
Max relative difference: 14.07911993
 x: array([[0.760483, 1.281166, 1.877058, 1.311199, 2.140326, 1.761177,
        0.658837, 0.750503, 0.631657, 1.055799, 0.810465, 1.464139,
        0.645256, 1.319309, 1.004365, 0.408758, 0.189622, 0.616012,...
 y: array([[0.760483, 1.403855, 1.624952, 0.935791, 1.262206, 1.063867,
        0.501015, 0.444913, 1.281166, 1.38788 , 0.780569, 1.458368,
        1.646151, 1.374998, 1.941431, 1.119391, 1.877058, 0.899551,...

@sachinprasadhs I was able to replicate this error in gpu sand cpu. Please find the attached gists.
Thank you!


Can this parse elements css and trigger if they have position: sticky?

It'd be better than manually specifying each selector as sticky.
You'd be able to simply drop <script src="stickyfill.js"> into html and position: sticky would be polyfilled instead of having to put <script src="stickyfill.js"> into the page, then go into JS and do something like:
var stickyElements = document.getElementsByClassName('sticky');

for (var i = stickyElements.length - 1; i >= 0; i--) {
    Stickyfill.add(stickyElements[i]);
}

Nope:

Browsers don’t save CSS values they don’t understand → checking getComputedStyle won’t work
Another method – parsing CSS and determining who’s gonna get sticky positioning – is a huge task in itself, lots of additional unnecessary code, big performance overhead, lots of quirks
Drop-in solution won’t work with dynamic web apps

I bet it ccccccooooouuuuullllddddd work, but like you said, it'd be a ton of work and impossible to find the right balance on perf overhead. Aight. Just figured I'd ask. :)


Router switch can't pass down query string (and other special parts)

Best explained by looking at the following example:
#[derive(Clone, Debug, Switch)]
pub enum PostsRoute {
    #[to = "/{}"]
    Id(u64),
    #[to = "/?page={}"]
    ListPage(u64),
    #[to = "/"]
    List,
}

#[derive(Clone, Debug, Switch)]
pub enum AppRoute {
    #[to = "/posts{*}"]
    Posts(PostsRoute),
}

This feels like it should work. In fact, one of the example in yew-router uses this exact pattern (BRoute is used like PostsRoute here).
The route "/posts/?page=5" will still match PostsRoute::List instead of PostsRoute::ListPage(5) because "?page=5" isn't passed down. PostsRoute only ever receives "/".
This is because only {*} stops capturing as soon as it sees " #&?=".
This behaviour is certainly desired when capturing simple values like strings but in this case it's rather unfortunate.
I don't have a proposal to offer because I feel like there will be significant changes to the router anyway and this issue should be considered in the new design.

I find myself in need of this at the moment.


Support version 2.1.1 changes

Fixes #322

Reviewers is @PrathibaJee

Kindly raise a PR for merging into v2.1.1_impl branch instead of develop branch


[BUG] OpenSearch Serverless Sink does not create index on startup

Describe the bug
When using an OpenSearch Serverless collection in a pipeline in the opensearch sink, the index configured is not created until a document is sent to the pipeline and is indexed into the collection.
To Reproduce
Steps to reproduce the behavior:

Create a pipeline with an opensearch serverless collection as a sink
Observe the index configured in the sink is not created when starting Data Prepper
Send an Event to the pipeline
Observe the document in the collection in the specified index

Expected behavior
The index should be created on startup like it is for non-serverless opensearch sinks
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: [e.g. Ubuntu 20.04 LTS]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I haven't tested it but my understanding is that when using opensearch serverless collection as sink, index_type defaults to management_disabled, which is probably the reason pipeline doesn't create index or index template when sink is initialized. Set index_type to custom would probably make it work.

@graytaylor0 , Yes, this should work. I think in Data Prepper 3.0 we could fix these defaults. But, this default was chosen because we first added support for Serverless without any support for index management. So changing the default could change existing behavior.


Update interaction.md

I think a few mistakes are in the documentation. I took the liberty to suggest these changes :)
Nice lib by the way.

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

I'll be honest, I don't feel like agreeing to these terms and conditions. Even more from my company github account.
So I'll close the PR, hopefully it will get fixed soon.
And thank you again for the lib :)


rename package name

This is generic enough to have react-native on the name
can we rename or create a new package that has a generic name?
link-preview?
link-preview-og?

Library has been renamed and republished as link-preview-js, old package has been deprecated on npm.js and this repo name has been updated as well.


fix onFailure handling in DistributingDownstream

if the downstream responded with a failure the
DistributingDownstream sent that failure back to him
instead of aborting.

maybe add a test for the error handling, else ack

ack