hctester40 and hctester50 did not receive automatic MLA committee assignments

Describe the bug
Test users should have received automatic membership in MLA committees: Dave did not receive his membership to https://mla.hcommons-staging.org/groups/committee-on-the-literatures-of-people-of-color-in-the-united-states-and-canada/. It is listed in his COmanage profile https://registry.hcommons-dev.org/registry/co_people/canvas/128718.
To Reproduce
Steps to reproduce the behavior:

Register with a test user that has an automatic committee assignment
Go to groups and click on "My Groups"
Check to see that the group is listed.

Expected behavior
The user should have automatic membership in any groups managed in comanage and listed on their comanage profile.
Context
Does this bug on production, development, or both?

[x] Tested on development instance
[x] Occurs on development instance
[x] Tested on production
[x] Occurs on productions

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Ferdinand Test's (hctester40) UP committee memberships worked. His MLA committee--Committee on Disability Issues in the Profession (M037)--did not.

Note: It looks like Dave Test is not a member of that MLA group on production, but is on staging/dev.

MLA group membership is screwy. There's a separate plugin that live queries the MLA's membership API and removes users from memberships if they aren't there. If managed groups work for other societies then I think we're good. We probably shouldn't even test MLA group membership on dev.

We'll need to keep an eye on it in production, but I am reasonably OK with that solution. Closing.


More images to gridview,like infinit scroll.

Hi,How can i put more images to gridview.I want to load more images when scroll reaches bottom something like infinit scroll.How can i update adapter and show more images.Please help

Can anyone help me ?


Updated the embedded links ✅

Signed-off-by: Lavakush biyani<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

Yay @lavakush07 :balloon:

Thank you @Chadha93 🌟


Spawn actor entities with component authority based on lb strat if zo…

Description
When spawning Actor entities with load balancing enabled, we can skip an auth reassignment by directly assigning EntityACL write mapping and authority intent
Before: Actor entities are spawned with UnrealWorker attribute then immediately after authority intent is set correctly and enforcer moves it (each Cube has OnAuthorityGained called twice)

After: Actor entity EntityACLs are set to the lb strategized worker on spawn, so there's no need to immediately load balance on spawn (each Cube has OnAuthorityGained called once)

Note that this is dependent on #1768


Extend filetype detection to shebangs which use env -S

As of GNU coreutils 8.30 (July 2018), env(1) supports an -S/--split-string option, e.g.:
#!/usr/bin/env -S ruby --disable=gems

This allows multiple parameters to be passed to a command rather than processing the whole command as a single argument. This is also supported on FreeBSD, which inspired the feature.
This patch allows Vim to detect (i.e. skip/ignore) this option so that filetype detection continues to work for shebangs which use this option on Linux/FreeBSD.

Codecov Report

Merging #5013 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5013      +/-   ##
==========================================
+ Coverage   81.82%   81.83%   +<.01%
==========================================
  Files         133      133
  Lines      146553   146553
==========================================
+ Hits       119918   119929      +11
+ Misses      26635    26624      -11

Impacted Files
Coverage Δ

src/channel.c
84.18% <0%> (-0.08%)
:arrow_down:

src/gui.c
63.7% <0%> (-0.06%)
:arrow_down:

src/terminal.c
81.81% <0%> (+0.03%)
:arrow_up:

src/gui_gtk_x11.c
58.16% <0%> (+0.04%)
:arrow_up:

src/window.c
88.25% <0%> (+0.06%)
:arrow_up:

src/viminfo.c
75.65% <0%> (+0.52%)
:arrow_up:

src/gui_beval.c
63.36% <0%> (+0.86%)
: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 e8a7dfe...7f9c6c6. Read the comment docs.

As of GNU coreutils 8.30 (July 2018), env(1) supports an -S/--split-string option, e.g.:
#!/usr/bin/env -S ruby --disable=gems

This allows multiple parameters to be passed to a command rather than processing the whole command as a single argument. This is also supported on FreeBSD, which inspired the feature.
This patch allows Vim to detect (i.e. skip/ignore) this option so that filetype detection continues to work for shebangs which use this option on Linux/FreeBSD.

Could you add a test for this in testdir/test_filetype.vim?  It looks
like the "env" style isn't checked at all.
--
TIM: To the north there lies a cave,  the cave of Caerbannog, wherein, carved
in mystic runes, upon the very living rock, the last words of Olfin
Bedwere of Rheged make plain the last resting place of the most Holy
Grail.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


Code for generating oauth tokens

Is there any library for just generating the oauth token part of this? Just the login. I would like to be able to query the internal amazon apis the app uses but am having a hard time capturing the login flow in Fiddler. Thanks.

This uses alexapy. https://pypi.org/project/alexapy/. Check alexalogin as that handles the token capture. Alternatively, authcaptureproxy may be a good example.


Bump dependencies

This PR brings this codebase to more recent standards:

Removes jscs
Updates the code so it won't need babel (minimum node engine changed to 8 because of this)
Removes transpiling
Updates eslint and switches eslint config to use eslint-config-uphold
Bumps lodash to fix some known vulnerabilities

Bonus: adds yarn.lock

I find npm much better than yarn now, but that's just my opinion. Changed to yarn.

I find npm much better than yarn now, but that's just my opinion. Changed to yarn.

I'm not updated on the changes of each of them, but I definitely see value in not requiring a separate tool for the same job. So the suggestion is just for following conventions.


exe not working

everything works fine. the exe is compiled but when I run it nothing works. the bot doesn't even come online i've tried everything but nothing works. please help me deal with this issue.

💀 sucks doesnt happen when i use my own rat.. do you have any errors? while running the file

💀 sucks doesnt happen when i use my own rat.. do you have any errors? while running the file

nothing. the exe works fine and the rat works too but there's nothing on the discord server


missing layout system

breakpoints declaration, responsive design features etc

Sound like a big one. For now i create another one for breakpoints.
isssue related #16


Don't fail if pull status missing status and error key

If the pull status has neither status or error an error would be thrown.

LGTM


Fix some typos

Hi.
I found some typos and fixed them.
Thanks.

Awesome job! Hope to you at the user meetup!


Bug: UTF 8 implemented wrong in readability mode

Describe the bug
Then a data is taken with UTF 8 chars on website in "readability" option next to warc UTF 8 chars are not supported
Steps to reproduce
In an instance of archive box pull a website with UTF 8 chars ( https://www.lrt.lt/ )
In readability mode you instead of chars like "š" you will get "Å¡" or "ė" -> "Ä—" etc.
Screenshots or log output

ArchiveBox version
v0.6.2

Is this still happening for you on 0.7.2?

There is an update first time since 2021! Woohoo!
I updated and tested it looks like it is handling UTF8 charset symbols correctly


Modal offset when screen rotated

Similar to #82 and #94, modalbox is offsetting the modal after screen rotation.  Initially it opens ok:

but after rotation it's incorrect:

Rotating it back doesn't fix it.  The modal must be dismissed and re-opened for it to center properly.
A potential caveat is that our app is using RN 0.34.  However the onLayout behavior remains the same for 0.4x.

State should not be directly mutated at
https://github.com/maxs15/react-native-modalbox/blob/master/index.js#L315

Never mutate this.state directly, as calling setState() afterwards may replace the mutation you made. Treat this.state as if it were immutable.

What is the purpose of the empty setStates at
https://github.com/maxs15/react-native-modalbox/blob/master/index.js#L411
and
https://github.com/maxs15/react-native-modalbox/blob/master/index.js#L238

Experiencing the same issue. Any ideas on how to solve it?

Solved it by replacing the direct mutation of state to setState on lines 315 and 316, as @peacechen mentioned above.
This:
// If the dimensions are still the same we're done
if (height !== this.state.height) this.state.height = height;
if (width !== this.state.width) this.state.width = width;

Should be:
// If the dimensions are still the same we're done
if (height !== this.state.height) this.setState({height: height})
if (width !== this.state.width) this.setState({width: width})

Thanks @mikaelrosquist.  Created PR #141 with your recommended fix.  Did a minor refactor to call setState once instead of twice since height & width both change on rotation.

Thanks @peacechen, going to merge the PR, will be available in the next release


Latest Dart roll blocked by deprecated code in the engine

See: https://github.com/flutter/engine/pull/47175
Failure at:
Analyzing ui...

   info - platform_dispatcher.dart:76:31 - 'UnmodifiableByteDataView' is deprecated and shouldn't be used. Use ByteData.asUnmodifiableView() instead. Try replacing the use of the deprecated member with the replacement. - deprecated_member_use

Likely due to https://dart-review.googlesource.com/c/sdk/+/321922
cc @rakudrama @derekxu16
This issue was caught on Friday morning by the monorepo builder: https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/flutter-linux-flutter-plugins/1367/overview.

Flutter makes it impossible to deprecate something and introduce the replacement in the same CL.
Need to first introduce the replacement, then migrate Flutter, and then deprecate.
(Or, prepare a CL to land in Flutter at the same time, which does the migration. Needs more cooperation.)

revert CL here: https://dart-review.googlesource.com/c/sdk/+/331680

This looks like a 1-line change, can't we just fix the 1 line and let the Dart roll through?
Or do we have evidence the change will impact more than 1 line in the framework?

I am going to revert the revert, but without the deprecation annotations.
Then someone can change the Flutter engine to use the new API.
Who is doing this?

xref go/137054-chat

This is the reapplication of the reverted CL with the @Deprecated annotations commented-out: https://dart-review.googlesource.com/c/sdk/+/331741
Once that lands it will be possible to change
ByteData? _wrapUnmodifiableByteData(ByteData? byteData) =>
    byteData == null ? null : UnmodifiableByteDataView(byteData);

to
ByteData? _wrapUnmodifiableByteData(ByteData? byteData) =>
    byteData?.asUnmodifiableView();

Here is the list of Unmodifiable hits currently in the our repos:

List of `Unmodifiable` references in the engine repo
% git grep Unmodifiable
lib/ui/fixtures/ui_test.dart:    if (result is UnmodifiableByteDataView &&
lib/ui/platform_dispatcher.dart:ByteData? _wrapUnmodifiableByteData(ByteData? byteData) =>
lib/ui/platform_dispatcher.dart:    byteData == null ? null : UnmodifiableByteDataView(byteData);
lib/ui/window/platform_message_response_dart.cc:          byte_buffer = Dart_NewUnmodifiableExternalTypedDataWithFinalizer(
lib/ui/window/platform_message_response_dart.cc:                                        "_wrapUnmodifiableByteData"),
shell/platform/fuchsia/dart-pkg/zircon/test/zircon_tests.dart:      Uint8List fileData = UnmodifiableUint8ListView(mapResult.data);
shell/platform/fuchsia/dart-pkg/zircon/test/zircon_tests.dart:      Uint8List vmoData = UnmodifiableUint8ListView(mapResult.data);

List of `Unmodifiable` references in the framework repo
% git grep Unmodifiable
packages/flutter_tools/lib/src/android/application_package.dart:      UnmodifiableMapView<String, Map<String, String>>(_data);
packages/flutter_tools/lib/src/base/context.dart:            UnmodifiableListView<Type>(_reentrantChecks!.sublist(index)));

Here is the list of Unmodifiable hits currently in the our repos:

Thanks for the lists.

List of Unmodifiable references in the engine repo
% git grep Unmodifiable
lib/ui/fixtures/ui_test.dart:    if (result is UnmodifiableByteDataView &&

This needs to be changed. Perhaps to a try-catch containing an attempted write of a byte that was accessed from the result.

lib/ui/platform_dispatcher.dart:ByteData? _wrapUnmodifiableByteData(ByteData? byteData) =>
lib/ui/platform_dispatcher.dart:    byteData == null ? null : UnmodifiableByteDataView(byteData);

The migration for this is described two messages above.

lib/ui/window/platform_message_response_dart.cc:          byte_buffer = Dart_NewUnmodifiableExternalTypedDataWithFinalizer(
lib/ui/window/platform_message_response_dart.cc:                                        "_wrapUnmodifiableByteData"),

These should work unchanged.

shell/platform/fuchsia/dart-pkg/zircon/test/zircon_tests.dart:      Uint8List fileData = UnmodifiableUint8ListView(mapResult.data);
shell/platform/fuchsia/dart-pkg/zircon/test/zircon_tests.dart:      Uint8List vmoData = UnmodifiableUint8ListView(mapResult.data);

Change these to = mapResult.data.asUnmodifiableView();

List of Unmodifiable references in the framework repo
% git grep Unmodifiable
packages/flutter_tools/lib/src/android/application_package.dart:      UnmodifiableMapView<String, Map<String, String>>(_data);
packages/flutter_tools/lib/src/base/context.dart:            UnmodifiableListView<Type>(_reentrantChecks!.sublist(index)));

These wrapper views are unrelated to the deprecated typed_data classes. No change needed.

CL available: https://github.com/flutter/engine/pull/47276

Fixed in https://github.com/flutter/engine/pull/47276


L 5.2 error

Hi, i get an error after updating to L 5.2
local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to undefined method Illuminate\Foundation\Application::bindShared()' in D:\Workplace\Code\keevo\vendor\xuma\l5whmcs\src\Xuma\Whmcs\WhmcsServiceProvider.php:45
Simply change bindShare to singelton will fix it ;)

Thank you for your report @simonfunk ill check as soon as possible.

Fixed.


SPFx webpart is not working if the classic page contains OOTB webpart

I have ~1.1.0 SPFx framework webpart with Angular1.x framework.
This webpart is working fine if the page does not contain the OOTB Webaprt. The moment i added the OOTB webpart, it stops working. Below is the Error

Note: I have obsereved this behavior only in chrome

As this is NOT around any samples in the this repository, moving this discussion to the sp-dev-docs repository like noted in the issue template.
"Use the following form to submit an issue only if it's related to samples in this repo. If you have an issue related to the SharePoint Framework or its documentation, please submit the issue at https://github.com/SharePoint/sp-dev-docs/issues/new. This will help us respond to your issue faster."

This issue was moved to SharePoint/sp-dev-docs#2048


And also changed the suffix for nydus from converted to nydus.
Signed-off-by: bin liu<EMAIL_ADDRESS>

LGTM! Thanks @liubin for the double check :)


redirect to use or extend redirect response

Currently Redirect does not return a response so its not usable like Starlettes RedirectResponse.
Is there another approach or just use Starlettes?
@post()
async def post_login(
    self,
    data: UserLogin = Body(media_type=RequestEncodingType.URL_ENCODED),
) -> Response:
    response: Response = RedirectResponse(url="/somewhere", status_code=303)
    response.set_cookie(...)

    return response

The reason for asking is you have to remember where the imports are coming from rather than just importing straight from starlite your also importing from starlette. I think would just make it cleaner

You can use the after_request hook to modify the response Starlite creates.

Yes I know that, however I am doing stuff in the handler first before passing values into the cookie.

So what's the problem exactly? You can do what you do and return a redirect response as is. What's the issue with this setup?

The is no issue per say. Just a nice to have for consistency.
from starlite import Controller, HTTPException, RedirectResponse, get, post

# rather than
from starlette.responses import RedirectResponse
from starlite import Controller, HTTPException, get, post

I guess I am use to fastapi where mostly everything comes from the same framework rather then having to remember this comes from the underlying framework.
Sorry if it wasn't clear feel free to close.

The is no issue per say. Just a nice to have for consistency.
from starlite import Controller, HTTPException, RedirectResponse, get, post

# rather than
from starlette.responses import RedirectResponse
from starlite import Controller, HTTPException, get, post

I guess I am use to fastapi where mostly everything comes from the same framework rather then having to remember this comes from the underlying framework.
Sorry if it wasn't clear feel free to close.

I see, you basically want re-exports. I'd suggest you switch to an IDE that handles this for you.

See #338 I opened above


[AVCapture] Torch is not turning off instantly, after called device.torchMode = .off and getting dim images after torch

Describe the bug
What we want is, we wanna capture image, after torched for few seconds. It's working fine from lowest to iPhoneX. Start from iPhone 11 to latest the torch is not turning off instantly, when the function called the torched off. It's turning off after a few milliseconds I guess, kind of delay in turning off. And after flash, few images are dim and dark. Trigger the torch method is look like below.
Steps To Reproduce
Steps to reproduce the behavior:

Trigger torch for 2 seconds
Turn off the torch
Then, check the images from the preview stream.

**Note: It's only happen from iPhone11 to higher model . **
...
Expected behavior
A clear and concise description of what you expected to happen.
The torch supposed to stop instantly after we turn off, like we want the same behavior from iPhoneX to lower model.
Screenshots
This is the first image that we got after we stop the torch

And the second image looks dark and dim, it supposed to be same because we locked the exposure, white balance, other staff

Environment (please fill out the following information)

OS: M1 pro
Xcode Version/Tag/Branch: Version 13.4.1 (13F100)

Additional context
trigger flash code snippet
public func triggerFlash() {
        sessionQueue.async {
            if let device = self.device {
                let milliseconds = 2000
                let seconds: Double = Double(milliseconds / 1000)

                if device.hasTorch {
                    do {
                        try device.lockForConfiguration()
                        // Set Torch brightness to max
                        try device.setTorchModeOn(level:  AVCaptureDevice.maxAvailableTorchLevel)
                        device.torchMode = .on
                        device.unlockForConfiguration()
                        Logger.log("Torch On")
                        self.sessionQueue.asyncAfter(deadline: .now() + seconds) {
                            do {
                                let device = self.device!
                                try device.lockForConfiguration()
                                device.torchMode = .off
                                device.unlockForConfiguration()
                                Logger.log("Torch Off")
                            } catch {
                                Error.throwNative(result, "try device.lockForConfiguration() Failed in triggerFlash() \(error)")
                            }
                        }
                    } catch {
                        Error.throwNative(result, "try device.lockForConfiguration() Failed in triggerFlash() \(error)")
                    }
                } else {
                    result(false)
                }
            } else {
                Error.throwNative(result, "First select and start the camera")
                return
            }
        }
    }

Hi @shinewanna, this is a place to report bugs related to the Swift compiler, not Apple frameworks. Please post your question over at Apple Developer forums - https://developer.apple.com/forums/.


GT3X-csv data, g.part1(): Error in g.getstarttime, object 'starttime0' not found

Hi Vincent,
I am trying to use GGIR (version" 1.5-12) to analysis the csv file converted from .gt3x file (timestamps not exported). However, when I use the g.part1 function, I got the following error:
Loading block: 1Error in g.getstarttime(datafile = datafile, P = P, header = header, mon = mon,  :
object 'starttime0' not found
If possible, could you kindly let me advise me on this?  Thanks a lot!!!
Regards,
Jiali
==============the whole output chunk:

g.part1("./in", "./out", f0 = 1, f1= 1, desiredtz = "Asia/Shanghai")
[1] "P1 file1"
[1] "---------------------------------------------"
[1] "investigate calibration of the sensors..."

Loading block: 1 2 3 4 5 6 7
Summary of autocalibration procedure:
Status:
[1] "recalibration done, no problems detected"
Calibration error (g) before:
[1] 0.01400207
Callibration error (g) after:
[1] 0.005550402
Offset correction:
[1] -0.007008119 -0.006828931 -0.010021307
Scale correction:
[1] 0.9972895 1.0184210 0.9945531
Number of hours used:
[1] 84
Number of 10 second windows around the sphere:
[1] 24203
Temperature used (if available):
[1] FALSE
Temperature offset (if temperature is available):
[1] 0 0 0

[1] "get meta data..."
Loading block: 1Error in g.getstarttime(datafile = datafile, P = P, header = header, mon = mon,  :
object 'starttime0' not found

Below is the header i got when I use g.inspectfile():
$header
value
First line                               X.............Data.File.Created.By.ActiGraph.GT3X..ActiLife.v6.11.7.Firmware.v1.9.0.date.format.dd.MMM.yy.at.80.Hz..Filter.Normal............
Serial Number:                                                                                MOS2D30160316
Start Time                                                                                12:00:00
Start Date                                                                                18-Oct-16
Epoch Period (hh:mm:ss)                                                                                00:00:00
Download Time                                                                                06:16:14
Download Date                                                                                16-Nov-16
Current Memory Address:                                                                                0
Current Battery Voltage: 4.18     Mode =                                                                                12
Thanks a lot!!
Regards,
Jiali

I figured out why.... should be the date format "dd-mmm-yy" that cause the problem. I changed the date format in the raw file to "mm/dd/yyyy", then it works~~

Thank you Jiali for reporting this, I just created a new issue for this to be addressed in one of the upcoming releases of GGIR.

Thanks you very much Vincent~~ Merry Christmas and wish you a happy new year~~
Regards,
Jiali
On 24 Dec 2017, at 4:15 AM, Vincent van Hees <notifications<EMAIL_ADDRESS>wrote:
Thank you Jiali for reporting this, I just created a new issue for this to be addressed in one of the upcoming releases of GGIR.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/wadpac/GGIR/issues/54#issuecomment-353745852, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APnnksGan7IqcqyAxOXgVvcLDbBGGsCmks5tDV9SgaJpZM4QN6yU.

This fix will also be included in the next release on CRAN in the upcoming days.


Cards Display and selection

[ ] Not-revealed cards should be displayed other than the asterisks (like a 'flipped card')
[ ] One should only be able to submit the exact number of requested cards
[ ] Other Player's picking should not lead to unselect my own cards
[ ] If multiple cards were picked by the players, those should be displayed grouped.
[ ] Line breaks should be displayed accordingly (line break is indicated by \)

Inspiration for cards: https://stackoverflow.com/a/53816039


No actual headers in response?

Hi, I am using this plugin version 0.1.10 with akka-http 10.0.0, akka 2.4.14 and scala 2.11.8.
Unfortunately I don't see any actual headers in the response:
 val settings = CorsSettings.defaultSettings
  val routes = cors(settings) {
    complete("yo")
  }

will return
HTTP/1.1 200 OK
Server: akka-http/10.0.0
Date: Fri, 09 Dec 2016 11:45:27 GMT
Connection: close
Content-Type: text/plain; charset=UTF-8
Content-Length: 2

yo

Have you seen this before? Thanks for any help!

Whooops my bad. I wasn't sending the "Origin" header in the http request. Sorry for the time spent reading this!


Error when adding a new item in the Style palet

Hello,
I downloaded the test dev version. When I go to settings > Content Editor Settings > Style palette and I click on "Add new item", I get an error in a popup :

"array_merge(): Argument #1 is not an array" on line 2 of /modules/backend/formwidgets/taglist/partials/_taglist.htm

Any ideas to fix that ?
Thanks
Alex

I can't fix it, this issue is inside october "taglist"
https://github.com/octobercms/october/issues/2254

Ok thank you for your answer. How did you handle the problem ? (I see that in the plugin screenshot, you defined some styles).

I edit octoberCMS file (_taglist.htm), in that issue is how to solve that


Error when trying to install the version<EMAIL_ADDRESS>

{    "ResourceType": "gcp-types/cloudfunctions-v1:projects.locations.functions",    "ResourceErrorCode": "400",    "ResourceErrorMessage": {       "code": 400,       "details": [          {             "@type": "type.googleapis.com/google.rpc.BadRequest",             "fieldViolations": [                {                   "field": "function",                   "description": "Invalid JSON payload received. Unknown name \"availableMemoryMB\" at 'function': Cannot find field."                }             ]          }       ],       "message": "Invalid JSON payload received. Unknown name \"availableMemoryMB\" at 'function': Cannot find field.",       "status": "INVALID_ARGUMENT",       "statusMessage": "Bad Request",       "requestPath": "https://cloudfunctions.googleapis.com/v1/projects/.../functions",       "httpMethod": "POST"    } }

what is the solution i am also facing same issue

when will the new version will be live on firebase extension ?? or is there way to manually change when can i expect to get this working

I'm sorry it is causing any annoyance with your workflow.
At the moment the only solution would be to install a previous version like 0.14.0, you need to make sure you set the memory size of the function to 1024MB while installing the extension.
I'm waiting for a reply from Firebase team on this question: https://stackoverflow.com/questions/77269318/to-set-a-minimum-default-value-for-the-memory-of-a-firebase-extension-function and as soon as they provide an answer I will update the extension.
If I don't get an answer there in 2 days I will try to contact Firebase team directly, I hope we can resolve this issue in less than 5 days.
My understanding is that it has happened because of a change in Firebase API which wasn't communicated with extension developers. After all Firebase extension is still in beta stage and this kind of backward incompatible changes in the API are expected.

I think this issue is resolved in the latest rc:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Please check it and if it's good we'll publish version 0.14.2

Yes, this has resolved the issue. Thanks.

Thanks for testing it! I just published version 0.14.2, usually it takes 1 or 2 days for Firebase team to review new versions.


Fix to #7429 - StartsWith() filter slow with use of SQL CHARINDEX()

Fix is to use more permanent translation:
property.StartsWith(pattern) => property LIKE pattern + '%' AND LEFT(property, LEN(pattern)) = pattern
Also fixed minor issue with null semantics where we would apply C# null semantics for comparisons to null-valued parameters

new version up @anpete @smitpatel


Add multiple filter options for log #4360

Add username,tag, operation filter options  for log。#4360
Add spin div height for unjump when testing #4359

Coverage increased (+0.03%) to 64.521% when pulling 8f90e9c987a259fa9ad11e7d28cbfbb95f2604ab on pengpengshui:fixIssues into 5420f7ff0e0194f167af7095f24729509b78c498 on vmware:master.


Hash table possibility instead a list

Premisse
For performance case and better scale of glossary, hash tables based information makes the key<->value match faster and easier to scale in matter of matching data through endpoints.
Case of today
GET and endpoint returns a list of objects for the dictionary, if I want to list them all, that's fine, if I need to match one specific word I have to run through the list looking for it.
Use of hash table
If data could be organised like this:
{
  barril: { dialect: 'barril', meanings: [ ... ], examples: [ ... ] },
  migue: { dialect, 'Migué', meanings: [ ... ], examples: [ ... ] }
}

If I want to understand some word, I would just do:
const barril = baianes['barril'];

That way the key<->value matching would be faster and easier to find a word inside the dictionary.
Other "wins" inside this decision
Organising .json files would be way easier, adding new words either. Instead of having a full file of it, you can place everything in a folder like:
dialects
\_ baianes
   \_ barril.json
   \_ migue.json
    ...etc

The root endpoint would get everything as a collection and display it in a hash table structure in order to show the full collection;
And now you can easily provide a deeper "foldering" endpoint to get specific words, like:

GET https://dialetus-service.now.sh/dialects/baianes/barril-dobrado

response example:
{
  barrilDobrado: {
    "dialect": "Barril Dobrado",
    "meanings": [
      "Problema muito grande",
      "Situação muito complicada",
      "Pessoa de grande Qualiadde"
    ],
    "examples": [
      "Isso ai é barril vey",
      "Você é barril dobrado meu pivete",
      "Eu sou barril dobrado"
    ]
  },
}

Wow, that is amazing! I liked the proposal, thinking about scalability, long-term and even about other projects that may arise in the future. Please send a PR for the project!

I'll work on that, but I'm kinda slow these times working in something quite complex. I will start writing the implementation and tech specs for it. :tada:

Hi there :)
When you're dealing with search tables, depending on the context, you would be more interested in having not a hash table, but a prefix tree or a ngrams tree, so you can execute partial searches on terms.
The trie is fairly simple to build not requiring an external tool to do so, bu the n-grams are way more complicated and interesting :)
Some inspirational examples:
https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-ngram-tokenizer.html
https://whoosh.readthedocs.io/en/latest/ngrams.html
One other thing is in regards to Data/Search index model. In most search engines, you have a clear separation between the data you store and the search indexes you use. So a good thing on this idea is to turn the Data model into a K/V store, but keep an index for it in another data structure, so that the data is easily addressable via Key, but searchable via a more elaborate search index :)

@mateusduboli You're absolutely right about using trees for search purposes, I was being simplistic in my solution and didn't consider a better searchable solution for looking for words. 🤦♂
Instead of having a user readable JSON file, we would design some logic to retrieve data from searched characters. It makes sense to me. Is this aligned with the project long run expectations @mvfsillva?

I think the JSON file idea is not bad at all (see the last paragraph), as it enables a KV like semantics in data retrieval which is ideal.
The tree index could be a different PR to implement text searches on the document.
I can hack a bit on that as it was sort of a side project of mine to implement a simplistic database.

On 3 Jul 2019, at 14:17, Matheus Marsiglio<EMAIL_ADDRESS>wrote:
@mateusduboli You're absolutely right about using trees for search purposes, I was being simplistic in my solution and didn't consider a better searchable solution for looking for words. 🤦♂
Instead of having a user readable JSON file, we would design some logic to retrieve data from searched characters. It makes sense to me. Is this aligned with the project long run expectations @mvfsillva?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I found it super interesting, I did not know the ngram tree, I think it completely aligns with the expectation of the project.
If I understand this correctly it will improve the performance to look for words and also in the semantics of the data storage

Hey, guys, @mtmr0x @mateusduboli let's do it \0/

I have spent some time studying what lucene does internally to get some inspiration.
This weekend I'll open a PR :)

On 30 Sep 2019, at 21:58, Marcus Silva<EMAIL_ADDRESS>wrote:
Hey, guys, @mtmr0x @mateusduboli let's do it \0/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


fix(lib/doc): fix jsdoc and typo

When I read Koa's source, I noticed some typo errors in JSDoc and documentation, so I tried to fix them.

@hustLer2k @gxkl
Hi,
Can you pls check this changes? Thx


Silero-VAD Meta Hallucinations

I noticed while transcribing some of my own audio that near-silence doesn't get removed during VAD. In fact, running noisereduce actually made the problem dramatically worse, making 10 seconds of falsely detected speech into a minute and a half of falsely detected speech.
Apologies if I'm referring to the wrong version of Silero but it seems like this a known issue / feature(tm). https://github.com/snakers4/silero-vad/issues/396
Preforming a volume filter along with VAD might solve a fair number of hallucinations and might even remove the need to set condition_on_previous_text to False prevent the hallucinations from ruining the rest (section) of the transcription.
I'm down to try it out and open a PR if you all are welcome to it. Before I do though, I'm curious if this came up when adding the hallucination detection logic.
It'd be really nice to have in this library so that I don't have to preform a second layer of timestamp adjustments.

@TedTimbrell , hello. Feel free to open a new PR, and could you attach an example audio ?

@TedTimbrell any follow up on this?

fyi latest silero-vad version (v5) seems to have solved this (last comment on the linked issue). Perhaps the model could be updated on faster-whisper?


Fix: optimizing without the schema is inconsistent

What's the motivation behind these changes?

the optimizer sometimes makes wrong decisions when there's no schema. and the incorrectly optimized query gets cached. so even when we get the schema, we've already cached a bad result

I see, thanks for clarifying.

so even when we get the schema, we've already cached a bad result

What would be a scenario where we don't have schema at the time of optimization, but we learn it later on? Is this possible right now somehow?


[BUG] CI Kube-OVN Conformance E2E (ipv4, overlay) err kubevirt crd not exist

Kube-OVN Version
master
Kubernetes Version
1.30
Operation-system/Kernel Version
1
Description

Steps To Reproduce
run ci
Current Behavior
Kube-OVN Conformance E2E (ipv4, overlay) err kubevirt crd not exist
Expected Behavior
Kube-OVN Conformance E2E (ipv4, overlay) no err

Please attach the github actions workflow URL.

Please attach the github actions workflow URL.

等复现了我再贴一下，忘记贴了。


Check Redis utilization of Root server

@kumarnarendra701  please share how much memory is assigned and how much it's utilized.

@athandle - It seems resource utilization is good for Redis.
Stage-
NAME             CPU(cores)   MEMORY(bytes)
redismaster-0    2m           7Mi
redisreplica-0   2m           7Mi
redisreplica-1   2m           7Mi
redisreplica-2   2m           7Mi

Prod -
NAME                    CPU(cores)   MEMORY(bytes)
redismaster-0           3m           7Mi
redisreplica-0          2m           7Mi
redisreplica-1          2m           7Mi
redisreplica-2          2m           7Mi

@cconstab let us know if it's fine and we can close this ticket

Wow sure thanks for checking

@kumarnarendra701 I'll close this one, but can you please open a fresh ticket to make this a regular check.


Added --days control to npm grab script

Answering half of my own question by adding --days control to the npm grab script that invokes epg-grabber.

It does seem to fall back to 1 day when the DAYS= argument isn't passed, ignoring the default --days value in /sites/example.com/example.com.config.js all together. Maybe creating a copy of the grab script inside /package.json (like grab-days) would be a better solution for compatibility.
What do the maintainers think of this matter?

We store all site settings in configs, so there is no need to specify additional arguments. But if you need more fine-tuning you can just use epg-grabber directly, like so:
npx epg-grabber --config=sites/example.com/example.com.config.js --channels=sites/example.com/example.com.channels.xml --output=guides/{lang}/{site}.xml

The same goes for the channel list, you can simply create a file with only the channels you want and specify the path to it.

We store all site settings in configs, so there is no need to specify additional arguments. But if you need more fine-tuning you can just use epg-grabber directly, like so:
npx epg-grabber --config=sites/example.com/example.com.config.js --channels=sites/example.com/example.com.channels.xml --output=guides/{lang}/{site}.xml

The same goes for the channel list, you can simply create a file with only the channels you want and specify the path to it.

@freearhey
In my opinion that defeats the purpose of this repository: a central actively maintained source of active and working grabbers with their config. From my point of view there is no need to set a "fixed" number of days per grabber site, unless the source starts putting out wild errors when you ask for to many days.
Same goes for white-/blacklisting channels. Building my own channels.xml defeats the purpose of this repository. Since it seems much less work to use the channels.xml from iptv-org as a base and then making some smaller adjustments of the scope by white-/blacklisting a small part of a premade channels.xml. I'm not looking to remake a custom personal channels.xml every time this repo is updated and a channel is added or removed that lays within my interest of watching.


[WIP] Add More standard protonation sates of HIS

Introduce HIE, HID, HIP residues to bond order matching.

@mwojcikowski : I haven't reviewed this since it's marked as WIP. Let me know when you'd like an actual review. I'm happy to take a look before it's done if you want.

I'm thinking of going further with this since there are a lot of problems with current implementation. If you came across unknown (unless to RDKit) residue, then all bonds are single, which leads to terrible connectivity, like hydrogenated backbone O. How do you feel about extending the list of less common residues? (only protein ones)
I'd have to go through loads of PDBs to catch most of them and see what we can do about it.

Having support for non-standard, but common, residues would certainly be reasonable.
It's probably worth thinking at some point about providing a mechanism for client code to provide their own list of residues and definitions, but that's likely not for this PR.


Build failure with GHC 8

> /tmp/stackage-build9$ stack unpack traverse-with-class-<IP_ADDRESS>
Unpacked traverse-with-class-<IP_ADDRESS> to /tmp/stackage-build9/traverse-with-class-<IP_ADDRESS>/
> /tmp/stackage-build9/traverse-with-class-<IP_ADDRESS>$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup configure --package-db=clear --package-db=global --package-db=/home/stackage/work/builds/nightly/pkgdb --libdir=/home/stackage/work/builds/nightly/lib --bindir=/home/stackage/work/builds/nightly/bin --datadir=/home/stackage/work/builds/nightly/share --libexecdir=/home/stackage/work/builds/nightly/libexec --sysconfdir=/home/stackage/work/builds/nightly/etc --docdir=/home/stackage/work/builds/nightly/doc/traverse-with-class-<IP_ADDRESS> --htmldir=/home/stackage/work/builds/nightly/doc/traverse-with-class-<IP_ADDRESS> --haddockdir=/home/stackage/work/builds/nightly/doc/traverse-with-class-<IP_ADDRESS> --flags=
Configuring traverse-with-class-<IP_ADDRESS>...
> /tmp/stackage-build9/traverse-with-class-<IP_ADDRESS>$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup build
Building traverse-with-class-<IP_ADDRESS>...
Preprocessing library traverse-with-class-<IP_ADDRESS>...
[1 of 6] Compiling Data.Generics.Traversable.Core ( Data/Generics/Traversable/Core.hs, dist/build/Data/Generics/Traversable/Core.o )
[2 of 6] Compiling Data.Generics.Traversable.TH ( Data/Generics/Traversable/TH.hs, dist/build/Data/Generics/Traversable/TH.o )

Data/Generics/Traversable/TH.hs:29:7: error:
    • The constructor ‘DataD’ should have 6 arguments, but has been given 5
    • In the pattern: DataD _ n ps cs _
      In a case alternative:
          DataD _ n ps cs _ -> (n, map varName ps, map conA cs)
      In the second argument of ‘($)’, namely
        ‘case decl of {
           DataD _ n ps cs _ -> (n, map varName ps, map conA cs)
           NewtypeD _ n ps c _ -> (n, map varName ps, [conA c])
           _ -> err ("not a data type declaration: " ++ show decl) }’

Fixed, thanks again.
(I've also updated stack in the meantime, and signing worked this time.)

W00t
On Thu, May 26, 2016 at 6:26 PM, Roman Cheplyaka<EMAIL_ADDRESS>wrote:

Closed #3 https://github.com/feuerbach/traverse-with-class/issues/3.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/feuerbach/traverse-with-class/issues/3#event-673324626


A year after making my last crossword with exolve 0.23, I'm making another one and I think better check for an update and I see you've been hard at work making this already amazing app even better.
Good onya!
Jona

Thanks!
I've also been working on a companion software called "Exet," which is a grid construction web app. You can create crosswords and save as Exolve as well as .puz. Please give it a shot if you find the time, at: http://exet.app (the github project is at https://github.com/viresh-ratnakar/exet).

Love to. I use qxw and while it's good there's not an easy way to port it
into exolve.
Jona
#please note my email address has changed:

<EMAIL_ADDRESS>(general)
<EMAIL_ADDRESS>(fire brigade matters)

Jonathan Sykes
+61404719997
On Fri., 6 Nov. 2020, 19:30 Viresh Ratnakar<EMAIL_ADDRESS>wrote:

Thanks!
I've also been working on a companion software called "Exet," which is a
grid construction web app. You can create crosswords and save as Exolve as
well as .puz. Please give it a shot if you find the time, at:
http://exet.app (the github project is at
https://github.com/viresh-ratnakar/exet).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/viresh-ratnakar/exolve/issues/54#issuecomment-722948710,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBJIAJZRENLWG2PUVSVP4DSOOXZLANCNFSM4TMF37AQ
.

I just used exet/exolve to make a test widget crossword for a blog.
Brilliant, a total breeze.
I have a couple of suggestions, non critical:

Is it explicit enough for those installing locally that exet and
exolve share common files? It's good that you direct people to the console
for help, but the console doesn't tell you where to obtain the missing
files. Good use for promise syntax?
I think it's generally good UX to show an alert if something is
copied to your clipboard (Exet save menu), in case they had clipboard
contents related to this same task eg a destination email address, that
you've now overwritten.
Let's say you want to use the widget method, but you want to host
your own js and css files. Could you have a couple of text boxes for the
urls of those resources that replace your hosted links in the widget
snippet? Maybe as part of a preferences menu?

Once again, congratulations on your very powerful and elegant apps.
Jonathan
@@-?
( -
the fashion and sober design
will make you special
@@-?
( -
the fashion and sober design
will make you special
On Mon, 9 Nov 2020 at 11:31, Jonathan Sykes<EMAIL_ADDRESS>wrote:

Love to. I use qxw and while it's good there's not an easy way to port it
into exolve.
Jona
#please note my email address has changed:

<EMAIL_ADDRESS>(general)
<EMAIL_ADDRESS>(fire brigade matters)

Jonathan Sykes
+61404719997
On Fri., 6 Nov. 2020, 19:30 Viresh Ratnakar<EMAIL_ADDRESS>wrote:

Thanks!
I've also been working on a companion software called "Exet," which is a
grid construction web app. You can create crosswords and save as Exolve as
well as .puz. Please give it a shot if you find the time, at:
http://exet.app (the github project is at
https://github.com/viresh-ratnakar/exet).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/viresh-ratnakar/exolve/issues/54#issuecomment-722948710,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBJIAJZRENLWG2PUVSVP4DSOOXZLANCNFSM4TMF37AQ
.

I did #2. For #1 I'm not quite sure what you mean (I think all the files mentioned have links... what did I miss?). For #3 hmm: it's easy enough to edit the plain text exolve file/code to do this. I'm not sure the added complexity is warranted. But we can discuss.
I'm closing this bug (thx again for all the kind words!). Please feel free to open Exet-specific new issues in Exet (https://github.com/viresh-ratnakar/exet) rather than here.


chore(Dependencies) : update zio, zio-streams from 1.0.18 to 2.0.18

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-streams

from 1.0.18 to 2.0.18 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
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!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #666.


[FEATURE] Add Attribute mapping in Subaccount Role Mapping Create

What area do you want to see improved?
terraform provider
Is your feature request related to a problem? Please describe.
Hi Team,
We are trying to mange the custom role collections in our BTP tenant via terraform. While we can create the role collections the attribute mapping to the SAML attributes is still a manual activity
Is it possible to get attribute mapping added via terraform ?
Describe the solution you would like
Add attribute mapping into role collections via terraform
Describe alternatives you have considered
Manual workaround
Additional context
No response

Yes I was looking for this only..thanks
On Thu, 8 Aug 2024, 2:48 pm Vipin Menon, @.***> wrote:

Hi @brahammittal https://github.com/brahammittal ,
There is a resource subaccount_role_collection_assignment
https://registry.terraform.io/providers/SAP/btp/latest/docs/resources/subaccount_role_collection_assignment
where you can assign attributes and attribute values.
Is this what you are looking for?
—
Reply to this email directly, view it on GitHub
https://github.com/SAP/terraform-provider-btp/issues/878#issuecomment-2275348556,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH4VHKFEZF7SUTABBGTBPIDZQMZXVAVCNFSM6AAAAABMEMCJO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZVGM2DQNJVGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

:)


Add notice of Deprecated WebExtension proxy APIs to release notes (Irene)

The proxy.register() and proxy.unregister() functions will be deprecated as of Firefox 68.

[ ] Notice of the deprecation added to the Firefox 68 release notes.

Added the following note to the release notes:
The The proxy.register() and proxy.unregister() functions have been deprecated and will be removed from Firefox 71 (bug 1545811).


Fix 410

Pull Request Checklist:

[x] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #410 !

[x] Tests for the changes have been added (for bug fixes / features)

[ ] (If applicable) Documentation has been added / updated (for bug fixes / features)

[x] CHANGELOG.rst has been updated (with summary of main changes)

[x] Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

Add water_cycle_intensity indicator

Does this PR introduce a breaking change?
No
Other information:

coverage: 89.453% (+0.008%) from 89.445%
when pulling 8d1079720df98efdc2faaa238d32933745d0f59e on fix-410
into dd37e5a4975d4b7a3abef2f6778686a6486f8373 on main.


Fix debugging support on iOS

Reviewers @andreipt @daniel-beard

I actually don't get why this fix works :( But I tested it with and without several times and the results were conclusive.
[self init] should do the same thing as [super init] right? The fact that -(instancetype)init wasn't implemented in the base class means that [self init] would just go to super right? @daniel-beard ?


Installing online installer the whole system is different from the live host system

Question
Installing online installer the whole system is different from the live host system and dock is not opening no animation it looks like default gnome and after opening extension various extension are showing red and showing not supported this gnome .But in ofline installer the system is same in videos and live usb while installing but after upgrading system it changes the system as i told u above default gnome looks ugly have you any fix

and while installing tools showing break dependency

Can you share screenshots and error message?

Ya i get the same issue as well. Also, after picking a role and setting it and downloading all the tools I still don't get the Quick Menu thing that is on the live install

@umop3plsdn @Forsaken0129 it occurs because currently the Arch Linux environment is migrating to GNOME 45. All those elements you see in the video have been already migrated to GNOME 45, so they have been disabled on Athena (that has GNOME 44) until Arch maintainers will release GNOME 45. After that, all the elements of GNOME will become again available.

gotcha! thanks for the headsup. So would doing the offline install fix that for the time being?

gotcha! thanks for the headsup. So would doing the offline install fix that for the time being?

Maybe yes but you must not upgrade the system (at least until GNOME 45 is released on Arch repo).

@Forsaken0129 were you able to get this fixed? If not, you can download the latest iso from https://sourceforge.net/projects/athena-iso/files/rolling/ and @D3vil0p3r has fixed those issues. I was able to install without issue with it and choose my role.

Closing for inactivity.


Custom lifetimes for Boxed and BoxedLocal

I just discovered the futures-lite crate and I thought "let me try to convert some trivial code that I have using futures to this lighterweight crate". And it's great because I trimmed 20 seconds of build time!
Unfortunately, the conversion wasn't as clean as I hoped because BoxedLocal currently seems to enforce a 'static lifetime... and I have a piece of code that was previously using LocalBoxFuture and requires a different lifetime. I was able to easily workaround this by redefining BoxedLocal to take a custom lifetime and then directly using Box::pin instead of FuturesExt::boxed_local(). See this commit.
But I think it'd be nice if the interface in futures-lite supported a custom lifetime on its own for both Boxed and BoxedLocal. Thoughts?

I personally never needed a boxed future that wasn't 'static. :)
A question: why is your function returning a LocalBoxFuture<'a, Result<()>>? Why not define an async fn so that the future is an anonymous type? I suppose because you want to be the return type to be nameable? If so, why not define a new future type, e.g. DoIfFuture<'a>?
The main drawback I see here is that the future is always boxed, even if it is used temporarily on the stack. But also, this might not be a problem when impl Trait syntax becomes usable in more places than today - and by that I mean type Foo = impl Trait syntax.

If you are suggesting to remove the boxed futures and simply declare all those functions as async fn... I wasn't able to do that because:
recursion in an `async fn` requires boxing

recursive `async fn`

note: a recursive `async fn` must be rewritten to return a boxed `dyn Future` rustc(E0733)

exec.rs(242, 65): recursive `async fn`

To be honest, this is the first async code I wrote in Rust, so I might be missing something obvious.

Ah, I see now. This seems unfortunate. :/
A way to solve this is to parametrize Boxed<T> over a lifetime like so: Boxed<'a, T>. To do this change, we'd have to bump the major version of futures-lite since it's a breaking change. My other reservation is that this might be a sort of niche case that makes Boxed<'static, T> a bit uglier than it is right now.
Another solution, which isn't a breaking change, would be to change the return type of boxed() and boxed_local() functions so that they return a lifetime-parametrized type. See here for a proof of concept: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=344083ee923760405baffb7e6ba961d5

I published futures-lite v1.1.0 that parametrizes boxed() and boxed_local() over a lifetime.
Now you can keep writing async fn. The trick is then to call such an function, box its returned future, and then call it. For example:
let f = self.do_if(branches).boxed_local();
f.await?;

So the idea is that the caller of the function boxes the future rather than the function itself.

Hey Stjepang, thanks for your attention so far.
I gave this a try and it seems to work. Thanks! But I'm confused about why the let f indirection is necessary. If I combine the two lines such that they say boxed_local().await? the compiler still complains about the recursive calls... but not with the f temporary.

If I combine the two lines such that they say boxed_local().await? the compiler still complains about the recursive calls... but not with the f temporary.

I'm a bit surprised by that too. It's probably because the compiler has a rather simplistic check for recursive async fn calls, and doesn't understand that foo().boxed_local().await is okay.
Even { let f = foo().boxed_local(); f }.await works fine, so it seems the compiler demands that the recursive call and await must be in different statements.


Option: Clicking notification goes straight to Github

Right now, clicking a notification takes you to Gitify. I wish there was an option to go straight to Github instead.

Implemented & Ready for next release!


Add EGL support (And config struct)

Now that EGL support has been added to sokol_app.h, it would make sense that the zig counterpart would also support it as a flag or something related.
I wrote a small patch which would allow for the zig build process to link towards EGL and use the right flags.
Maybe this code is a bit dirty, but that's what pull requests are for :)

I am genuinely not sure about the extra function parameter, it looks like it could break a lot of existing things, and I feel like this will need something like a struct for general configuration later on as Wayland support is being implemented...

I am genuinely not sure about the extra function parameter, it looks like it could break a lot of existing things,

Breaking compatibility should be ok, projects using the bindings would either copy them into their project, or integrate it as a git submodule. In both cases the build would only break after deliberately updating the bindings.
But a few smaller changes would be nice similar to the Wayland PR:

use the idea of a struct for configuration, but call that struct 'Config' instead of DisplayServer. This config struct could start with a single use_egl boolean, the current backend arg should also eventually move into this Config struct, but I can take care of that later.
also like in the Wayland PR, it would be nice if the config options are exposed as build options, so that they can be set from the command line

I was also thinking about something, is it really necessary to still support GLX? as far as I know, EGL is supported on pretty much anywhere and gives more freedom to what kind of OpenGL context is obtained.
Anyways, I will do a little sketch and upload it in a second :)

I think it could be useful if you could left off certain sokol libraries, for example, skip sokol_audio if you want to use another library for audio

I've just added Wayland build support, as https://github.com/floooh/sokol-zig/pull/30 needs, based upon what I saw implemented on that PR's build.zig, It works with and without the Wayland sokol_app.h patch.
Again, I insist on considering to drop GLX support altogether and just use EGL, it would greatly simplify things as I can see a great part of the X11 implementation being based upon GLX which does not bring any sort of realistic gain over just using EGL, in my opinion.
I've also noticed that making certain parts of sokol optional would be pretty easy to implement, i dont think all of them need to be optional since some of them don't even leave any trace in the output binary if they're not used in the code itself, but some of them create linker dependencies; sokol_app.h, sokol_gfx.h and sokol_audio.h come to mind.

Note that for Wayland support you would need to generate your own bindings using the so far 'inofficial' Wayland PR. Not sure how much sense it makes to put that into the vanilla build.zig file, might just be confusing to users when they try it out and it doesn't work.

And merged, thanks! I'll probably add a comment about the X11 vs Wayland flags so that users are not confused.


How can I style Touchable border?

I want to change the border color and border size of the border that gets renders with . There is no property for this, and somehow I am unable to do this even through CSS.

I presume you're referring to the focus outline of Touchable? Gestalt is somewhat opinionated with regards to outlines for the sake of accessibility and consistency across all inputs. If you'd like to change those properties, I fear the best solution is to fork the package and modify the styles.

Thank you!


Category, Functor, Monad, Comonad, etc. should mention algebraic laws

For example, the algebraic laws for categories say that, for any arrow f. f;id == id;f == f. These laws are essential for functors and monads.

I consider myself somewhat literate when it comes to functional programming (it was love at first sight), so naturally (or not?), I went straight down to the monad definition, kind of hoping for a mindblowing simple (possibly wrong, but practical) description. Next I went to Issues to create an issue to show my disappointment but thinking I ought to keep it constructive. Imagine my dismay and complacency when I realized somebody has already done it.
tldr. It's not an understatement if I say I do not understand the aforementioned definitions.


GROOVY-9340: return type, not type redirect

https://issues.apache.org/jira/browse/GROOVY-9340

Merged. Thanks.


Include options to sample using dynesty or emcee

Currently using dynesty as default, but should add functionality to use the MCMC that Gilles originally implemented.

After putting in so much work into the prior transformations, and the improvement in the uncertainty estimation with the nested sampling over the initial MCMC implementation, I have decided to forgo this inclusion. If someone else decides to do this and it can be done elegantly, feel free to PR.


Wrong indentation for call with lambda argument and trailing call

ktfmt currently generates the following code (with 6 spaces of indentation between the first and second line):
runnable {
      // ...
    }
    .schedule()

If I remove the trailing call, it generates:
runnable {
  // ...
}

The generated code with the trailing call breaks the flow of the braces. In general a rule I expect is that the closing brace will be in the same column as the first character in the line where the opening brace is. Otherwise, the code looks like there might be a missing brace somewhere.
Instead of that weird indentation: any of the following would be acceptable:
runnable {
  // ...
}.schedule()

^ The above might be ideal when there's only one trailing call.
runnable {
  // ...
}
.schedule()

runnable {
  // ...
}
  .schedule()

runnable {
  // ...
}
    .schedule()

Notice that this is the opposite expectation than https://github.com/facebookincubator/ktfmt/issues/270. In that issue, they expected the closing brace to be indented further than the line of the opening brace, so they are in the same column as the trailing calls.
Possibly this behavior was an intended change in 0.31, but I can't seem to find the rationale behind it. Messing with the symmetry of the braces seems worse than not matching the closing brace with the trailing calls.

I believe this is the same as #326.

Yeah, this is expected, it's about avoiding "floating" in the chaining (so keep the closing parenthesis with the next .) and avoid confusing args with the next parts of the chain.

This was indeed an intentional change.
Maybe @davidtorosyan could provide more context if you still desire it

I don't think this was introduced in 0.31.
Here's some code formatted with 0.44 through 0.15:
class Foo {
  fun bar() {
    // sample 1
    runnable {
          someCode() // run
        }
        .schedule()

    // sample 2
    runnable {
      someCode() // run
    }
  }
}

And here's the same code formatted with 0.13 and earlier (note that 0.14 is missing):
class Foo {
  fun bar() {
    // sample 1
    runnable {
      someCode() // run
    }
        .schedule()

    // sample 2
    runnable {
      someCode() // run
    }
  }
}

I'm relatively sure this was done in c8b7b31f77d786f4c2b3ab622a1b93cea6561831 by @strulovich while working qualified expressions.
I also have the impression that this is due to the rectangle rule, and that doing it any other way would result in more issues. If anyone wants to look into this further, the easiest way might be to update the code and compare the unit tests before and after.

As a side note, to test this I had to download the jars from maven. It would be really nice if the website supported multiple versions.


Can not download the video_db file

Hi, Linjie Li:
Thank you for your open-source.
I am downloading your extract feature using bash scripts/download_tvr.sh $PATH_TO_STORAGE.
However,hero/video_db/tv.tar seems to have a problem with downloading. I have nearly downloaded for one day and the download always failed.

Do you mind check that file or provide another approach like google drive or baidu netdisk?

Have successfully downloaded it today.


Feature request: validate() to return validated payload

Use case
The Validation feature in Powertools uses fastjsonschema.validate() to perform the validation.  This function in fastjsonschema returns the validated payload.  While usually this is exactly the same as the input payload, fastjsonschema also populates default values in missing fields.  For example, with this schema:
{
  "properties": {
   "required_id": {
    "type": "integer"
   },
   "test_default": {
    "type": "string",
    "default": "def"
   }
  },
  "required": [
   "required_id"
  ],
  "type": "object"
}

And this payload:
{
  "required_id": 1234
}

The validate() function will return:
{
  "required_id": 1234,
  "test_default": "def"
}

Solution/User Experience
I'm wondering if we can have the Powertools validate() function return the results from fastjsonschema.validate().
Alternative solutions
No response
Acknowledgment

[X] This feature request meets Powertools for AWS Lambda (Python) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

Nice!! Didn’t know it was a thing (default values) — feel free to make a
pull request and a simple test to confirm the returned value, and we can
prioritize it for this Thursday’s release (otherwise when we have the
bandwidth to do so).
Thanks a lot for flagging it
On Mon, 22 Jul 2024 at 17:48, boring-cyborg[bot] @.***>
wrote:

Thanks for opening your first issue here! We'll come back to you as soon
as we can.
In the meantime, check out the #python channel on our Powertools for AWS
Lambda Discord: Invite link https://discord.gg/B8zZKbbyET
—
Reply to this email directly, view it on GitHub
https://github.com/aws-powertools/powertools-lambda-python/issues/4797#issuecomment-2243281405,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZPQBAEOGUAGIYJPFFGA7DZNUSVZAVCNFSM6AAAAABLITB546VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTGI4DCNBQGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***
.com>

I did some work on this last week but ran into trouble getting the tests to run in the cloud development environment for some reason.  I'll try to revisit it this week.

See: https://github.com/aws-powertools/powertools-lambda-python/pull/4839


Unity 2021.3 Inspector IMGUI on Array or List Broken

Seems like the layout at 2021.3 doesn't work as in 2021.2.
Seems like something changed between this two versions which breaks the IMGUI for the SceneReferencer.

A comparison between the unfolded version in 2021.3

and 2021.2 might help

seems like maybe this is a change that might have broken the property drawer for the SceneReference component.

https://forum.unity.com/threads/case-1412863-inspector-renders-data-of-first-element-of-array-over-the-others-when-expanded.1258950/

Unity 2021.3.4 is broken


Making Python env manager path variable configurable

In some restricted environments, the tmp directory to create python environments has to be configurable. This PR allows for the same using an environment variable TMP_PY_ENV_PATH. No breaking changes expected unless this env variable is set.

@Tabrizian @kthui Please review this update.

@tanmayv25 Please review this change


Sometimes no broken links found after cloning region

Motivation
After a region has been cloned, sometimes the analytics section does not show broken links.
Proposed Solution
Find out why they are not automatically created
Alternatives
manually starting the process
Additional Context
If #1383 is being implemented as well, the search should be triggered after the links have been updated.

If I create enough translations with many links, I can reproduce this behavior (not that there are no links at all, but that there are links from outdated versions - and if these do not contain links at all, I might also reproduce the behavior described in the issue).
It is indeed some kind of race condition between the post save signals and the creation of new translation elements.


[BUG]Issues repacking res it gives issues with apktool_dummy in integers.xml and dimens.xml

Information
Apktool 2.5.1-145201-SNAPSHOT
Stacktrace/Logcat
Include stacktrace here
I: Using Apktool 2.5.1-145201-SNAPSHOT
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'wfcSpnFormat' has no default translation.
W: Failed to generate resource table for split ''
W: C:\Users\Sac23\Desktop\hhh\framework-res\res\values\integers.xml:361: error: Error: String types not allowed (at 'APKTOOL_DUMMY_72' with value '').
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Sac23\AppData\Local\Temp\brut_util_Jar_64426037738495893106265858736697657594.tmp, p, --forced-package-id, 1, --min-sdk-version, 29, --target-sdk-version, 29, --version-code, 29, --version-name, 10, --no-version-vectors, -F, C:\Users\Sac23\AppData\Local\Temp\APKTOOL9077465573776423434.tmp, -x, -e, C:\Users\Sac23\AppData\Local\Temp\APKTOOL5862047175049083314.tmp, -0, arsc, -S, C:\Users\Sac23\Desktop\hhh\framework-res\res, -M, C:\Users\Sac23\Desktop\hhh\framework-res\AndroidManifest.xml]

Steps to Reproduce
apktool d framework-res.apk
apktool b framework-res
Frameworks
samsung framework-res,apk
APK
framework-res.zip
Questions to ask before submission
im having issues repacking res it gives issues with apktool_dummy
in integers.xml and dimens.xml

I got a different crash, then tried 2 and got something else.
aapt2
W: brut_util_Jar_3092712356914815515190864867650699858.tmp F 12-04 06:04:19  9546  9546 PrivateAttributeMover.cpp:84] Check failed: priv_attr_type->entries.empty()
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 134): [/tmp/brut_util_Jar_3092712356914815515190864867650699858.tmp, link, -o, /tmp/APKTOOL8933757585618793637.tmp, --package-id, 1, --min-sdk-version, 29, --target-sdk-version, 29, --version-code, 29, --version-name, 10, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, -x, -e, /tmp/APKTOOL2080178795101919544.tmp, -0, arsc, --manifest, /home/ibotpeaches/Downloads/Apktool/2462/framework-res/AndroidManifest.xml, /home/ibotpeaches/Downloads/Apktool/2462/framework-res/build/resources.zip]
➜  2462

aapt1
➜  2462 apktool b framework-res
I: Using Apktool 2.5.1-d1c006-SNAPSHOT
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: /home/ibotpeaches/Downloads/Apktool/2462/framework-res/res/values/styles.xml:1253: error: Resource entry Theme.Holo already has bag item textEditSuggestionItemLayout.
W: /home/ibotpeaches/Downloads/Apktool/2462/framework-res/res/values/styles.xml:1252: Originally defined here.

Not sure yet.

Many Dummy files are created when decompil/recompil in dimens, strings and integers. Style dobles are normals, just remove it from styles and done.
But for Dummy files lines, its crazy, there are Many, maybe more than 100 and also created in public.xml
Wow
W: C:\Users\admin\Desktop\TickleMyAndroid_WorkArea2_working\framework-res.apk\res\values\dimens.xml:1343: error: Error: String types not allowed (at 'APKTOOL_DUMMY_242' with value '').
W: C:\Users\admin\Desktop\TickleMyAndroid_WorkArea2_working\framework-res.apk\res\values\public.xml:9256: error: Public symbol dimen/APKTOOL_DUMMY_242 declared here is not defined.
W: C:\Users\admin\Desktop\TickleMyAndroid_WorkArea2_working\framework-res.apk\res\values\integers.xml:361: error: Error: String types not allowed (at 'APKTOOL_DUMMY_22' with value '').

This issue started for me after a commit which changed how dummy attributes were produced, this one I think,
https://github.com/iBotPeaches/Apktool/commit/1422293b71b99806ef0afdf6ae9b8abdfb3087ac

This issue started for me after a commit which changed how dummy attributes were produced, this one I think,
https://github.com/iBotPeaches/Apktool/commit/1422293b71b99806ef0afdf6ae9b8abdfb3087ac

This issue started for me after a commit which changed how dummy attributes were produced, this one I think,
1422293

This is intentional and I don't think I'll be reverting this. This is a much better approach than previous and falls in line with aapt2 restrictions.

This issue started for me after a commit which changed how dummy attributes were produced, this one I think,
1422293

This is intentional and I don't think I'll be reverting this. This is a much better approach than previous and falls in line with aapt2 restrictions.

I have some similar errors:
I: Building resources...
W: D:\apk\res\values\anims.xml:30: error: Found tag anim where item is expected
W:
W: D:\apk\res\values\ids.xml:415: error: Found tag id where item is expected
W:
W: D:\apk\res\values\layouts.xml:137: error: Found tag layout where item is expected

anims.xml:30 is:
    <anim name="APKTOOL_DUMMY_18" />
ids.xml:415 is:
    <id name="APKTOOL_DUMMY_4" />
layouts.xml:137 is:
    <layout name="APKTOOL_DUMMY_24" />

I have some similar errors:
I: Building resources...
W: D:\apk\res\values\anims.xml:30: error: Found tag anim where item is expected
W:
W: D:\apk\res\values\ids.xml:415: error: Found tag id where item is expected
W:
W: D:\apk\res\values\layouts.xml:137: error: Found tag layout where item is expected

anims.xml:30 is:
    <anim name="APKTOOL_DUMMY_18" />
ids.xml:415 is:
    <id name="APKTOOL_DUMMY_4" />
layouts.xml:137 is:
    <layout name="APKTOOL_DUMMY_24" />

I have some similar errors:
anims.xml:30 is:
 <anim name="APKTOOL_DUMMY_18" />
ids.xml:415 is:
 <id name="APKTOOL_DUMMY_4" />
layouts.xml:137 is:
 <layout name="APKTOOL_DUMMY_24" />

The problem is that it doesn't assign the elements as item type. Just add the elements in the correct syntax and it will work.
<anim name="APKTOOL_DUMMY_18" /> to <item type="anim" name="APKTOOL_DUMMY_18" />
 <id name="APKTOOL_DUMMY_4" /> to  <item type="id" name="APKTOOL_DUMMY_4" />
and
 <layout name="APKTOOL_DUMMY_24" /> to  <item type="layout" name="APKTOOL_DUMMY_24" />
And with any other resource file you have to do the same. Since it will surely not solve this, I am creating a program for my own use that detects and modifies these values automatically when I finish decompiling.

I have some similar errors:
anims.xml:30 is:
 <anim name="APKTOOL_DUMMY_18" />
ids.xml:415 is:
 <id name="APKTOOL_DUMMY_4" />
layouts.xml:137 is:
 <layout name="APKTOOL_DUMMY_24" />

The problem is that it doesn't assign the elements as item type. Just add the elements in the correct syntax and it will work.
<anim name="APKTOOL_DUMMY_18" /> to <item type="anim" name="APKTOOL_DUMMY_18" />
 <id name="APKTOOL_DUMMY_4" /> to  <item type="id" name="APKTOOL_DUMMY_4" />
and
 <layout name="APKTOOL_DUMMY_24" /> to  <item type="layout" name="APKTOOL_DUMMY_24" />
And with any other resource file you have to do the same. Since it will surely not solve this, I am creating a program for my own use that detects and modifies these values automatically when I finish decompiling.

I have some similar errors:
I: Building resources...
W: D:\apk\res\values\anims.xml:30: error: Found tag anim where item is expected
W:
W: D:\apk\res\values\ids.xml:415: error: Found tag id where item is expected
W:
W: D:\apk\res\values\layouts.xml:137: error: Found tag layout where item is expected

anims.xml:30 is:
 <anim name="APKTOOL_DUMMY_18" />
ids.xml:415 is:
 <id name="APKTOOL_DUMMY_4" />
layouts.xml:137 is:
 <layout name="APKTOOL_DUMMY_24" />

The problem is that it doesn't assign the elements as item type. Just add the elements in the correct syntax and it will work.
<anim name="APKTOOL_DUMMY_18" /> to <item type="anim" name="APKTOOL_DUMMY_18" />
 <id name="APKTOOL_DUMMY_4" /> to  <item type="id" name="APKTOOL_DUMMY_4" />
and
 <layout name="APKTOOL_DUMMY_24" /> to  <item type="layout" name="APKTOOL_DUMMY_24" />
And with any other resource file you have to do the same. Since it will surely not solve this, I am creating a program for my own use that detects and modifies these values automatically when I finish decompiling.

I have some similar errors:
I: Building resources...
W: D:\apk\res\values\anims.xml:30: error: Found tag anim where item is expected
W:
W: D:\apk\res\values\ids.xml:415: error: Found tag id where item is expected
W:
W: D:\apk\res\values\layouts.xml:137: error: Found tag layout where item is expected

anims.xml:30 is:
 <anim name="APKTOOL_DUMMY_18" />
ids.xml:415 is:
 <id name="APKTOOL_DUMMY_4" />
layouts.xml:137 is:
 <layout name="APKTOOL_DUMMY_24" />

The problem is that it doesn't assign the elements as item type. Just add the elements in the correct syntax and it will work.
<anim name="APKTOOL_DUMMY_18" /> to <item type="anim" name="APKTOOL_DUMMY_18" />
 <id name="APKTOOL_DUMMY_4" /> to  <item type="id" name="APKTOOL_DUMMY_4" />
and
 <layout name="APKTOOL_DUMMY_24" /> to  <item type="layout" name="APKTOOL_DUMMY_24" />
And with any other resource file you have to do the same. Since it will surely not solve this, I am creating a program for my own use that detects and modifies these values automatically when I finish decompiling.

I have the same problem with this APK https://apkcombo.com/apk-downloader/?arches=armeabi-v7a&q=com.snailgameusa.aowd
I: Using Apktool 2.5.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources has changed...
I: Building resources...
W: C:\Users\xxxxx\temp\Decompiled\res\values\layouts.xml:3: error: Found tag layout where item is expected
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\bbeb\AppData\Local\Temp\brut_util_Jar_55542029603479449803030860669184764945.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 29, --version-code, 230, --version-name, 23.0.0, --no-version-vectors, -F, C:\Users\bbeb\AppData\Local\Temp\APKTOOL1324230165080781216.tmp, -e, C:\Users\bbeb\AppData\Local\Temp\APKTOOL7033925294973435639.tmp, -0, arsc, -I, C:\Users\bbeb\AppData\Local\apktool\framework\1.apk, -S, C:\Users\xxxxx\temp\Decompiled\res, -M, C:\Users\xxxxx\temp\Decompiled\AndroidManifest.xml]

I have the same problem with this APK https://apkcombo.com/apk-downloader/?arches=armeabi-v7a&q=com.snailgameusa.aowd
I: Using Apktool 2.5.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources has changed...
I: Building resources...
W: C:\Users\xxxxx\temp\Decompiled\res\values\layouts.xml:3: error: Found tag layout where item is expected
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\bbeb\AppData\Local\Temp\brut_util_Jar_55542029603479449803030860669184764945.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 29, --version-code, 230, --version-name, 23.0.0, --no-version-vectors, -F, C:\Users\bbeb\AppData\Local\Temp\APKTOOL1324230165080781216.tmp, -e, C:\Users\bbeb\AppData\Local\Temp\APKTOOL7033925294973435639.tmp, -0, arsc, -I, C:\Users\bbeb\AppData\Local\apktool\framework\1.apk, -S, C:\Users\xxxxx\temp\Decompiled\res, -M, C:\Users\xxxxx\temp\Decompiled\AndroidManifest.xml]

In the same manner https://github.com/iBotPeaches/Apktool/issues/2501
[16:38 edu@xps tmp] >  apktool b com.wireguard.android
I: Using Apktool 2.5.0
I: Copying com.wireguard.android classes.dex file...
I: Copying com.wireguard.android classes2.dex file...
I: Checking whether resources has changed...
I: Building resources...
W: Failed to generate resource table for split ''
W: /tmp/com.wireguard.android/res/values/drawables.xml:7: error: Error: String types not allowed (at 'APKTOOL_DUMMY_b' with value '').
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_137844021837667621165916702805564322097.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 30, --version-code, 485, --version-name, 1.0.20201224, --no-version-vectors, -F, /tmp/APKTOOL251826602113890625.tmp, -e, /tmp/APKTOOL17608074881270986798.tmp, -0, arsc, -I, /home/edu/.local/share/apktool/framework/1.apk, -S, /tmp/com.wireguard.android/res, -M, /tmp/com.wireguard.android/AndroidManifest.xml]

In the same manner https://github.com/iBotPeaches/Apktool/issues/2501
[16:38 edu@xps tmp] >  apktool b com.wireguard.android
I: Using Apktool 2.5.0
I: Copying com.wireguard.android classes.dex file...
I: Copying com.wireguard.android classes2.dex file...
I: Checking whether resources has changed...
I: Building resources...
W: Failed to generate resource table for split ''
W: /tmp/com.wireguard.android/res/values/drawables.xml:7: error: Error: String types not allowed (at 'APKTOOL_DUMMY_b' with value '').
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_137844021837667621165916702805564322097.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 30, --version-code, 485, --version-name, 1.0.20201224, --no-version-vectors, -F, /tmp/APKTOOL251826602113890625.tmp, -e, /tmp/APKTOOL17608074881270986798.tmp, -0, arsc, -I, /home/edu/.local/share/apktool/framework/1.apk, -S, /tmp/com.wireguard.android/res, -M, /tmp/com.wireguard.android/AndroidManifest.xml]

Alright, in my case, I fixed it by removing
<layout name="APKTOOL_DUMMY_3a" />
<layout name="APKTOOL_DUMMY_5a" />

From \res\values\layouts.xml
And also removing
<public type="layout" name="APKTOOL_DUMMY_3a" id="0x7f09003a" />
<public type="layout" name="APKTOOL_DUMMY_5a" id="0x7f09005a" />

From res\values\public.xml
Compiled successfully and the game is working fine so far

Alright, in my case, I fixed it by removing
<layout name="APKTOOL_DUMMY_3a" />
<layout name="APKTOOL_DUMMY_5a" />

From \res\values\layouts.xml
And also removing
<public type="layout" name="APKTOOL_DUMMY_3a" id="0x7f09003a" />
<public type="layout" name="APKTOOL_DUMMY_5a" id="0x7f09005a" />

From res\values\public.xml
Compiled successfully and the game is working fine so far

Same thing here. For me, downgrade to 2.4.1 worked

I found the fastest way to remove all APKTOOL_DUMMY in few clicks. The game i encounted, had a thousands of  APKTOOL_DUMMY in/res/values/. So I use notepad++ and do regex search and replace all though /res/values/
^.*(APKTOOL_DUMMY).*$
This regex match a whole line containing APKTOOL_DUMMY

There are of course a possibility it may break something. Games with removed APKTOOL_DUMMY have been working fine for me so far
Before:
I: Using Apktool 2.5.0
I: Smaling smali folder into classes.dex...
I: Building resources...
W: D:\APK Easy Tool\1-Decompiled APKs\_com,bilibili,gcg2,aligames_1,1,28\res\values\ids.xml:64: error: Found tag id where item is expected
W:
W: D:\APK Easy Tool\1-Decompiled APKs\_com,bilibili,gcg2,aligames_1,1,28\res\values\layouts.xml:3: error: Found tag layout where item is expected
W:

After:
I: Using Apktool 2.5.0
I: Smaling smali folder into classes.dex...
I: Building resources...
I: Copying libs... (/lib)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...

I found the fastest way to remove all APKTOOL_DUMMY in few clicks. The game i encounted, had a thousands of APKTOOL_DUMMY in/res/values/. So I use notepad++ and do regex search and replace all though /res/values/ removing lines
^.*(APKTOOL_DUMMY).*$
This regex match a whole line containing APKTOOL_DUMMY

There are of course a possibility it may break something. Games with removed APKTOOL_DUMMY have been working fine for me so far
Before:
I: Using Apktool 2.5.0
I: Smaling smali folder into classes.dex...
I: Building resources...
W: D:\APK Easy Tool\1-Decompiled APKs\_com,bilibili,gcg2,aligames_1,1,28\res\values\ids.xml:64: error: Found tag id where item is expected
W:
W: D:\APK Easy Tool\1-Decompiled APKs\_com,bilibili,gcg2,aligames_1,1,28\res\values\layouts.xml:3: error: Found tag layout where item is expected
W:

After:
I: Using Apktool 2.5.0
I: Smaling smali folder into classes.dex...
I: Building resources...
I: Copying libs... (/lib)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...

Wow it working perfectly on framework-res.apk Oneui 3.1 for S20 G98x !
Well done !

sometimes using option --use-aapt2 will do the trick

From logcat output I get
03-23 18:25:10.312   930   930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk 03-23 18:25:10.312   930   930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk 03-23 18:25:10.312   930   930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk 03-23 18:25:10.312   930   930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk 03-23 18:25:10.312   930   930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk 03-23 18:25:10.312   930   930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk
After recompiling the app with @Krowne 's solution, and it doesn't start.
I noticed that these issues happen when the apk was split files - for example:
`INFO: Executing command: 'adb shell pm path com.withbuddies.diceellen'

package:/data/app/com.withbuddies.diceellen-1/base.apk
package:/data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk
package:/data/app/com.withbuddies.diceellen-1/split_config.en.apk
package:/data/app/com.withbuddies.diceellen-1/split_config.hdpi.apk`

Maybe I am just not decompilig/recompilig correctly in that case?
Can someone enlighten me on how we proceed with split apks?

@Xaxoxuxu you can get single APK from Apkcombo to save your time. No need to deal with split APK https://apkcombo.com/en-dk/apk-downloader/?device=&arches=&sdkInt=&sa=1&lang=en&dpi=480&q=com.withbuddies.diceellen
Apkcombo is safe and i have been using it since it was born

Your error doesn't seem to be in the resources folder but in the assets folder. My solution was for when can't compile due to resources, fixing it. However, I am going to add a script that I am currently using to modify all the strings containing the problems mentioned above without using external programs. Note that this does not fix issues with asset and apps splits. Note that this does not fix issues with asset and apps splits.
You have to put the file in the root folder of the project (where AndroidManifest.xml is located).
@echo off
cd res
call :limp anims.xml anim
call :limp drawables.xml drawable
call :limp ids.xml id
call :limp layouts.xml layout
call :limp mipmaps.xml mipmap
cd..
pause
exit

:limp vFile vChange
@FOR /f "delims=" %%f IN ('dir /b /s "%1" 2^>nul') DO (
	set /a "idx+=1"
	set "FilePath[!idx!]=%%~dpFf"
)
if errorlevel 1 goto theend

for /L %%i in (1,1,%idx%) do (
	IF EXIST "!FilePath[%%i]!" (
		powershell -Command "(gc !FilePath[%%i]!) -replace '<%2 ', '<item type=\"%2\" ' | Out-File -encoding ASCII !FilePath[%%i]!")
	)
)
:theend
exit /b

This script is for cmd on Windows, if someone knows they can adapt it for Linux.

From logcat output I get
03-23 18:25:10.312 930 930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk 03-23 18:25:10.312 930 930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk 03-23 18:25:10.312 930 930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk 03-23 18:25:10.312 930 930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk 03-23 18:25:10.312 930 930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk 03-23 18:25:10.312 930 930 E ResourcesManager: failed to add split asset path /data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk
After recompiling the app with @Krowne 's solution, and it doesn't start.
I noticed that these issues happen when the apk was split files - for example:
INFO: Executing command: adb shell pm path com.withbuddies.diceellen package:/data/app/com.withbuddies.diceellen-1/base.apk package:/data/app/com.withbuddies.diceellen-1/split_config.armeabi_v7a.apk package:/data/app/com.withbuddies.diceellen-1/split_config.en.apk package:/data/app/com.withbuddies.diceellen-1/split_config.hdpi.apk
Maybe I am just not decompilig/recompilig correctly in that case?
Can someone enlighten me on how we proceed with split apks?

Your error doesn't seem to be in the resources folder but in the assets folder. My solution was for when can't compile due to resources, fixing it. However, I am going to add a script that I am currently using to modify all the strings containing the problems mentioned above without using external programs. Note that this does not fix issues with asset and apps splits. Note that this does not fix issues with asset and apps splits.
You have to put the file in the root folder of the project (where AndroidManifest.xml is located).
@echo off
cd res
call :limp anims.xml anim
call :limp drawables.xml drawable
call :limp ids.xml id
call :limp layouts.xml layout
call :limp mipmaps.xml mipmap
cd..
pause
exit

:limp vFile vChange
@FOR /f "delims=" %%f IN ('dir /b /s "%1" 2^>nul') DO (
	set /a "idx+=1"
	set "FilePath[!idx!]=%%~dpFf"
)
if errorlevel 1 goto theend

for /L %%i in (1,1,%idx%) do (
	IF EXIST "!FilePath[%%i]!" (
		powershell -Command "(gc !FilePath[%%i]!) -replace '<%2 ', '<item type=\"%2\" ' | Out-File -encoding ASCII !FilePath[%%i]!")
	)
)
:theend
exit /b

This script is for cmd on Windows, if someone knows they can adapt it for Linux.

I've exported the .apk from the files (using the native support from SO) without using any tool. It did exported the .apk but the .apk didn't install at all. In my case "APKTOOL_DUMMY" also appeared. I realized just after reading @AndnixSH's answer. So I used the apkcombo in order to export the .apk and it did work properly.

I have some similar errors:
I: Building resources...
W: D:\apk\res\values\anims.xml:30: error: Found tag anim where item is expected
W:
W: D:\apk\res\values\ids.xml:415: error: Found tag id where item is expected
W:
W: D:\apk\res\values\layouts.xml:137: error: Found tag layout where item is expected

anims.xml:30 is:
 <anim name="APKTOOL_DUMMY_18" />
ids.xml:415 is:
 <id name="APKTOOL_DUMMY_4" />
layouts.xml:137 is:
 <layout name="APKTOOL_DUMMY_24" />

The problem is that it doesn't assign the elements as item type. Just add the elements in the correct syntax and it will work.
<anim name="APKTOOL_DUMMY_18" /> to <item type="anim" name="APKTOOL_DUMMY_18" />
 <id name="APKTOOL_DUMMY_4" /> to  <item type="id" name="APKTOOL_DUMMY_4" />
and
 <layout name="APKTOOL_DUMMY_24" /> to  <item type="layout" name="APKTOOL_DUMMY_24" />
And with any other resource file you have to do the same. Since it will surely not solve this, I am creating a program for my own use that detects and modifies these values automatically when I finish decompiling.

This worked for me

Bug fixed with latests commits.
Now working (decompil and recompil).
I used apktool-2.5.1-caee50-SNAPSHOT-small


Remove isCleared property from RealmResultsChanges

isCleared should not be available in RealmResultsChanges
Fixes #1189

This doesn't seem correct to me. You can convert a list to results and subscribe for notifications. I would expect that to emit isCleared correctly when the underlying list is cleared.

Ok, I will revert these changes and will add a new test. Thank you for noticing this @nirinchev!


When a users signs in and signs out, it is possible to save an event without a user relation

issue was with how the application cleared the cookies, this issue has been resolved


Mobile UI Zooming

Hi there, thanks for the hard work, I want to ask for a change in the mobile ui, I don't know how to do, but I know its probably a simple fix.
I have an iOS device and safari likes to zoom in text boxes, there's some fixes to prevent this behavior and it would be extremely helpful for us in iOS.
Sorry for my low effort issue, hope you understand my suggestion.
Thanks

@augustobob Try adding this:
<meta
  name="viewport"
  content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>

into layout.tsx in the <head> section, like this:
export default async function RootLayout({
  children,
  params: { locale }
}: RootLayoutProps) {
  // ... other code

  return (
    <html lang="en" suppressHydrationWarning className="h-full">
      <head>
        <meta
          name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
        />
      </head>
      <body className={inter.className + " h-full"}>
        {/* ... other code */}
      </body>
    </html>
  )
}

This should help prevent the zooming issue on iOS devices.

@augustobob, did it help?

@thehackergpt hi, thank you for your suggestion..actually I haven't had the time to try it yet, but I will soon. Based on my previous experiences with this Safari behavior, I believe it will work.
Is there any chance this code could be implemented?
Thank you.


1.add protocols to help parse OfpPacketIn eth data.

2.add a simple l2switch sample/simple_switch.go.

try to commit

Thank you for your PullRequest, and sorry I'm sorry I didn't notice it.
I'll review your code.


Sentinl Watchers: Error 500 Internal Server Error with SPY plugin

Sentinl and Kibana version: 5.4.1
Issue Description:
Sentinl gives "Sentinl Watchers: Error 500 Internal Server Error: An internal server error occurred" whenever highlighted is there in input query & this comes with each watcher created using SPY plugin from dashboard:
{
"search": {
"request": {
"index": [
"<index{now/d}>",
"<index{now/d-1d}>"
],
"body": {
"query": {
Same error, when try similar pattern in condition. This works fine in Dev Tools. example below:
"@timestamp" : {
"gte" : "now-1d/d",
"lt" : "now/d"

What name of an index are you using?

@varun0002 ok, we will fix it. For now, just put correct index name.


BibUpload: optional use of bibxxx tables

Originally on 2011-06-14
During bibupload, the incoming record is broken according to MARC tags
into many bibxxx tables (bib10x, bib11x, etc) which results in
many SQL queries being done by bibupload.  Advantage is doing so is
that the end users can then simply search in any MARC
tag. Disadvantage in doing so is that the uploading step takes time,
and that we are preparing indexes that may perhaps not even be used by
the end users at all.  (Since they typically search in logical field
indexes, say firstauthor:ellis, not in physical MARC tags, say
100__a:/ellis/.)
In certain situations, it would be better not to create these indexes
during upload time, but to defer handing them for the indexing time.
(Especially when using external indexer such as Solr for the record
the metadata.)
For this, it would be good to introduce a new configuration option
called say CFG_BIBUPLOAD_USE_BIBXXX that would be True by default
but that could optionally be set to False on a per-site basis.  When
set to False, the stage 4 of bibupload (=filling of bibxxx tables)
would not be executed.
This would result in bibupload speed-ups that can be illustrated by
the following example taken from INSPIRE-sized database (1M of
records):

example record CERN-TH-6002-91 from INSPIRE TEST (record ID 315385)

timings to replace it, stage 4 enabled:

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.006    0.006    4.112    4.112 bibupload.py:162(bibupload)
      256    0.003    0.000    4.095    0.016 dbquery.py:141(run_sql)
        1    0.001    0.001    2.632    2.632 bibupload.py:1550(update_database_with_metadata)
      109    0.001    0.000    2.605    0.024 bibupload.py:822(insert_record_bibxxx)
        1    0.000    0.000    1.255    1.255 bibupload.py:1780(delete_bibrec_bibxxx)

timings to replace it, stage 4 disabled:

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000    0.020    0.020 bibupload.py:162(bibupload)
       37    0.001    0.000    0.017    0.000 dbquery.py:141(run_sql)
        1    0.000    0.000    0.006    0.006 bibupload.py:1780(delete_bibrec_bibxxx)

As can be seen, the upload time is faster by several orders of
magnitude, since we are not pre-creating those huge and possibly
non-useful bibxxx indexes.
-Important note:* while it is simple to introduce such a
CFG_BIBUPLOAD_USE_BIBXXX variable for record uploading processes,
this variable should be propagated to other Invenio modules such as
searcher/indexer that should read record metadata from pre-stored
MARCXML formats (see table bibfmt) rather than from bibxxx tables.
When bibxxx tables are not in use, other Invenio modules are not
free to rely on the existence of bibxxx tables anymore.  So this
task is really bigger than it may seem.  The settings of
CFG_BIBUPLOAD_USE_BIBXXX should therefore be progressively
propagated to all the Invenio modules that assume the existence of
bibxxx for granted, starting with the the most important modules
(indexer, searcher, editor, check for deleted records, etc).

I am closing this given bibxxx and bibupload are discontinued in master.


post-process successful CQL statement executions.

This allows extraction and evaluation of data from the result set and conditional execution of further requests by adding information to the Gatling session.
  val simpleSelect = cql("simple SELECT")
    .execute("SELECT * FROM test_table WHERE num = ${randomNum}")
    .postProcess( param => param.session.set("foo", param.result.one().getInt("num")) )

...

    feed(feeder)
      .exec(simpleSelect)
      .doIf("${foo}", "42") {
        exec( session => { println("Got 42")
          session } )
      }

We probably could utilize existing Gatling Check API http://gatling.io/docs/2.1.7/http/http_check.html to generalize idea of postprocessors and checks (from #4).

Yup - makes sense. Is a bit different since we are dealing with a result set that could possibly consist of a huge number of rows and use paging to fetch them - but feels doable.

Note: the latest commit is NOT ready. Just some experiment how it may look.

superseded by #8