Update Debian build files

Add the necessary build dependencies and remove deprecated python requirement.
Also use install instead of compile for meson command, since the version shipped with Ubuntu 20.04 doesn't support it.
Not sure about the locales though, should we keep them?

Thank you! One thing, removing meson subprojects download seems to me like it would break the launchpad build process. The issue with launchpad is that it has to be build completely offline so the build is deterministic: The same source will always build to the same binary on the same machine. Is there a way to still pull the inih subproject locally?

It will be pulled as a subproject only if it wasn't found already on the system. Since I added libinih-dev to the build dependencies, it will no longer require downloading it as a subproject and therefore use the one installed.

Thank you! I've put your changes in the debian files but can't merge due to conflicts there

No problem, tell me if you need any help!

@musikid i actually ran into an issue that my C++ skills are not good enough to handle:
In the current beta code, when Howdy errors out the PAM module will also terminate the password prompt. This is an issue because anyone without a model configured will get status code 10, which will terminate both Howdy and prompt, making it impossible to authorize. In effect this makes it impossible to access sudo as soon as you install Howdy which is not really the goal
My preferred solution would be to wait for pass_task to finish if Howdy gives any status code that is not 0, but as said i can't get that to work here

How can I reproduce this issue? Because it seems to work on my side.

How can I reproduce this issue? Because it seems to work on my side.


write(bytes[]) sends old bytes

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[] iOS
[] Android
[] tvOS
[] macOS
[] .NET Standard
UWP IS NOT SUPPORTED DURING THE BETA PERIOD - ONLY PRs ARE WELCOME FOR NOW

Version of OS(s) listed above with issue
android 8.0
Version of Library
6.0.3
Expected Behaviour
write the exactly bytes I send to the method wirte(byte[])
Actual Behavior
I use a system timer to send the bytes by 200ms , when I change one of the byte in the byte array,
write() will send the old bytes a couple times,  when I set the timer to 500ms , wrong times will be less but still here
Code of Conduct
            if (writeChar.CanWrite() == true)
            {
                writeChar.Write(_sendData).Subscribe(async result =>
                {

                },
                exception =>
                {

                });
            }

requests within a day.  I'm not psychic, so please take the time to fill out the above form as complete as possible

There is an edge case where you can get the wrong callback if you don’t follow certain practices.  It is part of the reason why I hand back a full result.  This is due to the reason that I can’t tag a message Id for android to respond with in its callbacks.  However, it is hard to cause unless you flood the system with entries which in this case is likely for several reasons

you aren’t managing the backpressure.  Your timer is going to continue firing even if the previous write is still pending

async in the Subscribe is very unrecommended practice.  It only adds to the backpressure from 1.

I notice that you seem to be using an instance variable of your send bytes.  Keep in mind Subscribe will fire asynchronously so if your bytes have changed, the comparison is already wrong

To manage flow, you can use SendBlob(stream) which forces an order and flow control

how I know that the sending is over? and should I just use await writeChar.Write(bytes)? there's less than 30bytes I send once I think 300ms is enough.  not only the result is the old byte , I watched at the device which receive bytes that show it received the old bytes not the new bytes I order to send

You can use await.  The subscribe callback is telling you the send completed, but it is firing that callback asynchronously.  Subscribe is non-blocking.  If you issue a request to send a block of bytes, it will complete in the future even though you've issued other requests.
You should also note that most BLE drivers on Android only allow 20 byte packets and throw errors when you feed them more.
I would suggest checking out introtorx.com

thanks!   I'll try BlobWrite and sending less bytes at once


Range is off - both Canada and USA give raw range in nautical miles.  Either convert both or neither to kilometers.

v0.1.1 leaves all ranges as in the original data - nautical miles.  Updated Readme.


Updates for Sprint 5

Description
This PR provides a large set of updates for Sprint 5.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] Fix overall network analysis---the absolute DeltaGs are erroneous

Status

[ ] Ready to go

Codecov Report

Merging #100 (e358ce0) into master (084da4e) will decrease coverage by 0.19%.
The diff coverage is 0.00%.

Confirmed!


Any easy way to fix this?

I get this error when I try to deploy the child trigger:
Error:
Test_UpdateOpportunityPricingTierCtrl.testCase1 System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [CommercientSF__ExternalKey__c]: [CommercientSF__ExternalKey__c] Class.Test_UpdateOpportunityPricingTierCtrl.testCase1: line 30, column 1
Warning:
.null:Average test coverage across all Apex Classes and Triggers is 69%, at least 75% test coverage is required.
Thanks!

Only by contacting the original author of the Test_UpdateOpportunityPricingTierCtrl Apex test, it seems at a guess, i'd say the CommercientSF__ExternalKey__c was added without the test being updated. Due to the way the Salesforce Metadata API works when deploying code, it cannot avoid the requirement to ensure that ALL unmanaged tests are valid.


Add triangle example

Compare this with https://github.com/pygfx/wgpu-py/blob/main/examples/triangle.py :)

Arg, I accidentally undid a necessary change.

Fixed.

Now I'm wondering how much smaller still this could be if a plotting lib was built on top of this. :) Anyway, awesome!


how to force password change

Hi, there!
Because init password is very easy,to prevent resigned to connect into after having a easy try,how can I force password change.

Hi @marklinglon
So you have some users/clients and would like to force them changing their password to a more strong one?
And are you the admin for SE server ?


Added variable attribute to poly

https://discourse.equadratures.org/t/variable-naming-in-poly/149/6
Added the attribute "variable" to match syntax in Parameter. Also added a line into the summary output function as also discussed in above.

This pull request has been mentioned on Discourse — equadratures. There might be relevant details there:
https://discourse.equadratures.org/t/variable-naming-in-poly/149/8


Very nice!

this is an awesome page. In depth architecture description with clear writing and motivation. This is absolutely perfect.

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

ID: 1c633320-8eba-48f0-4deb-7eb3a4846e6a
Version Independent ID: 3dc7b225-3661-b61a-2b0a-13f7db2caa47
Content: What is Azure Sphere
Content Source: AzureSphere/articles/product-overview/what-is-azure-sphere.md
Product: azure-sphere
GitHub Login: @pennyo
Microsoft Alias: azurespheredocs

Hi @Ravenwater Thank you for your feedback! Adding content author @pennyo

@Ravenwater Thank you!


Split out common code into subtree and update with latest changes

See https://github.com/Microsoft/VisualStudio-SharedProject/pull/1

(will fix issues #79 and #140)

To make this a little easier to wade through... the most relevant commit is:
https://github.com/mousetraps/nodejstools/commit/10c50489b852502918d1ae94fd3a8435fd019b15


Add ECS example on README for visibility

Similar to
https://github.com/PrefectHQ/prefect-gcp#deploy-command-on-cloud-run

+1 to this, i am bashing my head porting an airflow ecs operator to prefect-aws and cant find a single example on how to use it properly

@manugarri there are many examples at https://prefecthq.github.io/prefect-aws/ecs/ — there's also a description in our main documentation at https://docs.prefect.io/concepts/infrastructure/#ecstask with links to some more resources. See https://docs.prefect.io/concepts/infrastructure/#infrastructure-overview for general instructions on how to use infrastructure.


How i use Edit?

Hi (it's me again), i never used gists API and nothing related, and i don't know how to use edit function, maybe a bit of  support could help me.
Ok, i have logged in into my accont, and i know how to get res from a gist, but i don't know how to edit it.
Im triying to do this,
gists.edit({opts: 		{ 			"description": "Hi", 			"files": { 			  "bot.txt": { 				"content": "Hello how are you?" 			  }, 			}, 		} 	});
I tried to specify the id but i don't get how to do it, gists.edit({opts: All options etc}, opts.id:"id"})
This maybye? I try it but doesn't work.
Error: Unexpected end of JSON input

I said nothing i managed to get it to work, thanks!


Optionally generate boilerplate for UART console

I'm very unsure where we should go this route, but I want to at least raise the possibility.
This PR adds a new prompt during project generation which asks the user whether they want additional boilerplate for a UART console in their project.  This can of course be extended for other devices like I2C, SPI, panic handlers, etc.
One one hand, it would make starting a new project a bit faster.  On the other, it means additional effort to keep the template up-to-date and has the chance of people just enabling everything "because maybe I'll need it" and then leaving the code sitting in their project unused.  Not sure if we want to enable that...
In any case, I think this PR needs to wait until https://github.com/cargo-generate/cargo-generate/issues/885 is resolved.

Yes please, I'm confused with the Usart+ufmt behavior on my Atmega2560, see this output in the commit message: https://github.com/brainstorm/embassy-as5600/commit/a37b9b5dbd582d673abf9a00ef8a9e6864a45b07

For instance, I'm confused with the Usart+ufmt behavior on my Atmega2560, see this output in the commit message: brainstorm/embassy-as5600@a37b9b5

Please ask about this in the Discussions of avr-hal, then we can take a closer look.


[No QA] Fix NumberUtils export

Details
Fixes NumberUtils export to be an ESModule
Fixed Issues
$ n/a
Tests
Covered by automated tests

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @danieldoglas in version: 1.1.90-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Want to get detail of selected item

HI I want to get information of selected item .what to do ?

Thats not relavant with the package but with the way you are using to process the data.
So in general if you take some data from API, Json data etc you pass through the element and get it back through some vents.

{{ c.symbol }}

someclick(e){  console.log(e); //here your data }

Thanks for response @StefaniToto  , I have fixed my problem and released it few years back .

It's not my repo actually but I was working these days with the package and also upgraded. Maybe will do a PR soon. ☺ Thank you for the reply.


Send a message when a pull request is updated

Ooo, nice, but GitHub should really handle this.
However, the ability to message a channel when a pull request has gone unchecked for more than 24 hours would be cool ...


Add NestedSemanticFunctionCheck warning diagnostic

to check for improperly nested '@_semantic' functions.
Add a missing @_semantics("array.init") in ArraySlice found by the
diagnostic.
Distinguish between array.init and array.init.empty.
Categorize the types of semantic functions by how they affect the
inliner and pass pipeline, and centralize this logic in
PerformanceInlinerUtils. The ultimate goal is to prevent inlining of
"Fundamental" @_semantics calls and @_effects calls until the late
pipeline where we can safely discard semantics. However, that requires
significant pipeline changes.
In the meantime, this change prevents the situation from getting worse
and makes the intention clear. However, it has no significant effect
on the pass pipeline and inliner.

@swift-ci test

@swift-ci benchmark

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

FlattenListFlatMap
2563
3302
+28.8%
0.78x (?)

Code size: -O

Regression
OLD
NEW
DELTA
RATIO

SortIntPyramids.o
8756
8868
+1.3%
0.99x

Improvement
OLD
NEW
DELTA
RATIO

Phonebook.o
9159
9063
-1.0%
1.01x

Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

FlattenListLoop
1000
1417
+41.7%
0.71x (?)

Code size: -Osize

Improvement
OLD
NEW
DELTA
RATIO

Phonebook.o
8675
8566
-1.3%
1.01x

Performance: -Onone
Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: 6-Core Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

Build failed
Swift Test OS X Platform
Git Sha - 32807fa1b94905dcf29c5de01bfa48e69a1ec8b0

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 74cabbca6f3a55ba2df66620f97e60b63f050b1c

@swift-ci smoke test and merge

@swift-ci test

@swift-ci test source compatibility

Build failed
Swift Test OS X Platform
Git Sha - bde8833be3e72a0d470b627c0c3a652a5d0ef08b

@swift-ci smoke test and merge

@swift-ci smoke test linux


Error "Missing required key:''tmp_dir''" for type=inc_files

We generate
nxs-backup generate -S local -T inc_files -P /etc/nxs-backup/conf.d/example.conf.
After that we use nxs-backup start job-name and get an error in the log file ERROR [job-name] [2020-11-02 18:04:09]: Missing required key:''tmp_dir''!
But config file for type=inc_files automatically generate without a key tmp_dir.
Only when we add this key manually in config file it start to work.
It work OK for type=desc_files.

Hello.
Thank you for the feedback.
This issue was solved in release 2.4.5


user hovercard: show 'Person watches this repo'

Description
Sometimes it's nice to know whether a person is watching the repo. Manually navigating to /watchers (there is no button to do this? same with stargazers and forks).
I half-expected something like ':eye: watches this repo' to be on the hovercard.
Screenshot
No response
Example URL
https://github.com/refined-github/refined-github

Sometimes it's nice to know whether a person is watching the repo.

Because?

Whether to ping them or not

I think that if you need to ping someone you should just ping them. GitHub also specifically handles mentions and regular subscriptions differently. Even when I follow a repo, I sometimes ignore notifications that aren't review requests and mentions.


Merge knowledge graphs

This is a task that Ilias had been assigned and started to work on.
I am not sure what the status is.
I am creating this issue, as his branch was missing a respective issue.
This will hopefully help to organize our repository.

The old branch is not officially linked (yet) as this is apparently not that easy, we need to wait for a PR. but the name should indicate the connection with this issue.

This is double.


🩹 Fix coverage collection

This PR fixes the coverage collection for the project so that it not only reports (part of) the tests folder, but the actual package coverage.

This seems to work now. I would guess that similar additions would also be helpful/needed in mqt-bench and the mqt-problemsolver


Some libomp tests fail entirely

Describe the bug
Relevant links:
buildkite build premerge-checks 81240
buildkite build premerge-checks 81235
Expected behavior
Green checks.

@lichray thank you for the report. Do you know any details, e.g. what might be the reason of failures?

I don't know. According to a quick glance, all tasks that reached this part are failing. You can also take a look at the red crosses on https://github.com/llvm/llvm-project/commits/main. The greens one did not run those tests.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2627

Questions ?
Please refer to the Backport tool documentation


Update BridgeJavaSDK for bridge 2609: API to get S3 pre-signed URL for a record ID

Also, you need to merge your changes from the root.


add golangci-lint config with new linters

add a golangci-lint config file with any linters that can be resolved easily or with a --fix flag

Codecov Report
Attention: Patch coverage is 50.00000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 50.39%. Comparing base (b24f868) to head (c618482).

Files
Patch %
Lines

cmd/cluster.go
0.00%
2 Missing :warning:

cmd/get_kubeconfig.go
0.00%
2 Missing :warning:

cmd/version.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
+ Coverage   50.26%   50.39%   +0.13%
==========================================
  Files          20       20
  Lines        1134     1131       -3
==========================================
  Hits          570      570
+ Misses        519      516       -3
  Partials       45       45

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


Feature/gh 1283 exception

Should help resolve GH-1283
When the configurable application context throws an error when constructing the properties (aka snake yml throws a syntax error underneath), then we can wrap the exception in a custom exception to catch upstream.

@spencergibb @ryanjbaxter sorry for the delay since my first pr - let me know if this needs more work. Thanks!


[Feature request] Private GitHub LiaScript courses

Hi Andre,
currently, it is not possible to "execute" course from private GitHub repositories. Inexperienced users asked for this feature hoping to implement first steps with LiaScript without public visibility. Of course, they did not consider that the history of the attempts is still available :-)
Looking forward to further discussions!
Sebastian

See https://github.com/liaScript/LiaScript/wiki/Hosting-List
Maybe using Dropbox as an simple way of quickly sharing courses privately is also an option, without having a github account/project ...

Unfortunately, after testing, it seems, that sharing courses from a private GitHub-repo seems to be impossible. Every resource gets its own "token", which seems also to change. Thus, only adding the private token to the image URLs does not work ...
I will close this issue ...


[HOW-TO] Is still_during_video truly full resolution still or is it a frame from video?

As the title suggest is this example: https://github.com/raspberrypi/picamera2/blob/main/examples/still_during_video.py
truly a full resolution still using the whole sensor or is it simply a frame grab from video?

It's the highest resolution image you can get from the resolution at which the sensor is currently running.
In that example the sensor might be running at a 2028x1520 resolution (for an HQ cam, for example). This is half the full sensor resolution in each dimension and is chosen so as to achieve a higher framerate.
The video recording is only VGA, but the still capture is genuinely 2028x1520 and not taken from the VGA video. However, it's not the full 4056x3040 that this sensor would be capable of.
You could run the sensor at its full resolution (4056x3040 for the HQ cam), but you wouldn't achieve the same video framerate, and you might also have memory problems. The reason for all these difficulties is that you can't switch the sensor between its 2028x1520 and 4056x3040 modes instantaneously just to grab a still image - it takes an appreciable portion of a second to make the resolution change and then go back again.


jMAVSim SITL with Windows Cygwin gets stuck

Installed the Windows Cygwin Toolchain, and attempting to run the JMAVSim. I followed the guide https://dev.px4.io/en/setup/dev_env_windows_cygwin.html.
After I start the build and run "make posix jmavsim", the SITL simulation gets stuck in accessing Sensors. Copy pasting the errors I get on the console

ERROR [sensors] Accel #0 fail:  TIMEOUT!
ERROR [sensors] Sensor Accel #0 failed. Reconfiguring sensor priorities.
WARN  [sensors] Remaining sensors after failover event 0: Accel #0 priority: 1
WARN  [sensors] Remaining sensors after failover event 0: Accel #1 priority: 1
ERROR [sensors] Gyro #0 fail:  TIMEOUT!
ERROR [sensors] Sensor Gyro #0 failed. Reconfiguring sensor priorities.
WARN  [sensors] Remaining sensors after failover event 0: Gyro #0 priority: 1
WARN  [ekf2] accel id changed, resetting IMU bias
ERROR [sensors] Accel #0 fail:  TIMEOUT!
ERROR [sensors] Sensor Accel #0 failed. Reconfiguring sensor priorities.
WARN  [sensors] Remaining sensors after failover event 0: Accel #0 priority: 1
WARN  [sensors] Remaining sensors after failover event 0: Accel #1 priority: 1
ERROR [sensors] Gyro #0 fail:  TIMEOUT!
ERROR [sensors] Sensor Gyro #0 failed. Reconfiguring sensor priorities.
WARN  [sensors] Remaining sensors after failover event 0: Gyro #0 priority: 1

Steps to reproduce the behavior:

Install cygwin setup as documented here
build and run the jmavsim as documented. Basically I ran "make posix jmavsim" in the cygwin console

Expected behavior
Expect the drone to take off in the SITL
Log Files and Screenshots
Always provide a link to the flight log file:

Download the flight log file from the vehicle (tutorial).
Share the link to a log showing the problem on PX4 Flight Review.

I have attached the screenshot of the cygwin console.
Laptop config: Intel Core i7-7700HQ CPU @ 2.8GHz, 4 cores, 16GB RAM

@amitmc19 I freshly downloaded the 0.3 toolchain and something seems broken with the simulation on master 😞 I didn't get the errors you have but the simulation binary px4.exe fails to run.
As a quick fix I tested to work on my machine:

open run-console.bat
executecd Firmware
git checkout stable
git submodule update --init --recursive
make posix jmavsim

This switches to the last stable release version of PX4.

I need to look into what's broken on the most recent version.
Thanks for reporting!

@MaEtUgR I just ran this using the "clone the PX4 repository, build and run simulation with jMAVSim" option. SIM started fine, but (as usual) the sky is displaying as black in jMAVSim.

Update: @bkueng 's suspicion was true, the bash shell startup scripting doesn't work on cygwin. I bisected to verify:

I didn't find out why yet, hopefully it will not take me too long 🤔

0c5c741b1a63ff90b9137d6327ccdd10fab6c084 likely introduces multiple problems...

Thanks to @julianoes's help we found out that the close() open() for every client here https://github.com/PX4/Firmware/blob/master/platforms/posix/src/px4_daemon/server.cpp#L156-L157 breaks with open returning "device or resource busy". Recreating the pipe each time with unlink() mkfifo() in between seems to fix it but the next client may already run into an abandonned pipe and therefore has to retry. Then the autostart script runs through and it starts up but:
Sensors always says all the sensor data is stale exactly like in the screenshot of OP. When I run listener (also works from an external shell) I see data but the timestamp of the data is always from the exact moment I last ran listener (e.g. if I wait 10 seconds and run listener again the last message on the uorb topic was 10 seconds ago).
Also Ctrl+C or the shutdown command write "Exiting..." and "Shuting down" and make the shell unusable but the px4 binary stays open and blocks until I kill it.

So not so many good news yet but I'll not give up and continue to try and find the causes.

Update: Ctrl+C and the shutdown command do not work because there's a thread of the px4 binary hanging in a system call in every server...

I found something that fixed all the problems for a few tests: replace all the posix shell pipe open(..., O_RDONLY) with O_RDWR. Any ideas why the open() system calls with pipe file descriptors created using mkfifo() mostly fail when read only and work with read write on cygwin are welcome. I try to find a way to fix it consistently now.

Hi, I have the same problem with the sensors as @amitmc19.
Is there any progress with this issue?
Thank you.

@evgenee  It looks like there is a PR, you can try it out: #10371

Thank you @julianoes. As I figure it out from #10371, the bug source is in the cygwin and it was not solved yet, but patched...
I've just started to work with px4 (worked before with other flight stacks). The question is whether previous versions of px4 sitl simulations on windows had similar problems with the cygwin?
Thanks

@evgenee

The question is whether previous versions of px4 sitl simulations on windows had similar problems with the cygwin?

No, like written just above: https://github.com/PX4/Firmware/issues/10098#issuecomment-412343339

the bug source is in the cygwin

Yes, it doesn't fully support all the named pipe calls introduced with the posix shell changes: #10173 . My pr #10371 aims to fix the startup script problem, please let me know if it works for you. You can read the detailed pr description, it states all my findings so far. I'll keep on debugging now that I'm back from holidays.

Hi, @MaEtUgR,
Thanks for your contribution. I followed your PR, so it's working now.
May be you know whether there is native windows build of px4 for the sitl runs?
Thank you

@MaEtUgR evgenee

May be you know whether there is native windows build of px4 for the sitl runs?

I use tagged release 1.8.0

Thank you @hamishwillee, @MaEtUgR
Can you be please more specific about native windows build in 1.8.0. I didn't find something related to this in github...
Thanks.

@amitmc19 I'm sorry I think I misinterpreted your problem. It seems the exact problem in your description is still not fixed. I made a workaround for the simulation not starting because of the bash shell startup script. But I still have performance issues see https://github.com/PX4/Firmware/issues/10693
@evgenee PX4 1.8 release should work fine on Cygwin. If you mean Microsoft Visual C++ build by native windows build no that does not exist and would require a lot of interface reqrite effort so I don't see this happening anytime soon.


Constrained TextFields compensate for prefix/suffix when none exist

fixBelowInput is used in the layout of InputDecorator to compensate for a prefix/suffix that is so tall that it extends beyond the bottom of the input.  However, it is sometimes being applied even when there is no prefix/suffix at all.
Steps to Reproduce

Run the app whose code is given below, or any TextField whose height is constrained smaller than it would otherwise be.
The TextField's baseline will be moved by fixBelowInput.

Code
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Home(),
    );
  }
}

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  final TextEditingController controller = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material'),
      ),
      body: Center(
        child: Container(
          width: 200,
          height: 28,
          color: Colors.cyanAccent.withOpacity(0.6),
          child: TextField(
            controller: TextEditingController(text: 'A'),
          ),
        ),
      ),
    );
  }
}

Solution
The effect of fixBelowInput could be removed from cases where it is irrelevant with this change:
https://github.com/flutter/flutter/blob/48ba488d33a457a1faab84f7cef55d7fbecb8771/packages/flutter/lib/src/material/input_decorator.dart#L1068
final double fixBelowBaseline <= 0.0 ? 0.0 : math.max(

The problem is that this bug ends up making the baseline appear more correct than it would be without the bug!  At least one app has come to rely on the bug for that reason(see  for more details).
So, in addition to the change given above, I think a full solution needs to properly place the baseline in cases like the app above.  Even when the field is being constrained too much, we probably want to attempt to place the baseline in the right place.

Reproducible on latest beta channel.
flutter doctor -v
[✓] Flutter (Channel beta, 1.22.0-12.1.pre, on Mac OS X 10.15.6 19G2021, locale en)
    • Flutter version 1.22.0-12.1.pre at /Users/pedromassango/dev/SDKs/flutter_beta
    • Framework revision 8b3760638a (2 days ago), 2020-09-15 17:47:13 -0700
    • Engine revision 4654fc6cf6
    • Dart version 2.10.0 (build 2.10.0-110.3.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Community Edition (version 2020.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 49.0.4
    • Dart plugin version 202.7319.5

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

[✓] Connected device (3 available)
    • iPhone 11 Pro Max (mobile) • 3DA251B5-C982-48C8-8FF5-C4D1DB21ED89 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)
    • Web Server (web)           • web-server                           • web-javascript • Flutter Tools
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 85.0.4183.102

! Doctor found issues in 1 category.
Process finished with exit code 0

Verified on latest versions and behavior is replicable.

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 3.3.5, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.3.5 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d9111f6402 (10 hours ago), 2022-10-19 12:27:13 -0700
    • Engine revision 3ad69d7be3
    • Dart version 2.18.2
    • DevTools version 2.15.0

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.5.0-12.0.pre.71, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.5.0-12.0.pre.71 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6c87d73032 (31 minutes ago), 2022-11-02 00:20:24 -0400
    • Engine revision c05c8a8834
    • Dart version 2.19.0 (build 2.19.0-359.0.dev)
    • DevTools version 2.18.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


Allow karma support

Using jestMock.fn instead of jest.fn
Reading insights always from window

Codecov Report

Merging #9 into master will increase coverage by 0.05%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   67.38%   67.43%   +0.05%
==========================================
  Files          50       50
  Lines         647      648       +1
  Branches       85       85
==========================================
+ Hits          436      437       +1
  Misses        211      211

Impacted Files
Coverage Δ

...s/insights-common-typescript/src/utils/Insights.ts
75.00% <66.66%> (+1.66%)
:arrow_up:

Continue to review full report at Codecov.

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


Require explicit external network ID

References https://github.com/metal-stack/metal-ccm/issues/16.

Link to the required gepm issue/pr would be helpful

Yes, the guess work is moved to the extension-provider-metal, who has more information at hand (i.e. it knows which networks the shoot participates in). See current draft: https://github.com/metal-stack/gardener-extension-provider-metal/pull/92


[FLINK-36856][runtime] CollectSinkOperatorFactory batch size and socket timeout config fix

What is the purpose of the change
This is basically a backport of 1.20 from https://github.com/apache/flink/pull/25755.
CollectSinkOperatorFactory is not respecting collect-sink.batch-size.max and collect-sink.socket-timeout configuration but only the default value used. As a result state reading can blow up. In this PR I've changed CollectSinkOperatorFactory to read the mentioned 2 parameters.
Brief change log
CollectSinkOperatorFactory is now reading the mentioned 2 parameters.
Verifying this change
Trivial change + manual with state reading.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

cc @Zakelly

The reason of the backport is to have a solution on 1.x because 2.x migration could take quite some time.


OCPBUGS-32869: replaces deprecated square/go-jose wtih go-jose/go-jose

This commit replaces all the references of github.com/square/go-jose to github.com/go-jose/go-jose@v2.
Manual cherry-pick of #333

/jira refresh

/assign @adambkaplan @sayan-biswas
for approval

/approve

/label backport-risk-assessed
/label cherry-pick-approved


[tool_crash] FileSystemException: Deletion failed, OS Error: The system cannot find the path specified. , errno = 3

Command
flutter --no-color pub get

Steps to Reproduce

...
...
...

Logs
FileSystemException: Deletion failed, OS Error: The system cannot find the path specified. , errno = 3
#0      _Directory._deleteSync (dart:io/directory_impl.dart:201:7)
#1      FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:412:7)
#2      ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:70:16)
#3      ErrorHandlingDirectory.deleteSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:486:22)
#4      _runSync (package:flutter_tools/src/base/error_handling_io.dart:597:14)
#5      ErrorHandlingDirectory.deleteSync (package:flutter_tools/src/base/error_handling_io.dart:485:12)
#6      ErrorHandlingFileSystem.deleteIfExists (package:flutter_tools/src/base/error_handling_io.dart:82:12)
#7      AndroidProject._regenerateLibrary (package:flutter_tools/src/project.dart:563:29)
#8      AndroidProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:538:13)
#9      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:361:21)
<asynchronous suspension>
#10     PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:177:5)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1183:27)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#13     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.0.3, on Microsoft Windows [版本 10.0.19044.1766], locale zh-CN)
    • Flutter version 3.0.3 at C:\flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 676cefaaff (3 weeks ago), 2022-06-22 11:34:49 -0700
    • Engine revision ffe7b86a1e
    • Dart version 2.17.5
    • DevTools version 2.12.2
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:/Users/Administrator/AppData/Local/Android/Sdk
    • Platform android-32, build-tools 31.0.0
    • ANDROID_HOME = C:/Users/Administrator/AppData/Local/Android/Sdk
    • Java binary at: C:\Program Files\Java\jdk-11.0.14\jdk-11.0.14\bin\java
    • Java version Java(TM) SE Runtime Environment 18.9 (build 11.0.14+8-LTS-263)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop for Windows
    ✗ Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • 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.12+7-b1504.28-7817840)

[!] Android Studio (version 4.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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
    ✗ Unable to determine bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Connected device (4 available)
    • PBDM00 (mobile)   • e1426ada • android-arm64  • Android 10 (API 29)
    • Windows (desktop) • windows  • windows-x64    • Microsoft Windows [版本 10.0.19044.1766]
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 98.0.4758.82
    • Edge (web)        • edge     • web-javascript • Microsoft Edge 103.0.1264.49

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Flutter Application Metadata
Type: module
Version: 1.0.0+1
Material: true
Android X: true
Module: true
Plugin: false
Android package: com.example.flutter_module
iOS bundle identifier: com.example.flutterModule
Creation channel: stable
Creation framework version: 676cefaaff197f27424942307668886253e1ec35
Plugins
fluttertoast-8.0.9
path_provider_linux-2.1.7
path_provider_windows-2.1.0
shared_preferences-2.0.15
shared_preferences_android-2.0.12
shared_preferences_ios-2.1.1
shared_preferences_linux-2.1.1
shared_preferences_macos-2.0.4
shared_preferences_web-2.0.4
shared_preferences_windows-2.1.1

Closing this as a duplicate of #106953


feature: disable italics

Is your feature request related to a problem? Please describe.
I love the colors of this colorscheme, but I'm frustrated by the effect that the characters in italics have on their neighbors.
Describe the solution you'd like
A blanket Lua setting to disable italics would be a very convenient way to solve this frustration.
Describe alternatives you've considered
I have debated individually looking through the code to determine which highlight groups are italicized, but this would largely be ineffective and clutter up my personal configuration.
Additional context
No response

If I was right, you would want an option to disable all italics, like this:
require("one_monokai").setup({
	italics = false,
})

This will disable all italics, to enable italics for some of highlight group, you will need to use themes options.

That is exactly what I'm after! I'm glad it was clear enough.

Thank you! All now done via #57 and it has been merged. You can now update and try it. If there is any problem araises, please let me know in other issue. 😄

I'm sure it will work, I just need to wait for the NixNeovimPlugins Nix flake to recognize the update. It might require a version update, as it appears that the last time the plugin's flake was updated was on April 29, when version 1.2.0 of this plugin was released.

The flake has finally updated and everything is working great! Thank you so much for your quick response and efforts!


Refine design of "reset" button

https://github.com/arrowtype/type-x/commit/6cb827aa39b6ba5b1917a6ef2404c8353907e375 adds a very useful "reset" button, so users can bail out if they have run into a bug or have just added too many fonts and overrides and want to start fresh.
However, I think maybe we can refine the design of it by a bit. In the current iteration, I worry that it clutters the footer in a way that might be a bit confusing. Not only do things get a bit crowded, but also the footer goes from [credits] [repo] to [credits] [UI action] [repo], so it mixes user actions into the metadata.

My current thinking is that it might be best to place this reset button into the "overrides" header:

This way, it makes it very clear to users that this is a "quick use" extension. It's not meant for long-term site customization, a la extensions such as Stylus, but is rather a tool to quickly test out fonts.
Of course, as a destructive action, it should visually indicate this to users by using similar styling as the "delete" button that is already in individual font overrides.
The one downside I can think of: this button might be too simple to click, and might not be obvious enough as a highly-destructive action (users might spend many minutes configuring overrides, and then might unintentionally click this button).
Therefore, it might ideally be paired with either a confirmation dialog (e.g. "Are you sure you want to permanently delete overrides and clear your loaded fonts from the font menu?") or an undo (e.g. "You have deleted font overrides and clear your loaded fonts. Undo?"). However, this would be a separate feature/issue.
@RoelN do you have any thoughts on this? I could probably do the styling legwork on it and make a PR, which you could maybe review it, time permitting.
Note: I also considered putting this near the bottom, but it clashes with “selectors to ignore,” and I think it might confuse people about whether they are reseting the whole thing, or just selectors
I’m still not 100% sure of my design above, but i think it might be our best option, short of adding a context menu or something (which would cause new problems). I also considered placing it in the very top bar, but that would be quite confusing, because then users might see it as a "refresh page" option rather than something tied to override configuration.

Even if Type-X would be a "quick use extension", it indeed feels too prominent. The UI is starting to feel a little bit scattered, too. Could we maybe group stuff into three main parts?

Title — big on/off button — expand button
List of fonts
Actions: add, reset, edit ignore-list

(With the footer being a subtle fourth part)
Quick hacky mockup:


Support ReactiveLB in WebClient

Enhancement
Recently, new reactive load-balancer was added in spring-cloud/spring-cloud-commons#402.
It would be nice to add this support for WebClient.
I can submit PR.

There's already  support for WebClient with ReactiveLoadBalancer.


[Help]: sbas.get_dem() problem

Hello @mobigroup,
I started to use the pygmtsar for an academic use for my thesis and try to test the script you provide on my pc with other orbit scenes. I am stuck in the static plot where we converts heights to ellipsoidal model. I selected product=SRTM3 for 90m resolution SRTM DEM. I think i have a problem with variable sbas. Can you help me?

Hi @Jonk98
That looks as a Python dependency library issue, let's try in your terminal
pip3 install importlib-metadata<=4.12.0

and restart the Jupyter instance.
Also, you'd try ready-to-use PyGMTSAR Docker container. See the Docker image and instructions here: https://hub.docker.com/r/mobigroup/pygmtsar


Use time >= 1.8 for timezone-series

Update flags for timezone-series to use time >= 1.8 so that it will work with GHC 8.2.

NOTE: This PR is in response to #2678. It changes the flags for timezone-series so that it will build with time >= 1.8. However, that means that timezone-series will now not build anymore with time < 1.8. I don't know how to arrange that properly in stackage. There were no useful instructions in #2678, and #2678 was closed to comments so there isn't even any way for me to ask.
So if this PR is not what is needed to fix the complaint about my package in #2678, please let me know what I am supposed to do. Thanks.

OK then I guess that's all that was needed. :) Thanks!


[Bug]: Login page and landing page

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Login Page Not Found & Navigation Issue
The login page is not accessible directly, which is a critical issue. Currently, the login link is missing from the navigation menu, forcing users to navigate to the registration page first before they can access the login page. This is not a good user experience, as users should be able to access the login page directly from the navigation.
Landing Page and Navigation Overlap
The landing page content is mixed with the navigation bar, negatively impacting the user experience. The landing page information should be displayed separately, without overlapping with the navigation, to provide a clear and intuitive interface for users.

Expected behavior
Users should be able to access the login page directly from the navigation bar without needing to go through the registration page.
Upon logging in, users should be able to access the dashboard seamlessly.
The landing page content should be distinct from the navigation bar, ensuring a clean and intuitive user interface for a better overall user experience.
Add ScreenShots
No response
On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC-EXT contributor
[X] I'm a HACKTOBERFEST contributor
[X] I have starred the repository

@Kuldeepsinghrajpoot go ahead


cannot do anything with fetched entity in stateless session

I have two sample entities:
SampleEntity:
@Entity
@Table(name = "sample_entities")
public class SampleEntity implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long id;

    @Column(name = "sample_field")
    public String sampleField;
}

SampleJoinEntity:
@Entity
@Table(name = "sample_join_entities")
public class SampleJoinEntity implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long id;

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "sample_entity_id", referencedColumnName = "id")
    public SampleEntity sampleEntity;
}

and after that I would like to execute this code:
<!-- SessionFactory -->
Mutiny.SessionFactory sessionFactory =
        createEntityManagerFactory( "mysql" )
                .unwrap(Mutiny.SessionFactory.class);

<!-- Persist everything -->

// sampleEntity
SampleEntity sampleEntity = new SampleEntity();
sampleEntity.sampleField = "test";

sessionFactory.withTransaction((session, transaction) ->
        session.persist(sampleEntity)
).await().indefinitely();

// sampleJoinEntity
SampleJoinEntity sampleJoinEntity = new SampleJoinEntity();
sampleJoinEntity.sampleEntity = sampleEntity;

sessionFactory.withTransaction((session, transaction) ->
        session.persist(sampleJoinEntity)
).await().indefinitely();

<!-- Find just persisted entity again -->
Long targetId = sampleJoinEntity.id;

SampleJoinEntity sampleJoinEntityFromDatabase = sessionFactory.withTransaction((session, transaction) ->
        session.find(SampleJoinEntity.class, targetId)
                .call((entity) -> session.fetch(entity.sampleEntity))
).await().indefinitely();

<!--Change something and update it using stateless session-->
SampleEntity sampleEntityFromDatabase = sampleJoinEntityFromDatabase.sampleEntity;
sampleEntityFromDatabase.sampleField = "test";

// EXCEPTION IS HERE!
sessionFactory.withStatelessTransaction((session, transaction) ->
        session.update(sampleEntityFromDatabase)
).await().indefinitely();

as I understand stateless sessions are able to handle detached entities, but after executing this code (error happens during session.update, furthermore session.refresh or session.delete don't work either), I'm getting this exception:
Exception in thread "main" org.hibernate.MappingException: Unknown entity: database.entities.SampleEntity$HibernateProxy$2k2e2VER

Full stack: https://pastebin.com/3fj4yavw
Configuration
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
             version="2.0">

    <persistence-unit name="mysql">
        <provider>org.hibernate.reactive.provider.ReactivePersistenceProvider</provider>

        <class>database.entities.SampleEntity</class>
        <class>database.entities.SampleJoinEntity</class>

        <properties>

            <property name="javax.persistence.jdbc.url"
                      value="jdbc:mysql://localhost/sample"/>

            <property name="javax.persistence.jdbc.user"
                      value="root"/>

            <property name="javax.persistence.jdbc.password"
                      value="..."/>

            <property name="hibernate.connection.pool_size"
                      value="10"/>

            <property name="javax.persistence.schema-generation.database.action"
                      value="drop-and-create"/>

            <property name="hibernate.format_sql" value="true"/>

        </properties>

    </persistence-unit>

</persistence>

Hibernate-Reactive 1.0.0.CR7

It seems you've found a bug. I've created a JBang alias for this issue:
jbang --fresh issue886@DavideD/jbang-rep

We are going to have a look at it tomorrow.

@blafond Could you have a look at this, please?

@DavideD
The StatelessSessionImpl.getEntityPersister(...) method has 2 args:  entityName and object.
In ReactiveStatelessSessionImpl.reactiveUpdate(...) we're setting the entityName to NULL.
The result is the stateless entity name ends up being a proxy'd name:  Issue886$SampleEntity$HibernateProxy$CBbPx8Pn. In debug, I can set the entityName to Issue886$SampleEntity and it returns the entity.
So  should we discover the name and set it (if we can) in ReactiveStatelessSessionImpl?
Or could this be an ORM issue?

I don't know. You need to adapt the test for ORM and see what happens. I doubt this is a bug in ORM

@DavideD @gavinking
I was able to reproduce this using ORM methods by adding a test to the jbang generated Issue886.java.  The exception is:
Unknown entity: Issue886$SampleEntity$HibernateProxy$b6d1kZ8R
org.hibernate.MappingException: Unknown entity: Issue886$SampleEntity$HibernateProxy$b6d1kZ8R
	at org.hibernate.metamodel.internal.MetamodelImpl.entityPersister(MetamodelImpl.java:704)
	at org.hibernate.internal.StatelessSessionImpl.getEntityPersister(StatelessSessionImpl.java:494)
	at org.hibernate.internal.StatelessSessionImpl.update(StatelessSessionImpl.java:149)
	at org.hibernate.internal.StatelessSessionImpl.update(StatelessSessionImpl.java:143)
	at Issue886_ORM.testInsertAndSelectStateless(Issue886.java:179)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)

I searched the ORM tests and couldn't find any that mixes basic Session persistance with StatelessSession.update(...)

So whatever it is thatReactiveSessionImpl.reactiveFetch() does do that ReactiveStatelessSessionImpl.reactiveFetch() _doesn't do _is what we need to fix.

Wait, sorry, no, what I just said doesn't quite make sense. The problem's not in reactiveFetch(), it's in update().
Excuse me.

I created a jbang reproducer using ORM: jbang --fresh --verbose Issue886WithORM@blafond/jbang-rep
Issue886WithORM.java
If it doesn't make sense to fix it in ORM, then we'll need to add logic to check if the entity is a proxy, then pass on an entity name without it, which should end up finding the entity in the MetamodelImpl.entityPersisterMap ?

Did you check with the somebody from the ORM team?

If it doesn't make sense to fix it in ORM

Well we would need to add a fetch() method to StatelessSession in ORM. It probably would make sense, and I thought of it at the time, but it's a new feature.

@Xset-s the problem you are having is because of this line:
SampleEntity sampleEntityFromDatabase = sampleJoinEntityFromDatabase.sampleEntity;

sampleJoinEntityFromDatabase is detached at this point, you would have a LazyInitializationException if you were using a getter.  I guess we could make it work but I'm not sure we should.

@DavideD it's a stateless session. All instances are detached.

@DavideD it's a stateless session. All instances are detached.

Right, sorry

As soon as we get this issue sorted, I'm going to contribute StatelessSession.fetch() back to Hibernate 6. But I think we'd better finish this before doing that work.


It is impossible to create relation with "not equal" condition. OnCondition not supports conditions for columns

Required query
SELECT "documents".*,"dup".*
FROM "documents"
    LEFT JOIN "documents" "dup"
        ON ("documents"."filehash" = "dup"."filehash"
                AND "documents"."company_id" = "dup"."company_id"
                AND "documents"."id" != "dup"."id"
            )

Try to define a relation in model Document
   public function getDuplicates()
    {
        return $this->hasMany(Document::class, ['filehash' => 'filehash', 'company_id' => 'company_id'])
               ->alias('dup')
            ->onCondition(new Expression('"dup"."id" != "documents"."id"'));

    }

Query
$query = new ActiveQuery(Document::class, $db);
$query->alias('documents')->joinWith('duplicates')->all();

Fails with error
SQLSTATE[42P01]: Undefined table: 7 ERROR: invalid reference to FROM-clause entry for table "documents"
LINE 1: ..._id") IN (($1, $2), ($3, $4))) AND ("dup"."id" != "documents...
^
HINT: Perhaps you meant to reference the table alias "dup".
The SQL being executed was: SELECT * FROM "documents" "dup" WHERE (("filehash", "company_id") IN (('e53d24bd42e888cd7d7824132f1fd5a0c9ed9fe2', 5), ('e53d24bd42e888cd7d7824132f1fd5a0c9ed9fe2', 5))) AND ("dup"."id" != "documents"."id")

But command SQL is OK :
$query = new ActiveQuery(Document::class, $db);
$query->alias('documents')->joinWith('duplicates')->createCommand()->getRawSql();

return
SELECT "documents".* FROM "documents"  "documents" LEFT JOIN "documents" "dup" ON ("documents"."filehash" = "dup"."filehash" AND "documents"."company_id" = "dup"."company_id") AND ("dup"."id" != "documents"."id")
The problem comes from ActiveQuery populate
https://github.com/yiisoft/db/blob/master/src/Query/Query.php#L203
https://github.com/yiisoft/active-record/blob/master/src/ActiveQuery.php#L250
https://github.com/yiisoft/active-record/blob/02b5ea1f7363d2b8a6908818f6be26cd41cdacee/src/ActiveQueryTrait.php#L161
This method replaces values from relation "link" to real values, but it doesn't touch "onCondition" expression,
https://github.com/yiisoft/active-record/blob/02b5ea1f7363d2b8a6908818f6be26cd41cdacee/src/ActiveRelationTrait.php#L548
This method executes wrong query
https://github.com/yiisoft/active-record/blob/02b5ea1f7363d2b8a6908818f6be26cd41cdacee/src/ActiveRelationTrait.php#L304

If we fix you problem - in populate be cyclical relation
For example, for link relation duplicates need be create sql with left join documents, and result query be incorrect (with select fromdocuments & join document)
For your problem - simple add where condition
$query = new ActiveQuery(Document::class, $db);
$query->alias('documents')->joinWith('duplicates')
->andWhere(new Expression('{{dup}}.{{id}} != {{documents}}.{{id}}'))
->all();

And i recommend use for quote {{tableName}}.{{columnName}}  - for compatible with other db drivers

->andWhere(new Expression('{{dup}}.{{id}} != {{documents}}.{{id}}'))

Unfortunately, a result of populated models with this query is not correct and contains duplicated ids in $model->duplicates ;
The valid result will be only if add additional grouping clause and aggregate duplicated records, or ids with array_agg/json_agg  into an additional property;
So, SQL is ok - the problem in the model population

Unfortunately, a result of populated models with this query is not correct and contains duplicated ids in $model->duplicates ; The valid result will be only if add additional grouping clause and aggregate duplicated records, or ids with array_agg/json_agg into an additional property or another kind of hacks So, SQL is ok - the problem in the model population

You can also use indexBy option by unique field or Closure to remove duplicate records.


feat: provide docker url

Provides a handy url to download docker based on your architecture
Description
Motivation and Context
How Has This Been Tested?

ACK


How much graphics memory do you need for training? Can you give me a minimum formulation?

How much graphics memory do you need for training? Can you give me a minimum formulation?

depends on the your batch size. I use a GTX 1080 and could run up to 32 instances each batch. If GPU memory is your concern, you can try smaller batch size, like 8/16.

Thanks


Pipelines with a single activity fail when deployed with stage config

When running the Publish-SynapseFromJson with a csv environment configuration pipelines that contain only a single activity fail.
The resulting "~pipeline.json" file is missing the array [] syntax in the output file. I suppose this is due to Powershell unboxing arrays.
Example:
pipeline.json
{ 	"name": "SetVariable", 	"properties": { 		"activities": [ 			{ 				"name": "SetVar", 				"type": "SetVariable", 				"dependsOn": [], 				"userProperties": [], 				"typeProperties": { 					"variableName": "MyDummyVar", 					"value": "MyDummyVal" 				} 			} 		], 		"variables": { 			"MyDummyVar": { 				"type": "String" 			} 		}, 		"annotations": [] 	} }
environment.csv
type,name,path,value pipeline,pipeline,activities[0].typeProperties.value,"MyProductionValue"
~pipeline.json
{     "name": "SetVariable",     "properties": {         "activities": {             "name": "SetVar",             "type": "SetVariable",             "dependsOn": [],             "userProperties": [],             "typeProperties": {                 "variableName": "MyDummyVar",                 "value": "MyProductionValue"             }         },         "variables": {             "MyDummyVar": {                 "type": "String"             }         },         "annotations": []     } }

I can see that this is a duplicate of
https://github.com/SQLPlayer/azure.synapse.tools/issues/15


Bug(s) in Opera GX runtime prevents accurate reading of gamepad type

GM's gamepad_get_description() returns a hex-encoded string that vaguely describes what gamepad is connected. Unfortunately, this string is truncated and doesn't match known gamepad descriptions so this indicates OGX is using its own gamepad stack.
Additionally, gamepad_get_guid() returns a blank string.
At the moment we're guessing what type of gamepad is plugged in but it's very approximate.

5 months and no fix ¯_(ツ)_/¯ #270

could this be why the dpad on my ds4 doesn't work when it works fine on windows target? Or is there something else I can do to make it more cross-compatible? (using the ol' right-left technique atm)

@modalmodule different bug, the fix is in this patch for next release https://github.com/JujuAdams/Input/pull/270
you can download here

@modalmodule different bug, the fix is in this same patch for next release #270
you can download here https://github.com/offalynne/Input/archive/refs/heads/operagx_mapping_and_type.zip

WOOHOO! I just copy pasted the changed code into my project and it works!! Thanks a bunch!

Can probably close this since YYG don’t appear to interested in fixing this and we have it handled.

since YYG don’t seem intent on fixing this I think we can probably close this for done: scripts/__input_gamepad_set_type/__input_gamepad_set_type.gml


perl: build reproducibly

Motivation for this change
Supersedes #45064
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

For anyone else building on darwin x86_64, I get:
$ nix-hash --type sha256 /nix/store/k1dhb675snjnwy4jzc4xl4x275fxpzc6-perl-5.34.0
3d97f0fcea3ca3f077a42503d76d0fe0c30d3b75d55b9fc7196ec7928bd5adea

added back the overs and set it to gnulinux

on 2 different computers
nix-hash --type sha256 $(chase result)
2d9666ba847ebadcb758ef59ab5e8e11f5cc2ad0422f139384b3e4cdf3a1b03d
2d9666ba847ebadcb758ef59ab5e8e11f5cc2ad0422f139384b3e4cdf3a1b03d

@ofborg eval

@ofborg eval

eval error unrelated


WARNING Invalid image format GIF!

Does this library support gif images?

How come it tried to parse GIF?

Does this library support gif images?

No, it doesn't support GIFs. Currently supported formats are: jpg, png, bmp and svg. We are working on expanding the supported formats (Haven't considered GIFs yet).

How come it tried to parse GIF?

It didn't try to parse it. Every file in the directory, regardless of the format, is a candidate for being considered for deduplication. When the file format isn't one that is supported, the mentioned warning gets raised.


0.9-ppc64le DinD image for build and tests

A Docker image was built using https://github.com/ppc64le-cloud/docker-ce-build/compare/main...AshwinHIBM:docker-ce-build:0.9-ppc64le?expand=1#diff-c21b6a06ad8e557007d6d6b5d01fa16331d6d42b8cece38b90d15cf05b3c18d1 and tagged 0.9-ppc64le. Update the Dockerfile here for keeping a record. Also propagate the same updates across the test Dockerfiles.
Also change CONTAINERD_BUILD to 1 so we can build Docker and containerd in one go.

LGTM
Can you add a note in the commit message about why you changed the containerd build var to 1?

LGTM Can you add a note in the commit message about why you changed the containerd build var to 1?

Thanks, added.

Rebased to include Docker build 27.1.0 and containerd v1.7.19. Hence the only changes are in the env.list file which can be seen using the Compare button above.


Rasa x enterprise expose additional http end points

follow up to
https://forum.rasa.com/t/rasax-enterprise-have-any-additional-http-endpoints-to-support-ongoing-maintenance/13056
what additional http apis does rasax enterprise have
for example for monitoring failed conversations
posting here to translate it as feature request if not available

Please ask these kind of questions in our forum

Thank you i have asked here
https://forum.rasa.com/t/rasax-enterprise-have-any-additional-http-endpoints-to-support-ongoing-maintenance/13056


Cm 22815 sca cli missing CVE column in sca cli scan results

@PelegCycode pls resolve it first "This branch is out-of-date with the base branch"


Poor query performance with large result sets

Consider the simplest and most naive of the database queries, where thing is a table with two varchar(255) columns and 50000 rows of fake data:
let db = try Database(host: "<IP_ADDRESS>",
                      user: "root",
                      password: "",
                      database: "test")

let result = try db.execute("SELECT * FROM thing")

Running this query takes more than 2 seconds in a debug build, little more than 1 second in a release build on a 2015 MBP. The numbers are striking, the query is an order of magnitude slower than the time needed for the actual SQL fetch! (Tested by commenting out the parsing code from Connection).

After playing around with Instruments, I found a few bottlenecks:

[x] The field names are converted from C to Swift strings for every row (see #79 for the fix; ~40% time reduction)
[ ] Decoding strings byte-by-byte takes most of the time (see next section)
[x] Creating a new dictionary for every row causes unnecessary allocations here (see #81; ~5% reduction)
[ ] Hashing strings to build a dictionary is slow (which probably cannot be helped...)

I spent a few waking hours trying to replace the UTF8 decoding code, without a viable result.
Using the String(bytes:encoding:) initializer on the buffer (just like in the Postgres driver) gave me blazing fast results(*), but the whole result set was leaked, despite the fact that no native memory should be retained by the pointer operations. To reproduce, replace these lines with the Postgres decoding code.
(*) In terms of running time, fixing this would grant a tolerable result, only 3 times slower than the raw fetch.
Any insight is welcome.

Further experiments show that replacing the byte-decoded UInt8 sequence -> String conversion with String(validatingUTF8:) brings up the speed to a tolerable level while reducing memory usage.
Unfortunately, one cannot assume with MySQL that the data doesn't contain ASCII NULLs inside, so it's not a viable solution...

@vzsg I'd like to investigate this, but how do I go about verifying if the result set is leaked or not?

I was using Xcode's Debug Navigator for tracking total memory use – if it's not a flat graph, something is wrong – then Memory Graph and Instruments to look into what's leaking.

Any updates on this?

No, I haven't gotten to this. Thinking we should revisit this after 2.0 comes out of beta

We've moved to a much more efficient makeString() implementation in Vapor 2. https://github.com/vapor/bits/blob/master/Sources/Bits/ByteSequence%2BConversions.swift#L4-L10.
Going to close this issue for now since a good portion of it has been addressed and the issue of performance is pretty general. Please feel free to open a new issue for any specific performance issues.

I might do a stress test again later, but I'm sure the situation is already far improved since January.


fix: use tenantID instead of tenantId in parameters

Signed-off-by: Anish Ramasekar<EMAIL_ADDRESS>
Reason for Change:

Changes the tenant id parameter to tenantID from tenantId to be consistent with the naming convention.
This change is backward compatible as we fallback on tenantId in case tenantID is not set.

The TenantIDParameter constant can be changed to tenantID after 1.2 release as it's used in upgrade tests.
We'll need to keep the old tenantId parameter a couple of releases before we completely remove it.
The log is set at level 3 instead of warning, as warning can be too verbose and logged every time the we get a mount request.

Requirements

[x] squashed commits
[ ] included documentation
[x] added unit tests and e2e tests (if applicable).

Issue Fixed:

fixes #857
Does this change contain code from or inspired by another project?

[ ] Yes
[x] No

If "Yes," did you notify that project's maintainers and provide attribution?
Special Notes for Reviewers:

/azp run pr-e2e-azure


win-7 is dead.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
win-7 is dead.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Network adapter offline, rebooting machine to restart network service.


Using with LDAP?

I found this tutorial, but wasn't sure if there was a known / better way when using this image:  https://www.howtoforge.com/setting-up-an-openvpn-server-with-authentication-against-openldap-on-ubuntu-10.04-lts

LDAP is far outside the scope of this repo.  You can probably add support to the docker image one way or another, but it's an extremely special case.

@kylemanna is right. LDAP is outside of the scope. May I suggest you to use some configuration management like Ansible and debops-slapd, debops.openvpn. DebOps does not currently support this but patches are welcome.

Sounds good.  Sounds like maybe a different docker image would be ideal.  Thanks guys!

@jsdevel  @kylemanna
Seems alpine has a issue about  openvpn-auth-ldap
https://bugs.alpinelinux.org/issues/6726

Issue is still persistent. More information on this bug and a workaround which worked for me:
https://github.com/threerings/openvpn-auth-ldap/issues/60#issuecomment-446289680
I made a Dockerfile like this (which is referenced in the link above) but FROM kylemanna/openvpn.
added following line in openvpn.conf:
plugin /usr/local/lib/openvpn-auth-ldap.so /path/to/auth-ldap.conf


[Go Live][Aug 22]

Push to live

Docs Build status updates of commit d57299f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/bots/calls-and-meetings/registering-calling-bot.md
:white_check_mark:Succeeded
View

msteams-platform/samples/teams-low-code-solutions.md
:white_check_mark:Succeeded
View

msteams-platform/toolkit/debug-background-process.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


换数据集运行报错

我换了自己的数据集但是格式调整的一样，一直出现下面错误是为什么
Parse dataset 'train':   0% 0/1 [00:00<?, ?it/s]
Process SpawnProcess-1:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/content/drive/My Drive/SPERT中文/spert.py", line 16, in __train
trainer.train(train_path=run_args.train_path, valid_path=run_args.valid_path,
File "/content/drive/My Drive/SPERT中文/spert/spert_trainer.py", line 52, in train
train_dataset = input_reader.read(train_path, train_label)
File "/content/drive/My Drive/SPERT中文/spert/input_reader.py", line 122, in read
self._parse_dataset(dataset_path, dataset)
File "/content/drive/My Drive/SPERT中文/spert/input_reader.py", line 129, in _parse_dataset
self._parse_document(document, dataset)
File "/content/drive/My Drive/SPERT中文/spert/input_reader.py", line 145, in _parse_document
relations = self._parse_relations(jrelations, entities, dataset)
File "/content/drive/My Drive/SPERT中文/spert/input_reader.py", line 181, in _parse_relations
tail = entities[tail_idx]
IndexError: list index out of range

实体的索引和实体不对应。


if pivotal.pem (and webui pair) exists, ensure permissions in default recipe

LGTM 👍

I don't think there is a use case for the user wanting to have custom perms on the pivotal key? Cause this would overwrite them. Seems unlikely / like a bad idea. If not, 👍

@tylercloke: I don't think this is an issue. You can change the owner using attributes, but you shouldn't have anything less strict than 0600 on it, I guess.

I've had wilson do a build and test run, only ppc failed. (binaries here)


Reference Brackets Assigned by Reference Brackets Do Not Enforce Spaces.

To be clear, whether you have EnforcedStyle: no_space or EnforcedStyle: space, the first Reference Bracket is completely ignored when assigning from another Reference Bracket.
Expected behavior
Rubocop to register an offence when there is no space in the reference bracket being assigned:
EnforcedStyle: no_space
a[ "foo"] = b["something"]
  ^ Do not use space inside reference brackets.

EnforcedStyle: space
a["foo"] = b[ "something" ]
 ^ Use space inside reference brackets.

Actual behavior
No offence was registered in either test case.
Steps to reproduce the problem
Test the above lines with Rubocop, either enforcing spaces or not enforcing spaces.
RuboCop version
$ bundle exec rubocop -V
0.55.0 (using Parser <IP_ADDRESS>, running on ruby 2.2.0 x86_64-darwin16)

I have forked, branched and added two failing tests, one for EnforcedStyle: no_space and EnforcedStyle: space.

I forked and fixed this issue in Pull Request #5807.

Resolved in #5807 . This issue can/should be closed.

@garettarrowood Agreed! Must not have put "Fixes #5806" in the PR. Closing now...


Sometimes Inflection Points, and Vertical Asymptotes is not calculated for y=tan(x)

A team member will update this issue with more details soon.

This is your friendly Microsoft Issue Bot. I created this issue automatically as requested by a team member.


Double request when submitting a form via a modal

When submitting a form in a modal the redirected to page is requested twice.

Run the turbo-native-demo web app locally
Open Demo.xcodeproj and change Demo.current to return local
Run the app and tap "Load a web page modally"
Tap "Submit form"
The form dismisses

Expected behavior

One request is made to /success

Actual behavior

Two requests are made to /success

➜  turbo-native-demo git:(main) npx nodemon
[nodemon] 2.0.22
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node server.js`
Server is listening on port 45678
Thu Feb 29 2024 05:02:56 GMT-0800 (Pacific Standard Time) -- GET /
Thu Feb 29 2024 05:02:57 GMT-0800 (Pacific Standard Time) -- GET /npm/<EMAIL_ADDRESS>Thu Feb 29 2024 05:03:01 GMT-0800 (Pacific Standard Time) -- GET /new
Thu Feb 29 2024 05:03:01 GMT-0800 (Pacific Standard Time) -- GET /npm/<EMAIL_ADDRESS>Thu Feb 29 2024 05:03:11 GMT-0800 (Pacific Standard Time) -- POST /new
Thu Feb 29 2024 05:03:11 GMT-0800 (Pacific Standard Time) -- GET /success
Thu Feb 29 2024 05:03:11 GMT-0800 (Pacific Standard Time) -- GET /success

If the /success page were to show a confirmation flash message via a Rails flash, then the user would never see it. The first request would "eat" it and it would never be shown on the second one.

Session seems to think this request is the user navigating "backwards", the second request triggering from this line:
extension Session: VisitableDelegate {
    public func visitableViewWillAppear(_ visitable: Visitable) {
        guard let topmostVisit = self.topmostVisit, let currentVisit = self.currentVisit else { return }

        if visitable === topmostVisit.visitable && visitable.visitableViewController.isMovingToParent {
            // Back swipe gesture canceled
            if topmostVisit.state == .completed {
                currentVisit.cancel()
            } else {
                visit(visitable, action: .advance)
            }
        } else if visitable === currentVisit.visitable && currentVisit.state == .started {
            // Navigating forward - complete navigation early
            completeNavigationForCurrentVisit()
        } else if visitable !== topmostVisit.visitable {
            // Navigating backward
            visit(visitable, action: .restore) // THIS LINE
        }
    }
}

This issue is fixed via #155.

Resolved in https://github.com/hotwired/turbo-ios/pull/155


Movies don't play in Public View

See discussion at end of #104
Tested on Mac, Safari/Firefox/Chrome
Pattern: video's in public view show up and play fine when logged in and then switched from detail to public view. They do not show when not logged in (which is really what the public view is for).

Can you give step by step instruction on how to reproduce this problem, @ocrasborn ? The problem doesn't show up (on Linux) when I visit for example https://signbank.science.ru.nl/dictionary/gloss/FACULTEIT.html, not logged in: the video starts playing immediately.

Er... now it work again! (Chrome/Safari) Don't know why the player had an off-day, closing for now.


May I join?

As an advocate and active user of the Jamstack architecture I would love to join this great list of Jamstack women!

Thank you!


Create tests for duplicate points and duplicate angles

Now that removing duplicate points is done, I only need to implement removing the duplicate polar angles and then I can finish this issue. I updated the milestone for tomorrow but I am pretty sure this will be completed by tonight, I will run the test cases and then I will be able to start working on partitioning and other aspects of Chan's Algorithm.


Expedite Entry of Baseline Inventory Data (For New Users)

As a new user, we felt a bit confused on how to enter our baseline inventory data (items of hand) prior to using the system. It wasn't intuitive/clear. We suggest adding a function for new users to be able to easily input/upload this information.
The user would enter the following information about their starting inventory:

Item type
size
storage location
Item source (purchased, diaper diaper drive, misc donation, etc.)

Listing the "Add Beginning Inventory (New Users)" option in the inventory menu would make it more easy to locate.

Expected behavior
To be able to easily figure out how to enter baseline inventory information, or "items on hand".
Actual behavior
Currently, the user is forced to get hunt around for options/ways to get the data in there, and can't do it all in one place.
Steps to reproduce the problem
N/A
Computer Information (Only fill this out if you are a diaper bank)
MacOS High Sierra
10.13.4
Browser: Chrome

[ ] Add Storage Locations
[ ] Submit inventory
[ ] ???


Calling exit(0) in a cell can crash the Jupyter kernel

Applies To

[ ] Notebooks (.ipynb files)
[X] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
I would like to have some cells stop execution dynamically (programmatically) based on some conditions. I came up with this idea of using exit(0) to do this. Sometimes it looks like it does the trick (maybe just the first time), but other times the cell is not interrupted and even worse, the kernel crashes after a few seconds. Also kernel restart and reconnection seems to go on forever.
I don't know if doing exit(0) is a valid mechanism to interrupt a cell being executed flawlessly, while letting the execution continue to subsequent cells. I couldn't find any alternative. Note that I would like to work in the Cell Script environment, so cell magic tricks are not viable (%%script false --no-raise-error).

Is this possible at all?
If not, could we have this feature?

To reproduce this, the easiest I found is this:
#%%
# call `exit(0)` directly
exit(0)
print('exit(0) at top level')

#%%
# define `cell break` function
def cell_break():
    exit(0)

#%%
# call cell break function from a different cell
cell_break()
print('exit(0) in function')

VS Code Version
Version: 1.74.0 (user setup) Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91 Date: 2022-12-05T16:38:16.075Z Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: <IP_ADDRESS>-electron.0 OS: Windows_NT x64 10.0.22621 Sandboxed: No
Jupyter Extension Version
v2022.11.1003412109
Jupyter logs
No response
Coding Language and Runtime Version
Python 3.9.13+, IPython 8.5.0
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Remote

thanks for filling this issue, unfortunately it's not possible to stop one cell and continue the next cell. all the code runs in a single process, hence you cannot stop execution in a process the way you have requested. unless u hanger misunderstood the question
you could instead just throw an exception then execution will halt completely.
calling exit will exit the process
alternatively you could check https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/runtools/readme.html whether this gives you what you need. if that's what your require please do file a separate issue with the details
sorry i wasn't and too provide a solution


Rotate Elements via Corners

Feature Description
As an author I'd like to be able to rotate elements via the corners and not just the top
@samitron7 to add details.

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Buffer zone on corners for rotate state
See Canva

QA Instructions

Figma


Error when installing curvlinops as dependency

From laplace-torch Github actions:
Collecting curvlinops-for-pytorch@ git+https://github.com/f-dangel/curvlinops (from laplace-torch==0.1a2)
  Cloning https://github.com/f-dangel/curvlinops to /tmp/pip-install-c9oemcf1/curvlinops-for-pytorch_8092676930d443ea8493f3627b08db31
  Running command git clone --filter=blob:none --quiet https://github.com/f-dangel/curvlinops /tmp/pip-install-c9oemcf1/curvlinops-for-pytorch_8092676930d443ea8493f3627b08db31
  Resolved https://github.com/f-dangel/curvlinops to commit 84c2ce[75](https://github.com/aleximmer/Laplace/actions/runs/9799308281/job/27059312114?pr=202#step:4:76)5c2c5325330e115a0d46f13ef15cfd2e
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-oh_[92](https://github.com/aleximmer/Laplace/actions/runs/9799308281/job/27059312114?pr=202#step:4:93)17v/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-oh_9217v/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-oh_9217v/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 497, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-oh_9217v/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 313, in run_setup
          exec(code, locals())
        File "<string>", line 9, in <module>
      ModuleNotFoundError: No module named 'packaging'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

Try installing wheel in your Github action before installing curvlinops.

Will try tomorrow.
Btw, nowadays I use pdm it's super nice---just a couple lines in pyproject.toml. Example here.
It's lightweight, unlike the heavy-handed poetry.

Solved by
python -m pip install --upgrade pip wheel packaging

The issue with this is that laplace-torch and other libraries depending on curvlinops will require to add python -m pip install --upgrade pip wheel packaging in their READMEs.
I think this is not ergonomic.
I will work on a PR to migrate to pdm.


When XML for request cannot be validated, warnings are triggered

The check for XML validation can raise php warnings. When the dom is invalid, the SlmIdealPayment\Exception\XmlValidationException  is given:

Generated XML for directory request could not be validated

But this causes also quite some warnings to be triggered:
Warning: DOMDocument::schemaValidate() [domdocument.schemavalidate]: Element '{http://www.idealdesk.com/ideal/messages/mer-acq/3.3.1}purchaseID': [facet 'pattern'] The value '' is not accepted by the pattern '[a-zA-Z0-9]+'. in /my/site/vendor/slm/ideal-payment/src/SlmIdealPayment/Client/StandardClient.php on line 295

Hi Is this issue fixed, We are getting this error and xml cannot be validated, could you please suggest where are we going wrong


Fix move command

Just out of curiosity, why is this a positive change? The new commands won't stage the renaming in the git repo. Is that what you want?

Should we keep the rename as part of the commit history? I don't see the point.
The main reason is related to the repo that contains the main node template. We used to have the rename script but it was not working there. You need to execute the script from the parent folder of the folder you want to rename and needs to be a git repo.
In summary, it always failed in https://github.com/substrate-developer-hub/substrate-node-template
It is not used there for now, so the change should not have an important impact unless someone uses it on that repo.

let's just remove the scripts :)
All renaming can be explained in 1-2 lines of text.


Fixture_file_upload problems

The other day I was having no problems running fixture_file_upload in my factory.  Previously I just used a basic Factory.define but I wanted to get rid of the deprecated warnings.
So today I went to run my tests and I am getting the following errors:
undefined method 'fixture_file_upload' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_2:0x007fe6822f6e10>
undefined method `fixture_file_upload' for #<FactoryGirl::SyntaxRunner:0x007fe6827c2188>

The code looks like this
FactoryGirl.define do
    factory :mongo_document do
      original_filename "test.jpg"
      file {fixture_file_upload(Rails.root.to_s + '/spec/fixtures/files/test.jpg', 'img/jpeg')}
  end
end

I have even tried putting in
spec_helper / test_helper
include ActionController::TestProcess
No luck.  What am I missing?

Don't include ActionDispatch::TestProcess. It has some (nasty consequences)[https://github.com/honeybadger-io/honeybadger-ruby/blob/a18b1c3c4d912f96f1a3cb1435cc8a50e436f7f5/lib/honeybadger/notice.rb#L487]
Proper solution is to use Rack::Test::UploadedFile directly in the factory (what fixture_file_upload essentially does anyway):
file { Rack::Test::UploadedFile.new('spec/factories/test.png', 'image/png') }

@pjg I've been trying to use Rack::Test::UploadedFile, but I get an error REXML::UndefinedNamespaceException: Undefined prefix Rack::Test: found. Do I need to require a file or include a module to make this work?

@josephbhunt Judging by the REXML::UndefinedNamespaceException exception it looks like you're in the wrong context when you execute this file helper (do you have it in the factory definition?). As a workaround you might try to prefix Rack with :: so that it references top-level namespace and becomes ::Rack::Test::UploadedFile.


Add EchoPro project

Adds one of the 2 projects in #26

wow, this CI takes a really long time to run!

Well, I think this is the same build hanging problem as before -- build went through on my second re-run. I'll merge this and put in an issue for us to keep track of it, or perhaps some updates of the hugo action would resolve this.

Thanks.
Anyway, take a look at the actual content, including the keywords (I wasn't sure sure what to enter) and Funding agency.
I have the HakeIGP entry ready to go. I'll add it to this PR in a minute

I tweaked the wording a bit to make the EchoPro description less convoluted, the IGP one looks good. I'll merge this now.


[tinywl] Check that wlr_surface is an xdg surface

Fixes a segfault that occurs when you click on a client.

What kind of surface is it, if it's not an xdg-surface?

Dunno, the abort didn't say and I just read the backtrace. Potentially this is a different issue.

Is there an easy way to reproduce it?
You can print a surface role: surface->role->name.

This is very easy to reproduce. Just run it with any application (I found it worked regardless of the ones I tried, but gnome-calculator and alacritty definitely did it) and try to click on it (I ran it under Wayland backend).
In the core dump that memory can't be accessed, so maybe an uninitialized pointer?

Cannot reproduce. Compiled with -fsanitize=address.

so maybe an uninitialized pointer?

Seems unlikely, pointer focus is a very important pointer, we would've noticed it in sway/rootston.

I'll have time to investigate this in a few days.

Can't reproduce any more, might be an env issue.


Extension name changes

closes #766

This requires additional changes in pipelines, once it is ready with labs we can merge the changes


Epic: Be more careful about network connections from VMs

User stories
As we work towards moving autoscaling away from its prototype-y days of yore, and towards a robust production system, we should pay more attention to areas that are needlessly careless about security.
DoD

No autoscaling-specific network connections originating from VMs
Ability to restrict outbound / inbound network connections for a VM
Outbound / inbound network connections are restricted for VMs

This is part 1 of 2, for security-related improvements for autoscaling & NeonVM. Part 2 is here.
Contributing Epics & tasks
- [ ] agent <-> informant communication should be over websocket initiated by autoscaler-agent
- [ ] https://github.com/neondatabase/autoscaling/pull/433
- [ ] Control plane should set iptables rules for VMs (once supported)

See also:

#402
https://github.com/neondatabase/cloud/pull/5890

Related Projects and Epics

https://github.com/neondatabase/neon_roadmap/issues/122
#414

This was completed with #447 and neondatabase/cloud#6316; added #442 and neondatabase/cloud#6587 because they were also relevant.