Leading electron pt

Contains new histograms for leading electron and muon pt, along with the subleading electrons/muons (named genE0_pt and genE1_pt, with corresponding muon histograms). Also has the leading_electron_pt workbook that plots these histograms and replicates the figure 2 from the analysis note.

Hey @yfv2ev, this looks good to me after the most recent commit. Is it ready to be merged from your perspective?

I believe so. Assuming that GitHub works the way it looks, and the commits
I’ve pushed to the pull request line up, I think it’s ready to go! Thanks
for the advice on the request.
From Carter
On Tue, Apr 11, 2023 at 10:22 AM Bryan Cardwell @.***>
wrote:

Hey @yfv2ev https://github.com/yfv2ev, this looks good to me after the
most recent commit. Is it ready to be merged from your perspective?
—
Reply to this email directly, view it on GitHub
https://github.com/btcardwell/SIDM/pull/5#issuecomment-1503458607, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A2XM6NWV3AKWGUJRLVL4RH3XAVSIVANCNFSM6AAAAAAWVSWGOA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks! I'll merge it shortly. I made some major changes in some recent commits, so I'll do the merge through the command line to handle the conflicts

merged! (as of 2aa843caf9e0257c8fed4c1a076343227a678b4c)


[Question]  SWM181CBT6 have only 8k RAM?

I use Luat SWM181 devboard (tested with 2 boards), the MCU model is "SWM181CBT6".
According to datasheet, it's 16K RAM and 120K FLASH.
I use the 'swm181.ld' from this repo, and change the RAM SIZE to 16K and build a demo to blink 3 LEDs on Luat SWM181 devboard.
But no lucky, it not works at all.
Switch it back to 8k, everything works as expected.
My question is: Does SWM181CBT6 have only 8k RAM?

CSL\CMSIS\DeviceSupport\startup\arm\startup_SWM181.s
`
; Sram Switch Configuration
; 			Code Size	 	Sram Size
;	0		16k				16k				Cache使能，程序存储器240K
;	1		8k				24k				Cache使能，程序存储器240K
;	3		24k		  		8k
SRAM_SWITCH	  EQU    0;
`
change SRAM_SWITCH to 0.

Thanks.
I grep  it and found:
SWM181_StdPeriph_Driver/CSL/CMSIS/DeviceSupport/startup/iar/startup_SWM181.s:SRAM_SWITCH      EQU    3;
SWM181_StdPeriph_Driver/CSL/CMSIS/DeviceSupport/startup/gcc/startup_SWM181.S:    .equ SRAM_SWITCH, 3
SWM181_StdPeriph_Driver/CSL/CMSIS/DeviceSupport/startup/arm/startup_SWM181.s:SRAM_SWITCH          EQU    0;

MDK startup file set default value to 0, but iar and gcc startup file set default value to 3.
I think it should also set iar and gcc default value to 0 by default.

I will change the default value.
Thanks for your feedback.


Introduce u_map_zoom

Hi, development team! Maybe you would consider introducing another program uniform that would expose current map zoom level. It would take one additional line in view.js (line 340: program.uniform('1f', 'u_map_zoom', this.zoom);)
This comes handy when we want to apply slightly different shading for various zoom levels. At the moment, there is no handy way to acquire zoom level in shader block function.

I believe u_map_position.z represents the current zoom value (https://tangrams.readthedocs.io/en/main/Syntax-Reference/shaders/#built-in-uniforms). Have you tried using that?


Duplicate Step Implementation

Expected behavior
Step implementations with similar syntax but different underlying signatures should call the appropriately matching method signature.
Actual behavior
Duplicate step implementations are thrown if you have steps with similar text attached to different implementations.
Steps to reproduce
GaugeStepImpl.java
import com.thoughtworks.gauge.Step;
import com.thoughtworks.gauge.Table;
import com.thoughtworks.gauge.TableRow;

public class GaugeStepImpl
{
    /**
     * Do Step "String"
     *
     * @param string
     */
    @Step("Do Step <string>")
    public static void doStep(String string)
    {
        System.out.println(string);
    }

    /**
     * Do Step
     * |COL|
     * |---|
     * |A  |
     * |B  |
     *
     * @param table
     */
    @Step("Do Step <table>")
    public static void doStep(Table table)
    {
        for (TableRow tr : table.getTableRows())
        {
            System.out.println(tr.getCellValues().get(0));
        }
    }
}

example.spec
# Example

## Duplicate Step Implementations That Are Not Really Duplicates

* Do Step "A String"

* Do Step
    |TABLE|
    |-----|
    |A    |
    |TABLE|

Console Output
/usr/local/bin/gauge --simple-console /home/me/git/gaugebugs/specs/example.spec:3
[DEPRECATED] This usage will be removed soon. Run `gauge help --legacy` for more info.
[ValidationError] /home/me/git/gaugebugs/specs/example.spec:5 Duplicate step implementation => 'Do Step "A String"'
[ValidationError] /home/me/git/gaugebugs/specs/example.spec:7 Duplicate step implementation => 'Do Step <table>'
Successfully generated html-report to => /home/me/git/gaugebugs/reports/html-report
Specifications:	0 executed	0 passed	0 failed	1 skipped
Scenarios:	0 executed	0 passed	0 failed	1 skipped

Total time taken: 16ms

Gauge version
Gauge version: 0.9.0

Plugins
-------
html-report (4.0.1)
java (0.6.4)
spectacle (0.1.2)

Gauge looks at a templated step text (aka StepValue) to compare step texts. In this case both Do Step <string> and Do Step <table> translate to Do Step {}. Hence the collision.
Now, the reason this is done is because Gauge looks at it from the spec point of view, not the implementation. In this case it is evident that the string and table arguments have different meaning. How would you expect Gauge to behave when the step implementation have same Step text, but different primitive parameter types? For ex:
Do Step <int> v/s Do Step <string>
It gets a little more tricky when you consider the Object type in java. If you have two implementations such as:
@Step("Do Step <string>")
public void doStep(Object string){
   // some code
}

versus
@Step("Do Step <table>")
public void doStep(Table table){
   // some code
}

They differ in signature, but Table can be assigned to Object!

Gauge only scanning template text and not even checking/matching for method signature when providing arguments to methods just seems lazy.
Also, your example about the Object is hardly an example since if you called your methods in Java, Java would always direct explicit Tables to the one and everything else to the other. Gauge should at least attempt to abide by basic language signature definitions.
This isn't ideal, but since you're so against abiding by the definition of a signature why not allow us to specify the type in the template text thereby giving us different template text. Similar to:
@Step("Do Step <table:arg>")
public void doStep(Table arg) {}

@Step("Do Step <string:arg>")
public void doStep(String arg) {}

I'm mostly saying that claiming that there is a "duplicate implementation" is hardly true since the implementations are different but use similar template text.

@chriskellydev - thanks for the comments.
I like what you proposed, but I am just trying to be sure that it does not go against something already in place. One of the things we try to do is to maintain backward compatibility, so I guess my inertia comes from that.
I apologize if my comments seem dismissive, definitely not the intention.
Some further thoughts:

@Step("Do Step <table:arg>") does not seem like a good thing, I would like to avoid it as much as I can.

* Do Step <foo> is a valid step invocation. Here <foo> is a dynamic parameter, and is resolved at runtime. This means that Gauge cannot just assume that every step invocation will have the parameter value to determine the type from.

This change will need to be done at the language runner (gauge-java in this case). Specifically, there are parameter converters in place, which can be enhanced to determine the best type a string blob matches to.

Correct me if I'm wrong, but enhancing the string blob matching is only a portion of the solution. There are multiple items that need addressing:

Template text shouldn't be the be-all-end-all definition of uniqueness. This is something that is occurring in the pre-run validation of the specification.
The converters need to be invoked in such a way that they convert the string blobs into whatever the best underlying method is.

The only real assumption that could be safely made is that any step with a Table in it will have the Table correctly matched to its appropriate method.

Now for the record, I was not intending <type:arg> to be a permanent change but simply an option for those of us who code methods with similar nomenclature but different signatures. It seemed to be the easiest way to solve the points above as the template text would no longer be similar while allowing method-to-template matching at runtime.

enhancing the string blob matching is only a portion of the solution

Correct. However, in this case it is a prelude to validation and execution. So, I guess this (in tandem with a pattern matched lookup of implementation signature) should handle the use case.

Template text shouldn't be the be-all-end-all definition of uniqueness. This is something that is occurring in the pre-run validation of the specification.

Correct again. My proposal was to enhance the parameter converters so that they assist in matching beyond just text template comparison. The language runners already use reflection to get method signature, parameter types etc, this happens late in the cycle (i.e execution). These could be made part of validation as well, so that steps with same template text, but different method signatures can be allowed.

The converters need to be invoked in such a way that they convert the string blobs into whatever the best underlying method is.

Correct. (details above).

Closing this as Gauge will not be implementing this feature.


Use commands cache in bash/fish completions

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Builds on #7767 by porting usage of the commands cache to bash and fish.

Hooray, nice work @EricFromCanada (and @alebcay)!


Cannot open MCA files with negative coordinates

Region files such as r.0.-1.mca cannot be opened and crash NBTExplorer. Using v2.8.0. Crash log attached: error.log

Renaming the file to remove the hyphens lets you open it; you just need to remember to rename it back after editing.

Renaming what? I have this error still on minecraft version 1.16.4, can't read region files

The file itself. Just remove the hyphens from the filename and NBTEdit works fine (at least it did 1½ years ago). Save and close then restore the old name.


Add CLI flag to allow ignore TypeScript errors in generated code

We'd obviously prefer to write TypeChain in TypeScript as strong and safe as possible, but we can't guarantee that user project's config won't be stricter, revealing errors in generated code that weren't caught during the build.
I'd like to propose adding --ts-nocheck CLI flag and process.env.TYPECHAIN_TS_NOCHECK environment variable to add `/* @ts-no-check */ to generated files. This would allow users to workaround problems like https://github.com/dethcrypto/TypeChain/issues/393 on their side before they're fixed in TypeChain.
@krzkaczor what do you think?

How would you compare your solution to the one presented in: https://github.com/dethcrypto/TypeChain/pull/543 ?

#543 is proper solution for specific case. This issue is workaround for general case. Ideally, I'd have both.

This might be a solution to fix some of the issues (like #393) but we need to warn users that this can hide some important problems and definitely this shouldn't be the default. Also, are you positive that /* @ts-no-check */ works inside TS files?

@krzkaczor


Cardano Node TODOs 2020-11-12

Add prettyPrintJSON function
Replace CardanoEra with ByronKeyFormat

121120

What does this refer to?

bors merge

Lets hold off merging before 1.24.x is sorted out. It's not essential for that release.

bors cancel

bors r-

bors r+


A missing link in the output of "Need help?" string on the repository page

As far as I know, there is only one string in the localization pack which says "Need help cloning? Visit Help!".
It looks like this on a page of a pushed repository:

And it looks like this on a page of a new empty repository page:

The link "Help" is missing.

Good catch!

Pushed fix to develop branch, you can test on https://try.gogs.io/unknwon/bare

@Unknwon thank you, works properly.
By the way, there is a problem in Russian, but, I think, it should be mentioned in another issue. The button "Copy" falls to the next line because of the string length:

Yes, sure, please open another issue!


Git data source - Device Types

As ...
Ozzie - Operator
I want ...
to store my device type descriptions in git.
So that ...
I can version-control my device type definitions.
I know this is done when...
there is a data source for device type definitions available in Nautobot.
Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[ ] DCIM
[ ] IPAM
[X] Misc (including Data Sources)
[ ] Organization
[ ] Plugins (and other Extensibility)
[ ] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[ ] Documentation
[ ] Other (not directly a platform feature)

Database Changes
None
External Dependencies
None

Check out https://github.com/nautobot/nautobot-plugin-welcome-wizard, it supports a Device Type Git Data Source. It offers support for the devicetype-library, but you are welcome to provide your own, as long as you follow the same format.


Fix raw string with let like: let x = r@'abc'@

Sorry I leave a bug in the original raw string implementation, it's about lexing inputs.
Currently nushell will failed with the following:
let x = r@'abc'@

It will return an strange error.    This pr is going to fix it.

Thanks


Revert search changes to make it async again

Changed as part of #81, but there's literally no need
Test  | perf/async-search
Elo   | 0.10 +- 1.91 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | 2.93 (-2.25, 2.89) [-3.00, 1.00]
Games | N: 77760 W: 23846 L: 23824 D: 30090
Penta | [2796, 9156, 15042, 9002, 2884]
https://openbench.lynx-chess.com/test/161/

Having second thoughts on this, async = complexity for now, so not merging + keeping the branch


Oscar actor pool on ray

What do these changes do?
This PR make mars oscar actor pool running on ray. The main changes include three parts:

Ray one-way and two-way channel based on ray call
Mars actor pool management abstraction
Ray actor pool implementation

Related issue number

If this PR is accepted, I'll submitted another PR to remove mars actor to ray actor implementation unser mars/oscar/backends/ray. The addressing of actors for both implementation is conflicting

@hekaisheng I've addressed all your comments, could you please review it again?


Implement OBoW

Add support for Online Bag of Words (OBoW) - https://arxiv.org/pdf/2012.11552.pdf

Might reopen later.


changing grid lines color, alpha, ...

Hello,
Is there a way to change the color of the grid lines, and eventually other attributes?
I guess this should be lines for Curves, HLines, ...
I just don't see how I can access the grid lines ...
Thanks,
Michel

If you are using bokeh, we will be adding support for bokeh themes soon which will let you customize anything that we haven't exposed.
In this particular case, I don't know whether we expose a way to change the gridline color offhand but @philippjfr might...

We now expose a gridstyle option which is described in the plotting with bokeh user guide.


Only dispatch playback events if audio is playable

Currently play event is dispatched also in cases, where the audio element is not user-initiated. I propose proxying playback events from the audio element to the video element.

Unfortunately I can't do that because it means that events only work when audio is present, otherwise proxying events from audio would have been a great idea.
I'm not sure I understand what the issue was though, what do you mean by that?

My bad, I didn't read the code fully when I saw. It's valid, but my question still stands

On iPhone play event is not dispatched until user interaction occurs (see demo). With the current version, the play function always dispatches a play event. Even if the video is not yet playable.

The spec defines the play event to be fired when .play() is called and the media was paused. iphone-inline-video already works like that.
I think you're referring to the playing event, which should fire when the playhead actually starts moving. That is indeed broken but I'd need to make it work properly also when there's no audio.
I hope I'm understanding you correctly.

The spec defines the play event to be fired when .play() is called and the media was paused. iphone-inline-video already works like that.

iPhone doesn't behave that way, please check the demo on iPhone. Even though you follow the spec correctly, iPhone doesn't.

I did and it does follow the spec: play is fired when the play button is pressed and playing is fired later.

Well, but look at the last line of the javascript source code. On desktop you immediately see a play event, whereas on iPhone, line 6 doesn't result in a play event. iPhone doesn't dispatch a play event until user interacts. With iphone-inline-video the media element wont play, but it will still dispatch a play event.

Ohhhh I see what you mean.
Yes. I'll look into this when I can.
Ideally I'd fix it by finding out whether it can play, because even with your PR the update code still runs at every frame waiting for the audio to play. This probably uncovers some other unwanted behavior too.

I merged this manually and it's now in 1.9.0
Thank you!


Adds webhook format check for Chime

Description
Adds webhook format check for Chime
Issues Resolved
fixes #788
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Should I add new tests for this like I did in #787 ?

Should I add new tests for this like I did in #787 ?

Yes, please.

Done.

@Noir01  will this be backported to 2.x versions?
plz let us know so that we can do corresponding backports in alerting plugin too

@Noir01 will this be backported to 2.x versions? plz let us know so that we can do corresponding backports in alerting plugin too

@eirsep Consider the backward capability we are not going to backport to 2.x for coming 2.12 realsee.


LateInitializationError: Field 'hasPreviousPage' has not been initialized.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
It seems this happen when user trying to copy text inside TextFormField. It happened in production, luckily we use Sentry and there is a screenshot attached to this issue. I will attach here to get a better understanding about the issue.

So far, only happened on 1 iOS device:

Architecture
arm64

Battery Level
40%

Boot Time
2023-09-30T01:18:15.000Z(10 hours before this event)

Charging
False

Family
iOS

Free Memory
211.1 MiB

Free Storage
99.5 GiB

Memory Size
5.5 GiB

Model
iPhone15,3 (D74AP)

Model Id
D74AP

Orientation
portrait

Screen Height Pixels
932

Screen Resolution
430x932

Screen Width Pixels
430

Simulator
False

Storage Size
238.3 GiB

Usable Memory
4.6 GiB

Expected results
No error when user select text inside TextFormFIeld
Actual results
Error when user select text inside TextFormField, so far only issue on iOS.
Code sample
Code sample
 TextFormField(
          style: TextStyle(
            fontSize: Font.s16,
            fontWeight: Font.bold,
            color: ColorManager.kPrimaryText,
          ),
          controller: addressController,
          focusNode: addressFocusNode,
          autovalidateMode: AutovalidateMode.onUserInteraction,
          validator: (value) => (value ?? '').isEmpty
              ? requiredValidator(value)
              : lengthValidator(value, 5, 50),
          inputFormatters: [
            FilteringTextInputFormatter.deny(RegExp('[\<\>]')),
          ],
          onChanged: (value) {
            removeFirstSpace(
              controller.address,
              value,
            );
          },
          decoration: InputDecoration(
            errorMaxLines: 2,
            labelText: 'Alamat sesuai KTP',
            labelStyle: TextStyle(
              color: ColorManager.kTextDisableBrand,
              fontSize: Font.s16,
              fontWeight: Font.regular,
            ),
            alignLabelWithHint: true,
            contentPadding: EdgeInsets.only(top: 6, bottom: 6),
          ),
          maxLines: null,
          maxLength: 50,
          keyboardType: TextInputType.multiline,
        ),

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
LateError: LateInitializationError: Field 'hasPreviousPage' has not been initialized.
  File "text_selection_toolbar.dart", in _CupertinoTextSelectionToolbarContentState._handlePreviousPage
  File "text_selection_toolbar.dart", line 454, in _CupertinoTextSelectionToolbarContentState._onHorizontalDragEnd
  File "monodrag.dart", line 574, in DragGestureRecognizer._checkEnd.<fn>
  File "recognizer.dart", line 275, in GestureRecognizer.invokeCallback
  File "monodrag.dart", line 574, in DragGestureRecognizer._checkEnd
  File "monodrag.dart", line 452, in DragGestureRecognizer.didStopTrackingLastPointer
  File "recognizer.dart", line 465, in OneSequenceGestureRecognizer.stopTrackingPointer
  File "monodrag.dart", line 461, in DragGestureRecognizer._giveUpPointer
  File "monodrag.dart", line 420, in DragGestureRecognizer.handleEvent
  File "pointer_router.dart", line 98, in PointerRouter._dispatch
  File "pointer_router.dart", line 143, in PointerRouter._dispatchEventToRoutes.<fn>
  File "compact_hash.dart", line 625, in _LinkedHashMapMixin.forEach
  File "pointer_router.dart", line 141, in PointerRouter._dispatchEventToRoutes
  File "pointer_router.dart", line 127, in PointerRouter.route
  File "binding.dart", line 488, in GestureBinding.handleEvent
  File "binding.dart", line 468, in GestureBinding.dispatchEvent
  File "binding.dart", line 333, in RendererBinding.dispatchEvent
  File "binding.dart", line 413, in GestureBinding._handlePointerEventImmediately
  File "binding.dart", line 376, in GestureBinding.handlePointerEvent
  File "binding.dart", line 323, in GestureBinding._flushPointerEventQueue
  File "binding.dart", line 292, in GestureBinding._handlePointerDataPacket
  File "zone.dart", line 1415, in _rootRunUnary
  File "zone.dart", line 1308, in _CustomZone.runUnary
  File "zone.dart", line 1217, in _CustomZone.runUnaryGuarded
  File "hooks.dart", line 188, in _invoke1
  File "platform_dispatcher.dart", line 424, in PlatformDispatcher._dispatchPointerDataPacket
  File "hooks.dart", line 119, in _dispatchPointerDataPacket

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.2 22D49 darwin-arm64, locale en)
    • Flutter version 3.13.2 on channel stable at /Users/efzet/fvm/versions/3.13.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (6 weeks ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/efzet/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/efzet/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 71.2.2
    • Dart plugin version 212.5744

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.74.0

[✓] Connected device (3 available)
    • Pixel 6a (mobile) • 28271JEGR04021 • android-arm64  • Android 13 (API 33)
    • macOS (desktop)   • macos          • darwin-arm64   • macOS 13.2 22D49 darwin-arm64
    • Chrome (web)      • chrome         • web-javascript • Brave Browser <IP_ADDRESS>

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @fauzipadlaw. Thanks for filing this! I can't seem to reproduce this, I guess it doesn't reproduce at all times. Are you able to upgrade to the latest versions of Flutter to see if you are still able to reproduce this?

I can't reproduce either on my current flutter version or the latest one. This issue only occurred on production release. I actually do not know how to reproduce this issue, the only hint is the screenshoot.

I have attached logs from Sentry above, for addition, this is logs from firebase crashlytics
Non-fatal Exception: FlutterError
0  ???                            0x0 _CupertinoTextSelectionToolbarContentState._handlePreviousPage (text_selection_toolbar.dart)
1  ???                            0x0 _CupertinoTextSelectionToolbarContentState._onHorizontalDragEnd + 454 (text_selection_toolbar.dart:454)
2  ???                            0x0 DragGestureRecognizer._checkEnd.<fn> + 574 (monodrag.dart:574)
3  ???                            0x0 GestureRecognizer.invokeCallback + 275 (recognizer.dart:275)
4  ???                            0x0 DragGestureRecognizer._checkEnd + 574 (monodrag.dart:574)
5  ???                            0x0 DragGestureRecognizer.didStopTrackingLastPointer + 452 (monodrag.dart:452)
6  ???                            0x0 OneSequenceGestureRecognizer.stopTrackingPointer + 465 (recognizer.dart:465)
7  ???                            0x0 DragGestureRecognizer._giveUpPointer + 461 (monodrag.dart:461)
8  ???                            0x0 DragGestureRecognizer.handleEvent + 420 (monodrag.dart:420)
9  ???                            0x0 PointerRouter._dispatch + 98 (pointer_router.dart:98)
10 ???                            0x0 PointerRouter._dispatchEventToRoutes.<fn> + 143 (pointer_router.dart:143)
11 ???                            0x0 _LinkedHashMapMixin.forEach (dart:collection)
12 ???                            0x0 PointerRouter._dispatchEventToRoutes + 141 (pointer_router.dart:141)
13 ???                            0x0 PointerRouter.route + 127 (pointer_router.dart:127)
14 ???                            0x0 GestureBinding.handleEvent + 488 (binding.dart:488)
15 ???                            0x0 GestureBinding.dispatchEvent + 468 (binding.dart:468)
16 ???                            0x0 RendererBinding.dispatchEvent + 333 (binding.dart:333)
17 ???                            0x0 GestureBinding._handlePointerEventImmediately + 413 (binding.dart:413)
18 ???                            0x0 GestureBinding.handlePointerEvent + 376 (binding.dart:376)
19 ???                            0x0 GestureBinding._flushPointerEventQueue + 323 (binding.dart:323)
20 ???                            0x0 GestureBinding._handlePointerDataPacket + 292 (binding.dart:292)

I can confirm that this is happening in Flutter 3.13.x. We haven't yet rolled out the update to 3.16 yet, so I can't confirm that.
Here's our stacktrace from Flutter 3.13
LateError: LateInitializationError: Field 'hasNextPage' has not been initialized.
  File "text_selection_toolbar.dart", in _CupertinoTextSelectionToolbarContentState._handleNextPage
  File "text_selection_toolbar.dart", line 456, in _CupertinoTextSelectionToolbarContentState._onHorizontalDragEnd
  File "monodrag.dart", line 574, in DragGestureRecognizer._checkEnd.<fn>
  File "recognizer.dart", line 275, in GestureRecognizer.invokeCallback
  File "monodrag.dart", line 574, in DragGestureRecognizer._checkEnd
  File "monodrag.dart", line 452, in DragGestureRecognizer.didStopTrackingLastPointer
  File "recognizer.dart", line 465, in OneSequenceGestureRecognizer.stopTrackingPointer
  File "monodrag.dart", line 461, in DragGestureRecognizer._giveUpPointer
  File "monodrag.dart", line 420, in DragGestureRecognizer.handleEvent
  File "pointer_router.dart", line 98, in PointerRouter._dispatch
  File "pointer_router.dart", line 143, in PointerRouter._dispatchEventToRoutes.<fn>
  File "compact_hash.dart", line 625, in _LinkedHashMapMixin.forEach
  File "pointer_router.dart", line 141, in PointerRouter._dispatchEventToRoutes
  File "pointer_router.dart", line 127, in PointerRouter.route
  File "binding.dart", line 488, in GestureBinding.handleEvent
  File "binding.dart", line 468, in GestureBinding.dispatchEvent
  File "binding.dart", line 333, in RendererBinding.dispatchEvent
  File "binding.dart", line 413, in GestureBinding._handlePointerEventImmediately
  File "binding.dart", line 376, in GestureBinding.handlePointerEvent
  File "binding.dart", line 323, in GestureBinding._flushPointerEventQueue
  File "binding.dart", line 292, in GestureBinding._handlePointerDataPacket
  File "hooks.dart", line 186, in _invoke1
  File "platform_dispatcher.dart", line 424, in PlatformDispatcher._dispatchPointerDataPacket
  File "hooks.dart", line 119, in _dispatchPointerDataPacket

Same problem in 13.3x

I reproduced the problem: the ToolBar appears after selecting the text, then  try to slide the ToolBar horizontally, get the error


proposal: setting an edge during creation should return the set edge instance on the edge of the returned object

When an entity is created, the edges of the entity returned by Save() are nil, even if those edges were set during the creation. For example, given two entity types, A and B, with an edge between them,
a := entc.A.Create().
  SetB(b)
  SaveX(ctx)
// a.Edges.B is nil.

The edge can be manually set via a.Edges.B = b, which feels very wrong, or it can be manually loaded via a.QueryB(), but that requires a pointless database access. Since the instance of the B edge is already known because of the call to SetB(), would it make sense for the edge in the returned instance to just be set to that? Or maybe add a method that enables functionality like this?

Hey @DeedleFake and thanks for proposing this option.

Or maybe add a method that enables functionality like this?

Maybe. Or we can add an option to enable it in codegen time (e.g. using schema annotations). Let's start a discussion about it here. I'll start thinking about it, and return with more thoughts afterwards.

Hey! I was wondering if there was an update on this proposal and it's something that I'd personally love to use.


Keystrokes in the browser should not be logged

Currently they are being logged as KeyBindingEvents.
This is applicable if the user has to enter username/password into the browser to login to GitHub.

Fixed via commit 386dffdf2ad3453c7ac73cb7d93694c270f4ebae


Update installation screen screenshot

Since we introduced multiple masters, the installation screen looks quite different.
As the remotes are now also named, basically all screenshots would look a bit different, but in my opinion this is fine. If after the Beta testing phase they still look the same, we might want to update them.

That's true but I also think that it's ok for the beta testing phase. It should not confuse users too much.


Update go linters

Description
This PR bumps the golangci-lint version, removes deprecated linters and fixes the emerged issues.

/rebase

/merge


Add documentation to PhysicsServer2DExtension

Oh goodness me.
This PR... This PR fills in the class reference of PhysicsServer2DExtension.
A grand majority of these methods link to the PhysicsServer2D equivalents. The reasons for this are as follow:

Curating whole new descriptions with the assumption that that they are overridable now is not something I would wish for to my dearest enemy. It could be my job and I wouldn't do it, at least not all at once.
Copying the descriptions between the two word-by-word would mean having to maintain two copies of the same identical description.
This documentation is tailored towards advanced users, even more "advanced" than those that would read PhysicsServer2D's class reference. They should roughly know what they're doing already.

Most of this documentation basically behaves like a quality of life "click here to read more".

Not all of them point back to PhysicsServer2D. Some have been described from scratch, because there's no equivalent of them exposed to the scripting languages.
Could use the feedback of physics-savvy maintainers, but I somehow have the confidence that the new descriptions are accurate enough.

This and https://github.com/godotengine/godot/pull/87030 could still use a small look

Thanks!

Cherry-picked for 4.2.2.


(#455) - Remove undesired output before running test

See: https://bugs.openjdk.java.net/browse/JDK-8039152

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 7min)

Job gh:cqfn/eo#474 is not assigned, can't get performer


Account view

Create view in HTML / CSS for the Account view.
This is very similar to the "Add user" view.
Wireframes: https://marvelapp.com/644d2f9/screen/50214083
Design system: http://dev.huntermarcks.net/design-system
Will probably want to build in the prototype for now. You can fork this repo: https://github.com/hmarcks/expunge-pdx-frontend

@drewlearnsabout Hey! I'm not trying to nag, just hoping to understand where the project is and what tasks are available for people to work on. How's this issue going, and do you have any in-progress code you can push up in a branch? If you're working on this I want to make sure that any changes I make in the frontend code aren't going to conflict with or duplicate what you're already working on.

@maxkwallace Hey Max.  No worries, I've been distracted by other things these past few weeks to get it done.  When I was at the meetup yesterday, I was finally able to start getting the markup together, and I'm hoping i can get a draft finished by this month. I'll try to push to the branch soon.

@drewlearnsabout sounds good, thanks for the update! If you push the branch up to this repo (not your own fork) that would be ideal, since it'll be easier for other folks to check out your work that way. If you have anything completed I would say just go ahead and push it up right away-- then post the name of the branch back here.
That way it'll be easy for anyone who comes across the issue to see how things are going, and make sure any code they're writing isn't going to conflict with the work you've already done.

@maxkwallace this work is actually on a separate repo for now (https://github.com/hmarcks/expunge-pdx-frontend) where we're working on the HTML templates, so @drewlearnsabout you can make a pull request to that repo when you're ready.
Once we have the frontend on this repo set up (I think we're close), we can transfer these templates and css over.

@hmarcks my bad, thanks for the clarification!

@maxkwallace no problem, It's kind of a strange process, thanks for checking in on the tickets!

I saw this on the front end specific repo:

We have this separate repository because it's quicker than getting the full local environment running.

Just curious. What makes it slow when running it in the main repo? Sorry, I'm not familiar with the front-end.

@a-ilango I remember having trouble with my machine getting our repo running locally, might have just been me. But I think the main advantage of keeping it in a separate repo was that I could easily make a github pages site public so I could share the click-through prototype.

@hmarcks, thanks for clarifying. I didn't know about github pages before. That's pretty neat!

Completed, see http://dev.huntermarcks.net/account and http://dev.huntermarcks.net/admin/edit-user (also added edit account view)


Extract the 'training' command as a variable

The command which runs a script is clearly something that a user will change.

The default value for this command should be something like
echo "Replace this placeholder with a training script execution"


Julia v0.5

Get EEG.jl working on Julia v0.5

Coverage remained the same at 77.307% when pulling 9b73ac69cb5faa53bad4861b73728704977b5d26 on Julia-v0.5 into 6b967d871cfbc159ca85bebdbfb4fe9c320acc5c on master.

[Current coverage][cc-pull] is 77.30% (diff: 100%)

Merging [#9][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master         #9   diff @@
==========================================
  Files            41         41
  Lines          1344       1344
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1039       1039
  Misses          305        305
  Partials          0          0

Powered by Codecov. Last update [6b967d8...2afe982][cc-compare]
[cc-base-branch]: https://codecov.io/gh/codles/EEG.jl/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/codles/EEG.jl/compare/6b967d871cfbc159ca85bebdbfb4fe9c320acc5c...2afe982186d6b041b09fde6e96c6f4a1e22d9fbe?src=pr
[cc-pull]: https://codecov.io/gh/codles/EEG.jl/pull/9?src=pr

Coverage remained the same at 77.307% when pulling b2def16479e947d3fa11d308c7346c0ac0c93645 on Julia-v0.5 into 6b967d871cfbc159ca85bebdbfb4fe9c320acc5c on master.


[SPARK-47222][SQL] fileCompressionFactor also applied to the size of the table

What changes were proposed in this pull request?
This PR makes spark.sql.sources.fileCompressionFactor also applied to the size of the table.
Why are the changes needed?
To keep the behavior consistent. For example:
bin/spark-shell --conf spark.sql.catalogImplementation=in-memory

scala> spark.range(5).write.parquet("/tmp/spark/parquet")

scala> spark.sql("set spark.sql.sources.fileCompressionFactor=2.0")
res1: org.apache.spark.sql.DataFrame = [key: string, value: string]

scala> spark.sql("create table t(id long) using parquet location '/tmp/spark/parquet'")
res2: org.apache.spark.sql.DataFrame = []

scala> spark.sql("select * from t").explain("cost")
== Optimized Logical Plan ==
Relation spark_catalog.default.t[id#13L] parquet, Statistics(sizeInBytes=5.2 KiB) // The sizeInBytes is location.sizeInBytes * spark.sql.sources.fileCompressionFactor

scala> sql("ANALYZE TABLE t COMPUTE STATISTICS noscan")
res4: org.apache.spark.sql.DataFrame = []

scala> spark.sql("select * from t").explain("cost")
== Optimized Logical Plan ==
Relation spark_catalog.default.t[id#17L] parquet, Statistics(sizeInBytes=2.6 KiB) // The sizeInBytes is table statistics

After this PR:
scala> spark.sql("select * from t").explain("cost")
== Optimized Logical Plan ==
Relation spark_catalog.default.t[id#17L] parquet, Statistics(sizeInBytes=5.2 KiB) // The sizeInBytes is table statistics * compressionFactor

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit test.
Was this patch authored or co-authored using generative AI tooling?
No.

cc @cloud-fan


Balanced parentheses in macro arguments are not handled

Expected behavior
Nested balanced parentheses are handled as part of a macro argument
> cc -E - <<END
#define foo(x, y) { x, y }
foo(5 (6), 7)
END
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "<stdin>"

{ 5 (6), 7 }

Code
#define foo(x, y) { x, y }
foo(5 (6), 7)

<stdin>:2:4 error: invalid macro: wrong number of arguments: expected 1, got 2
foo(5 (6), 7)
   ^^^^^^
1 warning and 1 error generated

Standardese

The replaced sequence of preprocessing tokens is terminated by the matching ) preprocessing token, skipping intervening matched pairs of left and right parenthesis preprocessing tokens.
— §6.10.3 ¶10

Relevant code: https://github.com/jyn514/rcc/blob/master/src/lex/cpp.rs#L686

I think the fix will be to keep track of the current number of ( open, and only count the macro call as finished if it's 0


Update README.md

Fixing some small grammar nits.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to documentation are included in the PR

🥳 HIIII!!!


update-fortress.py not working

Hi, I installed The foretress, no problem during installation.
After installation and reboot of machine I tried update-fortress.py script ant it is not working.
When I run it nothing happen.

I got it now, work in progress....


Should the two scrapers be combined into one?

@palewire I would say keep them separated since they refer to two quite different functionalities

The answer is no.


How can i setup it using macos M1

I am reseach relevent to your paper.
I want to setup and run experiment. But in this step
CUDA_HOME=/usr/local/cuda-11.0/ python setup.py build install
In macosm1 dont use nvda. therefore i can't use cuda for start it.
Do you have any idea for setup project ?
Thank you for your response.

Hi, thanks for the interest. Since our project requires the Ubuntu operating system, with Nvidia GPU and CUDA environments, I do not think MacOS is available. I would suggest using a PC with Nvidia GPU, or use a cloud virtual machine.


Metadata: Add multi-language support

Also update the links in README_zh.md? Otherwise LGTM.

updated. Also delete some no longer used links in README, too.


Crash to Desktop when putting tools in crafting grid

I have already posted this issue on Botania's Github, but for completeness I wanted you to also be aware of it so that you can make sure it is not something on your end as well.
If I put any of the Emerald tools in a crafting window, the client crashes to desktop with the following error:
http://pastebin.com/Bg5VYC5Z
I have also seen this behavior in Mekanism Tools, and Router Reborn's RR Pickaxe.  Router Reborn's author was able to fix the issue on his end due to using an old itemstack method or something, however the Mekanism author does not believe it is on his end at this point which prompted me to make the issue on Botania's Github found here (which also has references to the Mekanism issue):
https://github.com/williewillus/Botania/issues/471
Maybe through some combined effort everyone involved can work out what is going wrong.

Pretty crazy. Repair material should just be an emerald; looking into it now.

Releasing 1.7.4 soon to fix this. no crash in any crafting window, and i can repair my tools in the anvil as well.  I had Botania-unofficial.r1.8-318 installed and a ton of other stuff.


[Folder Name Request]

Housekeeping

[X] I'm sure this issue is not a duplicate

Information:
I've noticed that to have the Python folder icon, you have to name it ".venv" or ".virtualenv" and I was wondering why you can't just name it "Python" so that the icon applies.

To me the issue is unclear and the author’s GitHub account has been deleted.


CRYPTOPP_DISABLE_ASM build broken on Windows and MSys with 8.9.0

New implementation of checks for intel intrinsics with XGETBV64 and CPUID64 broke the builds on windows and msys.
https://github.com/abdes/cryptopp-cmake/actions/runs/6377366481/job/17305897732#step:11:850

Issue is linked to the use of CRYPTOPP_DISABLE_ASM when the compiler is MSVC or clang. It seems that GNU compilers have their internal implementation of the undefined symbols with the other two compilers.

Fixed in #103
This issue will be closed one crypto is released with an updated version (@noloader).


DIF10: GCMD Hierarchy Check for /DIF/Platform/Instrument/Sensor/Long_Name

Is this a new check? Please describe the check and the field.
/DIF/Platform/Instrument/Sensor/Long_Name: GCMD Instrument Hierarchy check against /DIF/Platform/Instrument/Sensor/Short_Name
Describe the checks in steps
Check that the uuid for the provided GCMD long name matches the uuid of the provided GCMD short name
Is there a similar check already implemented? Please list the name of the check
N/A
Additional context
Example of pair that should pass:
/DIF/Platform/Instrument/Sensor/Short_Name : ER-2
/DIF/Platform/Instrument/Sensor/Long_Name : ER-2 Doppler Radar
Example of pair that should fail (both are valid GCMD keywords, but they do not have the same uuids):
/DIF/Platform/Instrument/Sensor/Short_Name : EDOP
/DIF/Platform/Instrument/Sensor/Long_Name : ER-2 Doppler Radar

this was fixed in the feature/ummg_support branch


Unable to see internal Objects of extended Resource unless it's under an array

Godot version:
3.2 branch at commit 9bf5a0b791faf8e960bdb07009b5fe8003206e4f
OS/device including version:
Arch Linux
Issue description:
Internal Object of an extended Resource is not visible on remote view unless the remote Resource object is inside an array or a dictionary as far as I can tell.
Steps to reproduce:
Consider the following class:
tool
extends Resource
class_name AnAwesomeResource

var unseen_resource_in_inspector : Reference

func _init():
    resource_name = "AnAwesomeResourceName"
	unseen_resource_in_inpsector = Reference.new()

func _to_string() -> String:
       return "[" + get_name() + " ID: " + str(get_instance_id()) + "]"

Open the attached project.
On the Scene tab click the only node on the scene.
Checkout the exported looks_good variable in Inspector -- it's of type AnAwesomeResource and we can't see the unseen_resource_in_inspector through Inspector variable which is fine.
Press F6 to run the scene.
Click on "Remote" under the Scene tab to see the remote scene.
Click on the Node2D node.
Look at Inspector -- the looks_good variable still has the correct resource name, however its internal member variables can't be seen on the Inspector.
Click on can_see_internal_member array, and double click the only Object it contains --- the unseen_resource_in_inspector can now be seen because AnAwesomeResource lives inside an Array.

Minimal reproduction project:
RemoteResourceView.zip
Additional Notes
Related:
#41427
#40758

I want to highlight another strange behaviour:

download the minimal reproduction project
remove the assigned resource in the inspector
update the script to initialize the resource programmatically:

func _init():
   looks_good = AnAwesomeResource.new()
   can_see_internal_members.push_back(looks_good)

run the scene
check the inspector

Result:

looks_good seems empty (but it's not)
can_see_internal_members displays the Resource correctly

I want to highlight another strange behaviour:

download the minimal reproduction project
remove the assigned resource in the inspector
update the script to initialize the resource programmatically:

func _init():
   looks_good = AnAwesomeResource.new()
   can_see_internal_members.push_back(looks_good)

run the scene
check the inspector

Result:

looks_good seems empty (but it's not)
can_see_internal_members displays the Resource correctly

I'm not sure why, but my build with #44879 shows the looks_good as having a value when I run your second example (the "strange behavior"). None of the internal properties appear though.
Now, when I change it to export(AnAwesomeResource) and properly mark the unseen property as exported (since it won't appear in the Inspector without that), then it appears in the local Inspector. The unseen property also appears in the remote inspector, but the Inspector shows it to be empty even though the _init() function should theoretically be giving it a value.


parallel-letter-frequency: helper code does not pass golint

example.go:3:1: exported function ConcurrentFrequency should have comment or be unexported
frequency.go:3:6: exported type FreqMap should have comment or be unexported
frequency.go:5:1: exported function Frequency should have comment or be unexported

This is tripping up a number of students unnecessarily. Happy to submit a PR if it's welcome.

submit a PR if it's welcome

PRs are always welcome. And I think passing golint will be a good thing.
Reference #1024 and PR #1175
@ferhatelmas, @hilary, @sebito91, Any preference on how to proceed on this?
Perhaps set aside a  branch to move the repo code toward being lint free; after that branch's merge to master, the metalinter (or golangci-lint if it is mature enough) can then be turned on for keeping it lint free.

Footnote: Exalysis runs golint on solutions automatically.


add styling for markdown

Thanks for the lovely theme.
It looks like the theme has no proper support for markdown? Like, when opening a markdown note, pretty much everything in plain white except URLs.

(the background color for the headings only comes from headlines.nvim)

How about this 🙂

Closed with https://github.com/fynnfluegge/monet.nvim/commit/6a3ce156c37c73341791a334fcc6e04fa902b7e4

nice, thank you!


Update let-your-teams-users-communicate-with-other-people.md

Making it clearer to customers how to limit communications to other organizations either with allow all but blocked, or limit communications to specific organizations.
Proposed changed based on feedback from support personnel.

Ping'd @aspiziri-ms offline for review.

Ping'd @Karvell offline - approved.


To how many tokens can I send at a time?

To how many users can I send push notification at a time using the fromRaw() method? I have to send notification to atleast 2k tokens

There is not limit from package for tokens, you need to check limit on firebase.
https://firebase.google.com/docs/cloud-messaging


Fixes Application error

fix #25
this PR fixes the application error on My Banks page when user is not authenticated , by displaying the correct message.

Share SS

hey @gupta-ritik review this


Move Data Hub administration documentation to Control Center section (CAT-1772)

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

@dtitenko, can you sign CLA please?

Needs RN on both the Control Center and the Data Hub sides.


Use v1beta1 RouteTable

Description of your changes

provider-aws no longer provides v1alpha4 RouteTable, instead providing
v1beta1. This updates to use the new version.
Signed-off-by: hasheddan<EMAIL_ADDRESS>I have:

[x] Read and followed Upbound's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

Built, pushed, installed, then create a CompositeNetwork. All resources were create successfully:
🤖 (platform-ref-multi-k8s) k get aws
NAME                                                   READY   SYNCED   ID                     VPC                     AGE
securitygroup.ec2.aws.crossplane.io/my-network-9ftk9   True    True     sg-096563dcb24cf49df   vpc-0bf256467c80e9192   6h16m

NAME                                                READY   SYNCED   ID                      VPC                     AGE
routetable.ec2.aws.crossplane.io/my-network-4scjr   True    True     rtb-0aca9804a03cc785d   vpc-0bf256467c80e9192   26m

NAME                                                     READY   SYNCED   ID                      VPC                     AGE
internetgateway.ec2.aws.crossplane.io/my-network-ckdl6   True    True     igw-027076947a090cd0d   vpc-0bf256467c80e9192   6h16m

NAME                                            READY   SYNCED   ID                         VPC                     CIDR               AGE
subnet.ec2.aws.crossplane.io/my-network-69wf4   True    True     subnet-0e1c7ab5ec7545491   vpc-0bf256467c80e9192   <IP_ADDRESS>/18   6h16m
subnet.ec2.aws.crossplane.io/my-network-9fbm9   True    True     subnet-094e7605afe2e8c74   vpc-0bf256467c80e9192   <IP_ADDRESS>/18    6h16m
subnet.ec2.aws.crossplane.io/my-network-lgnl9   True    True     subnet-082ea8e3cb2d7020a   vpc-0bf256467c80e9192   <IP_ADDRESS>/18     6h16m
subnet.ec2.aws.crossplane.io/my-network-qg8t7   True    True     subnet-0c383a03deedf8207   vpc-0bf256467c80e9192   <IP_ADDRESS>/18   6h16m

NAME                                         READY   SYNCED   ID                      CIDR             AGE
vpc.ec2.aws.crossplane.io/my-network-424rr   True    True     vpc-0bf256467c80e9192   <IP_ADDRESS>/16   6h16m

NAME                                                                         AGE     CONFIG-NAME   RESOURCE-KIND     RESOURCE-NAME
providerconfigusage.aws.crossplane.io/29500578-c890-4f10-9a7d-20d203783ece   6h3m    default       Subnet            my-network-lgnl9
providerconfigusage.aws.crossplane.io/4ad65141-c96d-424b-a7e0-bc6c75493669   6h3m    default       Subnet            my-network-qg8t7
providerconfigusage.aws.crossplane.io/73579a43-e6f2-4477-9c1f-b988fbd6a6dd   6h3m    default       Subnet            my-network-9fbm9
providerconfigusage.aws.crossplane.io/78d9a496-d318-4c3f-9e11-f4d521676b83   6h3m    default       InternetGateway   my-network-ckdl6
providerconfigusage.aws.crossplane.io/a47ce636-505d-4a1d-86f1-41a9a3e89168   6h3m    default       Subnet            my-network-69wf4
providerconfigusage.aws.crossplane.io/b3aefaba-9f98-4bdc-9074-2763873b3b88   26m     default       RouteTable        my-network-4scjr
providerconfigusage.aws.crossplane.io/c4b930cc-0333-4ce1-ae8a-10541490a496   6h3m    default       SecurityGroup     my-network-9ftk9
providerconfigusage.aws.crossplane.io/d9fc2ef5-c58b-456a-a645-c1f915d38eac   6h13m   default       VPC               my-network-424rr

NAME                                       AGE
providerconfig.aws.crossplane.io/default   6h14m

Would we have the same issue in other reference platforms too?

@jbw976 potentially so! I'll look through each and update if necessary!
Also, could you either add me with merge permissions to this repo or go ahead and merge it yourself if preferred? Looks like I don't have permissions :)

I've gone ahead and merged this in, but also given you maintainer access to all 4 platform-ref-* repos @hasheddan :)


SCF correction to forces

If we have SCF correction to total energy, we also need it for the forces.

bors try

bors try


License?

Hello, I know this is old but can you confirm the license for the library?

Yes, its MIT. I will add it :)

Alright thanks :)


Update CI.yaml

Fixes #536
Adding the missing option.
Proposed Changes (Mandatory)
A brief list of proposed changes in order to fix the issue:
Adding an option to curl to surpass log leak.

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


Create data dir if it does not exist

First run errors out because the data dir did not exist.  Added code to create data dir if it does not exist

Thank you for the fix.


Opacity

Hello Sven, thanks for this project.
It would be great to have an opacity argument to get something like windows' cursor highlight mode: https://www.youtube.com/watch?v=NLFfz2ZS1Js
Like:
highlight-pointer --show-cursor --radius 50 --released-color '#ffcc00' --pressed-color '#ff0000' --opactity 0.5

Or maybe to use rgba colors in pressed/released-color argument.
I found this:
https://gist.github.com/ericek111/774a1661be69387de846f5f5a5977a46#file-xoverlay-cpp-L112
But I'm not good with X11 and C to port this from C++.
So, do you see this as a feature?
Thanks.

Hey Slava,
That would definitely be a great feature. I am not sure, if it's feasible with basic X11 (as it requires the window itself to be transparent rather than a shape drawn into the window). I will look into the _NET_WM_WINDOW_OPACITY, which seems to be supported by major window managers.
Thanks for the idea!

I would also love that! Great app!

This would be great to have and looking forward to it!


UQD5NG3O8GBqxXOJTCZnnPCw89u---5-QrIEaADqT_X4Wj

UQD5NG3O8GBqxXOJTCZnnPCw89u---5-QrIEaADqT_X4Wj
Originally posted by @Mohammadhoseynkhaleqi in https://github.com/ton-blockchain/wallet-contract/issues/12#issuecomment-2314762211

Ferr ton

50

On behalf of the robot, they asked me to deposit into Volt and they asked me for some currency to charge my wallet, but my entire account was empty and the money was not deposited into my wallet.


Inconsistency by visualizer

Hi,
Currently, I'm using Rerun to visualize 16 pinhole cameras. When I run the script, sometimes it visualizes all 16 cameras together, sometimes it only visualizes the first 9 cameras and when I "reset viewer" using gui, it visualizes only the rest of the cameras (10-16). When I reset again, it visualizes the first 9 again, and is stuck between these two alternatives. Sometimes visualizing a totally different scene, and then visualizing the original (16-camera) scene helps to get rid of this bug and I am able to visualize 16 cameras correctly. Sometimes it does not help.
The related part of the code is following:
for camera_name in calibrations.keys():

        calibration = calibrations[camera_name]
        K = np.array(calibration['intrinsics_matrix'])
        rr.log(f"scene/{camera_name}",
               rr.Pinhole(
                       resolution=calibration['image_size'],
                       image_from_camera=K[:3, :3].flatten()
               ))
        image_path = os.path.join(image_folder, camera_name, os.listdir(os.path.join(image_folder, camera_name))[0])
        image = cv2.cvtColor(cv2.imread(image_path), cv2.COLOR_BGR2RGB)
        rr.log(f"scene/{camera_name}", rr.Image(image))
        translation = np.array(calibration['translation'])
        R_inv = np.linalg.inv(calibration['rotation_matrix'])
        center = np.matmul(R_inv, -translation)
        rr.log(f"scene/{camera_name}", rr.Transform3D(mat3x3=R_inv, translation=center.flatten()))

Thanks for your help.

Thanks for the feedback. I'm trying to create a minimally reproducible example but have failed so far. All pinholes are properly displayed.
This is what I'm using (with rerun 0.10.1):
import math

import numpy as np
import rerun as rr

rr.init("rerun_example_pinhole_test")
rr.connect()
rng = np.random.default_rng(12345)

for i in range(16):
    image = rng.uniform(0, 255, size=[3, 3, 3])
    intrinsic = np.array([[4, 0, 1.5], [0, 4, 1.5], [0, 0, 1]])
    rr.log(f"scene/{i}", rr.Pinhole(resolution=[3, 3], image_from_camera=intrinsic))
    rr.log(f"scene/{i}", rr.Image(image))
    angle = i / 16 * np.pi * 2
    rr.log(f"scene/{i}", rr.Transform3D(
        #mat3x3=[math.cos(angle), 0, math.sin(angle), -math.sin(angle), 0, math.cos(angle), 0, 1, 0],
        translation=[i, 0, 0]))

Any chance you could build a minimal example that reproduces the issue?

What I did observe though is that the pinhole gizmo fails to render when that mat3x3 line is uncommented:

Maybe @Wumpf has an idea about what's going on here?

mat3x3=[math.cos(angle), 0, math.sin(angle), -math.sin(angle), 0, math.cos(angle), 0, 1, 0],

I might be wrong but that matrix looks a bit odd to me. Did you mean

mat3x3=[math.cos(angle), 0, math.sin(angle),  0, 1, 0, -math.sin(angle), 0, math.cos(angle)],

@abey79 Thank you for looking into the issue. I explored it a bit more. I can reproduce the error only when a subset of the images has a reverse resolution (portrait). You can find the required files to reproduce the error here. The visualizer can sometimes display all 16 cameras together, mostly after the first run of the script. If I reset the viewer from the GUI, it displays either the set of images with normal resolution or the other set of images with reversed resolution.
Please let me know when you download the files.

I have downloaded the files and could successfully run the script 👍🏻 I'll report back ASAP.

Great, thank you


feat: active mints carousel

Description
This PR adds the active mints carousel to the landing page

Review Error for gio-m-cb @ 2023-08-17 17:22:47 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help

something up here, not sure if cause rebase needed

@lauchness still seeing this

also I think let's go most recent left to right, rather than oldest first

@wilsoncusack rebased and sorted appropriately.
The issue with the address pill is the one I addresses yesterday, where if the description isn't present, the address pill is not vertically aligned.
I think I can fix this, but it's going to take some refactoring of the DropCard and Carousel.

Review Error for AshishYelekar @ 2023-08-18 15:49:32 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help


Data in storage might break state and watchers when using persistentStates

When watching data on a just installed plugin, an empty storage will be placed onto the state and thus break any watches or deep bindings.
I propose that storage is selectively placed over the state while keeping the original object structure.
https://github.com/MarZab/vuex-webextensions/commit/6c7c9653f751faa2aafbc45ee737f26248267ea6

Having worked with this for a while now, I've figured out just using a setter to make the inital load works better.
https://github.com/MarZab/vuex-webextensions/commit/ebaaa6cf3e95a52e0adc452fce503c1ce1157cfc
plugins: [
    VuexWebExtensions({
      persistentStates: [
        {
          name: "settings",
          setter: "setSettings"
        }
      ]
    })
  ]

Hello @MarZab,
In first place a lot of thanks ^^ and sorry for the delay, I'm passing on a very busy season and I can't answer before.
If I understand fine, the watchers didn't work when the module restore the persistent states from localstorage, this is strange because I'm using watchers to send messages to the another contexts.
I gona try to reproduce the issue and test your changes, the deepSet seems fine but I'm worried for the second recomendation.
I always try to make it the most simple for the developer possible, this is the reason because I don't put any more data that state name on the persistent states.
Another thing it's that states not always have setters defined, I gona think about how try to offer hibrid solution (simple with only state name or advanced settings) to cover all needs, but I need some time.

@MarZab Finally I manage to fix this without set setters to all states.
I test watchers and seems working fine now, including when the extension send the first initialization of states, if you need proc code when data are fully loaded just set a watcher for 'VWE_ReplaceState' mutation.
Sorry for the delay, I really do my best to find a proper solution for this.


When changing password, there should be more guidelines

http://joelcalifa.com/assets/images/blog/patronizing-passwords/morewarnings.png


Redesign specialization constants

In the "Arguments and Return Types" section, it says that one class of argument are specialization constants.

Specialization constants. These are scalar variables which must be specified by the WebGPU API before the shader is allowed to execute. These variables must use the specialized semantic.

Later, the spec says specialized is a keyword of the language.
That's all  the info in index.rst.
The grammar lists specialized as an available semantic.  It does not take a parameter like attribute does.
So it seems:

any variable anywhere can have the specialized semantic on it.
such variables are not distinguished from each other
such variables are mutable

This does not match reality.
In Vulkan (and the GLSL dialect for Vulkan) each specialization constant is associated with an integer index, so you can tell them apart.  In the SPIR-V module, the specialization constant is an OpSpecConstant with a SpecId decoration to give it its index.  So the value is treated as a constant at pipeline creation time.

Ok, one of my objections is answered

When not in the context of arguments or return values of entry points, semantics are ignored.

So that crosses off "any variable anywhere can have the specialized semantic on it" as an issue.  It might be confusing, but valid to do that in a program.

3b. The way this concept is described, it allows the hardware to "prefetch", but the value is set happen after compilation of the program so it can't be used in (e.g.) constant folding and dead branch elimination. So I think it's a distinct concept (not sure if it has an equivalent in other APIs).

There's already prior art for HLSL and Vulkan-style specialization constants.
See the docs for the SPIR-V backend to DXC: https://github.com/Microsoft/DirectXShaderCompiler/blob/master/docs/SPIR-V.rst#specialization-constants


Using URL segment versioning breaks Swagger generation

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I'm trying to use the url segment versioning in my project.
I changed the ODataOpenApiExample by adding
options.ApiVersionReader = new UrlSegmentApiVersionReader();
and changing the route Component for
.AddOData(options => options.AddRouteComponents("api/v{version:apiVersion}"))
Seems Ok for V1 but got this exception when trying to see the OpenAPI for V2:
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]       An unhandled exception has occurred while executing the request.       Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate Operation for action - ApiVersioning.Examples.V2.PeopleController.NewHires (ODataOpenApiExample). See inner exception        ---> Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate schema for type - Asp.Versioning.OData.ODataValue1[System.Collections.Generic.IEnumerable`1[ApiVersioning.Examples.Models.Person]]. See inner exception
---> System.InvalidOperationException: Can't use schemaId "$PersonIEnumerableODataValue" for type "$Asp.Versioning.OData.ODataValue`1[System.Collections.Generic.IEnumerable`1[ApiVersioning.Examples.Models.Person]]". The same schemaId is already used for type "$Asp.Versioning.OData.ODataValue`1[System.Collections.Generic.IEnumerable`1[ApiVersioning.Examples.Models.Person]]"
at Swashbuckle.AspNetCore.SwaggerGen.SchemaRepository.RegisterType(Type type, String schemaId)
at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateReferencedSchema(DataContract dataContract, SchemaRepository schemaRepository, Func`1 definitionFactory)
at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateConcreteSchema(DataContract dataContract, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchema(Type modelType, SchemaRepository schemaRepository, MemberInfo memberInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
--- End of inner exception stack trace ---
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.CreateResponseMediaType(ModelMetadata modelMetadata, SchemaRepository schemaRespository)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateResponse(ApiDescription apiDescription, SchemaRepository schemaRepository, String statusCode, ApiResponseType apiResponseType)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateResponses(ApiDescription apiDescription, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)
--- End of inner exception stack trace ---
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerDocumentWithoutFilters(String documentName, String host, String basePath)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerAsync(String documentName, String host, String basePath)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.OData.Routing.ODataRouteDebugMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)`
The endpoints are working fine.
Expected Behavior
I'd like to have access to the V2 and V3 of OpenAPI.
Steps To Reproduce
This is the modified code of Program.cs in ODataOpenApiExample.
`using ApiVersioning.Examples;
using Asp.Versioning;
using Asp.Versioning.Conventions;
using Microsoft.AspNetCore.OData;
using Microsoft.Extensions.Options;
using Swashbuckle.AspNetCore.SwaggerGen;
using static Microsoft.AspNetCore.OData.Query.AllowedQueryOptions;
using PeopleControllerV2 = ApiVersioning.Examples.V2.PeopleController;
using PeopleControllerV3 = ApiVersioning.Examples.V3.PeopleController;
var builder = WebApplication.CreateBuilder( args );
// Add services to the container.
builder.Services.AddControllers()
.AddOData(
options =>
{
options.Count().Select().OrderBy();
options.RouteOptions.EnableKeyInParenthesis = false;
options.RouteOptions.EnableNonParenthesisForEmptyParameterFunction = true;
options.RouteOptions.EnablePropertyNameCaseInsensitive = true;
options.RouteOptions.EnableQualifiedOperationCall = false;
options.RouteOptions.EnableUnqualifiedOperationCall = true;
} );
builder.Services.AddProblemDetails();
builder.Services.AddApiVersioning(
options =>
{
// reporting api versions will return the headers
// "api-supported-versions" and "api-deprecated-versions"
options.ReportApiVersions = true;
                    options.Policies.Sunset( 0.9 )
                                    .Effective( DateTimeOffset.Now.AddDays( 60 ) )
                                    .Link( "policy.html" )
                                        .Title( "Versioning Policy" )
                                        .Type( "text/html" );
			        options.ApiVersionReader = new UrlSegmentApiVersionReader();
                } )
			.AddOData(options => options.AddRouteComponents("api/v{version:apiVersion}"))
            .AddODataApiExplorer(
                options =>
                {
                    // add the versioned api explorer, which also adds IApiVersionDescriptionProvider service
                    // note: the specified format code will format the version as "'v'major[.minor][-status]"
                    options.GroupNameFormat = "'v'VVV";

                    // note: this option is only necessary when versioning by url segment. the SubstitutionFormat
                    // can also be used to control the format of the API version in route templates
                    options.SubstituteApiVersionInUrl = true;

                    // configure query options (which cannot otherwise be configured by OData conventions)
                    options.QueryOptions.Controller<PeopleControllerV2>()
                                        .Action( c => c.Get( default ) )
                                            .Allow( Skip | Count )
                                            .AllowTop( 100 )
                                            .AllowOrderBy( "firstName", "lastName" );

                    options.QueryOptions.Controller<PeopleControllerV3>()
                                        .Action( c => c.Get( default ) )
                                            .Allow( Skip | Count )
                                            .AllowTop( 100 )
                                            .AllowOrderBy( "firstName", "lastName" );
                } );

// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddTransient<IConfigureOptions, ConfigureSwaggerOptions>();
builder.Services.AddSwaggerGen(
options =>
{
// add a custom operation filter which sets default values
options.OperationFilter();
    var fileName = typeof( Program ).Assembly.GetName().Name + ".xml";
    var filePath = Path.Combine( AppContext.BaseDirectory, fileName );

    // integrate xml comments
    options.IncludeXmlComments( filePath );
} );

var app = builder.Build();
// Configure the HTTP request pipeline.
if ( app.Environment.IsDevelopment() )
{
// navigate to ~/$odata to determine whether any endpoints did not match an odata route template
app.UseODataRouteDebug();
}
app.UseSwagger();
app.UseSwaggerUI(
options =>
{
var descriptions = app.DescribeApiVersions();
    // build a swagger endpoint for each discovered API version
    foreach ( var description in descriptions )
    {
        var url = $"/swagger/{description.GroupName}/swagger.json";
        var name = description.GroupName.ToUpperInvariant();
        options.SwaggerEndpoint( url, name );
    }
} );

app.UseHttpsRedirection();
app.UseAuthorization();
app.MapControllers();
app.Run();
`
Exceptions (if any)
No response
.NET Version
8.0.204
Anything else?
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate Operation for action - ApiVersioning.Examples.V2.PeopleController.NewHires (ODataOpenApiExample). See inner exception
---> Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate schema for type - Asp.Versioning.OData.ODataValue1[System.Collections.Generic.IEnumerable1[ApiVersioning.Examples.Models.Person]]. See inner exception
---> System.InvalidOperationException: Can't use schemaId "$PersonIEnumerableODataValue" for type "$Asp.Versioning.OData.ODataValue1[System.Collections.Generic.IEnumerable1[ApiVersioning.Examples.Models.Person]]". The same schemaId is already used for type "$Asp.Versioning.OData.ODataValue1[System.Collections.Generic.IEnumerable1[ApiVersioning.Examples.Models.Person]]"
at Swashbuckle.AspNetCore.SwaggerGen.SchemaRepository.RegisterType(Type type, String schemaId)
at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateReferencedSchema(DataContract dataContract, SchemaRepository schemaRepository, Func1 definitionFactory)          at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateConcreteSchema(DataContract dataContract, SchemaRepository schemaRepository)          at Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchema(Type modelType, SchemaRepository schemaRepository, MemberInfo memberInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)          at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)          --- End of inner exception stack trace ---          at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)          at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.CreateResponseMediaType(ModelMetadata modelMetadata, SchemaRepository schemaRespository)          at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)          at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateResponse(ApiDescription apiDescription, SchemaRepository schemaRepository, String statusCode, ApiResponseType apiResponseType)          at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateResponses(ApiDescription apiDescription, SchemaRepository schemaRepository)          at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)          --- End of inner exception stack trace ---          at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)          at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable1 apiDescriptions, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable`1 apiDescriptions, SchemaRepository schemaRepository)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerDocumentWithoutFilters(String documentName, String host, String basePath)
at Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwaggerAsync(String documentName, String host, String basePath)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.OData.Routing.ODataRouteDebugMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

The main issue here is that you haven't updated all of the templates. There are a few actions, specifically NewHires, which requires an explicit route template. I don't know the exact reason, but it has to do with matching the OData conventions. If you don't do it that way, it will not be considered an OData action. This can be confirmed via the ~/$odata debug endpoint. To fix things, you just need to change the prefix from api/ to api/v{version:apiVersion} on those actions and it will work as expected.
I did notice something else that was unexpected and I think is a bug. The version neutral endpoint also needs to have it's route template updated or it will not be an OData action either. However, updating the template does not substitute the API version in the route template as expected. I'm not why that is happening, but it's supposed to work. If you don't have any version-neutral endpoints, then that is a non-issue for you. If you do, then you'll have to provide your own fix in the Swashbuckle extensions until such time as there is a fix for it.

Thank you for your answer.
Changing the prefix for the remaining actions works perfectly.
Though I'm having a hard time making it work on my project. We are using attribute routing, required by the [ApiController] attribute and I cannot find the right combination to have Swagger generation  work fine.
I always end up getting:
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate Operation for action - Services.V1.Controllers.PiecesController.CreateAsync (Services). See inner exception
---> Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate schema for type Services.V1.Dtos.PieceCreateDto. See inner exception
---> System.InvalidOperationException: Can't use schemaId "$Services.V1.Dtos.ViewerDataDto" for type "$Services.V1.Dtos.ViewerDataDto". The same schemaId is already used for type "$Services.V1.Dtos.ViewerDataDto"
If you have any clue, it will be much appreciated.

I believe you can use attribute routing, but it still has to match the OData conventions or they don't line up. You can verify that by visiting the ~/$odata debug endpoint. I, personally, found it to be too much work and I just follow whatever the OData conventions are. When I possible, I don't bother with defining the route templates. In some cases, I've found the conventions don't seem to match up if you don't, but perhaps I'm doing something wrong.
The only way you can get this error is that there are two different definitions for ViewerDataDto appearing in the same EDM and they have different shapes. They need to either be exactly the same or have different names. You can define a different name in the EDM for the entity type, complex type, or however it's being used. To the client, it will appear as different types, but on the server, they will be the same.
You also shouldn't use the Async suffix in action names. This was a breaking change first introduced in ASP.NET Core 3.0.


Drawing to canvas

Trying to draw to canvas with the following code does not work:
ctx.beginPath();
ctx.moveTo(0,0);
ctx.lineTo(300,150);
ctx.stroke();

The ctx variable is already made by Slither.io!
I am planning to draw different shapes to show how and where the bot tries to go.

Decided to make a HTML div and move it around.

Decided to do this with HTML divs. Closing!


WHL: Window x64 builds failing

https://github.com/pyproj4/pyproj/actions/runs/10307248459/job/28532125980
Error: Command pyproj -v && python -c "import pyproj; pyproj.Proj(init='epsg:4269')"  && cp -r D:\a\pyproj\pyproj/test . && python -m pytest test -v -s
 failed with code<PHONE_NUMBER>.

That are 4 commands in chained. We do not know which one is failing.

Seems like we need to untangle these commands:
https://github.com/pyproj4/pyproj/blob/2a27805c04f708328424f7e04809e96bb4d4e999/.github/workflows/release.yaml#L151-L155

If you go to a failed run, like https://github.com/pyproj4/pyproj/actions/runs/10307248459/job/28532125980, then you should be able to rerun the failed job. You can checkmark the "run in debug" mode option, and then we might get some more information.

No more info in debug :(
https://github.com/pyproj4/pyproj/actions/runs/10307248459/job/28773570732

Can we run the tests separately, without the whole cibuildwheel thing? Or are those tests explicitly about the wheels?
If so, maybe remove the tests steps temporarily, download some of the wheels, and run them manually though pytest.

Or are those tests explicitly about the wheels?

They are specifically for the wheels. They are meant to prevent publishing problematic wheels.

If so, maybe remove the tests steps temporarily, download some of the wheels, and run them manually though pytest.

I don't have a local Windows machine to test or debug with. The CI is how testing/debugging on Windows happens.

If so, maybe remove the tests steps temporarily, download some of the wheels, and run them manually though pytest.

I believe can do that with a fork. The artifacts should be available in the completed action.

FYI build is not called python-build in conda-forge so I had to update the release workflow. See:
https://github.com/djhoese/pyproj/commit/aa30fcd493f2cf9386995b4ec317a034d5902649

Also, FYI the tests fail with just pyproj -v:
   + pyproj -v
  Error: Command pyproj -v failed with code<PHONE_NUMBER>.

Potential backup if Windows wheels issue is not addressed: https://github.com/cgohlke/geospatial-wheels

Just thought I'd share that I have a windows machine to test with and I've been having a bit of a look into this. If I skip this CI check on my fork and download the wheels from the gitlab CI artifact, I get a segfault at import time (modifying the wheel and adjusting the __init__.py with wheel unpack and wheel pack seems to suggest this happens for any of the calls into cython modules.
I can't replicate this locally though - building wheels myself using a similar setup vcpkg for proj deps, proj source code and msvc compiler produces a valid wheel which doesn't segfault. Happy to test other things if there are useful suggestions.

Talk of segfaults reminds me of this recent Matplotlib issue https://github.com/matplotlib/matplotlib/issues/28551
I have no idea if the causes could be related though - I’m afraid that discussion went over my head.

I agree this sounds very similar.
The very short summary is that visual studio made a change to the c++ stdlibary.  Things compiled before the change work with the new library, things compiled after change segfault when used with the old library. To try and be self-contained many wheels will bundle the c++ runtime.  If you then have a wheel that bundles the old one, import it so that the old runtime gets loaded, and then use something compiled with the new version of visual studio you will get this segfault.
We also found that as part of the bundling process we would sometimes grab the wrong (and old) version of the dll.

I was trying to add Python 3.13 wheels for Cartopy and are unable to do that because of the missing pyproj wheels for 3.13.
What was the recommended fix in that issue? Several different things were going on and I also did not follow the final recommendation on what wheel builders should be doing. Is it to statically link the msvc runtime?
https://github.com/contourpy/contourpy/pull/427
or to do something with the PATH searching?
https://github.com/matplotlib/matplotlib/issues/28551#issuecomment-2275391226
something else entirely?

See #1439

What was the recommended fix in that issue? Several different things were going on and I also did not follow the final recommendation on what wheel builders should be doing. Is it to statically link the msvc runtime?

Yes, we statically linked the runtime: https://github.com/matplotlib/matplotlib/pull/28687


Visibility

How come this doesn't show up on the main sever but it lets your do it on inbox server? The main server is where it makes the most sense to have it show? Correct?

I'm sorry, what exactly are you talking about?

Only being able to have the bot respond to the [p]support in the mailbox guild.. but not in the main one

This is due to how the internal logic of the plugin works. I might add a feature to choose your supporters in the future.


Error handling for corrupted images

Currently, I'm using bind with a callback to hide a loading mask when Croppie is ready for user interaction. However, callback won't be called when a user selects a corrupted image, there are no possibilities to handle such a case.
I've added reject for promise in case of an error occurs during the image loading. Also, I've added parameters to the callback, so now we can use it like that:
function (success, errorText) {
    if (success) {
        //do something, e.g. hide loading mask
    } else {
        //show error, e.g. console.log(errorText)
    }
}

Solved by #511 - thanks for submitting a PR and sorry it took me so long to respond.