Add support for ARM64

Now that VS2017.9 is out, we can support ARM64.
Downside is that ffmpeg build scripts will fail if VS2017 does not have the latest update.
Not sure if that is a problem.

It's not like I believe that ARM64 platform is going to be very successful, still...

ARM64 binaries has been provided in FFmpegUniversal 4.0 and later. So you don't worry about the FFmpegUniversal branch.

We shouldn't worry about VS versions, as they are readily available free of charge. There is no reason why someone shouldn't have the latest version.
Unless they work on an aircraft carrier or something, and they really need to compile ffmpeg.

It's just that people would get a non descriptive build error on ffmpeg build.
Maybe a comment on that in the readme is sufficient.
VS 2017 15.9.x will do the job, VS2019 will build as well.

Can someone test the build on their system?
Would be good to get a second green light before merging.
I ran App Cert Kit on my binaries and it showed no issues.

I am building it right now.

On a side note, it will take a while before I can do a store submission with ARM64 packages. I will need to create a new configuration.

For me it's sufficient to know that the build script works. I assume that the rest will work as well. We don't have real devices to test this anyways. At least, I don't plan to buy one ;)

Yeah but in order to submit an app to the store with ARM64, I need to create a new configuration for it in the solution.
The bins checked out all good for me too. But sometimes the certification they do at the store submission is different than the local one.

This has nothing to do with this project, but rather with consuming the DLLs inside other projects.
In order to compile your application for the ARM64 configuration, you must update your project's Minimum Version to the Windows 10 Fall Creators Update (Build 16299)
This error is particularly annoying, because if you want to mix ARM64 with the rest of the bad boyz (x86, x64 and ARM), you are forced to target 16299 as minimum platform. Whereas the others can target lower versions, like 14393.
This is a pretty major oversight from the compiler team.
I wonder how this can be solved without duplicating the project files.
I also wonder what are the market share of builds earlier than 16299.

C++ projects can use lower SDK versions with ARM64. But C# and VB must use 16299 or higher. I guess most Windows 10 users are on that version already, since it's more than one year old. But on the other hand, the market share of ARM64 ist probably extremely small. I would not sacrifice users on older Win10 versions for those few ARM64 users, and taking the double work to support two platforms it probably not worth the effort yet, unless ARM64 gains a lot more traction.
But for new projects, I'd start with a recent SDK anyways, and then include ARM64...

Yes, you are probably right. I think therr are just a handful (literally) of models using ARM64

There might be potential if Qualcomm drastically reduces prices on their chips, or if they drastically improve performance. But putting up Qualcomms most expensive, high performance chips against Intels cheapest, low performance (Atom based) chips is not going to be successul. Battery life alone is not going to convince a lot of people to pay 800$ for a ARM64 device that has the same performance as a 300$ Intel device.


feat: add results and page metadata to filter bar

This PR addresses #756

[x] Addresses the issue in full
[ ] Addresses only certain aspects of the issue

Description
This moves the region which had the "Filters" button down into the right listings column, and adds Total Results & Page X of Y metadata.
How Can This Be Tested/Reviewed?
View the Listings page, tweak filters, etc.
Note: we might want to do a pass of testing accessibility for this…not sure if there's anything specific we need to do for better markup.
Author Checklist:

[ ] Added QA notes to the issue with applicable URLs
[x] Reviewed in a desktop view
[x] Reviewed in a mobile view
[ ] Reviewed considering accessibility
[ ] Added tests covering the changes
[ ] Made corresponding changes to the documentation
[ ] Ran yarn generate:client and/or created a migration when required

Review Process:

Read and understand the issue
Ensure the author has added QA notes
Review the code itself from a style point of view
Pull the changes down locally and test that the acceptance criteria is met
Either (1) explicitly ask a clarifying question, (2) request changes, or (3) approve the PR, even if there are very small remaining changes, if you don't need to re-review after the updates

We're also showing 1 of 0 in an empty state

Thanks @emilyjablonski for the feedback! I'll work on making changes.

@emilyjablonski I think it has been tightened up now. One change I didn't make was that I kept the text button color intact on mobile. I'm not sure why in the Figma the button shows the same dark gray text color as regular text. We can ask design, but that seems out of step with the design system to me.
I also noticed some horizontal padding issues with some other content in the sidebar, but that was present before this ticket. We can decide if we want to address that here or separately.

Thanks @emilyjablonski for the additional review! I think we're OK regarding the Total Results font size – I took screenshots of the page and the Figma design and compared the sizes and it's looking identical (at least on my machine in Safari).


Add result to ObjectCommandResultError

When a ObjectCommandResultError is thrown, this change attaches the computed result to the error in case a custom error handler wants to use it for some reason.
In my case, I use Proxy objects to wrap Objects with a toString() property that I've been using since 2.9.0 but stopped working with the introduction of object checking and ObjectCommandResultError, but this change should allow me to deal with that in a custom error handler.

Smart addition, thanks!


can you provide some test_files?   yolo format ?

Hi! Check Readme.MD

Structure of every txt-file:
class_id_0 x y h w
...
class_idN x y h w
You can load few images in CVAT, add classes = max objects in all loaded images and after that download from CVAT annotations in Yolo-format to check


Version 1.5.0

This is most likely the last release to support Node.js 6.

Add Symbol.toStringTag property to Iterator
Update documentation

Landed in https://github.com/metarhia/common/commit/6b824428a07ca1495cd8e701ccb4b22a170d43a1.


[PSM Interop] Check for active ADS in Security and URL Map tests

test_client.wait_for_server_channel_ready was not called in SecurityXdsKubernetesTestCase and XdsUrlMapTestCase.
Initial PR: https://github.com/grpc/grpc/pull/34631.

[ ] grpc/java/v1.59.x/branch/xds_k8s_lb
[ ] grpc/java/v1.59.x/branch/psm-security
[ ] grpc/java/v1.59.x/branch/xds_url_map

@XuanWang-Amos Yea, I thought it too.


Address batch size of -1 in tf inputs

We need a strategy to handle protobufs created externally with batch size set to -1 (dynamic shape).

Fixed


Online simulation for small acceptance rates

I've been working toward generalizing the heatmap (Figure 1 in the paper) so that we can plug in online simulations instead of only offline. Calculating the heatmap requires running simulations for a grid of configurations. Unfortunately, our current online simulation implementation doesn't support small acceptance rates. This issue not only prevents us from creating heatmaps but also reveals a bug 🥲
Thanks to edge case 1 described below, generating S tokens shouldn't take much longer than S * (failure_cost + c + wait_for_pipe). However, our current implementation ignores the edge case, causing the latency to scale with 1/acceptance_rate. For example, generating S=77 tokens with acceptance_rate=0.01 requires approximately 7700 iterations instead of <= 77. For reference, I added tests covering the issue (see the two skipped tests in tests/online/test_simul.py, named test_correct_token_count_per_iteration and test_duration)
The edge cases (from private email correspondence I sent on July 15):

Two edge cases of DSI boost its speedup but are overlooked in our online simulations. The two suggested changes below will improve the speedups reported in the paper (affecting Table 1 and Figure 1).

Accept an extra token if the target rejects a draft or if the extra token is the last.
Simulate an immediate validation of the extra token by terminating the corresponding speculating iteration with probability 1 - acceptance_rate.

For more context, please see my PR comment.

Update: Since test_correct_token_count_per_iteration was a reimplementation of the core logic and we are editing the core logic as we go, I'm removing this test. Instead, see the new test test_num_of_fix_history.


How can delete all redis cache with pattern

Hi Everyone,
I used distributed caching with redis in project .net core, and how can I delete all redis cache with some pattern key,
Example: I have 3 key like this
     Key 1:    :User:1 (1: is dynamic)
     Key 2:    :User:2 (2: is dynamic)
     Key 3:    :Role:1
-> how can I delete key 1 and 2

Please help me.
Thank you!

Hello @jindovu ... We don't have the staffing to support general development questions. Please open that question on a support forum, such as Stack Overflow, or a support chat, such as Slack or Gitter.


Content Page Image Size and Position

Bottom right image changes sizes on change to landscape.  Also want to make this stick to the baseline instead of floating below the text

general UI cleanup (more readable menu, hamburger menu?)


Android 4.4.4 - should I use latest plugin version?

Hi,
I remember from the readme.md file there was a line like this:
IMPORTANT: If you are targeting API <= 22 you should continue using version 1.0.2.
Since it was removed, does this mean it is "safe" to use latest version for overall development which targets both API<22 and API >= 22 ?

Yes, release 1.1.0 should work happily with API 22.


Use Format replacements in action

Hello maintainers, first of all, thanks for your excellent work on this project. It has been incredibly useful for me.
I am currently experiencing an issue with: When I'm trying to write a minimizer for Hyprland with wlr/taskbar's on-click-right.
The ideal action for me looks like this:
"on-click-right": "bash -c '[ '$(hyprctl clients -j | jq -r '.[] | select(.title == {title})' | jq -r '.workspace.name')' == 'special:minimized' ] && hyprctl dispatch movetoworkspace +0,title:{title} || hyprctl dispatch movetoworkspacesilent special:minimized',title:{title}",

The only thing miss for me is using the title in action
Or is there any other methods to achieve this?

I might be wrong, but right now I don't really see a way to do this from within wlr/taskbar.
Here's an alternative workflow suggestion:

add a shortcut to your hyprland config that sends the active window to special:minimized workspace
add a shortcut to your hyprland config that starts a script which

pulls a list of windows on special:minimized workspace
opens dmenu/rofi/... to display them
runs hyprctl dispatch to get the selected window back

It might not be as pretty, but it has the advantage that it should be available right now. ;)
Regarding your feature request, I think it's a nice idea for user scripts called from wlr/taskbar to have access to certain window information, but:

wlr/taskbar wasn't really supposed to call user scripts, the on-clicks are really meant for module internal wayland actions as documented in the manpage

see https://github.com/Alexays/Waybar/blob/ca3877d0b8e8e6cb484c6a9c6d5dcaff5fab0b74/src/modules/wlr/taskbar.cpp#L535
that it partially does that now is because it is not fully integrated with the current version of AModule, which from my point of view is a bug. The scripts are called from the whole module widget, not from individual window button widgets, which makes it impossible to have any window specific information that way
a bigger rework based on the given shortcoming could address this in the future, maybe

I would be concerned about replacements in commands, because the input is quite arbitrary. E.g. if it's a shell terminal, the title can be set via a prompt command within the shell and could contain a lot of things. A better approach would be to make the information available via environment variables

BTW, title or app_id aren't necessarily unique, which limits the usefulness of setting them for use in scripts.

Sorry for the late reply, I've made some confusions on taskbar's feature. I turns to use rofi, it works great for me, thanks :100:


Feature/contributions

Added a contributors document.
Updated the docs to reflect the current 2.0 API
Added an explicit cast and ToString() implementation to JsonPropertyName to reflect the documentation.

Thanks for this PR!
Although I'm going to close it, it is very welcome, as it has spurred me to commit the additional changes required to bring the HOL docs up to date with the V2.0 API.
Your changes are included in #317 (along with a bunch of others).
If you wanted to do something incredibly useful, you could work through the HOL and make sure the examples all work for you!

Yeah I totally understand. And will be testing the HOL.  Also just to be on the same page, HOL means docs/GettingStartedWithJsonSchemaCodeGeneration.md right?


fix: error in voice (or thread ?) text channel

Update Interaction.lua to not error when trying to save a new message in voice (and thread?) text channels because channel parent doesn't exist

This is a breaking change, this method can only be returning a Message object or an error tuple. data is not a Message object though.
This problem cannot be solved sadly without having support for those channels, the best option to make it not crash here is to return an error tuple, or simply tell user to not respond to interactions in those channels.
Any other ideas?

The thing is, everything worked fine, the interaction got responded to and stuff though only when it tries to log the new message in the channel it errors. So we should either as you said fully implement support for those channels or check the channel type when trying to put the message in the cache (I assume that's what its doing) and act accordingly

I am aware it works just fine, but errors when trying to construct a message object.  We don't have to check the channel type at all, just check if _channel is nil.
The side effect of this is that you cannot tell when the interaction has actually succeeded but failed to construct the message object on client side, or if it legit failed at Discord side.  Users can still match for the returned error message I guess, really not cool :(
Discordia is currently accepting similar PRs, so we may want to look into something like https://github.com/SinisterRectus/Discordia/pull/355.

I guess technically we also have another solution, simply ignore any Interaction received with no _channel, i.e. do not emit interactionCreate for it.  I would rather not do this though.
Or alternatively, we could also do the same as above, but instead of checking for _channel after making the request, we could make _sendFollowup fail before createWebhookMessage.

@Ta-noshii For now, you can ignore all interactions that does not have a channel object to prevent your bot from crashing, that is, do not :reply to any Interaction that has Interaction.channel/Interaction._channel nil.

Thanks!


Initialization steps in toolchains

This PR is a follow-up of "Fix issue #2124: IAR no rtos #2129" for other tooochains.
jamike analysis explained that mbed_sdk_init needs to be called once at the right time (after ram initialization and before C++ object creation) - this PR aims to fulfill this same requirement for the supported toolchains (gcc / arm / µarm) and also in case of ARM + rtos configuration.
Once this series is applied, few workarounds' can be removed from STM32 drivers.

Complete test report on all STM32 platforms, all TCs
fix_InitTCs_TestReport.txt
no regresssion seen

@jamike @adustm @svastm

cc @c1728p9 @sg-

In the uARM fix, sys_open is call 3 times in a row.
If we can't move the mbed_sdk_init() somewhere else, the function could be protected against multiple init.
static int mbed_sdk_inited = 0;
if (!mbed_sdk_inited) {
    mbed_sdk_inited = !mbed_sdk_inited;
    mbed_sdk_init();
}

@svastm Thanks for proposal indeed ...
any uarm expert that could even propose a better hook point ?

I took into account svastm proposal and I rebased to solve conflicts with latest master

@mbed-bot: TEST
HOST_OSES=windows
BUILD_TOOLCHAINS=GCC_ARM,ARM,IAR
TARGETS=ALL

@c1728p9 Any comments to this changeset?

Test results look good

@LMESTM  @c1728p9 Shall we proceed this. there are some minor comments.

@0xc0170 : rebased and updated according to comment
F0 & F4 STM32 families tested ok on ARM. Other TCs tests ongoing as well
More feedback and tests welcome

I confirm that all tests are OK on STM32 boards

@0xc0170  just rebased as there were conflicts

rebased to solve conflicts with master ...

/morph test

/morph test

Looks like there was bug introduced with the latest version of setuptools, oh joy! I've deployed a workaround that should fix the test prep issue for now until they patch setuptools.
/morph test

@bridadan so what's next ? Is there something broken with my PR or with the test tool ?

@LMESTM sorry for the delay on this. The above issue was caused by a faulty version of pip package that was released. I will rerun the CI now.
/morph test

/morph test

mbed OS 5 tests look good! Thanks for your patience!

mbed_sdk_init has been called just before main since the beginning of time. If a hook is needed for post RAM init and pre ctor then we should add a new one, not change the behavior of something existing. Looking at the history, it was introduced to solve a problem in that our IO constructors didn't allow a logic level to be initialized in the ctor. This has since been added invalidating the initial reason for existence but it will be safer to provide a new hook rather than reusing an existing one. We need to determine whether this happens before or after the RTOS is initialized. Ideas??

mbed_sdk_init has been called just before main since the beginning of time. If a hook is needed for post RAM init and pre ctor then we should add a new one, not change the behavior of something existing.

The point is that this behavior is not consistent over all toolchains (since the beginning also I guess ...)

This has since been added invalidating the initial reason for existence but it will be safer to provide a new hook rather than reusing an existing one

Which toolchain are you referring to in this comment ?
I think this is what I am proposing for ARM toolcahin in this series, but indeed for uARM I couldn't find a suitable place

We need to determine whether this happens before or after the RTOS is initialized. Ideas??

All of this happens before RTOS init as far as I've seen.
Can you confirm which of the changes seem acceptable and which ones need further thinking ? I may split the PR in 2 if needed ...

The point is that this behavior is not consistent over all toolchains (since the beginning also I guess ...)

That may have changed over time so we need to fix it.

Which toolchain are you referring to in this comment ?
I think this is what I am proposing for ARM toolcahin in this series, but indeed for uARM I couldn't find a suitable place

No, the reason for this hook was a IO API not providing the necessary initializer option

All of this happens before RTOS init as far as I've seen.

Quite the opposite https://github.com/ARMmbed/mbed-os/blob/master/hal/common/retarget.cpp#L523 IAR was the only one that specifically hooked pre ctor. https://github.com/ARMmbed/mbed-os/commit/3062999e97581e1ee1e2ec205b328491df7074d7
We'll take the action to add proper hooks and document the bootstrap process

@sg-

We'll take the action to add proper hooks and document the bootstrap process

when do you think this would this be done ? We have other ongoing developments that would be impacted if we can't solve this. Most of my colleagues are using this series in advance to not hit the init related issues.
There are actually 5 commits for 5 cases proposed in this PR:
GCC no RTOS
ARM no RTOS
uARM no RTOS
GCC+RTOS
ARM+RTOS
Are none of them acceptable for now ?

@sg @0xc0170  any news or plan for the next steps ?

Can we move forward with this and just fix what C027 does to make it safe (add init calls)?
This would mean:

SystemInit // cmsis-core
mbed_sdk_init // already in place and moved from post ctor to pre rtos init
rtos // system call
ctor // system call
mbed_main // already in place
main // already in place

Resolved by #2917
Thanks @LMESTM


Unsteady Aero changes

Description
This pull request is based on changes to unsteady aero code from

pull request https://github.com/OpenFAST/openfast/pull/97, which introduces changes to the Gonzalez model (UAMod=2)
changes emailed to me from @ghaymanNREL a year(?) ago, based on meetings and conversations between NREL and Envision, and
a modification to Cn_FS from Envision (also previously discussed with NREL)

This code is uses the 2D airfoil interpolation in the yet-unmerged pull request https://github.com/OpenFAST/openfast/pull/213.
Results
For comparisons, here are some plots generated using the UnsteadyAero Driver code with the DU21_17.dat airfoil file from the NREL 5MW model:
Old code with UAMod=2:

New code with UAMod=2:

Old code with UAMod=3:

New code with UAMod=3:

@jjonkman @ghaymanNREL I've added you as reviewers here but feel free to pass that on to someone else

I vote to approve this and update the regression tests accordingly.

@andrew-platt I think the SWRT model always has weird results. That is probably partly due to the fact that it's supposed to be furling, but that capability doesn't exist in OpenFAST. I think there is an instability in the SWRT model, and almost any change to code can give it very different results.
The AOC model also has some weird aero because AD15 thinks the tower diameter is 6 cm (to get equivalent tower shadow as what was used in AD14).


Musings on marked atomic pointers

This is probably not even in scope for this library. But I started thinking about it and writing down notes, and by the time I decided this is a bad idea, I had all these notes.  So in the spirit of "also publish negative results", I'll dump them here for posterity and close the issue.

What is a marked pointer?
A marked pointer (a.k.a. stateful pointer, or tagged pointer) is a fat pointer, to something with an alignment of at least 2. At such alignments, some number of the lowest bits of the pointer will "always" be zero (see Caveats).  For example, a struct with alignment 2 will "always" be located at an even-numbered address, meaning the lowest bit of a pointer to such a struct will "always" be 0.
This means the low bits can be repurposed, as markers that are atomically tied to the pointer value, because they're "carried along for the ride" for atomic operations on the AtomicPtr. As long as those marker bits are masked away before the pointer is dereferenced, then the pointer remains logically identical, and we get to effectively do CAS on a (pointer, metadata) tuple.
Why?
Such marked atomic pointers are useful for example for implementing deletion in non-blocking linked lists with two CAS operations:

Mark the next-node-pointer of the to-be-deleted node with a "deleted" marker bit. This means concurrent insertions after the to-be-deleted node will fail CAS (because the full marked pointer is no longer equal to the unmarked version) and so lost insertions can't happen, while concurrent reads are still able to traverse the pointer, because the marker bits don't impede its pointer functionality.
Move the previous node's pointer to the next, skipping the to-be-deleted node.

The deleted node is then reclaimed as the readers and writers release their hazard pointer guards.
If the deletion-marker and next-node pointer were separate, concurrent insertions and deletions would race, and some insertions would be silently lost.
Alternatives
The Correct Solution would instead be for every platform to support bigger-than-usize atomics, like AtomicU128 (via cmpxchg16b or something), which would allow CAS on combined (pointer, metadata) tuples without bit-packing hacks like this. But that future is probably some decades away still, or it might never come at all; to my understanding cmpxchg16b even on the x86_64 hardware that support it is a hack that performs poorly enough that GCC doesn't want to call it lock-free. This kind of thing is why std::sync::atomic::AtomicU128 doesn't exist.
Non-blocking-list deletion can also be implemented without marked pointers, but it's less efficient and harder to reason about.
Or just give up and use a lock.
Existing work

https://github.com/oliver-giersch/hazptr has atomic marked pointers. Its API is much more complex than this module's safe_load.
https://github.com/HDembinski/stateful_pointer has an implementation of marked pointers in C++.

Caveats
As noted in https://github.com/HDembinski/stateful_pointer readme:

Platform dependence: The library relies on two platform-dependent aspects of memory handling.

Memory addresses map trivially to consecutive integral numbers.
The address of aligned memory, in its representation as an integral number, is an exact multiple of the alignment value.

The C++ standard not does guarantee these properties, as explained on StackOverflow. Nevertheless, common platforms in use today seem to support this simple memory addressing scheme. There is no guarantee, of course, that future platforms will do the same, so use this library with caution. Many thanks go to the knowledgable Redditors who pointed all this out.

Or, as put more colourfully :smile: in the linked Reddit thread by /u/wrosecrans:

Oh god, please nobody use tagged pointers except as a gag. Somebody like me is going to wind up having to fix what you did ten years later after it explodes and catches fire on some compiler/OS/hardware that didn't exist when you wrote it.

Which are valid points. Maybe in year 2200 u16s live at odd addresses. This whole idea is wildly unsafe.
API?
Anyway, the idea I'm having regarding adding this horribleness to this delightful library is:  Create a MarkedPointer trait representing a pointer out of which can be extracted both the "raw" *mut T (the marked and therefore actually possibly invalid pointer, to be used in atomic operations) and the "cooked" (*mut T, M) tuple (the actually-valid pointer and extracted marker, as the user-facing API).
Here's roughly that, and an automatic implementation for any type that implements haphazard::raw::Pointer, with an empty marker (()).
pub unsafe trait MarkedPointer<T, M, P: Pointer<T>> {
    /// Extract a pointer that corresponds to a valid `&mut T`, and the associated marker.
    fn into_cooked(self) -> (*mut T, M);

    /// Reconstruct this marked pointer from the given valid pointer and mark.
    unsafe fn from_cooked(ptr: *mut T, mark: M) -> Self;

    /// Encode the valid pointer and mark into a (possibly invalid) pointer value that the mark and
    /// actual pointer value can later be reconstructed from later.
    fn into_raw(self) -> *mut T;

    /// Load the (possibly invalid) pointer value, extracting a valid pointer and mark from it.
    unsafe fn from_raw(ptr: *mut T) -> Self;
}

/// Any `Pointer<T>` trivially implements `MarkedPointer<T, M> where M: ()`.  It reports itself as
/// always being marked `()`, and for everything else simply calls the existing methods of
/// `Pointer<T>` and passes their results through without modification.
unsafe impl<T, P: Pointer<T>> MarkedPointer<T, (), P> for P {
    fn into_cooked(self) -> (*mut T, ()) {
        (Self::into_raw(self), ())
    }

    unsafe fn from_cooked(ptr: *mut T, _mark: ()) -> Self {
        unsafe { Self::from_raw(ptr) }
    }

    fn into_raw(self) -> *mut T {
        P::into_raw(self)
    }

    unsafe fn from_raw(ptr: *mut T) -> Self {
        unsafe { P::from_raw(ptr) }
    }
}

That way the library could use MarkedPointer internally, using into_raw/from_raw to interact with the underlying std::sync::atomic::AtomicPtr, and into_cooked/from_cooked to interact with the user-facing API.  Since every Pointer<T> is also trivially a MarkedPointer<T, ()> (by just passing the pointer through unmodified both ways, as above), the existing API could go unchanged.
The additions would be struct MarkedAtomicPtr and trait MarkedPointer, for people who like to live dangerously know exactly what architecture they'll be deploying on for the lifetime of their application.

As mentioned, I now think is a bad idea.  I went into this thinking this was more safe than it actually turns out to be, and I don't want to complicate the internals of an already complex library, for a niche use-case that nobody should really be doing in the first place.
Have a nice day!  :sparkles:

Thanks for sharing! For what it's worth, we actually already make use of the low bit, just like folly does: https://github.com/jonhoo/haphazard/blob/main/src/domain.rs#L839-L850


Kestrel "ignores" listenOptions.UseHttps on asp.net Core 2.0 on Ubuntu - uses http instead - but works on Windows

I want to run an asp.net core 2.0 site with Kestrel on Ubuntu with https and do:
public static void Main(string[] args)
		{
			var host = new WebHostBuilder()
				.UseKestrel(options =>
				{
					options.ApplicationSchedulingMode = SchedulingMode.Inline;
					options.Listen(IPAddress.Any, 80);
					options.Listen(IPAddress.Any, 443,
				   listenOptions =>
						{
							try
							{
								listenOptions.NoDelay = true;
								listenOptions.UseHttps("cert.pfx", args[0]);
								listenOptions.UseConnectionLogging();
							}
							catch (Exception) { }
						});
					options.UseSystemd();
				})

				.UseContentRoot(Directory.GetCurrentDirectory())
				.UseStartup<Startup>()
				.Build();
			host.Run();
		}

On Windows, that works as expected:
Now listening on: http://<IP_ADDRESS>:80
Now listening on: https://<IP_ADDRESS>:443
But the same on Ubuntu yields http instead of https on port 443:
Now listening on: http://<IP_ADDRESS>:80
Now listening on: http://<IP_ADDRESS>:443
The result is that on Ubuntu port 443 will not serve https but http, which is of course not what I want.
Any ideas?

This is not usable with Linux and pure-Kestrel! anybody care to look/reproduce?

Why are you catching any exceptions when setting the listenOptions? If there is an error, you probably want the server to not start. See what error you are getting without the try catch. My guess is you don't have the cert.pfx and password correct, as the setting seems to not be set. Also, you may need to open up port 443 in ubuntu (https://askubuntu.com/questions/500175/how-can-i-open-port-443).

@jkotalik you are right, catching that exception (without logging the output) was a very bad idea. The problem can be caused by problems loading the file or passing the password. After fixing both, it works!


Remove resource limits from operator manifest

I think removing the limit should be enough, removing the requests as well will turn the pod in QoS Best Effort. Since this pod has no pod priority class, it will make it very likely to be evicted when there's node memory pressure.

Never mind the above comment, I think Andre is right with not making any unexpected changes.

Seems old operator doesn't have any requests or limit, our decision is to leave it as it is for now.


fix(cli): Forward non-UTF8 arguments to external subcommands

Whether we allow non-UTF-8 arguments or not, we shouldn't preclude external subcommands from deciding to do so.
I noticed this because clap v4 changed the default for external subcommands from String to OsString with the assumption that this would help people to "do the right thing" more often.

r? @weihanglo
(rust-highfive has picked a reviewer for you, use r? to override)

:umbrella: The latest upstream changes (presumably #11119) made this pull request unmergeable. Please resolve the merge conflicts.

Should we add a test to prevent any regression?

I'm trying to weigh this out with updating the infrastructure so it can be tested.
As is, this is something the type system is verifying for us.
To test this, we  need a platform-specific test that can generate a project capable of verifying the argument was passed through.  The existing echo_subcommand would require platform-specific changes to allow it to sometimes not panic when echoing back out (windows could still panic) or a custom program that fails if expected values aren't received which requires updating the project builder to work with bytes instead of strings.
All of this can be done but weighing out, I'm unsure how worth it it is to do.

@bors r+

:pushpin: Commit 87fdf7660c21a4129a0bfa2385fe45da33065ff9 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit 87fdf7660c21a4129a0bfa2385fe45da33065ff9 with merge 7c8a5a67d34ff4ae46f2b6b689653509af8b75b6...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 7c8a5a67d34ff4ae46f2b6b689653509af8b75b6 to master...


Heap Profiling Button is Missing

The heap profiling button is missing in visual studio 2022. Is this only available on pro/enterprise edition and not community?

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

ID: 77f356b6-c866-dc5e-9e69-0159b4f4baf6
Version Independent ID: 59efb3c9-633b-2525-0704-7140b0dbb687
Content: Measure memory usage in your apps - Visual Studio (Windows)
Content Source: docs/profiling/memory-usage.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@jjxtra -- Jeff, thank you for your question.  I am looking into it.  Meanwhile, please consider these resources:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@jjxtra Sorry for the slow response. I did a quick check and this is available in VS 2022, but only for native and mixed mode projects (C++ and C#), which is mentioned in the article. The doc was recently refreshed for VS 2022. If you are still having this issue, let me know what type of project you have. Thanks!


Exclude target_os=wasi from browser

Closes #219
There are many new WebAssembly runtimes intended to be run outside of the browsers. This pull request makes plotters compatible with them.
The main issue is that wasm-bindgen doesn't make sense when the target os is specified as wasi and there is no JavaScript environment. Wasi already exposes low level APIs that can be used instead.
A nice side-effect of this pull request is that you can now choose to compile with target=wasm32-wasi and still run your .wasm file in the browser, but provide a WASI polyfill instead of wasm-bindgen.

Cool as. The more stuff that compiles to wasm the better.


Get nutrition samples

Requires previous merge of https://github.com/terrillo/rn-apple-healthkit/pull/99, as the branches seem to have been mixed up.

Closing PR as repo is unmaintained.


[BUG] Vuejs - Bootstrap 4

Environment
Vuejs 2.6.12
Bootstrap Vue 2.21.1
Bootstrap 4.6.0
formio-vue

Hosting type

[x] Form.io
[x] Local deployment

Version: Vuejs 2.6.12
Bootstrap Vue 2.21.1
Bootstrap 4.6.0
formio-vue

Formio.js version: Latest
Frontend framework: VueJS
Browser: Chrome
Browser version: 89.0.4389.114

Steps to Reproduce

Install formio
Import builder

Expected behavior
Form builder to build a form and all items to display
Observed behavior
Form builder only allows me to add one item and then constantly replaces that item instead of adding

Thanks @ChrisRAra we'll take a look

Agent Lane Doughtie linked Freshdesk ticket 47344 for this issue.

Thank you for your contribution. As this issue has been inactive for over 90 days, I will close it for now. If you'd like to reopen the issue, please reply and we can resume the triage process.


serializable_hash vs serializable_json when rendering json

Whats the recommended way of using the serializer when rendering json in a controller? Is one better than the other?
class PostsController < ApplicationController
  def index
    posts = Post.joins(:comments)

    render json: PostSerializer.new(posts).serialized_json
    render json: PostSerializer.new(posts).serializable_hash # OR
    render json: PostSerializer.new(posts) # OR
  end
end

Looks like all 3 produce the same output, but .serialized_json is the fastest. So closing this.

This is a good question. I was discussing this with my mentee & came up with some additional thoughts on it for different use cases.
When rendering json,serializable_json and  serialized_hash do appear to have the same output on an api endpoint. And importantly, the 3rd option where neither serialize method is called(json: PostSerializer.new(posts)) just returns the unserialized PostSerializer object. Otherwise, the main difference is the class of the data that's being returned and how we can interact with it.

serialized_json sends back a JSON string object. We'll need to parse it to retrieve the data we're looking for.

Or, we could use serializable_hash. This returns a Hash object that we can retrieve data from right away.

For data that we're going to use internally on our views, serializable_hash might be best. For data that we're serving up in an api endpoint that returns JSON, might as well use serialized_json.


Code Format

When I generate code for a widget, it shod be run true a format document.
From the generate widget:
Stack(children:<Widget>[const Text(
      'N',

      style: GoogleFonts.ubuntu(
        fontSize: 76,
        fontWeight: FontWeight.bold,
        color: Color(0xffffffff),

      ),
    ),const Text(
      'P',

      style: GoogleFonts.ubuntu(
        fontSize: 78,
        fontWeight: FontWeight.bold,
        color: Color(0xffffffff),

      ),
    )],)

Should look like:
Stack(
    children:<Widget>[
        const Text(
            'N',
            style: GoogleFonts.ubuntu(
                fontSize: 76,
                fontWeight: FontWeight.bold,
                color: Color(0xffffffff),

            ),
        ),
        const Text(
            'P',
            style: GoogleFonts.ubuntu(
                fontSize: 78,
                fontWeight: FontWeight.bold,
                color: Color(0xffffffff),
            ),
        )
    ],
)

Link: https://flutter.dev/docs/development/tools/formatting
I know that I can format the code in the IDE, but I think the plugin shode do it before.

i'm doing this in the new remastered version of Plugin, In this new version the complete layout is more precise and have spaces, alignments, etc.
Will fix all opened issues and improve the plugin with shortcuts, clean code and JSDoc.

When will this new update be available? Or is this version already released? @thize

#16


Force video file permissions

Frequently the Internet Archive uploader fails to delete the local copies of the video because they have improper permissions. Force the permissions of all files added to /video/.

Done.


Adamat.py

Chef Ada has a matrix with N rows (numbered 1 through N from top to bottom) and N columns (numbered 1 through N from left to right) containing all integers between 1 and N2 inclusive. For each valid i and j, let's denote the cell in the i-th row and j-th column by (i,j)
Ada wants to sort the matrix in row-major order ― for each valid i
and j, she wants the cell (i,j) to contain the value (i−1)⋅N+j
In one operation, Ada should choose an integer L
and transpose the submatrix between rows 1 and L and columns 1 and L (inclusive). Formally, for each i and j (1≤i,j≤L), the value in the cell (i,j) after this operation is equal to the value in (j,i)
before it.
The initial state of the matrix is chosen in such a way that it is possible to sort it using a finite number of operations (possibly zero). Find the smallest number of operations required to sort the matrix
Example Input
1
4
1 2 9 13
5 6 10 14
3 7 11 15
4 8 12 16
Example Output
2

Hey @jomoabhi, sorry but we cannot accept this. Please create an issue first describing what you want to do. Let us review it and assign it to you. Thankyou :)
For any issues please contact us on our Slack channel.


No module names 'requests'

Saw a few issues regarding to ARM based clients. And here is my case.
I firstly got the error "No module named PySimpleGUI." Then I manually and additionally installed  the module using pip3.
Then, I got the error  "No module named tkinter". So, I installed a few other packages as mentioned in another issue thread here.
But now I'm getting the error below:
sms@debian-pi4:~/PVE-VDIClient$ ./vdiclient.py
Traceback (most recent call last):
File "/home/sms/PVE-VDIClient/./vdiclient.py", line 9, in
import requests
File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py", line 142, in _import
return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'requests'
sms@debian-pi4:~/PVE-VDIClient$
Trying to run it on Debian 11 (Bullseye) on a Raspi-4 with no Desktop environment.
Any thoughts?
Thanks

Try running the following commands, then run the VDI client again:
pip3 uninstall PySimpleGUIQt
apt install python3-tk
On Wed, Jun 29, 2022 at 2:46 AM MarioMartins-MM @.***>
wrote:

Having this error when executing vdiclient.py
Previously the error was referring to PySimpleGUI module not found. But I
had PySimpleGUIQt installed. So, I additionally installed PySimpleGUI. And
now the error is this:
@.***:~/PVE-VDIClient$ ./vdiclient.py
Traceback (most recent call last):
File "/home/sms/PVE-VDIClient/./vdiclient.py", line 4, in
import PySimpleGUIQt as sg # pip install PySimpleGUIQt
File "/home/sms/.local/lib/python3.9/site-packages/PySimpleGUIQt/init.py",
line 2, in
from .PySimpleGUIQt import *
File
"/home/sms/.local/lib/python3.9/site-packages/PySimpleGUIQt/PySimpleGUIQt.py",
line 22, in
from PySide2.QtWidgets import QApplication, QLabel, QWidget, QLineEdit,
QComboBox, QFormLayout, QVBoxLayout, QHBoxLayout, QListWidget, QDial,
QTableWidget
ModuleNotFoundError: No module named 'PySide2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sms/PVE-VDIClient/./vdiclient.py", line 7, in
import PySimpleGUI as sg # pip install PySimpleGUI
File "/usr/local/lib/python3.9/dist-packages/PySimpleGUI/init.py", line
2, in
from .PySimpleGUI import *
File "/usr/local/lib/python3.9/dist-packages/PySimpleGUI/PySimpleGUI.py",
line 130, in
import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'
@.***:~/PVE-VDIClient$
Running on Debian 11 (Bullseye), updated and upgraded .
Any thoughts?
Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/joshpatten/PVE-VDIClient/issues/19, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIP64VI57QDMSEGNI4CIALVRP5NZANCNFSM52EXKNYA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I already did. And that’s when I got the error mentioned above.
Any other thoughts?

so you made sure to apt install python3-tk ? Because your python install
doesn't appear to have tkinter available
You might try apt --reinstall install python3-tk to ensure the package
files get installed.
On Thu, Jun 30, 2022 at 10:23 AM MarioMartins-MM @.***>
wrote:

I already did. And that’s when I got the error mentioned above.
Any other thoughts?
—
Reply to this email directly, view it on GitHub
https://github.com/joshpatten/PVE-VDIClient/issues/19#issuecomment-1171356859,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIP64TPW2WC4EFHGBTOOQLVRW3YXANCNFSM52EXKNYA
.
You are receiving this because you commented.Message ID:
@.***>

There we go...
sms@debian-pi4:~$ sudo pip3 uninstall PySimpleGUIQt
[sudo] password for sms:
WARNING: Skipping PySimpleGUIQt as it is not installed.
sms@debian-pi4:~$ sudo apt install python3-tk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-tk is already the newest version (3.9.2-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sms@debian-pi4:~$ ./PVE-VDIClient/vdiclient.py
Traceback (most recent call last):
File "/home/sms/./PVE-VDIClient/vdiclient.py", line 9, in
import requests
ModuleNotFoundError: No module named 'requests'
sms@debian-pi4:~$

ok now you're getting a different error, you can resolve it by running apt install python3-requests
I'll add that to requirements.sh
On Thu, Jun 30, 2022 at 11:29 AM MarioMartins-MM @.***>
wrote:

This one might help as well...
@.***:~$ pip3 list
Package Version
pip 20.3.4
proxmoxer 1.3.1
PySimpleGUI 4.60.1
setuptools 52.0.0
wheel 0.34.2
@.***:~$ sudo apt search python3-tk
[sudo] password for sms:
Sorting... Done
Full Text Search... Done
python3-tk/stable,now 3.9.2-1 arm64 [installed]
Tkinter - Writing Tk applications with Python 3.x
python3-tk-dbg/stable 3.9.2-1 arm64
Tkinter - Writing Tk applications with Python 3.x (debug extension)
python3-tksnack/stable <IP_ADDRESS>90623-dfsg-10 all
Sound extension to Tcl/Tk and Python/Tkinter - Python 3.x library
python3-tktreectrl/stable 2.0.2-3 all
Tkinter-based wrapper for Tk TreeCtrl for Python 3
python3-ttkthemes/stable 3.2.0-1 all
Themes for the ttk extensions for python3-tk
@.***:~$
—
Reply to this email directly, view it on GitHub
https://github.com/joshpatten/PVE-VDIClient/issues/19#issuecomment-1171430697,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIP64TDBJDQFB5RHJ3CKRTVRXDORANCNFSM52EXKNYA
.
You are receiving this because you commented.Message ID:
@.***>

Easy !... It works now. Thanks for your help.


Firmware for ibt

fixes: https://github.com/resin-os/resin-intel/issues/21

@telphan @floion @agherzan @lorenzo-stoakes

LGTM

Recreated as https://github.com/resin-os/resin-intel/pull/27


Add obs connection timeout

Hello, I've been trying to limit time for connecting to obs with not only response timeout, but with context, maybe allow user to pass context.Context in goobs.New() via options func or add a NewWithCtx() function to pass context to gorilla dialer

Hi @Olex1313, the response timeout option is for responses from an already established connection, so you're right that you can't use it to limit the connection timeout.
However you should be able to use the goobs.WithDialer option to specify the handshake timeout:
	client, err := goobs.New(
		"localhost:4455",
		goobs.WithPassword("goodpassword"),
		goobs.WithDialer(&websocket.Dialer{
			HandshakeTimeout: 3 * time.Second,
		}),
	)

The default is 45 seconds, which feels a little high to me. Maybe it's worth changing the default goobs uses? In any case, based on this bit of code, the handshake timeout is passed to context.WithTimeout, which sounds like what you're trying to do.
We could also even pass the context directly by setting the NetDial function for our custom dialer:
	dialer := websocket.DefaultDialer
	dialer.NetDial = func(network string, addr string) (net.Conn, error) {
		ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second)
		defer cancel()
		d := &net.Dialer{}
		return d.DialContext(ctx, network, addr)
	}
	client, err := goobs.New(
		...,
		goobs.WithDialer(dialer),
	)

@andreykaipov, Oh didn't notice Dialer option, so I think my issue is solved :), about the standard timeout, maybe it should be equal to default goobs response timeout (10s)?


Check CrProductDirName first on MacOS by

https://chromium.googlesource.com/chromium/src.git/+/62.0.3202.62/chrome/common/chrome_paths_mac.mm#55
fix #368
Auditors: @bridiver, @bbondy

verified by creating muon distribution and packaging browser-laptop manually.

integrated by https://github.com/brave/muon/pull/376


Absolutely abysmal performance on Thinkpad X1 Carbon 7th Gen

https://youtu.be/aoctVqDRAD8?si=RjJsxFYT9RpMo8qR
Maybe some culling or something is needed

Fixed.


Incorrect exception on trying to get object with undefined exception

Test https://github.com/yiisoft/di/blob/2cc9f803ece970bbbb5d8ccf740c3312e7580d1b/tests/Unit/ContainerTest.php#L570 :
$container = new Container(
	[
		'car' => Car::class,
	]
);

$this->expectException(NotFoundException::class);
$container->get('car');

Should throws NotInstantiableException instead of NotFoundException.

Seems to contradict PSR:


Not working with Asp webforms

hello
I can't seem to get it working with Asp.net webforms and BS4-beta. My Code
`
Check Me

<asp:CheckBox ID="ckbOne" runat="server" CssClass="form-check-input" />

`
The box renders ok, but it's not checkable. The asp web server inserts a  tag around the checkbox which probably prevent the toggle from working. Any solution to this?
Regards
Brett

Check Me

I would try adding the style on page ready via javascript.

I know this issue is old but I encountered it today, more or less. The problem is likely a hidden input or label that's being generated with the same name attribute.


Improve general file linting

description
there are some rules that we probably want to apply to all files (maybe with some specific exceptions)
for example:

new line at the end of file
no mixture of tabs and spaces (maybe just no tabs)

there may be others
most lang linters will pick up these issues - but eg yaml files are failing this and we could/should just make a general rule
we probs only want to lint changes i guess rather than checking entire repo on every change

and trailing whitespace


iOS Launch screen docs are useless and it seems XCode is not able to edit the Xamarin iOS project ?

Doc issue description
https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/images-icons/launch-screens?tabs=macos
You have removed the storyboard editor from Visual Studio ...
Your instructions say to use XCode to fix the graphics ...
When you launch XCode to do so you get an error like so ...

Then when you select the LaunchScreen.storyboard in XCode it shows and image associated with the splash screen like so

We need to know how to associate OUR splash images with the Launch screen ...
This is preventing me from submitting to the app store !
This is failing the same way on an M1 and Intel based Mac

I am still blocked by this issue .... someone ... anyone ?

Workaround ?
Acknowledge this is an issue ?
HELP!

Hi @stephenhauck,
Thank you for bringing this to our attention. Could you report this issue directly to the product team by using Help->Report a Problem feature in Visual Studio? That will give us additional detail we may need to resolve your issue.

No ... you can transfer it there on my behalf ... this is 2021 man ...
Stephen

On May 4, 2021, at 12:50 PM, Michael Cummings (MSFT) @.***> wrote:

Hi @stephenhauck,
Thank you for bringing this to our attention. Could you report this issue directly to the product team by using Help->Report a Problem feature in Visual Studio? That will give us additional detail we may need to resolve your issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi @stephenhauck
Thanks for your feedback. As @mcumming has mentioned, product feedback needs to be logged using Help->Report a Problem feature in Visual Studio. That is the only way to get engineer eyes on it. Afraid that docs issues aren't the place to get support, as the support teams don't frequent docs repos.


Revert "raftstore: make destroy overlapped regions and apply snapshot atomically"

Due to https://github.com/tikv/tikv/issues/8373 is caused by #8301, this PR reverts it.
Release note

No release note

Should mention why revert it.

/merge

LGTM

/merge


Summary of Cool is less cool than Cool

The summary for Cool says

Value that can be treated as a string or number interchangeably

But, the first sentence is a bit more expansive:

Cool, also known as the Convenient OO Loop, is a base class for strings, numbers and other built-in classes that you are supposed to use mostly interchangeably.

So many types get methods from Cool, and the interesting part is that Cool coerces to the appropriate type. It doesn't seem primarily concerned with string or number types because it also deals with containers (the more general term than Perl 6 uses and for which I can't think of something better) like lists and hashes. Something like .elems isn't really concerned with strings or numbers.
Could there be a better summary sentence? Maybe just "Base class for interchangeable types"? Something else that keeps the flavor of that longer sentence?

Thanks. Fixed in https://github.com/perl6/doc/commit/18f5adcedd992a0f4d3309c856e396e9a3616dcb
The string and number are the interesting bits as Numeric and Stringy methods is what the Cool provides. .elems is just a means to provide numeric view of an Array and similar objects.


python312Packages.pytest-recording: 0.13.1 -> 0.13.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.pytest-recording is: Pytest plugin that allows you recording of network interactions via VCR.py
meta.homepage for python312Packages.pytest-recording is: https://github.com/kiwicom/pytest-recording
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.13.2 with grep in /nix/store/j23vj8rmdysjjykfkkvfg7flx8fzachi-python3.12-pytest-recording-0.13.2
found 0.13.2 in filename of file in /nix/store/j23vj8rmdysjjykfkkvfg7flx8fzachi-python3.12-pytest-recording-0.13.2

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

12 total rebuild path(s)

12 package rebuild(s)

First fifty rebuilds by attrpath

buku
python311Packages.okta
python311Packages.pystac
python311Packages.pytest-recording
python311Packages.pytrends
python311Packages.rio-tiler
python312Packages.okta
python312Packages.pystac
python312Packages.pytest-recording
python312Packages.pytrends
python312Packages.rio-tiler

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j23vj8rmdysjjykfkkvfg7flx8fzachi-python3.12-pytest-recording-0.13.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/74fec40914a26558728104cc5d468b02729a1421#python312Packages.pytest-recording

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j23vj8rmdysjjykfkkvfg7flx8fzachi-python3.12-pytest-recording-0.13.2
ls -la /nix/store/j23vj8rmdysjjykfkkvfg7flx8fzachi-python3.12-pytest-recording-0.13.2/bin

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

8 packages failed to build:

python311Packages.okta
python311Packages.okta.dist
python311Packages.pytrends
python311Packages.pytrends.dist
python312Packages.okta
python312Packages.okta.dist
python312Packages.pytrends
python312Packages.pytrends.dist

14 packages built:

buku
buku.dist
python311Packages.pystac
python311Packages.pystac.dist
python311Packages.pytest-recording
python311Packages.pytest-recording.dist
python311Packages.rio-tiler
python311Packages.rio-tiler.dist
python312Packages.pystac
python312Packages.pystac.dist
python312Packages.pytest-recording
python312Packages.pytest-recording.dist
python312Packages.rio-tiler
python312Packages.rio-tiler.dist

Maintainer pings
cc @jbgosselin for testing.

Python packages okta and pytrends errors are not related to pytest-recording.
I'm going to make a separate PR for okta.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1848

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 329024 run on x86_64-linux 1

4 packages failed to build and already failed to build on hydra master:

python311Packages.okta: plain log
python311Packages.pytrends: plain log
python312Packages.okta: plain log
python312Packages.pytrends: plain log

4 packages failed to build and are new build failures:

python311Packages.okta.dist: plain log
python311Packages.pytrends.dist: plain log
python312Packages.okta.dist: plain log
python312Packages.pytrends.dist: plain log

14 packages built:

buku
buku.dist
python311Packages.pystac
python311Packages.pystac.dist
python311Packages.pytest-recording
python311Packages.pytest-recording.dist
python311Packages.rio-tiler
python311Packages.rio-tiler.dist
python312Packages.pystac
python312Packages.pystac.dist
python312Packages.pytest-recording
python312Packages.pytest-recording.dist
python312Packages.rio-tiler
python312Packages.rio-tiler.dist

Result of nixpkgs-review pr 329024 run on aarch64-darwin 1

12 packages failed to build:

python311Packages.okta
python311Packages.okta.dist
python311Packages.pytrends
python311Packages.pytrends.dist
python311Packages.rio-tiler
python311Packages.rio-tiler.dist
python312Packages.okta
python312Packages.okta.dist
python312Packages.pytrends
python312Packages.pytrends.dist
python312Packages.rio-tiler
python312Packages.rio-tiler.dist

10 packages built:

buku
buku.dist
python311Packages.pystac
python311Packages.pystac.dist
python311Packages.pytest-recording
python311Packages.pytest-recording.dist
python312Packages.pystac
python312Packages.pystac.dist
python312Packages.pytest-recording
python312Packages.pytest-recording.dist


SubscribeToBalancesUpdatesAsyc

Hello Jan,
There is an issue in SubscribeToBalancesUpdatesAsyc
It seems there is a mismatch in the "spbl" part of the listener name or received message
The trace shows:
[2024/07/01 08:39:32.847, (15, .)] INFO: 2024/07/01 08:39:32:847 | Trace | [Sckt 1] [Req 8] sending messsage: {"op":"subscribe","args":[{"instType":"spbl","channel":"account","instId":"default"}]}
[2024/07/01 08:39:32.847, (15, .)] INFO: 2024/07/01 08:39:32:847 | Trace | [Sckt 1] [Req 8] adding 86 bytes to send buffer
[2024/07/01 08:39:32.848, (11, .)] INFO: 2024/07/01 08:39:32:848 | Trace | [Sckt 1] [Req 8] sent 86 bytes
[2024/07/01 08:39:33.108, (7, .)] INFO: 2024/07/01 08:39:33:108 | Trace | [Sckt 1] received 86 bytes in single message
[2024/07/01 08:39:33.110, (7, .)] INFO: 2024/07/01 08:39:33:109 | Warning | [Sckt 1] received message not matched to any listener. ListenId: subscribe-account-default, current listeners: snapshot-spbl-account-default,update-spbl-account-default,error-spbl-account-spbl-default,subscribe-spbl-account-default
[2024/07/01 08:39:33.110, (7, .)] INFO: 2024/07/01 08:39:33:110 | Trace | [Sckt 1] received 665 bytes in single message
[2024/07/01 08:39:33.110, (7, .)] INFO: 2024/07/01 08:39:33:110 | Warning | [Sckt 1] received message not matched to any listener. ListenId: snapshot-account-default, current listeners: snapshot-spbl-account-default,update-spbl-account-default,error-spbl-account-spbl-default,subscribe-spbl-account-default
[2024/07/01 08:39:40.629, (5, .)] INFO: 2024/07/01 08:39:40:629 | Trace | [Sckt 1] received 113 bytes in single message
[2024/07/01 08:39:40.630, (5, .)] INFO: 2024/07/01 08:39:40:630 | Warning | [Sckt 1] received message not matched to any listener. ListenId: update-account-default, current listeners: snapshot-spbl-account-default,update-spbl-account-default,error-spbl-account-spbl-default,subscribe-spbl-account-default
[2024/07/01 08:39:41.160, (10, .)] INFO: 2024/07/01 08:39:41:160 | Trace | [Sckt 1] received 113 bytes in single message
[2024/07/01 08:39:41.161, (10, .)] INFO: 2024/07/01 08:39:41:161 | Warning | [Sckt 1] received message not matched to any listener. ListenId: update-account-default, current listeners: snapshot-spbl-account-default,update-spbl-account-default,error-spbl-account-spbl-default,subscribe-spbl-account-default
Best,
Phil

Hi Phil, this should already be fixed in the latest version

This is correct, we migrated from SpotApi.SubscribeToBalanceUpdatesAsync to SpotApiV2.SubscribeToBalanceUpdatesAsync
Thanks a lot,
Phil


Possible to get consensus sequence for whole bacterial genome?

Hi Tobias,
is it possible to get the consensus sequence for a whole bacterial genome (5498578 bp - https://www.ncbi.nlm.nih.gov/nuccore/BA000007)?
when I run /alfred consensus -f bam -t ont ../ref494_aligned.sorted.bam
I get
[2019-Jul-10 11:57:01] alfred consensus -f bam -t ont ../ref494_aligned.sorted.bam                       │
Input format: bam                                                                                │
Sequencing type: ont                                                                                │
Alignment scoring (match: 3, mismatch: -2, gapopen: -3, gapext: -1)                                      │
Window: 250                                                                                │
Position needs to be in the format chr:pos

Thanks in advance and best regards

The consensus sequence computation is for a local assembly so you need to specify a chromosome and position. With long reads one could write a bash script that computes a consensus sequence every ~1000bp but alfred has no module yet to merge these consensus sequences afterwards. Alfred just fetches all reads overlapping a given alignment position and then runs a sensitive multiple-sequence alignment and consensus computation.


Use a fork of go tool vet to fix mutli-package directories

Fixes #351
Uses a govet fork with this patch https://github.com/dnephin/govet/commit/4a96d43e39d340b63daa8bc5576985aa599885f6
This seems to fix the issue for me on the gotestyourself project.

:(
Unfortunate. Are you going to attempt to get this patch merged upstream?

Ya, I'll try. Opened https://github.com/golang/go/issues/22296 and https://go-review.googlesource.com/c/go/+/71170

https://github.com/golang/go/issues/22296#issuecomment-336958441
It sounds like maybe this issue has been fixed as of go v1.9.  We should be able to use go vet -shadow.

You'll have to install the forked govet, which is automatically installed if you use gometalinter --install.

kk testing now...

thanks for the tip - it works now 👍

for those that run into this PR just added
+ - gometalinter --install
  - gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...

in the script section for travis


Uploading stemcell fails with Error 100: Unknown CPI error 'Unknown' with message 'connect_write timeout reached'

I am trying to upload the bosh stemcell image and it keeps on failing with this message:
Error 100: Unknown CPI error 'Unknown' with message 'connect_write timeout reached'
The complete output of the bosh upload stemcell command can be seen here: http://pastebin.com/30bnXAtc
The debug output of this task can be seen here: http://pastebin.com/ZUi4RMQY
i have tried many stemcell images but all get stuck at 96% and give the same error as above. Anyone knows how to solve this?

Hi @MoizArif,
thanks for your question. Apparently your Glance was not able to handle the connection in time. The default connection timeout is 60s.
We have the possibility of setting connect_timeout in the connection_options of your bosh director deployment manifest. Generally, all Excon connection options are available. We will improve the documentation here, explicitly mentioning that fact.
Your debug output shows that you are using the default connect_timeout with 60 seconds (:connect_timeout=>60).
Please try again with a higher timeout and let us know if it worked.
Could you also share with us on which OpenStack version you are running and which provider you are using?
Best regards,
Tom

Hi @Kiemes
Thanks for the reply.
I am using OpenStack Kilo deployed through MOS.
I have added the tag "write_timeout: 360" under the openstack section in bosh.yml file and redeployed the director but still facing the same issue.
May be i am adding the timeout in an incorrect fashion. Uploading the stemcell yields the same error as before.

@MoizArif connect_timeout would be the right key in your case. Make sure your openstack looks similar to this:
openstack: &openstack
      auth_url: IDENTITY-API-ENDPOINT # <--- Replace with OpenStack Identity API endpoint
      tenant: OPENSTACK-TENANT # <--- Replace with OpenStack tenant name
      username: OPENSTACK-USERNAME # <--- Replace with OpenStack username
      api_key: OPENSTACK-PASSWORD # <--- Replace with OpenStack password
      default_key_name: bosh
      default_security_groups: [bosh]
      connection_options:
         connect_timeout: 360

@Kiemes I made the necessary changes but the uploading process is still getting stuck at 96%. But this time the timeout seemed to have worked and therefore i got another error now:
Error 100: Unable to connect to the OpenStack Keystone API http://<IP_ADDRESS>:5000/v2.0/tokens
Connection timed out - connect(2) for <IP_ADDRESS>:5000 (Errno::ETIMEDOUT)

From the logs:
E, [2016-07-11T15:34:15.303078 #24198] ERROR -- : Failed 2 times, last failure due to: #<Excon::Errors::SocketError: Connection timed out - connect(2) for <IP_ADDRESS>:5000 (Errno::ETIMEDOUT)>
[fog][WARNING] Unrecognized arguments: provider

However, my OpenStack auth_url is working when i execute openstack cli commands.
export OS_AUTH_URL='http://<IP_ADDRESS>:5000/v2.0/'

@MoizArif Could you please send us your bosh.yml and the recent version of the debug log for the upload stemcell task.
Don't forget to redact any secrets.
In parallel let's see what the openstack cli equivalent does.
Could you please try to upload the stemcell 'manually' like

Untar stemcell
Open stemcell.MF in text editor (for looking up '' below)
openstack image create --file <path-to-untared stemcell>/root.img --disk-format <manifest value> --property version=<manifest value> --property hypervisor_type=<manifest value: 'hypervisor'> --container-format <manifest value> --property os_type=<manifest value> --property os_distro=<manifest value> --property architecture=<manifest value> --property auto_disk_config=<manifest value> <name>

Is this successful?

@loewenstein

Here is my bosh.yml file: http://pastebin.com/qDPMZv9A
Yes, the manual upload of the image is successful, the image is active. Used the following command:

glance image-create --file image --disk-format qcow2 --property version='3262.2' --property hypervisor_type=kvm --container-format bare --property os_type=linux --property os_distro=ubuntu --property architecture=x86_64 --property auto_disk_config=true --name bosh-openstack-kvm-ubuntu-trusty-go_agent

@MoizArif: It seems the Director VM is not able to contact your OpenStack endpoints. Maybe due to security group settings or network restrictions.
Please try the above commands from the Director VM to eliminate those issues.

@voelzmo : It seems that OpenStack clients are installed in the BOSH director VM. Is there any other way of executing the above command from inside the Director VM?
The security group used is bosh and allows all traffic in & out of the VM. I have attached the screenshot of the security group rules i have configured.

Hi guys,
Since keystone internal URL wasn't accessible from the Director VM, i used the keystone public url and used it as auth_url under openstack tag in bosh.yml and then redeployed the director VM. Note that the public url is on the same network as the floating IP assigned to the director VM and the public url is also pingable. Now when i upload the stemcell it can access the url but now it gives me a different error related to certificates:
`bosh-stemcell:  96% |ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo     | 510.6MB  27.5MB/s ETA:  00:00:00
Director task 3
  Started update stemcell
  Started update stemcell > Extracting stemcell archive. Done (00:00:06)
  Started update stemcell > Verifying stemcell manifest. Done (00:00:00)
  Started update stemcell > Checking if this stemcell already exists. Done (00:00:00)
  Started update stemcell > Uploading stemcell bosh-openstack-kvm-ubuntu-trusty-go_agent/3262.2 to the cloud. Failed: Unable to connect to the OpenStack Keystone API https://public.fuel.local:5000/v2.0/tokens
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) Unable to verify certificate. This may be an issue with the remote host or with Excon.Excon has certificates bundled, but these can be customized.`Excon.defaults[:ssl_ca_path] = path_to_certs`, `ENV['SSL_CERT_DIR'] = path_to_certs`, `Excon.defaults[:ssl_ca_file] = path_to_file`, `ENV['SSL_CERT_FILE'] = path_to_file`, `Excon.defaults[:ssl_verify_callback] = callback` (see OpenSSL::SSL::SSLContext#verify_callback), or `Excon.defaults[:ssl_verify_peer] = false` (less secure). (00:00:12)
Error 100: Unable to connect to the OpenStack Keystone API https://public.fuel.local:5000/v2.0/tokens
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) Unable to verify certificate. This may be an issue with the remote host or with Excon.Excon has certificates bundled, but these can be customized.`Excon.defaults[:ssl_ca_path] = path_to_certs`, `ENV['SSL_CERT_DIR'] = path_to_certs`, `Excon.defaults[:ssl_ca_file] = path_to_file`, `ENV['SSL_CERT_FILE'] = path_to_file`, `Excon.defaults[:ssl_verify_callback] = callback` (see OpenSSL::SSL::SSLContext#verify_callback), or `Excon.defaults[:ssl_verify_peer] = false` (less secure).`

Any idea ? do i need to add some certificates in the openstack tag in bosh.yml?

@MoizArif Connectivity issues was what I suspected. For configuring self-signed certificates: the documentation has some information on how to add support for validating self-signed endpoint certs [1].
Hope that helps!
[1] http://bosh.io/docs/openstack-self-signed-endpoints.html

@voelzmo
After changing the bosh.yml file to include ca_cert, now the bosh-init deploy bosh.yml command is failing with:
Command 'deploy' failed:
  creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 3262.2):
    CPI 'create_stemcell' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"Unable to connect to the OpenStack Keystone API https://public.fuel.local:5000/v2.0/tokens\nSSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) Unable to verify certificate. This may be an issue with the remote host or with Excon.Excon has certificates bundled, but these can be customized.`Excon.defaults[:ssl_ca_path] = path_to_certs`, `ENV['SSL_CERT_DIR'] = path_to_certs`, `Excon.defaults[:ssl_ca_file] = path_to_file`, `ENV['SSL_CERT_FILE'] = path_to_file`, `Excon.defaults[:ssl_verify_callback] = callback` (see OpenSSL::SSL::SSLContext#verify_callback), or `Excon.defaults[:ssl_verify_peer] = false` (less secure).","ok_to_retry":false}

to be clear, this is the i am adding the contents of /etc/keystone/ssl/certs/ca.pem under the ca_cert tag in bosh.yml. Is it fine?

@voelzmo
For now, i have used ssl_verify_peer: false in the openstack.connection_options in bosh.yml and now the stemcell is uploaded successfully. But the progress still shows 96%. What do you think can be causing this now?

Same issue while bosh upload release @ 96%

@MoizArif The progress indicator sticking at 96% although the upload was successful is a known UI bug. As long as the task finished successfully, you're good to go.
Closing this one for now. Please re-open or create a new ticket if you encounter additional problems.

@MoizArif, Hi, Moiz, I am using OpenStack Kilo to deploy cf, and facing the same quesion you have resolved. As you said, I have used ssl_verify_peer: false, connect_timeout: 360. But at last, it's still:
Started update stemcell > Uploading stemcell bosh-openstack-kvm-ubuntu-trusty-go_agent/3262.14 to the cloud. Failed: Unable to connect to the OpenStack Keystone API http://<IP_ADDRESS>:5000/v2.0/tokens
Connection timed out - connect(2) for <IP_ADDRESS>:5000 (Errno::ETIMEDOUT) (00:10:42)
I found that you used the keystone public url as auth_url under openstack tag in bosh.yml. Could you tell me that how to get and set public url on openstack? Almost the public url is http://ctl:5000/v2.0 and /etc/hosts could tell us the IP of ctl. Thanks very much!

Hi @kenfting , I used the same approach you mentioned. Just reiterating, check your /etc/keystone/keystone.conf file for "public_endpoint" and use it as auth_url in the bosh.yml file. If the value is like "https://xxxx:5000/v2.0" use it but make sure that your machine can resolve xxxx into an IP address that was in my case on the Public network. Hope this helps.

Hi, @MoizArif , Thanks very much for your reply. But I found my /etc/keystone/keystone.conf file for "public_endpoint" is , should I set the value to like http:ctl:5000/v2.0 to it? I tried to do this, but it didn't work. I Installed the  BOSH on a VM instance on OpenStack, this IP of ctl is pingable, So I am thinking maybe it is security settings or something, what about username and api_key ? Thanks again!

Your openstack section of bosh.yml should look like this:
    openstack: &openstack
      auth_url: https://public.fuel.local:5000/v2.0
      tenant: <opensack project/tenant name>
      username: <openstack username>
      api_key: <openstack password>
      region: <openstack region name>
      default_key_name: <keypair name>
      default_security_groups: <security group for bosh>
      connection_options:
        connect_timeout: 3600
        ssl_verify_peer: false

Also make sure your security group for bosh has the required rules added. https://bosh.io/docs/init-openstack.html#security-groups

Hi @MoizArif
Thanks for your reply.
I used keystone v3. the username and api_key from /root/setup/admin-openrc.sh, they are like:
export OS_USERNAME=adminapi
export OS_PASSWORD=e877b22f01ec********
I also tried to use the openstack horizon's username (admin) and password (0e5e********), All these two can create the Director VM and be pingable.  I used ssh vcap＠ip -i ./bosh.pem to check that the private key is correct. In VM, I can not use ping, because I don't know the root's password. But I used curl http:// 130.127..:5000/V3. It prints:
{"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://130.127..:5000/v3/", "rel": "self"}]}}
As you said, I also checked the required rules to be added to security group "bosh" and "cf".
All the above steps I tried to do, but no luck. it still:
Started update stemcell > Uploading stemcell bosh-openstack-kvm-ubuntu-trusty-go_agent/3262.14 to the cloud. Failed: Unable to connect to the OpenStack Keystone API http://130.127.1**.1**:5000/v3/auth/tokens
getaddrinfo: Name or service not known (SocketError) (00:00:09)
Error 100: Unable to connect to the OpenStack Keystone API http://130.127.1**.1**:5000/v3/auth/tokens
getaddrinfo: Name or service not known (SocketError)
Thanks all the same. I will keep trying another ways

Can you check the auth_url with using https and see if it works. Assuming the endpoints are configured using https.

After using https, and bosh-init deploy bosh.yml command:
Command 'deploy' failed:
creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 3262.12):
CPI 'create_stemcell' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"Unable to connect to the OpenStack Keystone API https://130.127.1**.1**:5000/v3/auth/tokens\nSSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol (OpenSSL::SSL::SSLError)","ok_to_retry":false}

are you sure you are using keystone api version v3 ? check by using "keystone endpoint-list | grep 5000" command on your OpenStack controller to check your public & internal endpoint urls for keystone.

Yes, it is keystone v3.
openstack endpoint list | grep 5000
| 0eeca224bc044ac1bb816b2cb43a8034 | RegionOne | keystone     | identity        | True    | public    | http://ctl:5000/v3                    |
| 4152723e7c654864925547213b80dfd2 | RegionOne | keystone     | identity        | True    | internal  | http://ctl:5000/v3
So the public and internal are the same


Create a config file based on an existing machine

Suggested new feature or improvement
It would be great to be able to generate a yml file based on my existing machine, a UI that lists the installed apps, you select the ones that you want in the script and the yml is generated for you
Scenario
As I already have an existing machine that I am happy with the setup, generating a yml means I can rebuild if needed or start a new machine with the same setup, or new team members can get my setup with minimal effort
Additional details
It would also help get people started with a script

If you only need to install apps, winget has an export feature that can do that for you, but from the CLI instead of UI.
From the terminal you run winget export apps.json and that creates the file apps.json with everything winget detected installed on your system. Then you can copy that file to another machine and do winget import apps.json and it will install all the apps listed, and you can edit it to remove apps you don't need.
There are a couple of caveats though. winget will sometimes not be able to match an installed app to an app available in it's catalog. It also doesn't preserver installation settings. And it only does app install, not other types of configurations.

Likely related to #721

Similar to:

#685

Over at the WinGet CLI repository we're looking at:

https://github.com/microsoft/winget-cli/issues/3274


Add option to remove any category.

I know the height of the "minus" button is not same as height of the input field. Leaving this up to someone else, I'm not good with CSS.
Also, the autocomplete now contains only categories that were not yet selected by the user.

Great work. Sorry for the premature merge.


Update README.md

Description
Installing executables with "go get" in module mode is deprecated.
"go install pkg@version" should be used instead.
For more information, see https://golang.org/doc/go-get-install-deprecation

Hi @joohoi. I made the changes you requested. If there's anything else that needs to change, I can do that too. Thank you, have a nice day.


takeoff (to) command stopped working

I played quite a long time today and then suddenly "to" command refused to work. So I gave "caf" command first and then "to" but pressing Enter after to had no effect. All the other commands like "cvs" still worked just fine.

What airport are you playing? This is a known issue in some aerodromes.

Wait?.. Are there other airports availabke than KSFO? I just use this URL https://zlsa.github.io/atc/

Yes! The 3rd button to the right is the switch airports button.

@kaitsu71 What is the response that is shown when you type to and press enter on a departure?

There is no any kind of response it just does nothing.

Next time this happens, check the console log and send us the error which is produced. The error log can be seen by pressing F12 on Chrome.
On 11 Oct 2016, 18:31 +0100, kaitsu71<EMAIL_ADDRESS>wrote:

There is no any kind of response it just does nothing.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (https://github.com/zlsa/atc/issues/691#issuecomment-252987056), or mute the thread (https://github.com/notifications/unsubscribe-auth/ASgmWFjX2Fp-1D11f8Jw_O65VDNwpERJks5qy8fpgaJpZM4KS3Qu).

@kaitsu71 Are you able to reproduce this issue? Have you seen it again at all?
@indianbhaji What do you mean "This is a known issue in some aerodromes"? That would be news to me, and if it's true, I'd like to fix it. Unless you just mean how they wont take off without a clearance, which doesn't go through via caf if they taxi to a runway that's invalid for their filed SID?

@erikquinn #580, although this issue seems to have been worsened by 3.0

@indianbhaji Gotcha. And if #580 was made worse by 3.0, could you go to that issue when you have a few moments and jot down some brief details on it?

@indianbhaji if you can include any console errors that would also be helpful.

I ran into this issue yesterday while playing ESPA for about 30-45 minutes.  In addition, all commands stopped working, not just the "to" command.  I didn't get a console log though, but if I see it again I will try to remember to do that.

The ATC repository is being migrated to it's new home at https://github.com/openscope/openscope,
and thus, all issues are being closed. If this is still an issue with the latest version of the sim
(accessible at http://www.openscope.co), or is a feature you still think we are lacking,
please reopen the issue at the new repo.
Please note that the vast majority of these issues have been copied to the new repository, or else are covered by other issues created there. See the below screenshot for what it looks like when your issue is known in the new repo:

Thank you!
Closing this issue.


Code doesn't compile

I tried the following on my mac when building the parser branch:
brew install haskell-stack
stack build

I get the following compile error:
/Users/garrettjones/workspace/Hox/app/Main.hs:33:16: error: parse error on input ‘=’
   |
33 |   GameState {} = GameState
   |                ^

Version info:
garrettjones-macbookpro:Hox garrettjones$ stack ghc -- --version
The Glorious Glasgow Haskell Compilation System, version 8.10.7
garrettjones-macbookpro:Hox garrettjones$ stack --version
Version 2.7.5 aarch64

Actually, my mistake, I was on the master branch, not the parser branch. The code compiles properly.


MAVSDK equivalent of POSITION_GLOBAL_TARGET_INT?

This is a noob question and I'm probably just missing something in the MAVSDK docs, but is there a way to tell the current target of the drone using MAVSDK? Basically what we would get from the POSITION_GLOBAL_TARGET_INT message?
Thanks!

Something like action.goto_location()?

@JonasVautherin Sorry, maybe I wasn't super clear. I know we can use that to tell the drone where to go, but there's no way for us to inspect the state of the drone and find out where it's current target is if that makes sense?
We could do something like maintain some state for where the drone is going each time we send a go to location command, but it seems like Mavlink already provides a message type that tells us the current target of the drone.

Hmm maybe @julianoes can answer that. My limited understanding is that goto_location puts PX4 in "hold mode", with the setpoint set there. I don't think that there is a notion of "target reached" (or even a notion of "target" at all).
Not sure how Ardupilot does it though. What autopilot are you using?

I'm using the px4 gazebo simulator: https://github.com/JonasVautherin/px4-gazebo-headless. I seem to be receiving this message: https://mavlink.io/en/messages/common.html#POSITION_TARGET_GLOBAL_INT, when communicating directly over mavlink.
I'm thinking of switching over to MAVSDK but couldn't find how to support this using mavsdk

Maybe we could add this message to the telemetry plugin? Something like SubscribePositionTargetGlobal?

The equivalent is Offboard::set_global_position.
Also see:
https://github.com/mavlink/MAVSDK/blob/ad478f19ab99fce4a9b16f33353306f45764acf1/src/mavsdk/plugins/offboard/offboard_impl.cpp#L448-L470

Ok, and if you want to actually see tthe telemetry if someone else is commanding this, then that's not supported.
You could use MavlinkPassthrough and subscribe to https://mavlink.io/en/messages/common.html#POSITION_TARGET_GLOBAL_INT.

@julianoes thanks for the response! Yeah, that makes sense. I'm using the mavsdk java client for my workflow currently so can't access the mavlink passthrough. Not sure if this is something that may be worth adding to the proto?

I think it would be worth adding to the telemetry plugin. It does make sense to me that a ground station may want to show where the drone is headed in that situation :innocent:

Fair enough, feel free to make a pull request.

And make sure to make PR to the MAVSDK-Proto repo first.


Center View button in TileMap editor is in awkward spot

Godot version
4.1 dev3
System information
W10
Issue description
The button is pushed to the far right. Maybe it tries to escape, idk.

It used to be more to the left. Not sure when it changed.
Seems correct in 4.0.3

Steps to reproduce

Add TileMap
Look to the right

Minimal reproduction project
N/A

I'd like to take a look at it as my first issue if no one else is on it :)
Notes:
This line was moved from TileAtlasView::TileAtlasView() in #73475 :
button_center_view->set_icon(get_theme_icon(SNAME("CenterView"), SNAME("EditorIcons")));
It is now found in TileAtlasView::_notification(int p_what) in the NOTIFICATION_THEME_CHANGED case:
button_center_view->set_icon(theme_cache.center_view_icon);
For testing, I added it back where it was and it fixed the offset:

Though the warnings added in the aforementionned issue popped up:

Still figuring out why calling it specifically in its old place fixes the issue but the not the way it is called now (I can indeed see it be called multiple times when opening a project and when changing my theme) 😕
@YuriSizov Any ideas/thoughts?

Probably the size should be known before setting the anchors to top right, so maybe set a custom minimum size beforehand.

@rburing Thanks a bunch! 🥳 You were definitely right for the anchors setting! If I manually set the anchors after the icon is set, the button is back where it should be! For the actual fix later today, I'll look into what you said about setting a custom minimum size before setting the anchors! I think ideally I would try to get that size from the icon itself instead of eye balling it (though without triggering the warnings about accessing theme items too early).

Resetting the anchors after the icon is set would be sufficient. You can't really give it a minsize without having an icon, so that won't be a proper solution anyway.

Right! I tried to set a minimum size with what I could find but that didn't pan out😓I'll keep that in mind!


[DPE-3911] Update lib so that correct mongos port is used in k8s

Issue
port in mongos k8s is incorrect - since we don't query the actual charm for its port
Solution
add the port in mongos clients

merging - tests are failing due to timeout - and the inserted code is not ran by this charm


Wrong npm version shown

If you look at https://github.com/binarykitchen/videomail-client you see the blue npm badge saying it's version v3.5.0 but that's wrong. The videomail-client version is 1.0.79.
Any ideas why the shield is parsing that version the wrong way?

Is this correct, or is the project related to https://www.npmjs.com/package/standard?

ah, had a wrong name - fixed, thanks man


启动脚本报错

~/skynet_fly_demo$ sh script/all_restart.sh
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory
bash: ../../skynet_fly//script/shell/make_server.sh: No such file or directory
bash: make/script/restart.sh: No such file or directory

忘记子模块了


Add vargs support for cat() builtin

This commit adds support to use variables as cat() parameters using a
format string in the same way system() already does:
./bpftrace -e 't:syscalls:sys_enter_nanosleep { cat("/proc/%d/cmdline",
pid); }'

Code LGTM (but didn't take a super close look yet). Could you please add documentation too?


Rework the DB api access

per-commit review is slightly more readable.
This PR reworks the db api architecture, mostly by removed the "global" access there was. Before this PR, the DB Api was exposed at the same "level" of other API clients, but it's not a good fit: all other APIs require authenticating as a user (except for guest endpoints), while the DB api require authenticating as a user then as a specific database.
To accomodate this change, api clients need to keep track of which region they're targetting (this allows a regional API client to instantiate the db api client in the same region; the response for token doesn't relay that information).
Slight rename of files/classes as well.

Updated the changelog. Can the readme wait a little bit? I have other PRs incoming and would rather change it all at once

I think it could even be nice to have an "upgrade guide"

If there's a demand for it. The download statistics of the gem are low enough that it might be worth spending the time on it


qa_openstack: Use SUSEConnect instead of smt-internal

smt-internal is no longer available.

not needed.


Profile page have to be designed and fetch correct data

Hey there
I made the profile page with some similar elements I thought should be there.
for now it is just standing there doing nothing.

I want to connect these inputs to the components so the page will know what data to show

I want to produce this kind of graph:

Series 1: Schedule duration - how much time needs to be passed since start of the ride (according to timetable, GTFS).
Series 2: Reality duration - how much time has really passed since the start of the ride (according to SIRI)
Series 3: Difference - what is the gap between schedule and reality?

series 1 and 2 are accumulative
X-axis can be shown as stations instead of index like here:

NEEDS:

timestamp and station data from the schedule
timestamp and station data from the reality
graph

Hi, that's a great view!
The tricky thing here is that currently our ETL does not well recognize the reality time in which the bus stopped in the station, so a few BE pre processing is needed here. LMK if you are interested in deep diving into this and I can guide you here :)
Also, are you planning on showing this graph per ride or as an average of all rides within a timeframe?

@ShayAdler I would love to :)
I plan to base the graph on a specific ride so it is possible later to show the difference in time.
It is possible also to insert a third series for average time difference but will keep it for later


404 page

Not sure if the 404 page is broken or something is misconfigured but need to understand why the 404 page doesn't show.

this works, redirect rules need to be configured at the deployment stage