setup matplotlib and pyplot

was crashing on launch (via >python pyhammer.py) and this solution fixed:
http://stackoverflow.com/questions/32019556/matplotlib-crashing-tkinter-application

That is a known issue at this point and a fix has already been implemented in eyecheck.py. However, this crash and fix is limited to specific environments and adding the suggested code will cause other computers/environments to crash. The decided approach is to allow matplotlib to use its default backend and only if that doesn't work, the user can edit the indicated lines of eyecheck.py to switch the backend.

I personally think this should be an internal check of the package to see if the user is on a Windows or Mac machine. This can be done through the 'os' package. You want to make this as easy as possible for the user.

Yes that is certainly true, and something I'm investigating. The only potential issue is that not all Mac users seem to face this problem and so implementing this fix for all Macs might not be appropriate.


ClusterPrepareDataStep throws out Too many future calls error

Initiating a job errors out in batch apex with error too many future calls

Hi @bazztrap , any chance you can share your salesforce org id? I will check the logs. Thanks


Increase default GIT_DEPTH and MAKES_GIT_DEPTH

Currently, both variables are set to 1 by default.
This is problematic when jobs try to access previous commits to do things like checking changed files.
Changing such values to 3 would solve most of these issues without considerably increasing repo size.

Maybe we should deprecate the whole thing? 🤔

Maybe we should deprecate the whole thing? 🤔

I will leave this for future evaluations. For now I will focus on standardizing universe pipeline as much as I can while still relying on the builtin


Licencing information

I am not able to see any any licencing information, can you please point to the licensing detail for using the library.

It's published under MIT license. I added separate LICENSE file to the project. Thank you for pointing this out.


TST: skip bool_ops_scalar tests for numexpr if numpy >= 1.11

numpy >= 1.11failing on these

closing as https://github.com/numpy/numpy/pull/7285 will likely be merged to revert this behavior


Support new aggregation operators in builder

Q
A

Type
feature

BC Break
no

Fixed issues

Summary
This PR adds the following new aggregation pipeline operators to the builder: $accumulator, $binarySize, $bottom, $bottomN, $bsonSize, $dateAdd, $dateDiff, $dateFromParts, $dateFromString, $dateSubtract, $dateToParts, $dateTrunc, $firstN, $function, $getField, $lastsN, $maxN, $mergeObjects, $minN, $rand, $regexFind, $regexFindAll, $regexMatch, $replaceAll, $replaceOne, $sampleRate, $setField, $sortArray, $top, $topN, $tsIncrement, $tsSecond.
This covers all aggregation pipeline operators currently supported in MongoDB, with the exception of accumulator operators only supported in the $setWindowFields stage, which will be introduced in a separate pull request.
I've also taken liberty to organise the code a bit. We now have interfaces for the various operator groups instead of one generic operator interface, and I've cleaned up the logic around accumulator stages (such as $sum) which have two different forms depending on the stage they're being used in. In the $group, $bucket, and $bucketAuto stages they take a single argument, whereas they take multiple arguments in other stages such as $project. This is now properly accounted for and easier to handle due to a trait that handles this more gracefully.
Note: GitHub Copilot was instrumental in getting this work done as it automated away certain repetitive tasks (such as adding proxy methods to the Operator class. I've also marked that class as @internal as we may want to do away with it in the future in favour of multiple traits that add specific operator groups, similar to how we have interfaces for the groups.

Note: test failures on PHP 7.4 are due to self not being sufficient for what we want to do. Using a static return type will fix the problem but requires PHP 8. We'll most likely drop support for PHP 7.4 as a result.

Ignoring PHPStan as those failures are the same we're already seeing due to psalm types.


File delete does not does delete FileAttributeValues entries

Trying to bring back duplicate, I found out that it broke if I duplicated then deleted multiple times.
It turns out that File::delete does not delete FileAttributeValues entries (which I fixed here and will  pull to the same branch).
https://github.com/concrete5/concrete5-5.7.0/pull/1762
That said I think we should be running a request like this on new installs:
delete from FileAttributeValues where fID NOT IN ( select fID from Files );

Where should we place such? sholud we add a job to "clean" the db, or should it sit in a migration?

File attribute values are deleted in the Version object, not the file object. I would think we'd want to figure out why that particular code isn't working rather than just adding this code.

Hum, ok, I'll remove the commit from the pull request then, also it is kind of logical to me to remove it in the FileAttributeValues as well…


Update layout_map to use re.search instead of re.match.

This allow user to skip the leading ".*' and make the rule more readable.

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (c8a5a89) 77.76% compared to head (1819bd8) 57.27%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18555       +/-   ##
===========================================
- Coverage   77.76%   57.27%   -20.50%
===========================================
  Files         334      334
  Lines       32372    32377        +5
  Branches     6313     6315        +2
===========================================
- Hits        25175    18543     -6632
- Misses       5620    12414     +6794
+ Partials     1577     1420      -157

Flag
Coverage Δ

keras
57.27% <100.00%> (-20.40%)
:arrow_down:

keras-jax
?

keras-numpy
57.27% <100.00%> (+<0.01%)
:arrow_up:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

keras/distribution/distribution_lib.py
94.61% <100.00%> (-0.46%)
:arrow_down:

... and 180 files with indirect coverage changes

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


New package: Wordle v0.1.0

Registering package: Wordle
Repository: https://github.com/Optomatica/Wordle.jl
Created by: @mbeltagy
Version: v0.1.0
Commit: ee546dca64afb810a21051d1d45b8734d2f86646
Reviewed by: @mbeltagy
Reference: https://github.com/Optomatica/Wordle.jl/commit/ee546dca64afb810a21051d1d45b8734d2f86646#commitcomment-64679909

https://github.com/JuliaRegistries/General/pull/53249


tooltip-html is confusing

I use tooltip-html-unsafe in our code. Now I get a deprecation warning:

tooltip-html-unsafe is now deprecated. Use tooltip-html or tooltip-template instead.

The results are still fine, but I thought I give tooltip-html a try. The documentation doesn't mention tooltip-html, so I assumed that its interface is identical to tooltip-html-unsafe and I simply removed the -unsafe part from our usage.

You need a plunker to make a judgement call regarding the interface of a component? Alright, I'll whip one up.

http://plnkr.co/edit/6nPdNOFpPju2YTEVGuY3?p=preview

The reason we ask for a Plunker is because it verifies that it is indeed an issue, and it allows us to debug the issue thoroughly - unfortunately we can't read minds, so having a reproducible scenario is the next best thing.

This actually appears to be just a confusion with usage.
Here is a working version of your Plunker.
This does need to be documented better though.

Actually, looking at the documentation, there is a working example in https://github.com/angular-ui/bootstrap/blob/master/src/tooltip/docs/demo.html .
I am closing this as this appears to be a usage issue.
I hope my example helps!

@wesleycho That does indeed help. Thanks.

Does the tooltip-html not work with functions?  In this plunker I have one tooltip-html use a variable and that works.  I have a tooltip use a function and that works.  But, if I try a tooltip-html with a function it does not work.
http://plnkr.co/edit/RnA1KF4DfpYLxd0lWKUd?p=preview

I also have this warning message appearing in my console and I am not even using tooltips, I have simply imported the full Bootstrap UI library during dev. I only use it for modals and the warning still shows


Polygon2D not displaying in web build (Godot 4 beta)

Godot version
4.0.beta6
System information
Windows 11, rendering: mobile, GPU: Intel Iris Xe (Integrated i7 11th Gen)
Issue description
Noticed that if using a Polygon2D in a web export it won't display at all, while it does display correctly in the desktop version.
This happens when viewed both in Chrome for Windows and Chrome on Android on an actual mobile device.
I tried this in 3.5 and Polygon2D displayed correctly in the web build.
Here is the exported web build not displaying correctly: https://sirdorius.itch.io/godot-test
Steps to reproduce

Create a Polygon2D node
Create some points and add a color
Export to web build

Minimal reproduction project
Attaching a small project that reproduces this
polygon_web.zip

Your exported build doesn't run correctly:

Please check your itch.io settings.

@adamscott what browser are you using? Currently Itch only supports Chrome because of some changes in Godot 4 as described here and here

Oh! I was using Firefox. I'm sorry!


Apply Styles

Reference Issue

Relation #507
What does this implement/fix? Explain your changes.

Provides a way to apply styles by programming generation as follows:
var doc = new SvgDocument
{
    Width = 100f,
    Height = 100f,
};
var rect = new SvgRectangle()
{
    X = 10f,
    Y = 10f,
    Width = 80f,
    Height = 80f,
};
rect.AddStyle("fill", "blue", 0);
doc.Children.Add(rect);
doc.FlushStyles(true);  // Apply Styles

output

Any other comments?

Ok, thanks - my bad! So my comment should go to the original author :p


Initialize functable earlier, during DeflateInit

deflate captures pointers to stub functions:
1:
https://github.com/zlib-ng/zlib-ng/blob/2baed9faa9437fcd1d0a106da87a540073ad851f/deflate.c#L1125-L1127
Call chain:
deflateInit2 -> deflateReset -> lm_init -> lm_set_level

If deflateInit2 is called first from zlib-ng, pointers to the stub will be captured.
2:
https://github.com/zlib-ng/zlib-ng/blob/2baed9faa9437fcd1d0a106da87a540073ad851f/deflate_slow.c#L24-L27
This PR should speed up deflate.

This looks like a good idea, especially for applications that does the init before receiving a connection for example, to avoid any extra latency.
But what about doing the same for InflateInit? (a separate commit would be nice though)

Inflate functions do not capture function pointers from the functable.
Adding early initialization will not speed up Inflate.
The absence of early initialization in deflateInit2 causes init_functable to be called multiple times.

Inflate functions do not capture function pointers from the functable. Adding early initialization will not speed up Inflate.
It will not speed up inflate as a whole, but it will move initialization overhead to the init function instead of being part of inflate, and thus would speed up inflate for applications that run inflateinit before they have anything to inflate.

The absence of early initialization in deflateInit2 causes init_functable to be called multiple times.
Not sure what you mean here..

@Dead2
Early initialization is added in inflateInit2.


build: add commitlint

Adds commitlint to the build process:

Install dev dep
Run scripts in package.json
Husky commit-msg hook
Add step to CI Lint workflow

Current dependencies on/for this PR:

main

PR #11   👈

This stack of pull requests is managed by Graphite.


WIP: Add Podman Support

Fixed

Validated support for podman in root and rootless mode

Requires swipely/docker-api#569

Changed the acceptance nodesets to centos so that testing on both
podman and docker will function properly
No longer start containers in privileged mode by default for safety
reasons
Updated the README
Fixed support for connections to socket files
Added a check for detection of SSH ports < 1024 if operating in
rootless mode
Ensure that the IP is set to <IP_ADDRESS> instead of <IP_ADDRESS> for better
SSH connections
Override host.reboot so that containers are not accidentally
destroyed
Fixed PAM session entries due to known pam_loginuid issues
Override enable_root_login since it is already performed by
this plugin
Override ssh_service retart if the init process is set as sshd since
that causes container termination

Added

Migrated to support docker-api 2.X
Set container names as beaker-<uniquehash> for easy cleanup if a
name is not otherwise specified
Ensure that the underlying container object can be accessed at any
time through host[:docker_container] for selective optimization

May want to override the archive_to and scp_to/from methods to
call the underlying docker-api commands at some point

Found some updates that are needed when running against the system podman instead of rootless.

Found some updates that are needed when running against the system podman instead of rootless.


Fix Language value for JS

The $Language value is set at https://github.com/Azure/azure-sdk-for-js/blob/416483373b916cd7c5f39a197da87dfec027841e/eng/scripts/Language-Settings.ps1#L1

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The step of Verify REST API spec location works fine in this pipeline run.


Add script to change machine’s hostname

This new bash script changes the hostname of the machine, so it populates a new hostname to /etc/hostname and /etc/hosts as discussed in https://github.com/mtlynch/tinypilot/issues/433.
Just to double-check: while I think technically possible, I don’t think the hostname should be allowed to contain any dots, so I didn’t allow this.

This change is

Would you be open to adding an .editorconfig regarding the tabs/spaces thing? Happy to submit a PR.

Would you be open to adding an .editorconfig regarding the tabs/spaces thing? Happy to submit a PR.

Sure, that sounds good to me.
We could also add a CI check for it like check-trailing-newline.

I revised the code style of the script according to Google’s shell style guide and it now also passes shellcheck.
One remark: I personally wouldn’t write comments such as # Exit on unset variable. for set -u, because for me this doesn’t add enough information over the code itself. In case you find set -u too undescriptive, there is also the long form (set -o errexit, set -o nounset, etc.) which I find pretty much self-documenting. I left it like this for now anyways (and even added set -e), because it’s done that way in the other scripts too, so I’d value the consistency higher for this PR.
Btw., maybe it would be good to revise all scripts in a separate refactoring PR to make them all nice and consisent. (Also the file names for example, which should use underscores instead of dashes.)


The "time" attribute is not in W3C format

I just tried to install Plerd on Ubuntu 20.04. To ignore the failed tests, I have used the --force option.
I can generate HTML pages from markdown files but when I want rebuild existing posts with the plerdall command, I get the error message " The "time" attribute is not in W3C format. at /usr/local/share/perl/5.30.0/Plerd/Post.pm line 518."
In the HTML pages, the generated time attribute has the format: "2022-01-03T13:36:23Z".
I suspect a regression or an update in a dependency.
Thanks for your help :)

DateTime module must be the 1.54 version.

Don't want to open another issue, so I ask here: what is the proper way to localize date in Plerd?


BotBuilder-Python SSO  not working

Version
4.14.7
Describe the bug
When using the OAuthPrompt Dialog from the SDK, the call to https://api.botframework.com/api/usertoken/GetToken performed by the SDK returns a 400 status error response. According to the code, the SDK awaits either a 200 or 404 status.
Reference:
https://github.com/microsoft/botbuilder-js/issues/4418
https://github.com/microsoft/botframework-sdk/issues/5464
https://github.com/microsoft/botbuilder-dotnet/issues/4927
To Reproduce
Steps to reproduce the behavior:

Run the sample code project 24.bot-authentication-msgraph
Sending a message triggers the SSO process
Click the login button

Expected behavior
Evoke the SSO certification process
question
It's always 404. It looks like the 404 is due to an incorrect parameter. Is something missing?
DEBUG:urllib3.connectionpool:https://api.botframework.com:443 "GET /api/usertoken/GetToken?userId=<user id value>&connectionName=<name>&channelId=msteams&api-version=token HTTP/1.1" 404 2096
I couldn't solve the problem in the end, and I wasn't as lucky as other users to have it fixed automatically, I spent a long time modifying the configuration and trying over and over again, but no luck!
I tried a different way to authenticate
    async def command_login(self, turn_context: TurnContext):
        link = await turn_context.adapter.get_oauth_sign_in_link(
            turn_context,
            self.bot.oauth_name,
        )
        card_data = get_login_card(link)
        card = CardFactory.adaptive_card(card_data)
        message = Activity(
            text="",
            type=ActivityTypes.message,
            attachments=[card],
        )
        await turn_context.send_activity(message)

But when I click on the authentication button(openUrl), it opens the browser into the SSO authentication process, which ultimately returns an authentication CODE, which I need to copy and then validate it
    async def action_validation_code_submit(self, turn_context: TurnContext):
        """ValidationCodeSubmit """
        submit_data = turn_context.activity.value
        if submit_data is None:
            return

        vcode = submit_data.get("ValidationCode")
        if not vcode:
            await turn_context.send_activity("Please enter a verification code")
            return

        token = await turn_context.adapter.get_user_token(turn_context, self.bot.oauth_name, vcode)
        if not token:
            await turn_context.send_activity("The verification code is invalid")
            return

console log
DEBUG:urllib3.connectionpool:https://api.botframework.com:443 "GET /api/usertoken/GetToken?userId=<user id value>&connectionName=<name>&channelId=msteams&code=125204&api-version=token HTTP/1.1" 200 2096
Looks like more code=125204, I'd like to know how this code parameter is configured, and I'd prefer to provide a server-side callback url for the code notification. But I see that the final_redirect parameter in the SDK code is not valid.
    async def get_oauth_sign_in_link(
        self,
        context: TurnContext,
        connection_name: str,
        final_redirect: str = None,  # pylint: disable=unused-argument
        oauth_app_credentials: AppCredentials = None,
    ) -> str:
        """
        Gets the raw sign-in link to be sent to the user for sign-in for a connection name.

        :param context: Context for the current turn of conversation with the user
        :type context: :class:`botbuilder.core.TurnContext`
        :param connection_name: Name of the auth connection to use
        :type connection_name: str
        :param final_redirect: The final URL that the OAuth flow will redirect to.
        :param oauth_app_credentials: (Optional) AppCredentials for OAuth.
        :type oauth_app_credentials: :class:`botframework.connector.auth.AppCredential`

        :return: If the task completes successfully, the result contains the raw sign-in link
        """

        client = await self._create_token_api_client(context, oauth_app_credentials)

        conversation = TurnContext.get_conversation_reference(context.activity)
        state = TokenExchangeState(
            connection_name=connection_name,
            conversation=conversation,
            ms_app_id=client.config.credentials.microsoft_app_id,
            relates_to=context.activity.relates_to,
        )

        final_state = base64.b64encode(
            json.dumps(state.serialize()).encode(encoding="UTF-8", errors="strict")
        ).decode()

        return client.bot_sign_in.get_sign_in_url(final_state)

Screenshots

No matter how you click, it doesn't work.
Configuration Validation
This is my configuration, and the test pattern is fine.

Closing as resolved.

Regarding this issue, after some troubleshooting, significant improvements have been made. I found that the Token Exchange URL was not configured, but after setting it up, the Teams SSO authentication flow finally worked correctly, with the authentication dialog completing as expected. However, the SSO process only succeeds when the application is deployed in the same tenant as the bot. If the application is deployed in a different tenant, the SSO process fails.

What could be missing here?

Cant find an example or instructions on setting up a python teams conversation bot with SSO


Update http4s-blaze-client, ... to 0.21.26

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-dsl

from 0.21.24 to 0.21.26.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch

Superseded by #309.


walk and walls management

Instead of hiding the walls, I thought it was better to delete them. Also, I've refactored the walking system and set it on a timer. Since it's a kind of movement that it doesn't ask for too much input, I think it makes sense - maybe we could link that timer to the tween (?)
Anyway, thanks for your project, I love this kind of games!

Thanks! I like the changes.


Button to run on Android device doesn't check if main scene is set

Godot version:
commit 4e0eb752c2bfd7aac05023af67cd368061012bab
OS/device including version:
Editor build is Windows 10 64bit build
Android compiled for armv7 running on a Xiaomi Pocophone F1
Issue description:
Godot crashes pretty much after starting. I can find the following in the logcat:
02-18 21:17:36.187  1697  4148 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.godot.testandroid/org.godotengine.godot.Godot bnds=[258,696][426,864] (has extras)} from uid 10033
02-18 21:17:36.194   682   682 E ANDR-IOP: IOP HAL: Received pkg_name = com.godot.testandroid pid = -1
02-18 21:17:36.200  1697  4148 D ActivityTrigger: activityStartTrigger: Activity is Triggerred in full screen ApplicationInfo{57aaacb com.godot.testandroid}
02-18 21:17:36.200  1697  4148 E ActivityTrigger: activityStartTrigger: not whiteListedcom.godot.testandroid/org.godotengine.godot.Godot/1
02-18 21:17:36.201  1697  4148 D ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{57aaacb com.godot.testandroid} is now in focus and seems to be in full-screen mode
02-18 21:17:36.201  1697  4148 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.godot.testandroid/org.godotengine.godot.Godot/1
02-18 21:17:36.208  1697  3285 D ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{57aaacb com.godot.testandroid} is now in focus and seems to be in full-screen mode
02-18 21:17:36.208  1697  3285 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.godot.testandroid/org.godotengine.godot.Godot/1
02-18 21:17:36.219  1697  3285 D Boost   : hostingType=activity, hostingName=com.godot.testandroid/org.godotengine.godot.Godot, callerPackage=com.mi.android.globallauncher, isSystem=true, isBoostNeeded=false.
02-18 21:17:36.220  1697  3285 I ActivityManager: Start proc 22046:com.godot.testandroid/u0a186 for activity com.godot.testandroid/org.godotengine.godot.Godot caller=com.mi.android.globallauncher
02-18 21:17:36.220  4246  4531 D PowerKeeper.Event: notifyAMProcStart processName: 10186 reason: com.godot.testandroid, pid:0
02-18 21:17:36.292  4587 27260 D GameBoosterService: onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.godot.testandroid', mForegroundUid=10186, mForegroundPid=22046, mLastForegroundPackageName='com.mi.android.globallauncher', mLastForegroundUid=10033, mLastForegroundPid=28595, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=1}
--------- beginning of crash
02-18 21:17:36.515 22086 22086 F DEBUG   : pid: 22046, tid: 22081, name: GLThread 1416  >>> com.godot.testandroid <<<
02-18 21:17:36.523 22086 22086 F DEBUG   :     #04 pc 01a762f8  /data/app/com.godot.testandroid-39a4FJJwHH34IixB0nmOIA==/lib/arm/libgodot_android.so
02-18 21:17:36.523 22086 22086 F DEBUG   :     #05 pc 000a2490  /data/app/com.godot.testandroid-39a4FJJwHH34IixB0nmOIA==/lib/arm/libgodot_android.so (Java_org_godotengine_godot_GodotLib_getGlobal+80)
02-18 21:17:36.523 22086 22086 F DEBUG   :     #14 pc 00078ffa  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.godot.testandroid-39a4FJJwHH34IixB0nmOIA==/base.apk (deleted) (org.godotengine.godot.Godot$2.run+22)
02-18 21:17:36.706  1697 22091 W ActivityManager:   Force finishing activity com.godot.testandroid/org.godotengine.godot.Godot
02-18 21:17:36.732  1697  2102 W InputDispatcher: channel 'e5b397b com.godot.testandroid/org.godotengine.godot.Godot (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
02-18 21:17:36.732  1697  2102 E InputDispatcher: channel 'e5b397b com.godot.testandroid/org.godotengine.godot.Godot (server)' ~ Channel is unrecoverably broken and will be disposed!
02-18 21:17:36.733  1697  2075 I ActivityManager: Process com.godot.testandroid (pid 22046) has died: vis  +99TOP
02-18 21:17:36.735  4246  4531 D PowerKeeper.Event: notifyAMProcDied pacakageName: com.godot.testandroid, pid:22046
02-18 21:17:36.742  1697  4161 I WindowManager: WIN DEATH: Window{e5b397b u0 com.godot.testandroid/org.godotengine.godot.Godot}
02-18 21:17:36.742  1697  4161 W InputDispatcher: Attempted to unregister already unregistered input channel 'e5b397b com.godot.testandroid/org.godotengine.godot.Godot (server)'
02-18 21:17:36.787  4587 27260 D GameBoosterService: onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.mi.android.globallauncher', mForegroundUid=10033, mForegroundPid=28595, mLastForegroundPackageName='com.godot.testandroid', mLastForegroundUid=10186, mLastForegroundPid=22046, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
02-18 21:17:36.807   712  3585 W SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{11bec7f token=Token{85b899e ActivityRecord{716fbd9 u0 com.godot.testandroid/org.godotengine.godot.Godot t232}}}#0

Steps to reproduce:
Create a simple project in Godot, I just have a 2D node with a button saved in a scene, then setup export to android and run.
 Because I am having a crash issue on a bigger project I made a smaller project. Creating a new project means your main scene isn't setup. When you run your project it normally asks you to set this, but it doesn't when you hit the  icon in the top right.
Once you configure the main scene it runs fine. It still gives me problems with the larger project but asfar as this problem is concerned, the issue is not having a main scene setup and Godot not warning you of this when deploying to Android.

I tried fixing this and successfully managed to show the scene selection dialog, but I ran into a problem that after selecting the scene, it automatically runs it.
What would be the proper way to call run_native instead of run in case when this dialog is opened from the Android button?


FormSelect not rendering properly Doctrine's Collections

I am binding a Doctrine's user entity to a form, having a manyToMany field called groups. Everything works fine except for displaying currently selected entities.
Method validateMultiValue in FormSelect class does as follows:
        if (!is_array($value)) {
            return (array) $value;
        }

Since the value is not an array, but a PersistentCollection, method converts the object to array and ultimately, following code in the renderOptions method:
                if (ArrayUtils::inArray($value, $selectedOptions)) {
                    $selected = true;
                }

results in every record selected. Any thoughts how to bypass this?

Many-to-many is poorly supported. Doctrine ORM's manual suggests using a 3-class one-to-many/many-to-one instead:

Why are many-to-many associations less common? Because frequently you want to associate additional attributes with an association, in which case you introduce an association class. Consequently, the direct many-to-many association disappears and is replaced by one-to-many/many-to-one associations between the 3 participating classes.


Fix naming style issues found by lint

Few naming issues were figured out by lint. This fixes them. Also the constants "quadsFirstFinal" and "quadsError" are not used anywhere. Do we need them?

This PR is ready for review. Thanks

Not LGTM
These files are both generated code from ragel and should not be edited directly. The code is not for human consumption.

Oops, I should've guessed it when i was wondering about the comments with line numbers. I'm closing this PR


Enable some Rapids config in RapidsSQLTestsBaseTrait for Spark UT

Set more GPU configurations to make sure we test on GPU running
We've added same configs in RapidsTestsTrait but forgot in the RapidsSQLTestsBaseTrait.

build


Add support for Alpha Biomes

DLC/Mod
DefName
Description
Current work type
New work type

Alpha Biomes
AB_CoreDrill
drill at core sample drill
Mining
Drilling

Alpha Biomes
AB_DoBillsSmelter
works at exotic smelter
Craft
Smelt

https://steamcommunity.com/workshop/filedetails/?id=1841354677


null_if with backslash will always have changes when applying

Provider Version
registry.terraform.io/chanzuckerberg/snowflake v0.25.29
Terraform Version
Terraform v1.0.10
Describe the bug
I want to create a file format using the snowflake_file_format resource.
If I use null_if = ["\\\\N"], and apply, it creates a file format in snowflake with "NULL_IF":["\\N"]. This is what I want, but the next time I run terraform apply I see:
 # module.snowflake.snowflake_file_format.meltano_csv will be updated in-place
  ~ resource "snowflake_file_format" "my_format" {
        id                             = "MYDB|FILE_FORMATS|CSV"
        name                           = "CSV"
      ~ null_if                        = [
          - "\\N",
          + "\\\\N",
        ]
        # (32 unchanged attributes hidden)
    }

Even if I apply these changes, I'll see the exact same thing the next time I run terraform apply.
Expected behavior
It should consider "\\\\N in the .tf file to be equivalent to \\N in the state file, or have \\\\N in the state file.
Code samples and commands
resource "snowflake_database" "test" {
  provider = snowflake.sysadmin
  name     = "TEST"
}

resource "snowflake_schema" "test_file_formats" {
  provider = snowflake.sysadmin
  database = snowflake_database.test.name
  name     = "FILE_FORMATS"
}

resource "snowflake_file_format" "csv" {
  provider = snowflake.sysadmin
  name        = "CSV"
  database    = snowflake_database.test.name
  schema      = snowflake_schema.test_file_formats.name
  format_type = "CSV"
  null_if     = ["\\\\N"]

  lifecycle {
    ignore_changes = [
      binary_format,
      compression,
      date_format,
      encoding,
      escape,
      escape_unenclosed_field,
      field_delimiter,
      field_optionally_enclosed_by,
      record_delimiter,
      time_format,
      timestamp_format,
    ]
  }
}

Run terraform apply twice in a row to see the issue.

I'm also having this issue. Guessing it's not a priority?

We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket.


Webpack output differs between operating systems (works on OSX, breaks on CentOS)

Bug report
What is the current behavior?
The same dependency gets different ids when building on different OS - one of those IDs is invalid, and leads to crashing during runtime.
If the current behavior is a bug, please provide the steps to reproduce.
Unfortunately I don't have a repro for this, since it involves building a proprietary system on different operating systems. I will do my best to break down what is happening instead, and hopefully someone with more insight can point out what might be going wrong.
Basically, the following happens:

I have a Webpack 5 project, all dependencies are locked via yarn .lock and hence always the same.
I build the app on OSX Catalina. One of the following chunks has the dependency 57966 loaded:

This works fine when running in the browser, however

I then build then app on CentOS 8, running in a docker image. However, inspecting the output from the build, I now see that the same chunk has (I assume) the same dependency with a completely different ID (62001), the other deps are the same:

When running in the browser, the app crashes because dependency 62001 does not exist (Cannot read property 'call' of undefined).
Inspecting the OSX build, the dependency 62001 does not exist anywhere in the output. It is only generated when building on CentOS.
What is the expected behavior?
Given the same dependencies, webpack projects should generate consistent output.
Other relevant information:
webpack version:  5.40.0
Node.js version: 16 on Catalina, 14 on CentOS
Operating System: OSX Catalina, CentOS 8.
Additional tools:

I think you have problem with case insensitivity, on mac os you can have import foo from './Module.js',  but in file system Module.js and module.js, so it will work on macos but broken on case sensitivity os

When running in the browser, the app crashes because dependency 62001 does not exist (Cannot read property 'call' of undefined).

I think you load this module using dynamic import()

You can use named and debug the problem https://webpack.js.org/configuration/optimization/#optimizationmoduleids

Closing this since I am pretty sure it has nothing to do with Webpack per se, but rather how we use it. This happened when two particular builds (out of dozens) happened to run in parallel, so I am guessing something weird was going on.
@alexander-akait probably has the right idea, but everything started working as soon as these two builds were run separately. Webpack is working as intended.


Sybase Connector

I start implementing a sybase connector for sqlpp und I found some issues that is not easy to implement with sybase. I used this skeleton and I am currently a bit in trouble to implement this.
As far as I can see the statement will be executed and then the resultset is read row by row and for each row every single variable is filled with some bind option column by column. Is this true or am I missunderstanding something?
Sybase supports binding, but before the first row is read, you have to specify the variables for each column and bind it directly, meaing with each row you read the varibables are filles by Syase.
Is this kind of binding support, too?

How you implement those "bind" calls is up to the requirements of the database.
What you write about Sybase sounds like the way that sqlite does it, too. Can you take a look at the sqlilte3 connector and see if that matches? You might also take a look at the two different result types in the mysql connector. The bind_result, which is used for prepared statements, could be similar (in fact, the basic idea is pretty much the same as with the sqlite3 connector).
Let me know :-)
Regards,
Roland

Currently I have looked at SQLITE3 and there I found out, that there is no real binding. SQLITE3 extecute the statement, gets the row and THEN gets the value from the result set column into the variable seperately ... as far as I have understood this.
In Sybase I have to bind the variables BEFORE any row is read. Therefore infact, there is no need to do anything when a row is fetched.
But I will try to get the MySQL stuff tomorrow to see, if it different there.
BR Michael

I think I understand the idea better now. The MySQL stuff is a bit different from sqlite3, but still not exactly what you are looking for.
But it should be possible, though. You could do the binding when the first row is fetched and do nothing for all following rows...
Best,
Roland

Going through the current issues, I wondered if you are still interested in creating a connector to Sybase?  It should certainly be possible and might be even more interesting now, with that pull request that will allow compilation with MSVC.
Let me know if I can help.
Cheers,
Roland

Well, I have created the connector within a project in a company, so it is up to them to upload this connector. Their development network have had no access to the WWW for me, so I could not upload it here, sorry. Works fine, added new error handling instead of raising exeptions which speeds up the processes.
BR
Michael

OK, the good news is: It is definitely possible :-)
Alternative error handling sounds interesting, too, of course.
Best,
Roland

Hi roland!
Please check an issue in github so I can continue to help
Regards
Juan
Sent from my iPhone

On Apr 21, 2016, at 10:50 PM, Roland Bock<EMAIL_ADDRESS>wrote:
OK, the good news is: It is definitely possible :-)
Alternative error handling sounds interesting, too, of course.
Best,
Roland
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Roland,
Attempting to push gives me permission denied to juandent
what’s next ?
Regards,
Juan

On Apr 21, 2016, at 10:50 PM, Roland Bock<EMAIL_ADDRESS>wrote:
OK, the good news is: It is definitely possible :-)
Alternative error handling sounds interesting, too, of course.
Best,
Roland
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/rbock/sqlpp11/issues/33#issuecomment-213254308

Hi Roland,
Please take a look  at the change made in https://github.com/juandent/sqlpp11
See if you agree with my solution…
Regards,
Juan
From: Roland Bock<EMAIL_ADDRESS>Sent: Thursday, April 21, 2016 10:51 PM
To: rbock/sqlpp11<EMAIL_ADDRESS>Subject: Re: [rbock/sqlpp11] Sybase Connector (#33)
OK, the good news is: It is definitely possible :-)
Alternative error handling sounds interesting, too, of course.
Best,
Roland
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/rbock/sqlpp11/issues/33#issuecomment-213254308

This is also on my wishlist.

I am compiling a wish list. This goes onto it.
Closing the ticket.


RFC 592 prescribes offer for cred abstract from holder; only issuer can create

Under section https://github.com/hyperledger/aries-rfcs/tree/master/features/0592-indy-attachments#cred-abstract-format, RFC 592 states that "A complete propose-credential message from the Issue Credential protocol 2.0 embeds this format at /filters~attach/data/base64".
Note that only the issuer controls the cred def private key, and hence the holder cannot generate a cred offer to use as the abstract.
The holder will not necessarily know what schema id/cred def id applies, and so the holder will likely not be able to specify any cred-abstract data apart from a nonce. I believe all that is needed here is a formalization of an indy filter on the six indy filter criteria for RFC 592:

schema issuer DID
schema name
schema version
schema id
cred def id
issuer DID.

I can write that up tomorrow morning.

https://github.com/hyperledger/aries-rfcs/pull/607 addresses.


Allow multiple patterms in workbench.editorAssociations

I hope I can associate many file types with hex editor like this:
"workbench.editorAssociations": [
{
"viewType": "hexEditor.hexedit",
"filenamePattern": [".exe", ".msi", ".bin", ".zip"]
}
],

Sorry, I can do that now:
"filenamePattern": {".exe,.msi,.bin,*.zip"}


mc-9808 Allow a simplified creation for ReferenceTypes and ModelDataTypes

Allow POST to DataTypes without a label for RTs and MDTs
Generate a default label of "Reference to X" where X is the label of the reference
Confirm the existence of the reference
If a DT already exists with that default label then generate a new one with the next number in order suffixed
Allow POST to DataElements without a label in the DataType for creating new DTs alongside the DE
Use the default label for RTs and MDTs when creating a DE if no label supplied
Try and find existing DT with same domaintype and label when creating a DE and DT at the same time.
If the DT exists then use that one rather than creating a new one which will fail as the DT already exists

test failures are to do with timings, not the code. need to increase the timeout for lock.


🐛 memcache utils.Trim undefined latest release

Using go.mod with:
github.com/gofiber/fiber/v2 v2.38.1
github.com/gofiber/storage/memcache v0.0.0-20221005114327-4e6f1c95ff26

When trying to run I get
# github.com/gofiber/storage/memcache
../go/pkg/mod/github.com/gofiber/storage/memcache@v0.0.0-20221027071415-dca8f183e44b/memcache.go:24:36: undefined: utils.Trim

if I change memcache.go line 23 from  serverList := strings.Split(utils.Trim(cfg.Servers, ' '), ",") to  serverList := strings.Split(strings.Trim(cfg.Servers, " "), ",") it works.
@efectn mentioned utils.Trim was used for performance on older go versions. It seems that this is broken with the latest goofier release when using go 1.19 in my package however.

utils.Trim is used in memcache.go in one place only func New(config ...Config) *Storage
Performance of strings.Trim should not be a concern in this case.

In my experience, it would be better to find out the cause of the problem than to work around it, because other places also use these functions.
Will try it myself tomorrow, but the error looks like it has something to do with the modules and not the function itself.

In my experience, it would be better to find out the cause of the problem than to work around it, because other places also use these functions.
Will try it myself tomorrow, but the error looks like it has something to do with the modules and not the function itself.

It does appear to be an issue with modules. The utils.Trim function has been removed from the current utils package, and it seems that the older version is not working.
go.mod for memcahce package is at go 1.14 while fiber is 1.19

But Version https://github.com/gofiber/storage/blob/main/memcache/go.mod#L7
0.1.2
exists https://github.com/gofiber/utils/releases/tag/v0.1.2
with the Trim function https://github.com/gofiber/utils/blob/v0.1.2/strings.go#L39

But Version https://github.com/gofiber/storage/blob/main/memcache/go.mod#L7 0.1.2
exists https://github.com/gofiber/utils/releases/tag/v0.1.2
with the Trim function https://github.com/gofiber/utils/blob/v0.1.2/strings.go#L39

I see that; something is deffinatly not working as expected.

In my experience, it would be better to find out the cause of the problem than to work around it, because other places also use these functions.
Will try it myself tomorrow, but the error looks like it has something to do with the modules and not the function itself.

It does appear to be an issue with modules.
memcache is using github.com/gofiber/utils while fiber is using github.com/gofiber/fiber/v2/utils
changing the package to github.com/gofiber/fiber/v2/utils also fixes the issue

Okay but why would that be a problem
I know that fiber internally uses the copy of the utils and the external packages use the utils among each other, but why would that be a problem?

storage package is also using go 1.14 in go.mod and fiber is using go 1.19.... I assume there is either a bug; or maybe I just need to go read the release notes for go to see if there is something that would cause this.

The tests for the memcache storage which use a docker container do not fail either
Can you rule out a local problem? Can only test this with me tomorrow during the day

I have tested on two systems, but I only get the bug if using in a project with gofiber and storage/memcache individually they both pass.
I will make a sample project with just fiber and memcache to see if there is some other conflict.

Would be really good if we could find out the cause
If the problem is not fixable then gladly with the standard package, but I would find it better to research first to exclude other errors in other packages

utils.Trim is only used in this one place out of all the storage packages; although all other packages are using github.com/gofiber/utils so I have a good place to test and see if it is somehow using the wrong package with one of the other functions.

specifying<EMAIL_ADDRESS>makes it work. But running go get -u . upgrades "github.com/gofiber/utils" to v1.0.0 and then the package specifid version seems to be ignored.......

please see demo project https://github.com/sixcolors/gofiber-storage-memcache-modtest

confirmed the same happens with go version go1.19.2 linux/amd64

Oh wait!
I see what happened; there are breaking API changes to module github.com/gofiber/utils and it's go mod still has
module github.com/gofiber/utils

Shouldn't that have been changed to:
module github.com/gofiber/utils/v1

?

Ok we can change that

Ok we can change that

I think you'd have to pull the 1.0.0 release and re-release it with the v1 to stop go get -u from upgrading it.

Ok we can change that

I think you'd have to pull the 1.0.0 release and re-release it with the v1 to stop go get -u from upgrading it.

I think v2 would be better for new changes. And we can release v1.0.1 from old v0.1.2 tag

Ok we can change that

I think you'd have to pull the 1.0.0 release and re-release it with the v1 to stop go get -u from upgrading it.

I think v2 would be better for new changes. And we can release v1.0.1 from old v0.1.2 tag

I'm happy, either resolve the issue. ✅

I have created 2 new versions
https://github.com/gofiber/utils/releases/tag/v2.0.0-beta.1
and
https://github.com/gofiber/utils/releases/tag/v1.0.1 with v0.1.2 as source
Can someone check if the new namespace is working https://github.com/gofiber/utils/blob/master/go.mod#L1
module github.com/gofiber/utils/v2

and the errors for the old version are fixed ?

I have created 2 new versions https://github.com/gofiber/utils/releases/tag/v2.0.0-beta.1 and https://github.com/gofiber/utils/releases/tag/v1.0.1 with v0.1.2 as source
Can someone check if the new namespace is working https://github.com/gofiber/utils/blob/master/go.mod#L1
module github.com/gofiber/utils/v2

and the errors for the old version are fixed ?

confirmed working using test project https://github.com/sixcolors/gofiber-storage-memcache-modtest


Improve cleverMerge to respect byDependency order correctly

Allow to use "..." in option.resolve, cache.managed/immutablePaths, module.defaultRules, optimization.minimizer to access the defaults
Add "..." to schema when needed
Apply dependency specific mainFields, aliasFields and conditionNames only for cjs and esm dependencies or when none is specified for backward-compat.

What kind of change does this PR introduce?
bugfix, refactor

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
yes

What needs to be documented once your changes are merged?

When using this.getResolve in loader, make sure to specify an appropriate dependencyType, e. g. esm or commonjs or a custom one.
this.loadModule in loader context uses commonjs resolve rules by default. Use this.getResolve with dependencyType before to use a different semantic.
"..." can be used in option.resolve, cache.managed/immutablePaths, module.defaultRules, optimization.minimizer to access the defaults, e. g. optimization.mininizer: [new CssMinimizer(), "..."]

Thanks for reviewing


FR: Save without linting command

Is Your Feature Request Related to a Problem? Please Describe.
With Linter set to lint on save, the only way I'm know to save a file without linting it (or it being in an excluded-from-linting folder) is by temporarily disabling the lint-on-save feature via the plugin's options.
In my particular case I'd like to format a part of a file in a particular way but Linter keeps adding a new line between two types of Markdown syntax that I want placed against each other (which is great 99% of the time).
Describe the Solution You'd Like
A command which simply triggers Obsidian's save but skips linting, e.g. "Linter: Save without linting".
Thanks.

Hey @redactedscribe . This sounds like a perfect use case for the linter ignore options: https://platers.github.io/obsidian-linter/usage/disabling-rules/#range-ignore
The syntax is as follows:
Here is some text
<!-- linter-disable -->
                          This area will not be formatted
<!-- linter-enable -->
More content goes here...

Does that work for you? Or is there a reason ignoring the area for the Linter does not make sense?

That definitely should work, and better than having to remember to not lint a particular file. Thanks for pointing it out! So let me try...
I'm not sure if my goal actually makes any sense since I was hoping to format an ordered list with a blockquote within it without the numbering resetting in edit mode. The numbering continues in reading mode though just fine so it might not actually be much of a problem if the rendered result is structurally fine.
Due to my Linter settings ("Empty Line Around Blockquotes"), new lines are added above and below the blockquote.
1. Foo.
2. Bar.

  > [!note]
  >
  > Text.

1. Hello.

Adding the comments doesn't does help the case (still 1. at bottom):
1. Foo.
2. Bar.
<!-- linter-disable -->
  > [!note]
  >
  > Text.
<!-- linter-enable -->
3. Hello.

Didn't seem to work at first, but it in fact does. I may have positioned the comments incorrectly.
Ideally both edit and reading mode would render the lists the same by default, but I think it's an issue with Obsidian itself.

I am going to close this issue based on what has  been stated here.


[Bug] ImageCPRMapper doesn't display anything in the viewport

Describe the Bug
I am trying to use vtkImageCPRMapper and i am not sure if it's a bug or a missing feature
and if if it can be fixed by registering the mapper in https://github.com/cornerstonejs/cornerstone3D/blob/main/packages/core/src/RenderingEngine/vtkClasses/vtkStreamingOpenGLViewNodeFactory.js#L115
Steps to Reproduce
const imageData = axialViewport.getImageData();
const centerline = vtkPolyData.newInstance();
const actor = vtkImageSlice.newInstance();
const mapper = vtkImageCPRMapper.newInstance();
mapper.useStraightenedMode();
mapper.setImageData(imageData.imageData);
mapper.setProjectionMode(ProjectionMode.AVERAGE);
mapper.setProjectionSlabNumberOfSamples(100);
mapper.setProjectionSlabThickness(20);
[...]
cprViewport.addActor({ uid: "cprActor", actor});
cprViewport.resetCamera();
cprViewport.render();

The current behavior
The camera changes but nothing is displayed in the viewport
The expected behavior
The vtkImage is displayed
OS
Windows 11
Node version
latest
Browser
131.0.6778.108

I want to explore this further, but off the top of my head, we have completely disabled the VTK interactor style here. I remember the CPRMapper relied on that at least for manipulation. right? Rendering should work most likely.
if not that certainly one of these

I want to use it to generate a pseudo pano following a spline, basically supply the polydata(spline points with normals) and the volume as input to the mapper the get the vtkimagedata to be displayed in the stack viewport.
The code inside generate a the centerline(spline/polydata) from a controls points with the normals/Orientation

Did you try registering the mapper int he NodeFactory?

Yes i did, but it does error
ImageCPRMapper.js:133 Uncaught TypeError: Cannot read properties of null (reading 'setMinificationFilter')
    at publicAPI.updateBufferObjects (ImageCPRMapper.js:133:1)
    at publicAPI.renderPieceStart (ImageCPRMapper.js:96:1)
    at publicAPI.renderPiece (ImageCPRMapper.js:90:1)
    at publicAPI.render (ImageCPRMapper.js:73:1)
    at publicAPI.opaquePass (ImageCPRMapper.js:53:1)
    at publicAPI.apply (ViewNode.js:41:1)
    at publicAPI.traverse (ViewNode.js:32:1)
    at ImageSlice.js:50:1
    at Array.forEach (<anonymous>)
    at publicAPI.traverseOpaquePass (ImageSlice.js:49:1)

i had to set the scalars manually but it stucks somewhere, the console log here is never displayed
const scalarData = volumeViewport.getImageData()?.scalarData;
console.log('get scalars');
const scalarArray = vtkDataArray.newInstance({
      name: 'Pixels',
      numberOfComponents: 1,
      // @ts-expect-error
      values: scalarData,
 });

i can send you an example by email, is that ok for you ?

Yes send me over email, i can look next week<EMAIL_ADDRESS>


Implement seamless copy-paste from Android to computer

Automatically synchronize the device clipboard to the computer any time it changes.
Refs https://github.com/Genymobile/scrcpy/issues/1056#issuecomment-631261693

To test, just copy some text on the Android device while scrcpy is running, then Ctrl+v in some text area on the computer.
The other direction is not synchronized automatically, because:

SDL does not provide a notification mechanism to listen to clipboard changes
it could leak data unexpectedly (if I copy from my password manager on the computer while scrcpy is running, I don't expect my password to be copied to the device, the other direction is less problematic IMO, because it is expected that the computer can access the device)

Here are binaries so that you can test even if you don't know how to build:

scrcpy.exe
SHA256: a89ce793ee5d1e9177288f5b3756986015c76d0200521ad1cb227f782bfda095
scrcpy-server
SHA256: e076176b01a70554188b9728f06b3d65dab63245be19c6b33ded2939008265eb

(on Windows, replace both files in the v1.13 release; on other platforms, use scrcpy-server and follow §Prebuilt server)

Merged acc4ef31df8dbdfa9c1ed6170088741a45b1aead

Doesn't work for me.
OS: MIUI 12.5.1

Which scrcpy version?
scrcpy --legacy-paste

if this does not work.

It's related to a specific setting on my phone. After I turn it off, it works now.

@emac What was this specific setting? How to turn it off?

I'm using Xiaomi phone, which has a privacy setting deciding whether an app can read the content of the phone's clipboard. It need be turned off.

Could you post a screenshot of that setting, please? (for the FAQ)

Here you go.

Thank you.
May I ask you to switch your device to English in system settings and take another screen in English (then switch back)? 😉

@emac Could you post a screehshot in English, please, that would help other people :)

Here it is.


ci: use Google Storage to speed up stash/unstash

What does this PR do?
Use the customised stash/unstash that uses Google Storage to upload the temporary files to be consumed in parallel in some of the stages among the CI execution.
New steps:

https://github.com/elastic/apm-pipeline-library/blob/master/vars/stashV2.txt
https://github.com/elastic/apm-pipeline-library/blob/master/vars/unstashV2.txt

Why
The main reason is the stash/unstash for the compiled workspace takes 2 minutes each
Reduce the waiting time from:

2.36 minutes to 2.20 minutes for the stashing
2.10 minutes to 30 seconds for the unstashing

Therefore the improvement is about 2 minutes faster and less overhead in the apm-ci controller
before

After

Checklist

[ ] This is an enhancement of existing features, or a new feature in existing plugins

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Added an API method or config option? Document in which version this will be introduced
[ ] I have made corresponding changes to the documentation

[ ] This is a bugfix

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that would fail without this fix

[ ] This is a new plugin

[ ] I have updated CHANGELOG.asciidoc
[ ] My code follows the style guidelines of this project
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have updated supported-technologies.asciidoc
[ ] Added an API method or config option? Document in which version this will be introduced
[ ] Added an instrumentation plugin? Describe how you made sure that old, non-supported versions are not instrumented by accident.

[x] This is something else

[ ] I have updated CHANGELOG.asciidoc

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2021-12-05T16:49:21.339+0000

Duration: 69 min 18 sec

Commit: a05b5e1add7de8a0d5f21ae040bb75bb0458d74c

Test stats :test_tube:

Test
Results

Failed
0

Passed
2625

Skipped
21

Total
2646

:green_heart: Flaky test report
Tests succeeded.
:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark test.

run compatibility tests : Run the JDK Compatibility test.

run integration tests : Run the APM-ITs.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


Entites with funny characters in their identifiers

It turns out that if you make RDF using this ontology, it might be serializable but then not parsable. This is the case for 5 (or potentially more) entities?
I will send a PR to change these IDs. More generally it would be nice if they could all be assigned more stable identifiers that are not linked to their labels.
cemo:average_daily_number_of_new_infections_generated_per_case_(rt) rdfs:label "average daily number of new infections generated per case (rt)" ;
cemo:length_of_intensive_care_unit_(icu)_stay rdfs:label "length of icu stay" ;
cemo:number_of_cases_exposed_by_local_(one_or_cluster)_case rdfs:label "number of cases exposed by local (one or cluster) case" ;
cemo:points_of_interest_(pois) rdfs:label "points of interest (pois)" ;
cemo:predictive_value_positive_(pvp) rdfs:label "predictive value positive (pvp)" ;

Hi @cthoyt ,
Thanks so much for checking this. This ontology is under development, so it is in our todos list to assign more stable identifiers.


Make 'Your document has been successfully saved to the vault.' ephemeral?

Only interactions can send ephemeral messages.


Adding docstring for IRHeader

I used http://stackoverflow.com/a/20573384 as a guide to write docstring for namedtuple directly beneath it.
I am not sure if this documentation actually adds clarity or is in fact not required. Either way, creating a PR for any comments. (Feel free to close, if this is not required.)
@mli @zackchase @madjam @nswamy

@maddyonline, Thanks for your contribution. could you please make the suggested changes so we could merge this?

@zackchase Thanks for suggestions. @nswamy Addressed comments, see https://github.com/dmlc/mxnet/pull/6114/commits/7decb10721d02a3aa24ff520eefaf1baa7331187
Let me know if you want me to squash my commits before merging.


spellcheck attribute doesn't work

Hi, when trying to use  (or spellCheck), it seems to ignore this attribute, is there any reason for that?
How could I use contentEditable default spell checking using Braft?
Thanks,
Liad

Hi! the BraftEditor component accepts a prop named draftProps which is an object and will be pass to the Editor component of draftjs directly, so you can use like this:
const draftProps = { spellCheck: true }

<BraftEditor draftProps={draftProps}/>


Improve handling of aborted connections

Currently when either side closes the TCP connectionn, the relay closes the other connection in the pair. However, when one side aborts(i.e. without closing the connection), the relay relies on TCP keepalive for recognizing this and closing the other side's connection.
From the relay's perspective, this could be a potential issue if enough of these aborted connections are created and the relay keeps all that state in-memory. Additionally, the open file limit might be reached which prevents further connections to the relay.
From the client's perspective, it would be good for the relay to more proactively detect and act on this so that clients are not stuck waiting needlessly.
A potential fix might be to let the relay detect idle connections and send a "ping" message to the idle side, if there is no response or if the connection is broken, then the connection being closed/aborted will cause a write error which will allow for closing and cleanup to happen. This would require changes to clients to handle this and respond with a "pong".

Potential duplication, in which case this issue can be closed. That issue refers to a lot of the same problems discussed in #9.

A potential fix might be to let the relay detect idle connections and send a "ping" message to the idle side

At least for TCP connections, this is not compatible with the transit protocol whatsoever.

That's correct. I think this is a breaking change which requires the clients to implement handling for this.
Alternatively operators might change the tcp keepalive time from the default of 2 hours to something much smaller(e g.  a minute) which would require no changes to protocol or clients.

One thing to note is that we should distinguish between an idle connection and a broken connection. Keeping an idle connection around for a few hours is fine, but waiting the same time for an ACK when sending a message is not. I don't know how flexible TCP options are on that front though.

Maybe "Idle connection" can be defined as "Last activity was since X duration", which can be configurable. For those connections that are deemed idle, sending a message will determine if it is broken or just idle.
Additionally, for connections that are not broken but idle for a long enough time, probably the server should also close these, but after a much longer period than the one used for checking if they're broken or not.

I don't think the relay will ever be able to choose a good timeout: no matter what is chosen, some client will think it is too long (or too short). The relay doesn't know what protocol is running over the connections, either, so this becomes especially hard.
Only the clients can decide how long they "should" wait.
The only problem is when the sender disappears (without any TCP level close etc) for the file-transfer use case. When this happens, the receiver will see the same symptoms from a "slow" sender and from a "gone" sender. So, their tolerance for waiting (to see if more data shows up) is all that matters.
(For other protocols, it may be completely fine for no data to show up for minutes or more -- consider an interactive chat application, for example, or a Chess game).
Therefore, I don't see what handling could be improved at the relay so long as we're propagating closes and error properly -- the relay will only learn a connection is dead when it tries to send data (and in those cases, it should then close the "other" side). If there are cases where that isn't currently happening, we should fix them. No timeouts should be added to the relay.

I agree that the relay could do good to clients by not closing the connections if they're idle but not broken, because there might be legitimate use cases for which the connection can be idle for a long time. It's up to clients to decide if this is unacceptable or not, so long as the other side is still connected but not sending anything.
I still think the inability to detect broken connections at all might be a problem because if both sides are gone, the relay still keeps whatever buffers or state associated with that pair until it gets an error when writing to either side, which it won't do. Unfortunately though, this looks like it will require a change in the protocol.

The relay is here to support any client-to-client protocol. The file-transfer use-case is just one. Clients are free to use a protocol that has better failure characteristics (e.g. periodic pings) but the file-transfer v1 protocol doesn't have that.
Someone deploying the relay could change TCP-level options (e.g. keepalive) if they determine a need to free resources more quickly.
Note also that Dilation solves this, because it does have pings (again, according to #9).
If deployments of the relay run into problems, perhaps additional features could be proposed -- many of these discussed in #9 so I think that's the right ticket to collect any additional ideas.


Fix error handling

Codecov Report

Merging #6 into master will increase coverage by 1%.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
+ Coverage   72.14%   73.14%   +1%
=======================================
  Files          10       10
  Lines         219      216    -3
=======================================
  Hits          158      158
+ Misses         61       58    -3

Impacted Files
Coverage Δ

src/memote_webservice/resources/submit.py
70.14% <0%> (+3%)
: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 01d4d86...74276d5. Read the comment docs.


adermine, chloroprene

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 50
deps=[a,c]

/trunk merge


unicode not showing correctly

when writing this, I realized this maybe a powershell bug, but I'm not so sure.
Environment
shell: powershell
Windows build number: 10.0.18363.0
Windows Terminal version (if applicable): 1.4.3243.0

Steps to reproduce
pasting unicode character that needs more than 1 bytes, such as 𢊩
Expected behavior
showing 𢊩
Actual behavior
�

Does it work in WSL?

Does this repro in a vintage console window running powershell? Which version of powershell? Are you using PsReadline, and if so, which version?

yep it's reproducible in powershell 6.2.1 as well (although the character shown was 2 boxes), I don't use PsReadline
I'm using vagrant and ubuntu 20.04 it happens inside the shell as well (again showing 2 boxes).

It looks like this is a powershell bug -- please visit the psreadline issue tracker. I think they already have one or two bugs for this...
This one looks very similar, but with Emoji. /dup https://github.com/PowerShell/PSReadLine/issues/1329


Fix sync-pnpm when already synced previously

The sync script would skip syncing the dist folder when it already exists. This is not good when running things locally, like when you run the test-app, and build the addon in watch mode, you would still need to run the sync script after changes in the addon manually. But without this fix here, it would not update the dist output with the addon changes.
Currently my development workflow with this is:

pnpm start (runs test-app)
in another terminal:

cd <addon-dir>
pnpm start (rollup in watch mode)

in yet another terminal:

cd test-app
on every change of the addon run manually: pnpm _syncPnpm

Far from good, but at least works...

Suggestion (maybe I should file an issue for this): Can we change the port of either the docs-app or the test-app so I can run both at the same time?

on every change of the addon run manually: pnpm _syncPnpm

Wait...what is the difference between running pnpm i -f and pnpm_syncPnpm between each build of the package?

I know that I should know this given I reviewed the earlier version, but how do I run syncPnpm
Attached is an image of what I have tried

I know that I should know this given I reviewed the earlier version, but how do I run syncPnpm
Attached is an image of what I have tried

NVM Tony just showed me its in the app directory...

NVM Tony just showed me its in the app directory...

Yeah, it's only available to apps. Ideally we shouldn't call this ourselves of course (hence the underscored name), but we are still figuring things out. Seems @NullVoxPopuli is also up for something:

https://github.com/CrowdStrike/ember-headless-table/pull/145
https://github.com/pnpm/pnpm/pull/6135


Error opening SMS preferred tester profile page

When trying to open CUTGroup tester profile pages who are SMS preferred, I receive the following error message:

A couple of examples of people IDs where I face this problem include 3077, 3085, 3322. I can search and find the record, but I cannot open up the actual profile page.

The original version of this code was failing if there wasn't a wufoo form id associated with a text message. The updated version allows this.

Confirmed that this is fixed. Closing!


1.2.2 release in progress

Jitpack workflow not running.

Run successful
https://jitpack.io/com/github/iamjosephmj/flinger/1.2.2/build.log


doc: Docs aligned with mainnet

replace config files and options in examples to work with mainnet.

bors merge


set_icon not work

I tried to change launch file icon, but it seems that the changes has not taken effect, the previous changes were not a problem and I don't know from which version the problem started
system: Ubuntu20.04 docker container
Neovim: 0.10.0 stable
nvim-web-devicons: 11eb26fc166742db8d1e8a6f5a7de9df37b09aae
nvim-tree.lua: 76db7ed0da3027882dd0a72de18643c2e26956dc(branch: nvim-tree-v1.3.1)

local has_web_devicons, web_devicons = pcall(require, "nvim-web-devicons")
if not has_web_devicons then
  vim.notify("nvim-web-devicons not found!")
  return
end

local my_icons = {
  ["inl"] = {
    icon = "",
    color = "#a074c4",
    cterm_color = "140",
    name = "Hpp"
  },
  ["urdf"] = {
    icon = "謹",
    color = "#e37933",
    cterm_color = "173",
    name = "Xml",
  },
  ["xodr"] = {
    icon = "謹",
    color = "#e37933",
    cterm_color = "173",
    name = "Xml",
  },
  ["cu"] = {
    icon = "",
    color = "#f34b7d",
    cterm_color = "204",
    name = "CPlusPlus",
  },
  ["launch"] = {
    icon = "謹",
    color = "#e37933",
    cterm_color = "173",
    name = "Xml",
  },
}

if web_devicons.has_loaded then
  web_devicons.set_icon(my_icons)
else
  web_devicons.setup({ override = my_icons, default = true })
end

I will switch nvim-web-devicons back to historical commit 2d02a56 and it will be resolved

Thanks for the detailed report.
I'd be most grateful if you could test this fix:
cd /path/to/nvim-web-devicons
git pull
git checkout 465-set_icon-broken

When you're finished testing:
git checkout master

Ok, tested it, works like a charm! thank you very much!


Proposal of the type hierarchy protocol extension.

Note:
Another related PR in this repository: https://github.com/Microsoft/vscode-languageserver-node/pull/346
The original GH issue for the PR: https://github.com/Microsoft/language-server-protocol/issues/136

Type hierarchy in action with Eclipse Theia and the JDT language server.

Signed-off-by: Akos Kitta<EMAIL_ADDRESS>CC: @svenefftinge

Note that there is now a server implementation of this in clangd (C++ language server), using the protocol proposed here.

@HighCommander4 I wanna know weather this spec is finalized? wait this feature long time and an implement pr merge 823 depends on this spec

@yudar1024 I'm not the spec's author, nor a maintainer of this repo. I just implemented the spec in the clangd language server.
My understanding is the spec continues to be subject to change until it merges. However, clients and servers may choose to implement it eagerly (as we did in clangd), with the understanding that if the spec changes the implementation will need to be updated as well.

@fbricon can you merge first to let developer can use it in early time like clangd,  merge it at this time or after spec be finalize, we both need change the code if the spec make some change. but if we merge at this time , at least it can make vsc more efficient early

I would like you to consider making ´range` optional in the request. This could be used for displaying document level type requests (i. e inheritance chain of the current class).
I would also like to know the status of this proposal, as it seemed to be rather popular.

@Trias there is currently no active work happening to support type hierarchies in LSP.

@Trias there is currently no active work happening to support type hierarchies in LSP.

To clarify: is that just because there's no one driving it forward at the moment? Or is it because the LSP maintainers feel there is no value in this feature?
That is, if someone were to dust off this PR, rebase it to be current, and address any outstanding feedback -- would you / other maintainers continue to entertain it?

Such a request makes sense in LSP. But please keep in mind that beside having a spec part we need an implementation in a client library and client as well.

client meaning vscode? There apparently is already an existing implementation as shown in the first post but in the theia IDE.

We also have a vscode implementation in vscode-clangd.


build: Bump version 0.21.dev0

I have also pushed a tag as we need a build for optislang with the session.parameters.output_parameters.list() Fluent fix.

@prmukherj I've disabled some tests which are failing with the latest image to create the build for optislang. Can you please look into the tests? You can reuse this PR to merge the changes.

@prmukherj I've disabled some tests which are failing with the latest image to create the build for optislang. Can you please look into the tests? You can reuse this PR to merge the changes.

These have started failing with the latest build. Will look into it.


How to pass user_data argument of f to the solver

Hi Tom, perhaps I should not report this as an issue, since it is more of a question as to how to use one of your package's functionalities. I want to pass an extra argument to f, which you call user_data in  examples/cvode_Roberts_dns.jl (and is of type Ptr{Void}). I will use the CVODE solver and I don't know how this user_data argument of f will be passed to CVODE ultimately - does the package support this functionality? As an example, I simply simulated the ODE system below via Sundials.ode (and circumvented the problem by wrapping f2 in f). In this example, the parameters p = [a, b, c] play the role of user_data. Any hints as to whether it is possible to pass them to CVODE via your package will be valuable. Here is the simple example (Fitzhugh-Nagumo ODE system, consisting of 2 ODEs):
# Simulate data from the Fitzhugh-Nagumo ODEs
# d/dt(V) = c*(R+V-V^3/3)
# d/dt(R) = -(V-a+R*b)/c

using Sundials

function f2(t, y, ydot, p)
    ydot[1] = p[3]*(y[2]+y[1]-y[1]^3/3)
    ydot[2] = -(y[1]-p[1]+y[2]*p[2])/p[3]
end

# Time t
t = [i for i in 0.:10]

# Initial conditions y0 = [V, R]
y0 = [-1., 1.];

# Parameters p = [a, b, c]
p = [0.2, 0.2, 3];

f(t, y, ydot) = f2(t, y, ydot, p)

data = Sundials.ode(f, y0, t)

This has been pretty much been made obsolete by fast closures in v0.5:
g = (t,u,du) -> f(t,u,du,p)

or using ParameterizedFunctions.jl (or wrapper functions, or the user_data).


Pls change license to MIT

If I understood correctly, GNU v3, require opensource project where code is used, so if I create game with zapnet, I should open source it?

@edmand46 all it means is that you need to make public any modifications you make to Zapnet itself which you can do as a fork here on GitHub. Your game doesn't need to be open-source, and you can quote me here 👍
https://github.com/deadgg/zapnet/blob/main/LICENSE
You can use Zapnet in any commercial and/or private project.


(ENV200) Automate start up

I noticed it's quite tedious to start the computer of the Van (networking, ssh prep etc.).
I think it's worth investigating various ways to optimise this, we could either try to properly install ubuntu or look at start up scripts.
Skills: Shell scripting, Linux OS & a bit of Networking

Hey Luke & Quang. I think this task is worth looking at first before Autoware installation:
Options:

Try to use the Desktop Image of Ubuntu 22 → We then won't need to use xRDP
Create a sh script that sets up up networking, ssh etc. That is, a random UA software member should be able to use Ubuntu normally (with internet access) without needing to know the settings

Lmk if you need assistance. Post updates/logs, helpful resources and anything else useful on this GitHub Issue.

I haven't been able to come in for the past week but I'll be in tomorrow to work on this task.
Having the desktop version of Ubuntu should improve ease of use so I plan on implementing that. I'll update tomorrow once this is complete.

Thanks for the update! I'll be on campus till 2pm tmr, let me know if you're facing any issues.

Jin and I have installed the desktop image for the van and its working nicely. We did a quick test of the NVidia drivers as well, as that was went wrong last time and there were no problems there either.

Nice work guys! How's the networking though? Is it easy to connect to wifi after sudo reboot?


Session c4cbdecc-a3e0-4062-b3e8-d5837ae92e38. Object reference not set to an instance of an object.

Investigative information
Please provide the following:
UTC Timestamp: 14:30 2020-01-08
Migration Tool App version : Azure App Service Migration Tool V. 1.0.1
OS Version: Windows Server 2016 Essentials

Repro steps
After I choose a site, the system cannot generate assessment report for web site. I attached the json report. Please tell me what is wrong?
AnonAssessmentInfo.json.txt
AnonAssessmentInfo.json.txt
Provide the steps required to reproduce the problem:
Expected behavior
Provide a description of the expected behavior.
Actual behavior
Provide a description of the actual behavior observed.
Known workarounds
Provide a description of any known workarounds.

Hello,
This is a repro of this issue.  We have a fix and will be implementing it soon.
I will let you know when you can try again.
Thanks,
-Wade

Hello @deijii
The fix for this issue is live, and if you try again now you should no longer see this error.
Thank you for reporting this and providing the assessment info details! Please let us know if you have any other issues or feedback about the assessment results.
-Kristina

I've tried it and it already works properly.
Thanks.

Thanks for the confirmation!
-Wade
From: deijii<EMAIL_ADDRESS>Sent: Thursday, January 9, 2020 1:45 AM
To: Azure/App-Service-Migration-Assistant<EMAIL_ADDRESS>Cc: Wade Hilmo<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Azure/App-Service-Migration-Assistant] Session c4cbdecc-a3e0-4062-b3e8-d5837ae92e38. Object reference not set to an instance of an object. (#25)
I've tried it and it already works properly.
Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FApp-Service-Migration-Assistant%2Fissues%2F25%3Femail_source%3Dnotifications%26email_token%3DAJOMS7KIC26ECDFVIRFWK5TQ43W2ZA5CNFSM4KEJLKRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIPVDXI%23issuecomment-572477917&data=02|01|wadeh%40microsoft.com|b5b1de2431cd481e280008d794e8a1be|72f988bf86f141af91ab2d7cd011db47|1|0|637141599183833594&sdata=Icr8eH0Ks%2BjePOa1HFdXNDIS0Kg2fVX3kf66YMaxDig%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJOMS7IR5GZSAIZX2KAC2DLQ43W2ZANCNFSM4KEJLKRA&data=02|01|wadeh%40microsoft.com|b5b1de2431cd481e280008d794e8a1be|72f988bf86f141af91ab2d7cd011db47|1|0|637141599183833594&sdata=Qw8UcqneCL8rEszpbfigSsnwMFqxMwR1G7iZz5adSsA%3D&reserved=0.


Multiple dates selection

How can i achieve multiple dates selection in this API.
My  requirement is when user selects two dates then i have to change the date cells color in b/w these 2 selected dates.
can i achieve my requirement using this API.

#include <stdio.h>
#define NUM_DATES 31 // Assuming 31 date cells
int main() {
int selectedDates[NUM_DATES] = {0}; // Initialize an array to track selected dates
int startDate, endDate;
// Simulate user selecting two dates (for example, 5th and 15th)
startDate = 5;
endDate = 15;

// Mark selected dates in the array
for (int i = startDate; i <= endDate; i++) {
    selectedDates[i] = 1;
}

// Display date cells and change colors based on selection
for (int i = 1; i <= NUM_DATES; i++) {
    if (selectedDates[i] == 1) {
        printf("\x1b[31m"); // Change text color to red (you can customize this)
    }

    printf("%2d ", i);

    if (selectedDates[i] == 1) {
        printf("\x1b[0m"); // Reset text color to default
    }
}

return 0;

}


Porblems with tools

I would like to use the sprite tool, but i can't make it work, the top menu don't load, and when i try to acces it, it dissapear, i need to install anything? i'm running it on an windows 7 OS, and the files are inside Wamp server, i tryed to run the .bat file, but nothing happens... Some clue?

The batch file launches a Java based mini webserver in a command window.  It would only conflict with the Wamp server.  I do not know why the menu bar does not show.


Doesn't work on Atom 1.20.1

On Atom 1.20.1, nothing shows up after clock the Particle icon on the menu bar.

@sprite728 could you post a screenshot of a whole Atom window?

See the screenshot above, if I click on Particle, no dropdown menu will popup.

Thank you! Were there any errors when installing the package? Or did it stopped working after the update to 1.20.1? If it's the second one it's possible the native modules didn't get rebuilt. Reinstalling the packages might help.


fidb

Can these directly copied into hidra/Features/FunctionID/data ?
The headers looks very different than the fidbf files there.
If they cant - why not create fidbf files?
If they can - that would be useful information in the README :)
thanks!

Added https://github.com/threatrack/ghidra-fidb-repo/blob/master/README.md#usage--installation
You can get the unpacked *,fidbf files from https://github.com/threatrack/ghidra-fidb-repo/releases/tag/20200530 to copy them to Ghidra/Features/FunctionID/data.
Hope this fixes your issue.


CliMenu version bump, and TextInputOption for Menu

Hey @nunomaduro !
So, basically this PR is two subjects:
1. CliMenu version bump

CliMenu version bump, that changed namespace Check

2. TextInputOption for Menu

Added public method
addTextInputOption(string $label, string $promptText, string $placeholder = 'Enter text...'): Menu
Consequence of this new feature, that returns only the user written string, also created a new class InputTextOption, to represent it correctly.
Of course, this and the existing MenuOption.php implement the added Interface SelectedOption.php, that only enforces to implement the method getValue() that returns mixed. (existing one was string|int)

Finally

Updated Changelog, hope all ok

Added section on readme, with picture, to document how TextInput may be used, and also demonstrate to use text values (existing one was integers). Check

Hey @nunomaduro , no problem, thank you for your guidance!
So, just commited after our comments, hope all good!! 👍


Dust protection

Changes to this PR:
Now we can set a minSentinelBalanceThreshold for each network on threshold.json file. Every 5min the sentinel will perform a check on the current balance and minSentinelBalanceThreshold sending a notification if account is below that amount.

Changes to this PR:

Only one logic path for liquidation. If we want to avoid threshold we can set an argument flag as false. (default we are going use threshold file)

Changes to this PR:
This PR includes minimal balance alert. Users can set on threshold file the minimal balance the sentinel should have. If we go below that amount one alert is triggered and we notify external apps (slack or telegram)

Changes to this PR:
Added new endpoint liquidationscount that will return next 7 days of liquidations works.


can't move while in the cursor mode of the inventory  / disable key input for binded keys

Hi, I think we should have an option to disable the native key inputs like WASD etc.
For example in the cursor mode of the inventory, you can no longer move while have it open because it picks up the key input AND the joystick input at the same time.
I'm pretty sure this would fix this issue because on the wooting one with the wootility its working flawless with the disabled keys while on the analog profile.
Greetings
Marc aka. Mailon

I just tested the theory on the Wooting One for with and without 'Gamepad Mapping Override', but I can move around with the inventory open in both states just fine (also works fine with the double movement app).
The only (known) problem is that when you try to move around with the inventory open and your mouse moving, your UI glitches out between controller and mouse UI.
This is because the feature 'Lock Input Method as Mouse' in Fortnite does not work in menus. This is likely a bug on the Fortnite developer's end as the description of that setting states it should solve any conflict between Controller and Mouse at the same time.

I believe the only workaround solution Wooting could work on would be to implement automatic switching between 'keyboard movement' and 'controller movement' whenever the 'Cursor Mode' key is held down.
This would require the user to re-bind WASD to movement, and let the app disable WASD whenever the game is in focus with the 'Cursor Mode' key not held down. The user would need to let the app know what key is bound to 'Cursor Mode'.

A feature like this would be great. I had to stop using the app because my inventory would be stuck until I pressed the inventory key again.


Cannot read property 'get' of null

Reopening bug #459. Bug still exists:
Using the following versions:
"react-bootstrap-table-next": "^3.3.1",
"react-bootstrap-table2-editor": "^1.4.0",
"react-bootstrap-table2-paginator": "^2.0.7",
"react-bootstrap-table2-toolkit": "^2.1.2",
Code:
<ToolkitProvider
keyField="uuid"
data={ this.state.students }
columns={ Columns }
exportCSV
exportAll="false"
>
{
props => (

<ExportCSVButton { ...props.csvProps }>Export To CSV

)
}

Pressing "Export to CSV" button returns following console error:
Uncaught TypeError: Cannot read property 'get' of null
at :3000/static/js/0.chunk.js:168336
at Array.map ()
at :3000/static/js/0.chunk.js:168335
at Array.map ()
at transform (:3000/static/js/0.chunk.js:168334)
at CSVOperation._this.handleExportCSV (:3000/static/js/0.chunk.js:168538)
at onClick (:3000/static/js/0.chunk.js:168250)
at HTMLUnknownElement.callCallback (:3000/static/js/0.chunk.js:185718)
at Object.invokeGuardedCallbackDev (:3000/static/js/0.chunk.js:185767)
at invokeGuardedCallback (:3000/static/js/0.chunk.js:185820)
at invokeGuardedCallbackAndCatchFirstError (:3000/static/js/0.chunk.js:185835)
at executeDispatch (:3000/static/js/0.chunk.js:185920)
at executeDispatchesInOrder (:3000/static/js/0.chunk.js:185945)
at executeDispatchesAndRelease (:3000/static/js/0.chunk.js:188829)
at executeDispatchesAndReleaseTopLevel (:3000/static/js/0.chunk.js:188838)
at forEachAccumulated (:3000/static/js/0.chunk.js:188810)
at runEventsInBatch (:3000/static/js/0.chunk.js:188855)
at runExtractedPluginEventsInBatch (:3000/static/js/0.chunk.js:189065)
at handleTopLevel (:3000/static/js/0.chunk.js:189109)
at batchedEventUpdates$1 (:3000/static/js/0.chunk.js:207255)
at batchedEventUpdates (:3000/static/js/0.chunk.js:186327)
at dispatchEventForLegacyPluginEventSystem (:3000/static/js/0.chunk.js:189119)
at attemptToDispatchEvent (:3000/static/js/0.chunk.js:189839)
at dispatchEvent (:3000/static/js/0.chunk.js:189760)
at unstable_runWithPriority (:3000/static/js/0.chunk.js:211416)
at runWithPriority$1 (:3000/static/js/0.chunk.js:196605)
at discreteUpdates$1 (:3000/static/js/0.chunk.js:207272)
at discreteUpdates (:3000/static/js/0.chunk.js:186340)
at dispatchDiscreteEvent (:3000/static/js/0.chunk.js:189739)

Changing line 53 of +react-bootstrap-table2-toolkit\lib\src\csv\exporter.js from:
var cellContent = _.get(row, m.field);
to
var cellContent = row[m.field];
corrects issue.

your example is broken. please create a simple and minimal example on codesandbox so that I can help u efficiently. thanks

Hi,
Here is a codesandbox showing the issue with 2.1.3,
https://codesandbox.io/s/agitated-shaw-5t0jj
And the fix suggested by ahiltgen works. I manually changed the code in /node_modules/react-bootstrap-table2-toolkit/dist/react-bootstrap-table2-toolkit.js, and npm start, then it works correctly on clicking the export csv button.

Why is this issue closed? It has not been fixed.

Hi,
Here is a codesandbox showing the issue with react-bootstrap-table2-toolkit-2.1.3,
https://codesandbox.io/s/agitated-shaw-5t0jj
And the fix suggested by ahiltgen works. I manually changed the code in /node_modules/react-bootstrap-table2-toolkit/dist/react-bootstrap-table2-toolkit.js, and npm start, then it works correctly on clicking the export csv button.

Thank you for posting the codesandbox example.

Changing line 44 of +react-bootstrap-table2-toolkit\lib\src\csv\exporter.js from:
var cellContent = _.get(row, m.field);
to
var cellContent = row[m.field];
corrects issue.

Hi ahiltgen,
It resolve the issue but upon exporting hidden columns are included in exported csv file. Is there any posible way to handle also the hidden columns not to be included.

https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/1417#issuecomment-657180179


The Plugins commands aren't working at all.

What is your Quests version / build number (do not say "latest")?
Describe the problem and how to replicate it. Any console errors to post using a pastebin?
If applicable, can you provide an example quest from quests.yml using a pastebin?

1.17
4.0.5
The Plugins commands aren't working at all.

This is not enough information at all for anyone here to help you. As for commands they are working on 1.17.
You can check "play.browsit.org" on 1.17. It's official Quests test server.


How can I use events?

I'm reading docs at https://chmln.github.io/flatpickr/events/ but can't figure out how to manage events.
I tried this
<template>
    <datepicker :config="options" v-on:on-open="myMethod"></datepicker>
</template>

and this
<template>
    <datepicker :config="options" v-on:onOpen="myMethod"></datepicker>
</template>

and this
<template>
    <datepicker :config="options" @onOpen="myMethod"></datepicker>
</template>

Nothing happens :(
What am I missing?

Found event @input with Vue browser extension.
But when I want to select range it fires twice.
Any suggestions?


Update quirks to match new gamescope-plus rebase

Gamescope-plus will no longer need --force-external-orientation since --force-orientation will now be able to control both real internal and fake external displays.

This looks to have already been taken care of.


feat(#488): Makefile

This pull request fixes #488.
While the AI agent indicates they've created a Makefile with the requested targets, there's not enough evidence in the thread to confirm that all requirements have been successfully implemented and tested. The original issue lists 6 specific targets that need to be created (install, dev, lint, deploy, test, dbseed), and while the agent claims the Makefile "includes all the requested targets," we don't see:

The actual Makefile contents to verify all targets are present
Any test results or verification that the targets work as intended
Confirmation that the deploy target properly handles migrations and collectstatic
Evidence that any of the targets have been tested

To properly resolve this issue, we would need to see:

The complete Makefile with all required targets
Test results showing each target executes successfully
Verification that each target performs its intended function

A proper PR review would require seeing the actual code changes and evidence of testing before marking this as resolved.
Automatic fix generated by OpenHands 🙌

Summary by CodeRabbit

New Features

Introduced a Makefile with phony targets for managing project workflows.

Targets include installation of dependencies, starting the development server, linting, deployment tasks, running tests, and database seeding.

Updated the configuration structure in cookiecutter.json, adding new options for API, database, CSS, HTML, and deployment.

Bug Fixes

Corrected the conditional structure in the environment configuration template to ensure proper handling of the SENTRY_DSN variable.

Style

Improved formatting of template tags and static file references in HTML templates for consistency and readability.
Enhanced readability of environment variable settings in multiple Python files.

@openhands-agent, the Makefile is supposed to belong to the project created by this template. So, it should be inside the {{cookiecutter.project_slug}}/ folder.

@openhands-agent, the Makefile is supposed to belong to the project created by this template, not the template itself. So, it should be inside the cookiecutter.project_slug folder.

@openhands-agent, the Makefile is supposed to belong to the project created by this template, not the template itself. So, it should be inside the {{cookiecutter.project_slug}} folder.

@openhands-agent, the Makefile looks right, but you didn't test it. Run each of the commands and make sure they work. If any of them fails, fix it.

Done in 0c726f0


SkipRuntime cleanups and doc comments

Some cleanups and improved inline documentation for Skip runtime, focusing on skipruntime_api.ts to make sure everything is understandable and well-documented.

I have a PR I was about to put up that renames SKStore to Context, but see you chose Skip here. Which do we want? Personally I prefer Context since it seems to me to be more informative than Skip. WDYT?

Yep, Skip here is not great -- let's go with Context for now. (especially good as Daniel's current PR gets rid of the other internal "Context" from the JS side)
I went with "Skip" initially as it's the proper noun we expect people to use to refer to the whole framework, and these are the global/static operations of the system.  But I agree that it's not very descriptive

Ah, ok, I renamed the other Context too, will rebase.

Re s/EntryPoint/Entrypoint/, AFAIU "entrypoint" isn't a word, it is usually two words "entry point" or at best hyphenated "entry-point", both of which seem to favor EntryPoint over Entrypoint. But I don't know that motivation for this particular change.

Purely vibes-based decision: camel case "EntryPoint" looked odd to me, whereas "Entrypoint" feels more natural.  But obviously not a big deal.

If we want to go for the Context name instead of Skip, it would be easier for me if you dropped the last commit.

I'm making some further changes around the Factory/Builder stuff to streamline things and get rid of some other types, so will keep pressing along with revising the last commit for now, if that's okay with you.


Proposed fix for #1183 - multiple regex within short time might give identical strings

Included:

Test that exposes the issue
Proposed fix:

Use Xeger(pattern, random) constructor overload
Use the same instance of Random each time. I figured it should be enough to avoid the issue with identical seeds.

Fix #1183

@MagnusMikkelsen, thank you for the investigation 👍

You're welcome - I'm having fun 😁

just use lock and plan for perf improvements separately when needed.

I think I agree. In case there are many scenarios out there, that uses the same instance of Fixture to generate the same patterns many times - a major improvement would be to cache Xeger - much greater than those 2ms we gain by sharing the Random.
Just ran a small experiment in linqpad. Creating 1000 Xeger and generating regex takes 2 seconds. Reusing a Xeger to generate 1000 regex took ca 40ms.

@MagnusMikkelsen Thanks for the rework and fixing the concurrency issue. I fully agree that now we can proceed further with the current approach and merge the code. You are guarding by lock only random seed generation, so it sounds reasonable. My concern was about protecting the whole Create() method.
Just in case you are curious, my idea was to have something like:
static private int RandomSeed = Environment.TickCount;
...

new Xeger(new Random(Interlocked.Add(ref RandomSeed, 1)))

This way code is completely lock-free and you are always giving a new seed to random. I believe in this case it doesn't matter whether we just increment seed by one, or use completely random input - the Random class should randomize it anyway.
Anyway, it was just in case you are curious and I'm fine with the current implementation. Let me know when you want me to merge the code.

Just in case you are curious, my idea was to have something like:
new Xeger(new Random(Interlocked.Add(ref RandomSeed, 1)))

From a thread-safety viewpoint, this looks reasonable. In the context of pseudorandom number generators, this must be sampled in order to make sure it'll produce output that is uniformly distributed random and birthday paradox-free, at the very least.

Given @moodmosaic comment, shouldn't we just merge it as is @zvirja ?

@moodmosaic The same should be said about the current approach, shouldn't it? 😉 If none of the approaches was tested to prove the statistical quality of the resulting random sequence, we could just ignore this aspect, assuming that both approaches are equal. And with that we could solely focus on performance aspect.
Anyway, merging the code! Thanks again @MagnusMikkelsen for your help!

Yeah, but at least right we're following the 'pattern' so we're at least consistent.

@aivascu I suggest to drop a new release, so the fix could be consumed. Let me know if you need my assistance on this ;-)

I suggest to drop a new release, so the fix could be consumed

:+1: :confetti_ball: :rocket:

Thanks @MagnusMikkelsen for your work and @zvirja for the great feedback :beers:

@zvirja the release 4.13.0 has been deployed