Swagger-Diff fails on parsing

Hello,
I'm getting a failure when comparing two files:
C:/Ruby23/lib/ruby/2.3.0/json/common.rb:156:in `parse': 784: unexpected token at '{ (JSON::ParserError)
Error description is poor, so i can't understand where to find an error.
I'm attaching two .json files and error message.
files.zip

Thank you for your feedback! It looks like there's a syntax error in your JSON, which is causing Swagger::Diff to fail. Using a tool like http://jsonlint.com/, you can see that both files have an unnecessary trailing comma when you close the DebitInfo hash. If you remove that (from both files), Swagger::Diff should work correctly.
I'm going to close this issue, but please comment on this issue or file another issue as appropriate if you encounter any other problems with Swagger::Diff.

Thank you very much for help, I was inattentive :) Now I have another problem so I'll create new issue.


The default user on ami image type changed since RHEL-8.5

The ami image type have been redefined since RHEL-8.5 based on the official RHEL EC2 images (https://github.com/osbuild/osbuild-composer/pull/1607). As a result, the username of the default user created by cloud-init changed from cloud-user to ec2-user.
This required a change in the Cloud API test case (api.sh) in osbuild-composer:
https://github.com/osbuild/osbuild-composer/blob/53109945efb4ff648982fc6c52af723dede63bd5/test/cases/api.sh#L391-L396
An equivalent change will be needed in the api.sh test case of image-builder, once it will start to be tested with RHEL-8.5:
https://github.com/osbuild/image-builder/blob/5a7b6ca56d499fc6dbbd703fc9930ba498c9277d/test/cases/api.sh#L137-L139

This has been fixed with https://github.com/osbuild/image-builder/blob/1f735991d7426de9d496f4c3fffc6ea49dbadcd9/test/cases/api.sh#L122-L124


Incorrect generation of XamlTypeInfo.g.cs with obsolete properties

When referencing a NuGet package that includes obsolete properties, the generated file XamlTypeInfo.g.cs produces error CS0619.
e.g.
XamlTypeInfo.g.cs(744,20,744,32): error CS0619: 'LogEventInfo.Context' is obsolete: 'Use LogEventInfo.Properties instead.  Marked obsolete on NLog 2.0'
Steps to reproduce the bug
(See the enclosed solution)
From a fresh WinUI3 blank application project, include the latest package of NLog. Add the following property to MainWindow.xaml.cs:
public List<LogEventInfo> LogEvents { get; } = new List<LogEventInfo> { new LogEventInfo(), };
Upon build, the above-mentioned compile error is generated.
XamlTypeInfo.g.cs includes the below code causing the error. It appears that the wrong warning is disabled. The file disables 0618, but 0619 is what is produced.
#pragma warning disable 0618  //   Warning on Deprecated usage
        private object get_24_LogEventInfo_Context(object instance)
        {
            var that = (global::NLog.LogEventInfo)instance;
            return that.Context;
        }
#pragma warning restore 0618

Expected behavior
Clean build.
Version Info

NuGet package version:  Microsoft.ProjectReunion.WinUI 0.8.2

Windows app type:

UWP
Win32

Yes

Windows version
Saw the problem?

Insider Build (xxxxx)

May 2021 Update (19043)

October 2020 Update (19042)
Yes

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

WinUI3_Repo.zip

@codendone FYI


GUI should only write forward slashes to setup files

@jimmyDunne and I just chatted and we think that on Windows, the GUI often writes backslashes to setup files. This causes setup files to not be portable to Mac/Linux. @jimmyDunne suggested that even on Windows, the GUI should use forward slashes.

A file or path property should take care of that and other issues including drive name, absolute/relative paths etc.


fixed margin beeing squared

looks like this on hiDpi before.
ping @djrm (just you know I did a pr for it)

by the way. what is causing the border at the right of the viewport?

that border is something, havent seen it before.

probably has something to do with how the vieport size gets generated...

@toger5 it has a problem even on standard DPI

the border on the right of the viewport?

true...

looks interesting and wanted to share it anyways... but the important part is the border on the right.

found it !
	style_content_panel_vp->set_default_margin(MARGIN_LEFT /*look here */, border_width);
	style_content_panel_vp->set_default_margin(MARGIN_TOP, default_margin_size);
	style_content_panel_vp->set_default_margin(MARGIN_LEFT /*and here*/, border_width);
	style_content_panel_vp->set_default_margin(MARGIN_BOTTOM, border_width);


HBASE-26611 Changing SFT implementation on disabled table is dangerous

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 27s
Docker mode activated.


[webpack] We’re not shipping React builds optimised for production.

https://facebook.github.io/react/docs/optimizing-performance.html#webpack

In retrospect, it looks like reaction-force does bundle React the correct way, for its full app/pages, so it must be the React that Force imports.

@alloy what extension is that you are using?

The React Dev Tools https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi

@alloy sweet!


Bramble Game Factory

At the moment we have one specific bramble game object that is expected to be running.
It would be preferable to have, perhaps, a factory that just spits out new Bramble games.
Game.create()
seems reasonable to me.

I think this is causing me issues on the Level Editor.
https://github.com/erikwatson/Level-Editor/issues/20

This required some changed to other parts of the code, notably the Input and Graphics modules.
I believe this is done and pushed to Master, so closing this issue.


Limit CGW outgoing traffic to specific data sources

Description
Traffic might be rate-limited for some data providers. The concrete solution to rate-limited traffic is up for discussion.
Requirements

Traffic can be programmatically limited to configured targets.

Additional information
No response

Implemented through https://github.com/safe-global/safe-client-gateway/pull/1225 and https://github.com/safe-global/safe-client-gateway/pull/1228


issue #SB-1319 fix: changes for showing error message

changes for reset password error message only.

Codecov Report

Merging #758 into release-2.6.0 will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release-2.6.0     #758   +/-   ##
================================================
  Coverage            40.08%   40.08%
  Complexity             990      990
================================================
  Files                  149      149
  Lines                10012    10012
  Branches              1101     1101
================================================
  Hits                  4013     4013
  Misses                5582     5582
  Partials               417      417

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 879b26c...09b29d6. Read the comment docs.


megapixels: Fix schema compilation

Motivation for this change
https://todo.sr.ht/~martijnbraam/Megapixels/59

Is it intended that the schemas are not compiled anymore, or is that a regression? Is it up to the packagers to compile the schemas now, e.g. by running glib-compile-schemas ourselves, like shown in this comment: https://github.com/NixOS/nixpkgs/pull/132814#issuecomment-907863298?

It seems most distro's have a hook in the glib package that automatically recompiles the schemas when a package pushes new schemas.

We don't have such a hook (afaik?) so we need to manually compile the schemas.
CC @Mindavi who reported the missing schemas in https://github.com/NixOS/nixpkgs/pull/132814#issuecomment-907823954
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.

Diff LGTM, don't expect any issues since I basically already tested this by applying the hinted patch before.


Is CommentMerger functionality still available?

CommentMerger was part of OOXML PowerTools (It is in v2.2 on CodePlex)
Was this removed and if so, is there an alternate/recommended way of achieving comment merging?

CommentMerger was removed - there were issues associated with the case where the documents were not identical, except for comments, and if I remember correctly, CommentMerger could produce an invalid document, so I removed it until I could properly address the issue.


How to create weekly based forecast with associated ROIs

Project Robyn
Describe issue
Hello team, thanks for an amazing job, can you please help with forecasts functionality?
Provide reproducible example
How to create weekly based forecast with associated ROIs?
Environment & Robyn version
Robyn ‘3.8.2’
"R version 4.2.2 (2022-10-31)"

Hi, we'll be working on the forecast function this half. In very high level, you'll need to define future values for all predictors first, then do adstock and saturation transformation, then you can use the beta coefficients to forecast.

Please reopen if necessary


Tunes Frankie (nugus4) and small code changes for quality of life and fixes for the real robot and lab

Frankie's nuc was swapped for Kevin's, so now Frankie is nugus4. As such, Frankie's HardwareIO, Walk and Camera tunes have been moved to nugus4. The nugus1 nuc isn't in a robot so nothing to change it to.
Adjusted the camera to make it brighter
Tuned the nugus4 Left.yaml pitch and yaw so field lines in localisation look correct
Added back in the logic to field occupancy map to not draw the penalty box and crosses for the lab field
Changed NetworkForwarder from Buffer<10> to Single. The reaction will only run one at a time and therefore should only be using one thread. This appears to fix our issues with the robot not walking if NetworkForwarder is in the role, and allows us to use nusight with the real robot while its moving.
Tuned kick planner a little bit to get the robot kicking at the right time
Tuned the green horizon to be more picky about what is a field point
Tuned the ball detector. Basically took out the distance disagreement and then some small tuning. Robot chases the ball, if it does lose it when it's close it finds it again pretty quick.
Added in the StandUpFront for Frankie which was in another PR but now that the robot number has changed it's out of date so just including it in here.
Added in networking things and the message log handler in scripttuner so that we can see logs in NUsight when running script tuner.

Overall, this PR results in Frankie correctly seeing the ball, walking to it, and attempting to kick it when close. Ran it from the side of the field and it walked around kicking the ball a few times around the field, with correct localisation. After about the third kick localisation had drifted perpendicular of what it should have been. It appeared that when the robot was unsteady (ie would have falled over but I held it up) localisation got worse.
Next Steps
Not part of this PR, but noticeable problems to fix are

Kick tune, as it is unsteady
Walk planning tuning for turning, as it is a bit unsteady when turning dramatically
Walk tuning for turning while facing the ball (pivoting), which is needed for aligning to the goal
Tuning/improvements to localisation to keep it steady and not drift
Walk fixes to linearly interpolate some of the positions rather than using splines as the foot moves in an awkward curve on the y-axis
Testing/tuning for ready positioning, aligning to goal and kicking to goal (localisation may be good enough for small tests)
StandUpBack has not been looked at. This should be done FROM SCRATCH. Old scripts have issues on the robots as positions overextend the limbs. Going from scratch with StandUpFront had no issues and no servos were broken.

Added back in the logic to field occupancy map to not draw the penalty box and crosses for the lab field

What was the reason for this?

Added back in the logic to field occupancy map to not draw the penalty box and crosses for the lab field

What was the reason for this? Everything LGTM, just curious about this one

We don't have penalty boxes and penalty/center crosses in the lab


Questions on encoder and disc

hi,iliasam,
I have tried to follow the Electronics-assembling notes and test my advice in no-scanning mode.
I found my encoder can’t detect the disc with 65 silts, so I replaced it with a 20 silts disc.

When I use the hex file you give, the “testing utility” showed “0x8”-wrong number of encoder events.

So, I changed the parameter “ENCODER_HOLES_CNT” to 20.
But the data is not displayed when I run the “testing utility” again. why???

Can I change the disc to a 20-slits one?
Or what model of the encoder can detect a 65 silts disc? I want to know the product model. The one I bought doesn’t work well.

First question - is your Lidar working well in non-scanning mode?
Possibly FW should work with encoder disc with 20 slits, if you rebuild the firmware.
Have you checked that your encoder is working well with an oscilloscope?
I can't give you model of my encoder sensor, because I take it from old printer.
Maybe RPI-352 sensor will work well.

First, I tested in no-scanning mode, is it working well?
The pictures are calibration page and no optics test results.

I checked the encoder with an oscilloscope.

I will buy the RPI-353 sensor and test with 65 silts disc.

Your results in non-scanning mode are looking OK.
Oscilloscope picture from the encoder is looking well, too. I can't say now what is the problem.
You can check MCU pin 10 with oscilloscope to ensure that encoder pulses are getting to the MCU.

scanning_fw_20_holes.zip
You can try this FW - I build it for encoder with 20 holes. Also I had increased ENCODER_TIMEOUT_MS value to 25 ms.

I downloaded the hex file you just sent, but the testing utility doesn't work.
And the BLDC motor rotates at a faster and unstable speed.

And I downloaded the hex file "scanning_fw_pcb_v4" again, the state mask is 0x8.
The motor starts fast and then slows down, eventually stabilizing its rotation.

You can try to use "scanning_fw_20_holes" FW
and set speed of the motor manually at the "Motor Settings" page - see "Motor Manual PWM" -> "Set" button.
Do "Motor Speed" value is measured OK in this mode?

Do you have any progress with your problem?


Allow internal spans to have longer names

Goal

Testing

Release Notes

WHAT:
WHY:

#1354  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bidetofevil and the rest of your teammates on  Graphite


Removes usage of Character.isISOControl in favor of ConfigImplUtil.isC0Control

Character.isISOControl returns true for C0 and C1 control characters.
Only C0 characters need to be escaped in valid JSON. This change adds a
utility method to detect C0 control characters and uses that in favor of
Character.isISOControl.

Hi @carylee,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement:
http://www.typesafe.com/contribute/cla

Let me know if you have clicked through to sign the typesafe CLA, thanks!

I've signed the CLA

Great, thanks!


chore: store build artifacts on android

The type of this PR is: Enhancement

Description
While trying to understand why the build is failing here https://app.circleci.com/pipelines/github/artsy/eigen/20809/workflows/72f79527-9caa-4da6-9ff3-81826f74890c/jobs/60455/steps, I noticed that we have no build artifacts for android. These would help us get a better understanding of what's failing hopefully.

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Store build artifacts on Android - mounir

This PR contains the following changes:

Dev changes (Store build artifacts on Android - mounir)

  Generated by :no_entry_sign: dangerJS against d5248869026aee991d8ef8e27e360dd5e8a0bae8


 Exit code 0, image does not show up in docker images, no error message.
Describe the results you expected:
Error or image being properly imported.
Additional information you deem important (e.g. issue happens only occasionally):
Contents of the image I am trying to load
# tar tvf windows2.tar
-rw-r--r-- root/root      7007 2016-06-25 11:32 08449d0f3899a82fe7d895b18d7231f0ef83f71f1f62649ea5520ab59bf65ae9.json
drwxr-xr-x root/root         0 2016-06-25 16:39 5be006b32f097f88f9b5023d5d06a88abf0e0bba7becb5983deb170eeaec149d/
-rw-r--r-- root/root         3 2016-06-25 16:36 5be006b32f097f88f9b5023d5d06a88abf0e0bba7becb5983deb170eeaec149d/VERSION
-rw-r--r-- root/root<PHONE_NUMBER> 2016-06-25 16:39 5be006b32f097f88f9b5023d5d06a88abf0e0bba7becb5983deb170eeaec149d/layer.tar
-rw-r--r-- root/root        711 2016-06-25 16:36 5be006b32f097f88f9b5023d5d06a88abf0e0bba7becb5983deb170eeaec149d/json
drwxr-xr-x root/root          0 2016-06-25 16:39 e0cfe9979f3a52a40d477115a1d9957fe359265eb558ba876de14f1daef00528/
-rw-r--r-- root/root          3 2016-06-25 11:32 e0cfe9979f3a52a40d477115a1d9957fe359265eb558ba876de14f1daef00528/VERSION
-rw-r--r-- root/root  196853760 2016-06-25 11:32 e0cfe9979f3a52a40d477115a1d9957fe359265eb558ba876de14f1daef00528/layer.tar
-rw-r--r-- root/root        388 2016-06-25 11:32 e0cfe9979f3a52a40d477115a1d9957fe359265eb558ba876de14f1daef00528/json
-rw-r--r-- root/root       1008 1969-12-31 19:00 manifest.json
-rw-r--r-- root/root        133 2016-06-25 16:39 repositories

I have found out that this is probably an issue after upgrade from docker that was shipped with ubuntu 16.04.
I have removed /var/lib/docker, restarted docker and now docker info returns
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 1.11.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 0
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null host bridge
Kernel Version: 4.4.0-24-generic
Operating System: Ubuntu 16.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 12
Total Memory: 31.42 GiB
Name: ubuntu-32gb-nyc2-01
ID: XX4F:MSRZ:S7W4:HDUK:PREQ:CTIJ:VY7K:WZ6K:G3MT:KGAZ:V7SK:KNS7
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Username: mspanc
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

Now images seem to be loaded but with an error:
# docker load -i windows2.tar
81a9ec52d927: Loading layer [==================================================>] 196.9 MB/196.9 MB
open /var/lib/docker/tmp/docker-import-231824058/201f276fb5296069166229149865da238c6060bf6a92e78f8e37211022a9b402/layer.tar: no such file or directory

I will try to figure out what went wrong with that but no error handling in post-upgrade case is a clear bug IMO.

I've recreated the squashed docker image and again nothing happens. I've enabled -D and -l debug and the only thing that appears in the syslog when I attempt to load the image is
Jun 26 06:17:35 ubuntu-32gb-nyc2-01 docker[8957]: time="2016-06-26T06:17:35.669912991-04:00" level=debug msg="Calling POST /v1.23/images/load?quiet=0"

This is an issue with docker-squash not being compatible with the new content-addressable storage in docker 1.10 and newer, see https://github.com/jwilder/docker-squash/issues/45. This is not a bug in docker, so I'll close this issue, but feel free to comment after I closed

Regardless if docker-squash has bug or not, I would expect that docker
itself will throw an error and return non zero status code (think about
automation!) if image format is not valid. IMO the bug should not be closed.

would you be able to provide a minimal image to reproduce this?

Closing as we did not receive more information, but we can reopen once provided


Initialize the MixinBootstrap for LaunchClassLoader.

It should be done by the first InitializationListener, but apparently not everyone did it. I already fixed this by making classpath mods (Rift) load before jar mods.


Add ShellCheck functionality through GitHub Actions

Hi,
ShellCheck is a popular static-analysis tool for shell scripts that gives warnings on potential coding errors as well as style suggestions.
GitHub Actions is a free service provided by GitHub that enables a continuous integration/automatic testing pipeline. You can create your own actions or browse from their marketplace of community created actions. Essentially, you configure what the triggers for the action will be (such as on a code push or PR request) and the actions will be performed automatically when the event happens.
ShellCheck is useful, but can be a pain to perform every time manually when code changes. This PR adds the ability for ShellCheck to be ran automatically in the mscs repository every time code is pushed or a PR is made, thanks to the ShellCheck community-provided action.
Here's how it works:

Upon a push or a PR to the main branch, the shellcheck-action.yml action is triggered.

This action runs the ShellCheck script on a GitHub provided Ubuntu machine (what they call "runners"), for free. You can see the action output via the "actions" tab at the top:

If errors are detected, the action will failure, and you will get a notice in the PR or the push commit that it failed:

Pretty neat, right? You can see an example of the action working on this PR--the action will trigger, and it should say that all checks have failed since shellcheck detected errors.
In the future, I want to add automatic unit-testing upon pushes/PRs using GitHub Actions + something like shunit2
Let me know what you think!
Thanks

Nice, I've also been checking out github actions to replace CircleCi for work.
I've also been using actions on a personal repo for my Home Assistant configuration

This looks good. Thanks for the suggestion and patch. It looks like we have a lot of cleanup to do..

I accepted this PR, but it doesn't seem to be working.  It just posts Error: without any details of what went wrong. Any ideas?

Hey @sandain, where does it say that error? It looks like it's working to me--it's popping up in the Actions tab, and I see that it's automatically running on your pull request ( #290 )

that's super weird, i have no idea why that is. on my screen i can see it fine:

what does it say when you click on this dropdown on your screen?

It shows in my screenshot above.  If I unclick it, it looks like this:

I can get raw log files:

are you able to open the other dropdowns and see output? like this one:

Nope, just "Error:"

Try doing a manual run for me. I think it was working before I did that for the first time.  It might break it for you though..

Tested it with a manual run and it still works fine. I'm stumped, i think you discovered some bug haha. Maybe try deleting the .github/workflows/shellcheck-action.yml file (which will automatically delete the action) and re-creating it to see if it will fix the issue?

Well it works on my Windows 10 box!?!  Maybe it is an issue with my Ubuntu box?  I'll try restarting.  Lol

That is weird--maybe try clearing your cookies/cache or using a different browser?

Clearing the cache did the trick. Lol.  Thanks for the help!

no problem :)


Load Balancer with 2-way SSL authentication support

Problem Statement
Hi,
I am configuring Nginx as load balancer in front of Sentry and 2-way SSL authentication is enabled.
I can visit the web GUI as usual after I add the client cert and key to the browser. But the server can't receive the log messages, and I notice that in sentry-python it doesn't support two-way SSL authentication as a client - from the source code no client cert related options are passed to the urllib3.PoolManager:

sentry-python/sentry_sdk/transport.py at 69ecd87aa4539de03754af5afb4af4be53efd260 · getsentry/sentry-python
sentry-python/sentry_sdk/transport.py at 69ecd87aa4539de03754af5afb4af4be53efd260 · getsentry/sentry-python

The document of urllib3.PoolManager:

Advanced Usage - urllib3 1.26.3 documentation

Solution Brainstorm
From these lines of options defined, I think it can be configured in the same way:

sentry-python/sentry_sdk/transport.py at 69ecd87aa4539de03754af5afb4af4be53efd260 · getsentry/sentry-python
options["ca_certs"] = (
    ca_certs  # User-provided bundle from the SDK init
    or os.environ.get("SSL_CERT_FILE")
    or os.environ.get("REQUESTS_CA_BUNDLE")
    or certifi.where()
)

Example:
options["cert_file"] = (
    cert_file  # User-provided bundle from the SDK init
    or os.environ.get("CLIENT_CERT_FILE")
)
options["key_file"] = (
    key_file  # User-provided bundle from the SDK init
    or os.environ.get("CLIENT_KEY_FILE")
)

Hi @grammy-jiang, thanks for the feature suggestion! This is something we can definitely look into adding.
I will put the issue on our internal backlog, but it will likely take us some time to get around to implementing this feature, since we have other higher-priority projects that we are working on at the moment. However, if you would like to contribute a PR, we would be happy to review it and help get it merged.

Thanks for your reply, @szokeasaurusrex .
Yes, this is a quite simple change, I can do it.

I also find another issue about Gitlab Integration with two-way SSL authentication:
Currently, the Gitlab integration in Sentry does not support the Gitlab instance with two-way SSL authentication enabled.
I haven't got a chance to investigate the reason, but I can give it a try.

I also find another issue about Gitlab Integration with two-way SSL authentication

Please raise this issue in the getsentry/sentry repo, since it seems like this is related to the Sentry server, not the Sentry Python SDK. The SDK does not integrate with GitLab, only the Sentry server does.

Looks like this was fixed in #3258


Second order derivative

Any ideas how to calculate second order derivative?
a = mx.sym.Variable('a');
b = mx.sym.FullyConnected(data=a, name='fc1', num_hidden=64)
gr = b.grad(wrt='a')
gr2 = gr.grad(wrt='a')
fails with "Do not support Backward of Backward"

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


android 12 error pendingIntent in show dialog in background

hi android 12 error in show dialog the background
error:
PlatformException(ERROR, co.sorena.poc: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles., , null)
toturial in fix
https://stackoverflow.com/questions/68228666/targeting-s-version-10000-and-above-requires-that-one-of-flag-immutable-or-fl
https://stackoverflow.com/questions/67045607/how-to-resolve-missing-pendingintent-mutability-flag-lint-warning-in-android-a

we made some fixes in the new version 2.0.3, please try it


Reading binary file using file::read in bolt plan, causes apply blocks to fail.

Describe the Bug
Reading a binary file into a string using file::read within a bolt plan causes apply blocks to fail.
I am able to use the write_file function to write the binary file out to systems and this works as expected.
Expected Behavior
Apply blocks should still function even if a binary file is read into a string variable.
Steps to Reproduce
Steps to reproduce the behavior:
Read binary file into a string.
$test_file = file::read('/usr/bin/vim')

Attempt to use an apply block in the same plan. You don't need to use this variable in the apply block. Its existence within the plan is enough to cause it to fail.
  $apply_results = apply($linux_targets) {
    file { '/tmp/test':
      ensure => file,
    }

When the plan is run, the apply blocks will fail with the following message.
Failed on ip-10-64-194-133.ap-southeast-2.compute.internal:
  Apply failed to compile for ip-10-64-194-133.ap-southeast-2.compute.internal: source sequence is illegal/malformed utf-8

Environment

Bolt 3.30
Ubuntu 22.04

Additional Context
I'm assuming this is occurring as local variables from the plan are accessible within the apply block. When transforming the value for the apply block its expecting utf8. https://dev.to/bajena/solving-invalid-byte-sequence-in-utf-8-errors-in-ruby-1f27

Thanks for the report. Yeah variables in plan scope need to be serialized to json to be passed to the compile process. My guess is that something along the way is choking on that. From a quick glance it looks like our data converter is being invoked with rich_data option https://github.com/puppetlabs/bolt/blob/40b726ceb7ca227d704d8f006605b708ac4b69ba/lib/bolt/applicator.rb#L218 but i'm not sure exactly where in the stack that is blowing up.


Feature/swift 4.2 migration

This is a possible fix of issue #88
It removes unnecessary equality methods and updates the code to use Xcode 10 and Swift 4.2

This line:
 git clone https://github.com/yanagiba/swift-lint .swift_lint
inside the lint.sh makes a clone of the master branch, and fails due to some compilation issues. It should use the current PR branch, but I am not sure how to make that change.
Please check out


Circular import if script is called <module>.py

Hi there, I'm trying to port an old project from setuptools (setup.py/cfg) to pyproject.toml and flit and hitting a wall with then generated script stub. Problem is: The script is called bottle.py and the module is called bottle. This breaks with an ImportError: cannot import name 'main' from partially initialized module 'bottle' (most likely due to a circular import) because the script-stub tries to import itself. This wasn't an issue with the old setuptools setup(..., scripts=['bottle.py']) approach because setuptools copied the entire module into the bin folder and the main method contained sys.modules.setdefault('bottle', sys.modules['__main__']). This worked because after bin/bottle.py was loaded as __main__, it copied itself into sys.modules['bottle'] and future imports for bottle would already find the initialized module and not search for it anymore.
I know this is use-case you probably to not want to support. Having a script with that name was a mistake I made a decode ago. I'm just asking if you perhaps have any idea how this could be worked around. Something I missed. I really do not want to break user scripts that rely on ./venv/bin/bottle.py to work.

AFAIK it would be enough if I would be able to put files into /{distribution}-{version}.data/scripts/ inside the whl file with flit. This is what setuptools does for setup(..., scripts=['bottle.py']) or tool.setuptools.script-files = ['bottle.py'].

Hello! Thanks for bottle - while I haven't used it on anything in earnest, I recognise the name, and I have played around with it. :slightly_smiling_face:
I think there's a Unix-specific way you could work around this by specifying an external data directory with your script at bin/bottle.py relative to that. That definitely won't work on Windows, but I don't think the scripts folder workaround you're describing would either- see https://github.com/pypa/pip/issues/2596 .

You could also combine the workaround with a new command like bottle or bottlepy installed in the normal/modern way ([project.scripts]), and gradually encourage people to transition over to that. Pytest did something similar - the command use to be py.test and now it's pytest.

Good idea, I will try that. The more I think about it, the more I come to the conclusion that the only reasonable way forward is to get rid of bin/bottle.py completely and just call the script bottle. I'd like to have a grace period where calling bin/bottle.py prints a warning, but that might be tricky. Running python3 bottle.py or python3 -m bottle should not trigger the warning. I'll see if I can figure something out.
I'll close this issue as this is not a bug/issue with flit. Thanks for your help and kind words!

Thanks!
You might be able to do something where a script bottle.py loads a helper module which does something like this:
import sys
from warnings import warn

warn("Deprecated bottle.py command, use python -m bottle instead")

if os.path.basename(sys.path[0]) in ('bin', 'Scripts'):
    del sys.path[0]

from bottle import *


[Bug] - styleUrls fail when using template string's backtick in CLI >= 1.5

Angular CLI: 1.5.5
Node: 8.9.1
OS: darwin x64
Angular: 5.0.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.5.5
@angular-devkit/build-optimizer: 0.0.34
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.38
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.5
@schematics/angular: 0.1.8
typescript: 2.4.2
webpack: 3.8.1

styleUrls: [`/hero-list.component.scss`],

Notice I had the backtick for the string. I was using this because at one point I converted from inline styles to a separate file (because we can’t do SASS inline). So I never bothered changing the template string syntax to single quote strings. This worked in the CLI 1.4.x. I upgraded to 1.5 and boom. The error was confusing and long. But it gave me a hint as it was trying to find the scss file with the template strings around it, which is obviously wrong. So I changed to single quotes and I was good.
So … if you ever use template string / backtick for a file reference, then it will go boom.
Optimally, this would be supported. If not, it would be nice to have a warning about this in the CLI.

Duplicate of #7945, fixed by https://github.com/angular/angular-cli/pull/8666.

perfect, thanks


[scheduler] Add support for packaging builders

These builders rely on pushes to beta and stable branches instead of pull request merges.

\cc @drewroengoogle

Obsoleted with the migration to dart-internal.


Search bar doesn't present options to narrow down to the correct view

is:private sender:tim gives options to narrow down to messages from senders with name matches tim.
Should instead gives options to narrow down to private messages from senders with name matches tim.
There are likely other search bar narrowing issues related to this; I haven't had time to explore yet.

@zulipbot claim

This was fixed in #5210, should close.


Pulumi 23 project verzio kezelese valtozoban

:tada: This PR is included in version 1.2.25 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


format() will leaves quote and parenthesis open

extension version: 1.2.0
code to reproduce:
Str = "some words"
Str:match("%w")

## I don't know this is intentional or not but pattern classes in format will be highlighted
format("number: %i", 1) ## here's a format function behaves normal
## keyword behaves normal
for(I = 1, 2) {
}

format("no arg: abc") ## without the comma things will be highlighted as the color of types and leave a opening parenthesis
## keyword won't match correctly
try {}
catch(Err) {}

) ## everything return normal after closing that parenthesis in vscode but will leaves one open in game

do {
}while()

format("something, some text: %s", "test text") ## format with a comma in the pattern will causing quote and parenthesis unclosed

## some syntax
do {
}while()

#") ## everything return normal if I close the quote and parenthesis

function test() {
    print("test")
}

Screenshot in vscode:

Screenshot in game:

Fixed. Fyi this extension is not meant to be 1:1 with the game in terms of highlighting behavior. For example this extension highlighted This before that was merged into the in-game editor.


Form not being intercepted if the it is submitted by javascript

such as
<select onchange="this.form.submit()"></select>

or
$('#my-form').submit();

I think it is because the event is not fired at document level which PushState listens to

It seems to be that HtmlFormElement.submit() just doesn't trigger events:
http://stackoverflow.com/questions/17626661/htmlformelement-submit-and-reset-methods-relation-with-event-handlers
That's a bit frustrating as it means we'll have to explicitly intercept events somewhere.  Perhaps we need a method like:
PushState.submitForm( form );

static function submitForm( form:HTMLFormElement ) {
    if ( pushstateIsSupported ) {
        interceptFormSubmit( form );
    }
    else form.submit();
}

Do you have any other thoughts?

Well, in that case it is not something we can fix. Your solution could be one of the way. On the other hand, this page (scroll to bottom) shows that jQuery will trigger onsubmit specified in html element (I'm not very sure about this, untested). But if that's true, we may make use of that if the user is using jQuery (which should be very common if anyone is writing a js front-end) e.g.:
<form id="myform" onsubmit="PushState.interceptForm(event)" action="">
  ...
</form>

And in PushState just extract the form object from the event. (but again, the whole concept is untested)

Cleaning up my old issues and I think this is no longer needed.


entities fields with SQL Reserved Words causing errors

The issue
for example:
entity Invoice{
order Order
}
I guess this should not be allowed because "order" is an SQL Reserved Words in some DBs.
Note: the error is only happening when performing any of the Entity database operations.

The stacktrace
Paste it here!

Steps to reproduce

The XMI or JDL file

Versions
| JHipster    | JHipster UML   |
| -------------  | ------------------ - |
| 3.5.1       |        1.6.5       |

Hi, even though it's not a bug per se, it shoould be noticed by JUML. I should be able to fix that pretty quickly. Thanks for reporting this!


When the plugins is answering please allow to stop the auto scroll downastairs

Describe the need of your request
when I have a code or solution from the plugin chat I want to read it on my own pace or just copy one of the first lines, when I start marking the line the chat is auto scrolling down and its hard to select and read the code you wnated
also my colleagues are struggling from this
Proposed solution
No response
Additional context
No response

You speak my mind, I wanted this feature many times too 😅
Disabling auto-scrolling would be awesome.
And for users paying for services / API keys a stop button maybe would save money too 😄

Please do this feature! Autoscroll is a productivity killer. Every time I start to read the answer it starts to move the line I'm reading away. This means we have to wait to start reading the answer until it is fully generated loosing time repeatedly.
Please add an option to disable it!


Project Information

Project Tables should show all available data. @robynlloos  Did you already create one for this?

Yes, see the comment from meeting above.


use of % operator in this library

your enu2aer function, and I assume anywhere else you use the % operator will have results different from pymap3d.  In rust % is the remainder operator, and has different behavior than python's % operator.  you should be using e.atan2(n).rem_euclid(std::f64::consts::PI *2.0) to get the same results

fixed dc2b155495bd70976f648d53727ae30a5e2dbbd0


how to open only single instance of electronnet exe

Hello Sir,
I am trying to  open only one instance of app window.I am setting option in electron.manifest.json file singleinstance=true,
It works but when my exe is in system tray it doesnt get open when click on exe icon.I want your help  for that problem.Means when I click on exe icon the same window should get open which is in system tray.

You can pass a delegate to Electron.App.RequestSingleInstanceLockAsync which will get called with the arguments (if any) of the new opened instance. In that delegate you need to restore the focus & visibility of your desired window.

🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!


ver 1.10.1 operator is not working after update

What happened?
I tried to upgrade pulumi operator to 1.10.1 ver.
We used older operator version, 0.5, but didn't work for us, as supposed didn't support Azure DevOps.
We are using AKS with pulumi, ArgoCD.
I tried to find by myself, but did errors I don't understand.
I0113 15:03:46.589792       1 leaderelection.go:243] attempting to acquire leader lease pulumi/pulumi-kubernetes-operator-lock... I0113 15:04:02.231490       1 leaderelection.go:253] successfully acquired lease pulumi/pulumi-kubernetes-operator-lock {"level":"error","ts":"2023-01-13T15:04:03.136Z","logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"Program.pulumi.com","error":"no matches for kind \"Program\" in version \"pulumi.com/v1\"","stacktrace":"sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.0/pkg/source/source.go:128"} {"level":"error","ts":"2023-01-13T15:04:03.136Z","logger":"controller-runtime.manager.controller.stack-controller","msg":"Could not wait for Cache to sync","error":"failed to wait for stack-controller caches to sync: no matches for kind \"Program\" in version \"pulumi.com/v1\"","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.0/pkg/internal/controller/controller.go:195\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.0/pkg/internal/controller/controller.go:221\nsigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.9.0/pkg/manager/internal.go:697"} {"level":"error","ts":"2023-01-13T15:04:03.137Z","logger":"cmd","msg":"Manager exited non-zero","error":"failed to wait for stack-controller caches to sync: no matches for kind \"Program\" in version \"pulumi.com/v1\"","stacktrace":"main.main\n\t/home/runner/work/pulumi-kubernetes-operator/pulumi-kubernetes-operator/cmd/manager/main.go:179\nruntime.main\n\t/opt/hostedtoolcache/go/1.19.2/x64/src/runtime/proc.go:250"}
Steps to reproduce
Updated older version with new one.
Expected Behavior
Operator to works.
Actual Behavior
Operator is failing.
Output of pulumi about
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi! Try installing the new CRD, with (for example):
kubectl apply -f https://raw.githubusercontent.com/pulumi/pulumi-kubernetes-operator/master/deploy/crds/pulumi.com_programs.yaml

Seems clear that the operator wasn't fully installed. @zeenmc do you have more information to share about how you upgraded the operator?  Am closing this for now.


Roll Engine from 10f56d18065f to c419e066fbf3 (2 revisions)

https://github.com/flutter/engine/compare/10f56d18065f...c419e066fbf3
2022-04-08<EMAIL_ADDRESS>[fuchsia] Add hack to copy unopt build to CIPD. (flutter/engine#32548)
2022-04-08<EMAIL_ADDRESS>[fuchsia] Fix --unopt build for Fuchsia. (flutter/engine#32502)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


auto_start_producers doesn't seem to be working anymore

have to explicitely call brod_client:start_producer before producer works otherwise it will return error producer_not_found

i've investigated abit more...seems the location of auto_start_producers is different
Before
{brod1, [     {endpoints, [{"<IP_ADDRESS>", 9092}]},     {config, [         {reconnect_cool_down_seconds, 10},         {auto_start_producers, true}, <---         {default_producer_config, [             {required_acks, 0}         ]}     ]} ]}
After
{brod1, [     {auto_start_producers, true}, <---     .... ]}

yeah, right.
looks like it should've been a Major version bump.
we've tried to keep the APIs backward compatible to 2.0, but somehow missed this config change.


skip us-mn-scott, add kandiyohi

Looks like we might need to wait a bit for this one to settle. There is a new "OpenData" folder on the root of the endpoint, which is encouraging.

The scott file has failed, which is why I want to skip it. What do I need to do to make this pull request happier?

Get one of us to merge it :smile:. Thanks! Hopefully we can get Scott County back.

Looks like they've moved their stuff behind a proxy:
http://gis.co.scott.mn.us/Proxy/proxy.ashx?http://gis.co.scott.mn.us/scgis/rest/services/Property_Info/PUBLIC_PARCEL_APP_RW/MapServer/25
The proxy uses some ESRI API token to gain access to the backing ESRI endpoint. I don't think our code will handle that as-is.

There is a lot of peer pressure in the metro to open up the data, and I hopefully will hear about it if it happens. Thanks.

Yes, the proxy establishes a login, and once you have a session open you can view the REST endpoint. But that session expires and then you're toast. However, still holding out hope that "OpenData" folder might have a service in it someday.


Edited Readme.md

Description
Added description on Solidity, Shell and SQL
Types of changes

[ ] Bug fix or improving code quality
[ ] New language
[x] New feature

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.

Please merge it.


Deployed lambdas have a .build prefix in the handler path

I've got a weird issue: When new Lambdas are created, the handler path is prefixed with .build. There is no .build folder in the uploaded zip though, so when the Lambda is ran, it results in an error:
{
  "errorType": "Runtime.HandlerNotFound",
  "errorMessage": ".build/src/handlers/<snip>/index.handler is undefined or not exported",
  "stack": [
    "Runtime.HandlerNotFound: .build/src/handlers/<snip>/index.handler is undefined or not exported",
    " at Object.module.exports.load (/var/runtime/UserFunction.js:246:11)",
    " at Object.<anonymous> (/var/runtime/index.js:43:30)",
    " at Module._compile (internal/modules/cjs/loader.js:1085:14)",
    " at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)",
    " at Module.load (internal/modules/cjs/loader.js:950:32)",
    " at Function.Module._load (internal/modules/cjs/loader.js:790:12)",
    " at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)",
    " at internal/main/run_main_module.js:17:47"
  ]
}

If I remove the .build prefix on the AWS console everything works perfectly, and if I redeploy it doesn't revert it back.
Any ideas what happened here?
Versions:

serverless 3.3.0
serverless-plugin-typescript 2.1.1
typescript 4.5.5

I dug into the code, and it's actually caused by serverless-plugin-localstack which doesn't work with this plugin.


[Cherry-pick] Merge "raftstore & raftstore-v2:control grpc server according to slowness(#15088)" to 6.5.

This is a manual cherry-pick of https://github.com/tikv/tikv/pull/15088
What is changed and how it works?

Issue Number: Close #15086
What's Changed:

Make raftstore & raftstore-v2 able to control the grpc service, according to the slowness.

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
None.

/cc @tonyxuqqi @overvenus
PTAL, thx.

/merge

And we have the following testing records:

which proved that this feature can be GA in 6.5


JS & CSS compression not working

install jekyll-assets  and run jekyll build, JS, CSS not compression.
my _config.yml
highlighter: pygments
markdown: redcarpet
redcarpet:
 extensions:
   - fenced_code_blocks
   - no_intra_emphasis
   - strikethrough
   - autolink
   - tables
   - highlight
   - superscript
   - with_to_data

#pagination
gems: [jekyll-paginate]
paginate: 5
paginate_path: "/page:num/"

assets:
  compress:
    css: true
    js: true
  autowrite: true
  cache: false
  cache_type: filesystem
  cdn: http://blog.jerrylou.me
  skip_baseurl_with_cdn: false
  skip_prefix_with_cdn: false
  prefix: "/"
  digest: true
  assets:
    - "*.png"
    - "bundle.css"
  sources:
    - _assets/css
    - _assets/images
    - _assets/fonts
    - _assets/font
    - _assets/img
    - _assets/js

help me please!!!

my env
jekyll 3.2.1
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]

@gunsluo did you install uglifier as noted in the Compression section of the README?

There has been no answer to the query so I'm closing.  If you still have this issue please do post to this topic and we'll try to diagnose it again.


Check input file for the correct output file name

Look into the input file and search for tape 22 or tape 32 just as the target file is searched for now.

Fixed in commit 11a48d1


[APPM-1586] Search by business owner does not support pattern match

Search by business owner do the exact string match of the searched text. e.g If business owner name is "John", search result for "jhon", "jo" does not return the apps which has business owners with above name pattern.Need to support pattern match.Reference: https://wso2.org/jira/browse/APPM-1586

App manager component is being rewritten for IoT server, and this will be addressed there. Hence closing the issue.


update the reamde file

[ ] Create the models according to the ERD diagram.
[ ] Implement the authentication and authorization.
[ ] Create the page to add a category.
[ ] Create the home page.
[ ] Create the page to add a transaction.
[ ] Create the transactions page.
[ ] Create unit and integration tests for all the most important components.
[ ] Deploy the project, and test for final details.
[ ] Record a video for the project.

please 🙏 be patient with The recording sound is very weak


Is there a way to determine whether a hash's key was given?

I'm allowing nil as an input for any of these, but I also want to know whether someone specified nil or whether it's just the default because the key was unspecified.  That's fine when we're not dealing with a hash, but when we are, I seem to be running into issues.
  hash :attributes, default: {} do
    string :description, default: nil
    string :location, default: nil
  end

I know that I can determine whether attributes was passed by asking given? :attributes, but how can I determine whether attributes[:description] was given?
Thank you for a wonderful gem!  The interaction pattern really makes Rails shine!

Inspecting the code, it seems that the relevant line is here.
    @_interaction_keys = inputs.keys.to_set & self.class.filters.keys

This seems to imply that the feature I'm hoping for does not exist.  Maybe I'm missing a way around this though.  Any thoughts?
Thanks!

You're right, we don't currently support this.

I feel like this makes sense to add. We could allow given? to take multiple arguments so that it works like dig. If we do that would we want to support checking Array slots or only hash keys?

I had not heard of dig before. It's new in Ruby 2.3. We could add support by requiring or copying ruby_dig. Seems like we should support array indices as well as hash keys.

That seems like a really intuitive solution to me.  I'm not sure how array indices could not be 'given' if they existed, but I only just starting using Ruby.

It seems like we all think this is a good direction. I should be able to build this out later this week when I've got some time.


Is it possible to drag windows in mac os ?

I'm on mac os ventura 13.4, the window works great but, I cant drag to move the window (resize works)
How can I enable window dragging ? Thanks

OK, using MoveWindow widget solve it


Doesn't build

cd src
make

Outputs :
g++ -c binacpp_utils.cpp -fPIC   -o ../lib/libbinacpp/lib/binacpp_utils.o
In file included from binacpp_utils.cpp:2:0:
binacpp_utils.h: In function ‘bool file_exists(const string&)’:
binacpp_utils.h:36:35: error: ‘F_OK’ was not declared in this scope
    return ( access( name.c_str(), F_OK ) != -1 );
                                   ^~~~
binacpp_utils.h:36:13: error: ‘access’ was not declared in this scope
    return ( access( name.c_str(), F_OK ) != -1 );
             ^~~~~~
binacpp_utils.h:36:13: note: suggested alternative: ‘class’
    return ( access( name.c_str(), F_OK ) != -1 );
             ^~~~~~
             class
make: *** [Makefile:51: ../lib/libbinacpp/lib/binacpp_utils.o] Error 1

Arch linux, with libcurl and libwebsockets already installed from AUR (matching versions).

try again with this fix
https://github.com/tensaix2j/binacpp/commit/5ecdec514d3de6e020fce19dc5b2d620ae79998a

https://github.com/binance-exchange/binacpp/commit/a9627fcee52771dd03e7ae467657a5710e93ed98


Update README.md

Hi sir @philgerardsoto, I will undo the recent changes and create a test.txt file. I'll notify you once it's done.

for the meantime merge lang muna


high cpu usage during idle

What happened:
2 cores running at 100% once complex filesystem layout copied to JuiceFS
What you expected to happen:
After remount / and or reasonable time the cpu usage be minimal
How to reproduce it (as minimally and precisely as possible):
create aws s3 based bucket store and a redis metadata server, then copy linux kernel tree from the node where redis is located -- otherwise will take too long, see reported performance issue, mount juiceFS from a different host, or remount it on the same one.
Anything else we need to know?:
The profiler indicates majority of the time is spent on mallocgc see attached files

Environment:

JuiceFS version (use ./juicefs --version): 0.9.3-211 (2021-01-28 9cdfa8a)
Cloud provider or hardware configuration running JuiceFS: lenovo x1 7th gen 16GB ram I7 version
OS (e.g: cat /etc/os-release): ubuntu 20.04
Kernel (e.g. uname -a):
Object storage (cloud provider and region): aws s3 us-east-1
Redis info (version, cloud provider managed or self maintained): v6.0.10
Network connectivity (JuiceFS to Redis, JuiceFS to object storage):  500Mbit/s bell fiber 22ms latency between redis server
Others:

Based on the profile, juicefs is busy to deleting chunks (once started, and then do that every minute). Have your observe this every time you mount it?

Based on the profile, juicefs is busy to deleting chunks (once started, and then do that every minute). Have your observe this every time you mount it?

Thanks for the feedback! Yes I have. Can you let me know if this trimming process distributed among nodes?

Thanks for the feedback! Yes I have. Can you let me know if this trimming process distributed among nodes?

The trimming process will be tried by every nodes for every minute. It scan all the chunks that should be deleted but failed by random reasons. I will add more logging and get back to you.

The trimming process will be tried by every nodes for every minute. It scan all the chunks that should be deleted but failed by random reasons. I will add more logging and get back to you.


add collage

please add my collage

@vector201 Please provide us with:

the school official website URL
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@vector201 You might miss my previous comment. Please react.

@vector201 I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for the understanding!


Doesn't work with simple text

Seems that the action works only if there's at least a tag. It doesn't work if adding tags to simple text (e.g. from
Lorem ipsum
 to
Lorem ipsum
).
Would be great if the action can be executed in any case.
In other words: why there's the wrapper.isAvaliableTag check?
Thank you!

any update on this @hwen ?
how about merging this? https://github.com/hiphapis/tag-wrapper/commit/2175ce38532b6e312e23c498892b754c605ab079

any update on this @hwen ?
how about merging this? hiphapis@2175ce3

Thank you! I will review it later.


Handle Length of School code and organization code

The label of school code and organization code was getting overlapped. This has been fixed.
Please review - @rohan-dhamal-clarice @aleffert

@shahidtamboli You may align first view toLeftOf second view , so that they won't overlap. Though, maxWidth will also work.
Looks good!

Will toLeftOf interact better with long names and changing font sizes and things like that? If that's not a concern, this looks good :+1:

I have updated the code as per comments.
@rohan-dhamal-clarice @aleffert - Please review

:+1:


Use current context instead of global context

I use multiple calendar instances. So, I want to avoid listening events multiple.

Thank you. Very nice one.


Implement private Images

Added support to get user's private Images (see https://developers.digitalocean.com/#list-a-user-s-images).

:+1:


querySkuDetails with product type inapp return no data (null)

Hello I am currently trying to use plugin with godot 3.5.1, and see that there is no return for the items queried which are already defined in play console.
My codes for the practising is below.
extends Node2D

var payment
var itemToken
func _ready():
	if Engine.has_singleton("GodotGooglePlayBilling"):
		print("Engine has Singleton")
		payment = Engine.get_singleton("GodotGooglePlayBilling")
		# These are all signals supported by the API
		# You can drop some of these based on your needs
		payment.connect("connected", self, "_on_connected") # No params
		payment.connect("disconnected", self, "_on_disconnected") # No params
		payment.connect("connect_error", self, "_on_connect_error") # Response ID (int), Debug message (string)
		payment.connect("purchases_updated", self, "_on_purchases_updated") # Purchases (Dictionary[])
		payment.connect("purchase_error", self, "_on_purchase_error") # Response ID (int), Debug message (string)
		payment.connect("product_details_query_completed", self, "_on_product_details_query_completed") # SKUs (Dictionary[])
		payment.connect("product_details_query_error", self, "_on_product_details_query_error") # Response ID (int), Debug message (string), Queried SKUs (string[])
		payment.connect("purchase_acknowledged", self, "_on_purchase_acknowledged") # Purchase token (string)
		payment.connect("purchase_acknowledgement_error", self, "_on_purchase_acknowledgement_error") # Response ID (int), Debug message (string), Purchase token (string)
		payment.connect("purchase_consumed", self, "_on_purchase_consumed") # Purchase token (string)
		payment.connect("purchase_consumption_error", self, "_on_purchase_consumption_error") # Response ID (int), Debug message (string), Purchase token (string)
		payment.startConnection()
	else:
		print("Android IAP support is not enabled. Make sure you have enabled 'Custom Build' and the GodotGooglePlayBilling plugin in your Android export settings! IAP will not work.")

func _on_PurchaseDemoItem_pressed():
	var response = payment.purchase("testsku")
	print("Purchase has been attempted, result is: " + response.debug_message)
	if response.status !=1:
		print("Error purchasing Item")

func _on_UseDemoItem_pressed():
	if itemToken == null:
		print("You need to buy this item")
	else:
		print("Consuming item")
		payment.consumePurchase(itemToken)

func _on_connected():
	print("Connection is done")

func _on_disconnected():
	pass

func _on_connect_error(responseID, debugMsg):
	print("_on_connect_error" + str(responseID) + debugMsg)

func _on_purchases_updated(items):
	for item in items:
		if !item.is_acknowledged:
			print("acknowledge purchases: " + item.purchase_token)
			payment.acknowledgePurchase(item.purchase_token)
	if items.size() > 0:
		itemToken = items[items.size()-1].purchase_token

func _on_purchase_acknowledged(token):
	print("purchase was acknowledged: " + token)

func _on_purchase_consumed(token):
	print("purchase was consumed: " + token)

func _on_purchase_error(responseID, debugMsg):
	print("_on_purchase_error" + str(responseID) + debugMsg)

func _on_product_details_query_completed(details):
	print("query completed")
	print(details)

func _on_product_details_query_error(id, message, queriedSKU):
	print("query error")
	print(message)

func _on_purchase_acknowledgement_error(id, message, purchasedtoken):
	print("_on_purchase_acknowledgement_error")

func _on_purchase_consumption_error(id, message, token):
	print("_on_purchase_consumption_error")

func _on_QueryItemButton_pressed():
	var result = payment.querySkuDetails(["testsku"], "inapp") # "subs" for subscriptions
	print(result)

Problem no more occure, looks like time is needed

I'm using version 2.0.0-rc.1 and I have the same problem. It's not fixed by time. I looked into the plugin code and found out the problem are ArrayLists.
Seems like it's fixed on master though.

Seems like it's fixed on master though.

master is still the old v1 from 2021, way behind the new 2.0.0 branch from #36 tho, unless I missed something?
The issue with subscriptions returning an empty dictonary on querySkuDetails() has been confirmed several times on Godot discord btw.

Я использую версию 2.0.0-rc.1, и у меня та же проблема. Это не исправлено временем. Я просмотрел код плагина и обнаружил, что проблема в ArrayLists. Например здесь:
https://github.com/godotengine/godot-google-play-billing/blob/eeaf30911348fa0a1cb542c2b9490f93a71f3375/godot-google-play-billing/src/main/java/org/godotengine/godot/plugin/googleplaybilling/utils/GooglePlayBillingUtils.java#L105
Вам необходимо преобразовать его в Object[] перед помещением в словарь.
Хотя, похоже, это исправлено на мастере.

i have same problem

The current maintained version is by finepointcgi, you can get the release here:
https://github.com/finepointcgi/godot-google-play-billing/releases/tag/1.1.2
It uses the same API as the legacy version thats documented in the Godot docs.
I'd suggest using that version instead of 2.0.0-rc1, as it has this issue also solved.


Remove remaining usage of read

Entering an incorrectly formatted IP address for the --host-addr argument resulted in:
cardano-node: Prelude.read: no parse.
Now there are more informative errors when there is an IP formatting error.

Closed in favour of #256


Read environment variables from .cargo/config.toml's [env] section

Closes https://github.com/rust-windowing/android-ndk-rs/issues/230
Environment variables can be set and optionally override the process environment through .cargo/config.toml's [env] section: https://doc.rust-lang.org/cargo/reference/config.html#env
These config variables have specific precedence rules with regards to overriding the environment set in the process, and can optionally represent paths relative to the parent of the containing .cargo/ folder.  The entire handling of these variables is implemented in https://github.com/dvc94ch/cargo-subcommand/pull/12 which can be read as-is from cargo-apk and ndk-build, through a trait to keep ndk-build oblivious for cargo-subcommand.

mmh, don't necessarily like that this env thing needs to be passed in to the Ndk. wouldn't it be better to do what cargo does and have cargo-subcommand set the environment variables?

sorry for being a bit late to the game, hadn't looked at this PR yet.

mmh, don't necessarily like that this env thing needs to be passed in to the Ndk. wouldn't it be better to do what cargo does and have cargo-subcommand set the environment variables?

I hadn't really even considered that. Is it something we'd like cargo-subcommand to do instead of forcing everyone to implement this environment search?

I think so yes. I still think that down the road we want to remove arg parsing and instead have something called CargoWorkspace that could expose something like set_env or artifact returning the path of an artifact and whatever other useful stuf cargo-subcommand does.

 Running it twice will give the same result as running it once? cargo build will perform the setup again, so we don't want the results to be altered unexpectedly

set_env should be idempotent, and we won't modify any data in the environment, just overwrite it. Updating the process environment with stuff from [env] in cargo-subcommand should also be idempotent, though I'm curious how merging multiple .configs works, since you can then have different definitions for force=true (was it set in the process environment from the get-go, or because a previous .config set it?). That's probably documented though, will read it when we get to it.

I still think that down the road we want to remove arg parsing

Isn't cargo-subcommand still quite heavily reliant on cmdline arguments? Do we then let the caller parse it and pass us the arguments, or we parse the cmdline in cargo-subcommand and let the caller parse it for themselves?

well we can have a config struct with all the cmdline arguments. Something like this:
#[cfg_attr(feature = "clap", derive(Parser))]
struct Args {
    target_dir: Option<PathBuf>,
    package: Option<String>,
    examples: Option<bool>,
    example: Option<String>,
}

If a subcommand uses clap and uses all the supported args it can just #[clap(flatten)] cargo_args: cargo_subcommand::Args and otherwise just construct the Args struct manually.

Closing as per discussion

@dvc94ch Yeah that seems like a really neat solution, but isn't really relevant for this PR.
Not sure about preliminarily closing this before we have implemented the set_env() alternative in cargo-subcommand though, but I won't be able to get to it for a while unfortunately :(

I guess we can keep it open for now

This is finally unnecessary now that https://github.com/dvc94ch/cargo-subcommand/pull/16 is open :partying_face:!


Add ctrace

Well-formatted and improved trace system calls and signals (when the debugger does not help).
ctrace are indispensable in the following cases

Debugging complex performance issues or not identified unhandled errors and exceptions in own code or someone else's code
Learning OS kernel

Awesome!


(NOT FOR SUBMISSION) Example of what a client builder based on properties might look like

Closing as this is now in GAX 2.7.0-beta01


Brightness recommendations

Hi, saw this YouTube comment from suncrasher, which hasn't been addressed yet and I was wondering too:

Question regarding brightness: Last time you recommended to not go above (50, 50, 50) for large amounts of LEDs because (a) that was bright enough already and (b) your power supplies didn't manage more. Does that still apply?

Yes, I was running the spinning effects with a max of 50 per value but you could push to 100 if you're only using one colour (for whole-tree effects). I might try to have some control to scale brightness up or down if people's CSV effects are too bright/dim.

I hope that would then be a global scaling for the whole animation and not individual frames, otherwise the effect might be ruined, ;) But my animations should be fine.

Yes, it would be a blunt global scaling across the entire run of the effect. And only if the effect doesn’t display initially because the power supplies cannot keep up.

I haven't taken a "tree gamut" into account at all - I have assumed 0-255 is available. Global scaling would work for me.

Seems like Matt cleared this one up so closing for now :)


Get cookies.txt has been removed from the chrome extension store

...which means you have no way to install it now - though in edge you can manually re-enable it.
Otherwise, maybe update the readme.md to this extension? https://chrome.google.com/webstore/detail/open-cookiestxt/gdocmgbfkjnnpapoeobnolbbkoibbcif - It's marked as features and looks like it was just released. Complies with policy better, too? I'll install it and report back.
Screenshot of doom;

(Am I allowed to post the extension file if I saved a copy? Not sure why it got taken down, or what format it is in, but it seems to have gone down in the last 48 hours.)

I don't see how this has anything to do with YouTube-DL

In a FAQ answer we suggest using the extension to generate the cookies.txt file to be used with --cookies.
If we don't just change it to remove any specific recommendation other than using Firefox, I'd rather reference https://github.com/nyuszika7h/cookies.txt, belonging to a respected yt-dl/yt-dlp contributor, who might be prepared to add a release to the archive if the zipped code can't be installed as-is.

fyi, get cookies.txt is back in the chrome extension store.

The fickle wind of Google ...