How to use EditMessageText() / EditMessageCaption()

SendMessage() with ReplyToMessageId work fine, but EditMessageText() / EditMessageCaption() raise error: "5 Message not found"
example via https://github.com/zelenin/go-tdlib/issues/49
	// fine
	dsc, err := tdlibClient.SendMessage(&client.SendMessageRequest{
		ChatId: dscChatId,
		InputMessageContent: &client.InputMessageText{
			Text:                  formattedText,
			DisableWebPagePreview: true,
			ClearDraft:            true,
		},
		ReplyToMessageId: getMessageId(srcChatId, srcId, dscChatId),
	})

	// error
	dsc, err := tdlibClient.EditMessageText(&client.EditMessageTextRequest{
		ChatId:    dscChatId,
		MessageId: getMessageId(srcChatId, srcId, dscChatId),
		InputMessageContent: &client.InputMessageText{
			Text:                  formattedText,
			DisableWebPagePreview: true,
			ClearDraft:            true,
		},
	})

	// error
	dsc, err := tdlibClient.EditMessageCaption(&client.EditMessageCaptionRequest{
		ChatId:    dscChatId,
		MessageId: getMessageId(srcChatId, srcId, dscChatId),
		Caption:   formattedText,
	})

Please help me!

You are passing a wrong message ID of an ID of unknown message.

If replied message isn't found, the message will be sent but it will not be a reply.

But SendMessage() with ReplyToMessageId work fine, when MessageId is the same. I see valid result:

You can check TDLib's log to see exact message identifiers, which are sent in the requests.
Also see https://github.com/tdlib/td/issues/511 and ensure that you don't try to use temporary message identifier to edit messages.

It's work! Thanks :)


[Feature Request]: Compatible js client for node versions < 18

Describe the problem
Currently the npm package requires node version >= 18.* as (at the very least) it requires native fetch. This limits potential users.
Describe the proposed solution

make another version of the client that does not depend on node >= 18.*
refactor so that the client does not require node >= 18.*

Alternatives considered
No response
Importance
nice to have
Additional Information
Arguably for some users the importance is "i cannot use Chroma without it".

Would this work? https://www.npmjs.com/package/fetch-shim

@jeffchuber Why that one? I think isomorphic fetch  would be the best choice but it isn't very actively maintained nonetheless I would argue it's worth a try.

ah, you are right. that is better. would this get added to the TS/JS client directly and then "JustWork"? Do you want to take a shot at it?

@jeffchuber I would expect it to just work once refactored. I can take it on, but I won't be able to get to it until the end of the week.

@CakeCrusher that'd be really great! Thanks!!

This has now been fixed!


Adjustments in UI

@espin086
I was in the process of updating the UI and have now finished the updates. Kindly review the changes.


Create new Subscribe2 method

Summary

Adds support for the Subscribe2 API endpoint, which allows callers to update their list of content topics without closing/re-opening the subscription
Uses a new subscription return type. Instead of our home-brewed Subscription struct subscribe2 returns a struct that fulfills futures::Stream + a new custom trait (MutableApiSubscription) that allows callers to update the content topics.

👀 This should make it easier for us to bring this to v2 and update swift. I think this would greatly improve the swift streaming. And may help fix this https://github.com/xmtp/xmtp-ios/issues/185

Do we still need the original subscribe endpoint?

We won't use it in xmtp_mls (at least over GRPC), since the new endpoint works fine for streams that never need updates. But I'm leaving it in the grpc api helpers so that it can still be used by xmtp-ios.


Support to be able to add/show Scheduled Automate Tasks

Added support to be able add/show Automate Tasks in Configuration Schedules area.
https://www.pivotaltracker.com/n/projects/1613907/stories/131670817
@syncrou please test/review.

@AparnaKarve ready for re-review, fixed any styling issues and other minor issues found during testing
cc @syncrou please review/test.

@tinaafitz @mkanoor Please review.

@h-kataria The Object Attribute section is not required for running automate.  Like simulate, you can leave this blank and submit the data.  However, if someone selects the Object Attribute - Type the Object Attribute - Selection should be required.

@gmcculloug i will make that change, currently it behaves exactly like Automate Simulation form fields.

@gmcculloug made requested change to object Selection drop down to be only required when Object Type is selected.

👍 LGTM

Euwe Backport details:
$ git log -1
commit d5d406e64abe33f2a28b9e9ba25669a14d6fc2b6
Author: Greg McCullough<EMAIL_ADDRESS>Date:   Mon Oct 24 20:18:19 2016 -0400

    Merge pull request #12096 from h-kataria/automate_task_schedules

    Support to be able to add/show Scheduled Automate Tasks
    (cherry picked from commit eca233f0d128e4a87462680d2baae07439261493)


Add support for bare-metal AVR

I've added some changes to support using TaskScheduler on bare-metal AVR without the Arduino support libraries. Additional minor work is needed to do the same for ESP8266 and ESP32.

Thanks. Will look into this after the holidays.


["stop_sequences" for chat endpoint] - Bug/Enhancement?

Dear Cohere Team,
Currently, when using the chat endpoint, i.e. co.chat(), it appears that there is no way of passing the stop_sequences / end_sequences.
Additionally, the online documentation does not show how to pass the stop parameter to the chat model.
https://docs.cohere.com/reference/chat
E.g. Openai's chat model has a unified stop keyword: stop.

Concrete Question / Action:

Is it possible to pass the stop keyword to Cohere's Chat model?
a. If so, how? Please document.
b. If not, please add the functionality, it's really important.

@robertkozin @raphaelcristal @daulet @eddotman @mkozakov

@elaineg, thanks for answering so swiftly.

Should the issue perhaps remain open until it is actually implemented then? (perhaps with the Enhancement tag?)
Also, do you know when we might expect this feature?


进行C#扩展后，运行C#程序出错

输出信息：OmniSharp server started.
Path: C:\Users\gm941600.vscode\extensions\ms-vscode.csharp-1.17.1.omnisharp\1.32.8\OmniSharp.exe
PID: 16140
ϵͳ�Ҳ���ָ����·����
使用F5运行项目时：Installing C# dependencies...
Platform: win32, x86_64
Downloading package 'OmniSharp for Windows (.NET 4.6 / x64)' Failed to download from https://download.visualstudio.microsoft.com/download/pr/515dbb33-d644-4ba6-9ee4-8ca7227ab580/bdfde5788994e381c9a3efe5777081bd/omnisharp-win-x64-1.32.8.zip. Error code '407')
Retrying from 'https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.32.8.zip' Failed to download from https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.32.8.zip. Error code '407')
Failed at stage: downloadAndInstallPackages
407

It's obviously your net connection problem(the error 407).

propose to close this one.

Thank you for your help. Is this error due to the agent? This problem prevents me from using VS Code。

@airenXiao try to get helps in https://github.com/OmniSharp/omnisharp-vscode


Update debug.js

this change would allow the use of enable and disable when debug is instantiated/initialized in the standard var debug = require('debug')('my_scope'); form. today if during runtime i want to enable debugging (due to an option on the command-line or by detecting the global debugging state in v8 or chrome via (typeof v8debug === 'object') i get an obscure error enabled() is not defined because this format returns just the namespace object with the single debug function unlike the require which returns the whole exports object with many functions. if i say debug.enable('my_scope'); and I have to use require('debug').enable('my_scope');. in a way it would be ideal if the require('debug')('my_scope') form returned the compleat set of exports functions and not just enable/disable.

This is great.  Can you please update the docs as well @natbro ?  And add tests?

@TooTallNate thoughts on this change?

@natbro bump on doc update

Closing this due to inactivity on docs and discussion


Logs from routing

When using the Microsoft.Framework.Logging.ILoggerFactory and DI, is it possible to get MVC routing to be a little more quiet? I use LogLevel.Information quite a bit myself, but so does MVC routing apparently.
Specifically the lines where it logs (at level 'Information') when it matches a route:
https://github.com/aspnet/Mvc/blob/5632a330986b4e915ba351e57e477062d81a58fd/src/Microsoft.AspNet.Mvc.Core/Routing/InnerAttributeRoute.cs#L136-L139
Perhaps this log is more 'verbose' than 'information'?

Are you using beta5?

Yep

We recently updated that log levels of most log events so that the Information level should be very quiet - at most a few log entries per "normal" request.
Can you try with the latest build? I took a quick look and the only LogInformation that I saw was the one you pointed out. We're contemplating removing even that one, but we're not sure if we want to remove all the Information logs from the request...

The latest builds are from the aspnetvnext MyGet feed, which is the "dev" branch, right? The dev branch still has that one specific Information log and it didn't make a difference in the log amount. It's not a big deal when it's just me testing, but I made the mistake of using 'wrk' (http load testing tool) with logging on and, well, the logs now tell me that MVC did in fact find the correct route a couple thousand times 😉

Yes, the dev branch is the most recent code and has that one Information log. Do you feel that even just that one log is too noisy? Most log systems have ways of filtering out events - all the Microsoft ones have event names that start with Microsoft... if you want to filter them all out.

@lodejard @rynowak @Eilon  We think at the Information level there should really only be one log event per request from the framework - that a request happened.This should probably be done in hosting instead of in routing. All the other details about what happened for that request should probably be at the Verbose level.

Fixed the attribute routing part: e61ebca


get_list search

def get_list(self, page, sort_field, sort_desc, search, filters, page_size=None):
# Bắt đầu bằng việc lấy danh sách theo mặc định từ ModelView
kyc_enhance_list = []
query = super(KYC_ENHANCEView, self).get_list(page, sort_field, sort_desc, search, filters, page_size)
objs = users.get_emails_all(str(search))
for obj in objs:
enhanceObj = KycEnhanceApprove.get_user_by_id(obj.id)
if len(enhanceObj) > 0 :
kyc_enhance = KycEnhanceApprove(
id=enhanceObj[0].id,
user_id=enhanceObj[0].user_id,
type = enhanceObj[0].type,
created_at=enhanceObj[0].created_at,
updated_at=enhanceObj[0].updated_at,
admin_id = enhanceObj[0].admin_id,
status= enhanceObj[0].status,
extra= enhanceObj[0].extra
)
kyc_enhance_list.append(kyc_enhance)
# Append kyc_enhance_list to the query
#query  = ( 0 , [] )
    i have overridden the search method and now i need to append the array which is the query but i have tried everything and still giving error, please help me

i need to return query that have
0 + len (kyc_enhance_list)
and append array kyc_enhance_list with query

This issue is quite old now, and I think it's probably no longer relevant (or you've since worked out what to do). I'm going to close this issue, but if you disagree, please feel free to reply again or open a new issue with more information about the problem.


Added Python-Fire as Default Argument Parser

Description
Fix #102
I have added python-fire new argument parser in all templates for now. The best part is we can even over-ride the default configuration through cmd itself. For now I have just tested the templates for CPUs only.
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[x] New feature
[ ] Other

Thanks for the PR @guptaaryan16
General remarks:

fire should be an option and not a replacement, so we have to add a checkbox to the UI
a suggestion let's introduce DotDict in another PR and put returned config as DotDict instead of argparser namespace

When user selects argparse or python-fire, can we add somewhere a link to get more info on (at least) python-fire repo README or docs. This can be relevant for users who do not know python-fire

Omegaconf is missing in vision classification template

Another issue with argparse option selected

once again why CI does not raise this error ?

once again why CI does not raise this error ?
This is a fix @theory-in-progress is working on. Basically unless you click on all options the templates does not seem to load the options by default. I have covered this in tests and so CI doesn't raise this issue


 For example, while you've been in the app for a while, and then try to go to a screen, it crashes with this exception.
I have searched a lot about IllegalViewOperationException.
https://github.com/facebook/react-native/issues/13984 -> The issue here suggest to remove LayoutAnimation however I've totally removed it from my project and I'm still facing the issue.
com.facebook.react.uimanager.IllegalViewOperationException: Trying to add unknown view tag -> the exception here seems to be caused by another reason, in my case I don't have an unknown view tag issue
I have searched a lot about StackOverflowException in react-native, but even in it's GitHub issues, there are zero results.
I've also checked Exception in native call error. For example, in this link, E/unknown:React: Exception in native call, the issue is caused by bundling. However my case is not related to bundling. I can successfully run the app in the emulator and navigate among screens. The exception also occurs in release mode on real devices too.
I'm unable to find an answer including Exception in native call ,IllegalViewOperationException, and StackOverflowException keywords. The exception occurs on Android devices with only 4.x version. It does not occur on 5 and higher Android versions. I guess that it might be related to device's insufficient RAM, or the device might not handle too many renderings in consecutive page navigations. Any ideas on how I can prevent this exception?

TextInput is prompted for this error when it gets focus

on react-native 57.5 and react-navigation 3.3.0, this (red screen IllegalViewOperation, Exception in Native call from JS) happens consistently when I do the following in Android

create a screen with createMaterialTopTabNavigator ( I had 3 tabs, I individually loaded the tabs without TopTabNavigator, it doesn't throw error, this only happens when I use TopTabNavigator)
minimize it (press home button in Android)
resume the application

Here, I use react-native-router-flux. When I open the page with input box, android will prompt this error, but ios does not

It seems to me that this issue is a collection of different edge case issues, a few related to libraries and some related to Android old OS versions.
That said, one thing that probably can solve these kind of issue may be upgrading to 0.59, in which we use a new version of the JSC - which is probably somewhat related to those native crashes.
If even after upgrading to RN 0.59 you still see these crashes, please open a dedicated issue to a particular crash caused by a specific reason (with a repro): with the generic descriptions provided above are not helpful for investigating it further.

@gaoxiaosong1113 @murtraja did upgrading RN work for you or did you find any other solution? I'm seeing similar crashes in my bugsnag...

@alexkuttig, unfortunately, I wasn't able to find any solution. I haven't upgraded to RN 0.59 either.

@murtraja short update - Upgrading RN to 0.59.5 did not solve the problem

Have any one resolved this issue . I am getting this error in android 8.1  and above whenever I am switching tabs using navigation drawer and all the tabs are maps with different data

I am also running into this issue on
RN v0.59.9
Android 9.0 (API 28)
Is there any update to this?

any solution?

How to solve this problem?

Hi
Can you send me the link. It has not been showing in profile now.
Thanks and Regards
Shashi Saurabh
On Wed, Jul 10, 2019 at 1:43 PM ghostknow<EMAIL_ADDRESS>wrote:

How to solve this problem?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/23418?email_source=notifications&email_token=AMBDDMUIIDSRT4EJ2OCMWFDP6WKZ5A5CNFSM4GXD5Y32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZSVQAQ#issuecomment-509958146,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMBDDMWTBCTZGX276YJ3VVDP6WKZ5ANCNFSM4GXD5Y3Q
.

my problem solved with this:
cd android
gradlew clean
gradlew assembleDebug --stacktrace

i hope that works for you

Do someone resolve problem?

@Strate it seems to be that there were two different problems, resulting in this screen.
The first one was, that if you have a very deep stack depth, it could result in that kind of error on older android versions. I managed to get it to work by taking some levels out of my navigation tree. Additionally you could try this one: https://github.com/react-navigation/react-navigation/issues/5843#issuecomment-515014403
The second one was a crash in the android jsc of react native. This was resolved and pushed to react-native 0.60 and 0.59.10.
Hope that helps :-)

I am also running into this issue on:
Alert.alert
delete it, solved it.


MenuButton should not expand the parent

I have a MenuButton in a toolbar at the top of my page.  When I open the menu, the toolbar grows.
I made the following changes....
<div class="container">
  <!-- added container class -->
</div>

.container {
    position: relative;
}

::deep > fluent-button + fluent-menu {
    display: none;
}

::deep > fluent-menu.visible {
    display: block;
    position: absolute;
    width: fit-content;
}

Fixed in v3 version

Still expands the parent for me in 3.0.0-RC.1

Still seeing this indeed. Reopening the issue.

as @vnbaaij said in #630 use a select box instead. If you apply the following css, it is looking like a Dropdownbutton. (the width is just for example as it suits my needs)
fluent-select{
width: 100px !important;
max-width: 100px !important;
min-width: 150px !important;
color:var(--neutral-layer-floating);
background-color: var(--accent-base-color);
}

as @vnbaaij said in #630 use a select box instead. If you apply the following css, it is looking like a Dropdownbutton. (the width is just for example as it suits my needs)
fluent-select{ width: 100px !important; max-width: 100px !important; min-width: 150px !important; color:var(--neutral-layer-floating); background-color: var(--accent-base-color); }

I don't believe this addresses the use case. I want to use an icon to open the menu, not maintain a current selected item.


livekit, livekit-ffi: Update to v2 APIs

highly wip, went through the migration notes and the v1.15.7..v2.0.0 commit log for client-sdk-js and made some API changes. doesn't include any non-API-breaking change from client-sdk-js, nor any API additions from versions later than 2.0.0.
builds fine, but untested, couldn't get any of the examples to work even on main (perhaps my NixOS/Wayland system is confusing)

[x] DataPacket now uses reliable: bool and not kind: DataPacketKind
[x] get_track → get_track_publication etc
[x] participants → remote_participants
[x] VideoQuality::OFF removal couldn't find any mentions of VideoQuality::OFF here in the realtime SDK
[x] async sid()
[x] update Cargo.toml versions in affected crates

looking into pub fn sid(&self) further i don't think there is much reason for having it asynchronous, as Room::connect already awaits the join response that includes the SID

pushed an async sid() proof of concept, if you could review the general idea while i work out the kinks

added sid_rx and sid_tx oneshot channel to RoomSession
sid_tx is wrapped in an Option because it. works. and it didn't work without it ¯_(ツ)_/¯
impl Debug for Room and impl From<&FfiRoom> for proto::RoomInfo are both functions dependent on sid() that can't be async, dunno how to figure that out

Nice, lgtm, have you been able to test the changes?

unfortunately i wasn't able to run any of the sample code in the examples directories, even under the main branch. might have something to do with my linux distro + display server combo, but that's outside the scope of this PR

Can you try an example that doesn't use any display env? Like compiling livekit_ffi and trying it on Python/Node

Can you try an example that doesn't use any display env? Like compiling livekit_ffi and trying it on Python/Node

confirmed working with python-sdks/examples/basic_room.py, with minor changes to the Participant class (kind → reliable)


Issue regarding order of known fmtdesc.pixelformat determines if all types are found

I have a new Logitech C920. This camera breaks the CollectWhile loop, as MJPG is supported. But because it is listed affter the H.264 it is never found.

private static IEnumerable<v4l2_fmtdesc> EnumerateFormatDesc(
        int fd) =>
        Enumerable.Range(0, 1000).
        CollectWhile(index =>
        {
            var fmtdesc = Interop.Create_v4l2_fmtdesc();
            fmtdesc.index = (uint)index;
            fmtdesc.type = (uint)v4l2_buf_type.VIDEO_CAPTURE;

            return
                ioctl(fd, Interop.VIDIOC_ENUM_FMT, fmtdesc) == 0 &&
                IsKnownPixelFormat(fmtdesc.pixelformat) ?
                (v4l2_fmtdesc?)fmtdesc : null;
        }).
        ToArray();   //

I will try and make a PR

This is my fix:

I added the PR, but can't seem to link it ...

Thanks for the PR! It looks like you removed IsKnownPixelFormat(). This method exists to check if the FlashCap is in a format that will be processed correctly as independent frame data.
Assuming your camera returns H.264, is this returned as frame-by-frame independent data? If so, what does the resulting data format actually look like?
I am not familiar with H.264, but I thought H.264 format was continuous (not separated between frames) data, so I thought it should not be included in IsKnownPixelFormat().
I'd be interested to see what the format would look like if I actually made this modification and referenced BufferScope.Buffer. Does it say the camera is H.264 but returns it as JPEG or something?

The enumerator stops at the first signs of null. Not trying the next value anymore.

H.264 is not frame by frame, so it shoudl retun null. That is good behaviour. Stopping at the first non supported pixelformat is

Ouch, I understand it! I will check my environment, thank you explanation.

Merged, thank you again!

No problem. I ran into trouble with the Logitech C920. You can also add that camera to the supported camera's now ;)


Usage quesiton about 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth module

Hello
I have a question about 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth module .  If i would like to simulate the Design situation "Parked" from IEC-3 standrd as showed following:

It is note "parked" with extreme wind model for example with wind velocity 42.37m/s.
How could i simulate that in Openfast ? It will be the same as normal situation like power production cases. if yes, how could i set the intial values like pitch angle, rotor speed , since i did not find the reference in the PDF "Definition of a 5-MW Reference
Wind Turbine for Offshore System Development".   Or, i do not need to set the intial values?
Regards
Chao REN

Dear @ChaoREN1994,
I would guess that you'd rather model an idling rotor than a parked rotor, which is more common for this load case.  To model the NREL 5-MW baseline wind turbine as an idling rotor in OpenFAST, specify the following inputs:
In the ElastoDyn's primary input file:

BlPitch1 = BlPitch2 = BlPitch3 = 90.0 (fully feathered)
RotSpeed = 0.0

In the InflowWind primary input file:

Specify the desired turbulent or steady wind.  For turbulent wind, you'd first have to run TurbSim.

In the AeroDyn v15's primary input file:

WakeMod = 0 (disable aerodynamic induction)
AFAeroMod = 1 (disable dynamic stall, which isn't valid at large angles of attack)

In the ServoDyn's primary input file:

PCMode = 0 (disable pitch control)
GenTiStr = True
TimGenOn = 9999.9 (a large number > TMax) so as to not start the generator

Best regards,

Thanks for your reply.  @jjonkman

Hello, @jjonkman
Following your advices, I  reset  the parameters in  ElastoDyn, InflowWind, AeroDyn v15 and ServoDyn for the idling rotor.  I tried to simulate with steady and turbulence wind cases in 10 mins. Here are the loads results obtained from the tower base.
Fx in steady and turbulence cases

Fy in steady and turbulence cases

Fz in steady and turbulence cases

Mx in steady and turbulence cases

My in steady and turbulence cases

Mz in steady and turbulence cases

For steady cases , it seems that the results in loads (Fy,Mx, Mz), they are periodic.  Is that due to the resonance? Is that normal in the the idling rotor case?  But in the loads(Fx,My,Fz) and turbulence case, it seems Ok.
Looking forward to your reply
Best regrads
Chao REN

Dear @ChaoREN1994,
I'm a bit surprised that the mean Fx and My are not the same between steady and turbulent wind cases.  Is the mean shear profile and mean nacelle-yaw error (nacelle angle / wind direction) the same in both cases?
Regarding the variation in the steady wind case, I would assume that this is correlated with some nonzero rotor rotation; can you confirm?
Best regards,

Hello, @jjonkman
Thanks for your reply.

First,  the mean Fx and My are not the same in the steady and turbulent wind cases, because the wind speed at reference height are different in these two cases. The mean wind velocity at reference height in  turbulent cases (DLC 6.1a)  equal to 0.95 * Vref and wind velocity at reference height in steady case(DLC 6.1b) equal to  1.3 *Vref.  It is my fault . I did not mention that in the comparison.  If the mean wind velocity of turbulent cases equal to wind velocity in the steady cases at reference height,  the mean Fx is the same like following:

Yes,  you are right.  The rotor rotation are not zero as showed in the following.
Rotor speed

Mz in steady and turbulent cases

Could i fix  the rotor speed to zero during the simulation?

Best regards
Chao REN

Hi @ChaoREN1994,
OK, thanks for clarifying.  That makes sense now.
You can fix (park) the rotor by disabling the generator DOF (GenDOF = False) in ElastoDyn.
Best regards,


Add support for MSVC 2015 cl compiler

MSVC 2015 Update 3 cl.exe cant compile example from https://wandbox.org/permlink/b4NDy4VupqPWkjva
https://pastebin.com/iwe2sVKy
from slack cpplang:
k-ballo:

the workaround is rather trivial, just move the noexcept(...) call within a class body, but that's something that only the library can do
msvc uses different name lookup implementations depending on the context in which an expression appears.. it has at least 3 different ones, each with its own different bugs

I don't think this is easy to support anyway - even if you change noexcept(...) to true there are a load of other errors, e.g. using for in a constexpr, which MSVC 2015 doesn't support (but 2017 does apparently).
I don't understand why MSVC 2015 is listed as compatible in the Readme.

Maybe then add atleast msvc 2017 cl.exe support ?

MSVC 2017 has built in support for std::variant so there's not much point.

@Timmmm: Thanks for the suggestion. I've bolded Clang/LLVM for now.
@RedSkotina: Are you able to share what your situation is? For example, are you wanting to use the library in a project that needs to build with MSVC 2015 directly?

i use msvc 2015 update 3 native compiler  for my project and want use variant type. I want upgrade my project it to vs2017 but later. So i choose mpark/variant. But msvc2015 c++14 support too outdated for mpark/variant and i anyway forced upgrade my project to msvc 2017 and use std::variant (with /std:c++latest). So you can just resolve this issue as fixed.

@RedSkotina: Ah, okay. Thanks for sharing! I'll keep it open for now.

I would really love to see the support for MSVC implemented (at least for 2017).
We have a fairly large cross-platform project with a dozen developers, and I can't just enable /std:c++latest without someone occasionally tripping on a C++17 feature not supported on our non-Windows platforms.

@emptyVoid, MSVC 2017 has official support for std::variant.

@Timmmm: @emptyVoid is saying /std:c++latest can't be enabled just yet though. which I assume is needed to get access to std::variant.
@emptyVoid: I've been working on C++11 support in https://github.com/mpark/variant/tree/c%2B%2B11. I'll see how far that'll get me into MSVC. Stay tuned!

Great, thanks!
I really hope MSVC would be able to compile C++11 at least with their lack of proper expression SFINAE.

MSVC 2015 CL and 2017 CL with /std:c++14 are now both supported!

@mpark sorry for replying in a closed issue, but i see that you provide a check _MSC_FULL_VER < 190024215
any reason for that version particular ? my _MSC_FULL_VER is defined to 190024210 and I can't update (for intentional reason) to that version. I tried compiling it anyway using 190024210 and it seems to be working fine.

@bysreg: Thanks for reporting this! No particular reason for 190024215. I did some vague research to figure out which version works and doesn't and had determined that one to be the latest one I could test. I've simply changed lowered the value in the latest commit: baaa75a702171596725ea0ec80c5698222c8377c


Line numbers reported by Jest do not match line numbers in .ts file

🐛 Bug Report
To Reproduce
Clone https://github.com/mbergal/ts-jest-line-numbers-problem
yarn install
yarn test                                                                                ↑

Expected behavior
Line numbers reported by Jest should match line numbers in source .ts file

Link to repo (highly encouraged)
https://github.com/mbergal/ts-jest-line-numbers-problem

This problem occurs also when using Babel to compile typescript. The only difference is that, Babel points to another line of code but still not the correct line. I think this is Jest issue, you would need to report it to Jest.


Error while executing elasticdump

In order to help us troubleshoot issues with this project, you must provide the following details:

ElasticDump version
3.3.1

Elasticsearch version

"version" : {
    "number" : "2.4.1",

Full command you are having issue with (with inputs and outputs)

$ elasticdump

/usr/local/lib/node_modules/elasticdump/bin/elasticdump:52
for (var i of jsonParsedOpts) {
           ^^
SyntaxError: Unexpected identifier
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:902:3

A data set you can share publicly which reproduces the problem

Hey ameygat,
What OS are you running this on that you received the error? What version of java?
-matt

should be using node >= v4

Node --version
v0.10.25
On Nov 26, 2017 4:40 PM, "Ferron H"<EMAIL_ADDRESS>wrote:

should be using node >= v4
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/taskrabbit/elasticsearch-dump/issues/361#issuecomment-347000678,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ9qYo4A0_ZHlpoA94TtsIuZ0flEKdasks5s6UcCgaJpZM4QjWq7
.

That's your problem. http://node.green/#ES2015-syntax-for--of-loops
for.of is only supported in 0.12.x+


Added comment section to receive feedback

Hi @Bonorinoa -
Can you clarify what your intent is with this PR? The point of the demo is to show writing comments to a Google sheet, but your change turns that off.
Best,
Randy

Good morning Randy,
Please ignore any commit I may have made. It was a mistake; I was not trying to change anything but simply test a portion of your program locally. I apologize for the inconvenience. Thank you for providing this example, we look forward to implementing a similar feature on our app.
Have a great day.
Augusto

From: Randy Zwitch @.>
Sent: Friday, May 13, 2022 10:13 AM
To: streamlit/example-app-commenting @.>
Cc: Augusto GonzalezBonorino1 @.>; Mention @.>
Subject: Re: [streamlit/example-app-commenting] Added comment section to receive feedback (PR #5)
[EXTERNAL EMAIL]
Hi @Bonorinoahttps://github.com/Bonorinoa -
Can you clarify what your intent is with this PR? The point of the demo is to show writing comments to a Google sheet, but your change turns that off.
Best,
Randy
—
Reply to this email directly, view it on GitHubhttps://github.com/streamlit/example-app-commenting/pull/5#issuecomment-1126103478, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APTLXA5XIYXO72ZZLCTAUSLVJZPRXANCNFSM5US3Q54Q.
You are receiving this because you were mentioned.Message ID: @.***>


fix terraform.py to handle aws ebs_block_device

On AWS, after provisioning GlusterFS in MI and refreshing your Terraform state, you end up with control node ebs_block_device definitions in your tfstate that look something like this:
"ebs_block_device.3075786550.delete_on_termination": "false",
"ebs_block_device.3075786550.device_name": "xvdh",
"ebs_block_device.3075786550.encrypted": "false",
"ebs_block_device.3075786550.iops": "300",
"ebs_block_device.3075786550.snapshot_id": "",
"ebs_block_device.3075786550.volume_size": "100",
"ebs_block_device.3075786550.volume_type": "gp2",

Note that this doesn't use an n based index and is not compatible with parse_attr_list in terraform.py:
$ python plugins/inventory/terraform.py --list
Traceback (most recent call last):
  File "plugins/inventory/terraform.py", line 497, in <module>
    main()
  File "plugins/inventory/terraform.py", line 486, in main
    output = query_list(hosts)
  File "plugins/inventory/terraform.py", line 441, in query_list
    for name, attrs, hostgroups in hosts:
  File "plugins/inventory/terraform.py", line 67, in iterhosts
    yield parser(resource, module_name)
  File "plugins/inventory/terraform.py", line 83, in inner
    name, attrs, groups = func(*args, **kwargs)
  File "plugins/inventory/terraform.py", line 271, in aws_host
    'ebs_block_device': parse_attr_list(raw_attrs, 'ebs_block_device'),
  File "plugins/inventory/terraform.py", line 123, in parse_attr_list
    attrs[int(nth)][key] = value
IndexError: list index out of range

This change attempts to fix this

@BrianHicks if this works and looks ok to you, I can create a PR on the terraform.py repo with this change and an updated aws test

Looks reasonable, go ahead and make the PR. Automated tests there will tell
us if anything else is wrong.

This fixes the problem on AWS and does not seem to break GCE or Openstack


Sent messages in timeline of a topic

Sometimes (the app was downloaded via the Play Store) after sending a message to a topic, there is a possibility that the message does not appear immediately in the sender's timeline but shows up immediately in the recipient's timeline.
The appearance of the message in the sender's timeline can take 10-30 minutes after it is sent, which causes confusion. If the message does not appear on the sender's phone, neither does the recipient's reply.
Force closing the app or clearing the cache memory on the sender's phone does not help, and the timeline is restored at a random time.
The phones used for testing were a Samsung S21 and a Samsung Fold, both running Android 14

Does this issue appear when using the browser? If so, do you see any errors in the browser console log? Do you see any error messages in the container log?
The messages appear in the topic thread when indicated by a websocket connection, even if that app just posted the messages. It's hard for me to tell why there is a delay without further information, but I would initially look at the setup of the server and see if there is anything that could cause the websocket connection to break or prevent the connection. Perhaps there is some network security in place seeing the websocket connection requests as a threat?
I'm sorry I can provide more insight without some more details. Perhaps there is a bug, but this has not been reported by other users.

I haven't noticed anything similar on the web.
The issue appears randomly and resolves itself randomly. Calls during the issue function normally. I can't understand how network security affects some random messages and not, for example, voice calls, which involve a larger data volume, ruling out throttling on the reverse proxy.
My setup is on Ubuntu Server 24.04.1, and as a reverse proxy, I use Cosmos Cloud with all shields disabled and only protection against common bots enabled. I have the same reverse proxy settings for Dendrite, which works perfectly fine.

Is the delay by chance related to sending a very long string with no spaces? There is a bug which I have yet to push the fix out to android, where the tokenizer/sanitizer for clickable URLs was really slow, and could lead to a long period of unresponsiveness. I don't think that's your problem since you mentioned the 2nd android phone doesn't have that delay.
It's possible the communication mechanism used by databag (websockets) is related to the issue. In my reverse proxy for example, I need to specifically enable websocket support. I believe element/dentrite uses a polling get to receive updates.
I am usually able to resolve issues quickly that I can reproduce, so I will try and mirror your environment and see if I can that way. How frequent is the delay? Is the issue likely to be seen when using the app for 5min?

I do not receive errors from the reverse proxy. Cosmos Cloud supports WebSocket by default.
However, in their Discord community, I couldn't figure out how to set the URL properly to achieve optimal performance for applications requiring WebSocket.
Imagine that some users configure the URL as servapp-container, while others use proxy (pointing the local app's IP to the subdomain) to get things working correctly. Someone even disabled protection against common bots.
In my case, whether I configure the URL as servapp-container or as proxy, I don’t get any errors.
The only noteworthy observation I could share is that, with both setups, I receive the following response:
{   "id": "67665549420bf19a710f0f27",   "label": "Proxy Response databag success",   "application": "Cosmos",   "eventId": "cosmos.proxy.response.databag.success",   "date": "2024-12-21T05:42:17.022Z",   "level": "info",   "data": {     "bytes": 0,     "clientID": "my_pyblic_ip",     "hostname": "databag's_subdomain",     "method": "GET",     "route": "databag",     "status": 0,     "time": 36.18142271,     "url": "/status?mode=ring"   },   "object": "route@databag"
I've changed the URL's mode and left it as proxy with all shields disabled, even the common bots protection, and I’ll follow up later.
Also, I don’t have an answer for your last two questions.
Finally, something unrelated: I haven’t been able to enable push notifications on Brave, no matter how hard I try. A popup appears with the error message: "Operation failed, please try again."
I don’t face this issue on Firefox.


Question about wrap_torch_fn function

I notice that you use jax.pure_callback to call the PyTorch function that is being wrapped.
My understanding from https://jax.readthedocs.io/en/latest/notebooks/external_callbacks.html is that pure_callback isn't guaranteed to execute in order. Maybe I am misunderstanding what they mean by "guaranteed execution", but is there not a danger that the wrapped pytorch function doesn't execute as expected?

I believe the execution is guaranteed. The torch function currently executes on the numpy data exported from JAX and so should work as expected as long as JAX correctly exports data for pure_callback which is extensively tested as far as I can tell.

Ok cool.
I wonder if it is possible to use the reverse of the jax2torch using dlpack to ensure that data isn't moved off the GPU to CPU?

definitely, take a look at this possibility:
from __future__ import annotations

import numpy as np
import jax.dlpack
import torch
from torch import Tensor
import torch.utils.dlpack
from jax import Array

def transfer(x: Array | Tensor, via: str = "dlpack", device: str = "cuda"):
    assert via in ("dlpack", "cpu")
    if isinstance(x, Array):
        if via == "dlpack":
            return torch.utils.dlpack.from_dlpack(jax.dlpack.to_dlpack(x))
        else:
            return torch.as_tensor(np.array(x), device=device)
    else:
        if via == "dlpack":
            return jax.dlpack.from_dlpack(torch.utils.dlpack.to_dlpack(x))
        else:
            return jax.device_put(jax.array(x.detach().cpu().numpy()), device=device)


TSServer High CPU usage

VSCode Version: 1.32.3
OS Version: Fedora 29

Steps to Reproduce:

Install clean stable VSCode with neo extensions or setting
Open large project with sub projects
Check System Monitor -> HIGH CPU Usage, almost non usable OS

I tried to turn off some settings, but nothing help.
It caused by TSServer.js build-in "TypeScript and JavaScript Language Features" extension.
Solution: Disable "TypeScript and JavaScript Language Features" build-in extensions.

Does this issue occur when all extensions are disabled?: Yes

Moving this upstream as I don't see anything that stands out in those logs.
Can you please try upgrading your workspace to use typescript@next by following these instructions just to make sure this hasn't already been fixed

@mjbvz Same problem, did not help.

I have tried pretty much every solution listed here and in other gh issues. Have tried removing extensions, upgrading TS, etc.. and I'd really hate to switch to atom. Is there any fix for this? Pretty sure it's limited to linux os

no @Mozar10, this is happening for me on MacOS as well.

@kasik96 From your shared log it seems like file watcher being invoked too many times and is suppose to be a file not found.. Enabling --traceResolution might give you why this file is being requested. It seems like that location is directory in the package and not file.
Info 179  [20:40:57.774] FileWatcher:: Triggered with /home/jsdev/Work/hidden-clients-js/node_modules/socks/typings 0:: WatchInfo: /home/jsdev/Work/hidden-clients-js/node_modules/socks/typings 500 Project: /dev/null/inferredProject1* WatchType: Missing file

Info 180  [20:40:57.774] FileWatcher:: Close:: WatchInfo: /home/jsdev/Work/hidden-clients-js/node_modules/socks/typings 500 Project: /dev/null/inferredProject1* WatchType: Missing file

It happens very often (several times during a day) to me with my medium size projects, tsserver (eletron_node tsserver.js) stats to eat 30%-70% CPU on any currently active file in the editor (I see it in vscode's Process Explorer).
When I restart vscode it working fine on the same files, sometime later it begins again. It really hard to believe that there is something "wrong" with the app's TS code.

BTW in my case I have a strong suspicion that is was caused by typescript-tslint-plugin, tracelog was full of messages regarding it, and have removed it from tsconfig for a while. The problem didn't show again yet.

Just downgrade your version, the last update doesn't have anything that's actually's worth upgrading for if this bug is affecting you. Wait till they figure it out guys!
@Mozar10 You don't need to go to Atom, just download the last release here!

@SeedyROM Thanks for the tip. That didn't cross my mind and so far so good :+1:

I have downgraded to vscode 1.32 but the problem is the same

@kasik96 Have you tried investigating this further as per my comment at https://github.com/microsoft/TypeScript/issues/31248#issuecomment-489741278
This seems more like a configuration issue rather than actual tsserver issue.

I had the same issue when opening files in larger typescript projects. I would say it's a bug at some level, but I could make it go away by using sudo sysctl fs.inotify.max_user_watches=524288  on my Linux system. Hope this helps someone.

This just started happening to me out of the blue in DeepinOS but I just switched a couple days ago so I'm not sure if I hadn't been paying attention and it was doing it all along.  Extremely frustrating as my laptops fans start going full speed and typescript's intellisense takes forever to load instead of the instantaneous feedback I'm used to.
Going into htop shows usally all CPUs having an increase in usage with one of them at 99%.
Looking at my processes, there are literally TONS of the same tsserver popping up like my processes are being flooded with multiples of the same process.
I first noticed this yesterday when I tried to run Gatsby and it errored out saying I had too many file watchers.  I have also tried every solution I could find and even upgraded from I believe 1.31 to 1.39 and that didn't work so finally decided to post here.  I haven't enabled verbose logging and looked at the logs yet so I'll do that now and report back.
Makes me so sad :(.  I love VSCode too much for this to ruin my experience but there's no way I can handle my laptop sounding like a turbine and my intellisense taking 5-10 seconds to load while I type.
As an aside, this only starts happening when I start typing.

Alright, I attached my tsserver log.  I REALLY hope this helps.  I literally turned on verbose logging, exited VSCode, re-opened VSCode, typed a couple characters in a .tsx file and everything spiked.  So this is like a log of a minute of time frame and I hope it helps point down the issue.
tsserver_log.txt

Same problem in WebStorm https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003579280-IntelliJ-node-processes-using-a-lot-of-CPU-on-TypeScript-project-IntelliJ-performance-suffers-?flash_digest=13598a0eb3a2ffbcf8004d50e974872587e71957
Disabling tsserver in WebStorm fixes the excessive CPU usage

Have been facing this exact issue as well on the latest macOS for the past few weeks and haven’t been able to solve it.

I am still experiencing this issue with VSCode Insider and typescript@next.

@puppeteer701  Please open a new issue with information about your project
Closing this since we cannot investigate this without more info from the original poster

https://github.com/microsoft/TypeScript/issues/52876
To investigate: Git commands (like checking diff) are causing ts server to rebuild files, maybe there is a chance of this being related to the cause of this issue
Could someone check if ts server with cpu usage without git still have spikes in cpu usage?


Add route module documentation

What
Adds documentation for NgrokModuleSets along with examples of how to use them. I think we'll want to add more examples to this over time, especially for OAuth.
Breaking Changes
No

We could maybe generate some pretty documentation from the CRD definition in the helm chart since that defines all the specific types.
Another good idea. I'll add a kitchen sink example.


B 20010 int Add FF for HQ role

B-20010
Summary
The changes here are to FF off the Headquarters Role in the Admin App Office Account creation page and remove the HQ role checkbox from the Office App Request Account page. Since FF can't currently be read without being signed in the Office App will get the HQ role checkbox back once we determine all HQ role options are functioning properly. For now the only way to create a HQ user role is via the Admin App Office Creation page with the FEATURE_FLAG_HEADQUARTERS_ROLE feature flag turned on.
This backlog adds a new Headquarters Office user role. Further downstream tasks will add privileges meant for the HQ role which will limit pages to read only.
Is there anything you would like reviewers to give additional scrutiny?
Turn the FEATURE_FLAG_HEADQUARTERS_ROLE on/off and test.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Login to the admin application
Create a new Office user
Select the Safety Moves Privilege then attempt to select HQ checkbox you should NOT be able to
Deselect Safety Moves Privilege then select HQ role
Attempt to select Safety Moves Privilege you should NOT be able to
Select the TOO role and click Save

Go to the Office app and sign in as the newly created user

Click the change user role and verify you can login with the HQ role

NOTE: At this point you should be able to do what a TOO can do but this story was to just allow a new login role

Turn off the FEATURE_FLAG_HEADQUARTERS_ROLE by changing it to false in the .envrc file

Also turn off headquarters_role in the development.features.yaml file by setting enabled and value to false for the headquarters_role key.

Kill your server and client in the terminal

Run direnv allow

Relaunch server and client in terminal

Login to the Admin app and go to create a new Office User

Fill out the form then attempt to select the Headquarters role checkbox you should NOT be able to

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys.
[ ] Have been communicated to #g-database.
[ ] Secure migrations have been tested following the instructions in our docs.

Screenshots

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

  Generated by :no_entry_sign: dangerJS against 7c891c9e5abace0bc68ee227d321c54cec86c4ec

Undoing approval.
When I create a new HQ user from http://officelocal:3000/devlocal-auth/login with the FF enabled it only has the TOO role.


Merge multiple roles

Ability to merge multiple security roles into one, respecting the native CRM security hierarchy

implemented


Add commands to create operator roles and OIDC provider

The AWS docs want you to use the last cert (out of the two returned) and they validate it in the request, AFAIK. It should be the root CA.

/lgtm

Nice @vkareh :partying_face:


 Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/paul/Projects/brainbot/scenario-player/scenario_player/__main__.py", line 9, in <module>
    main()
  File "/Users/paul/Projects/brainbot/scenario-player/venv/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/Users/paul/Projects/brainbot/scenario-player/venv/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/Users/paul/Projects/brainbot/scenario-player/venv/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/paul/Projects/brainbot/scenario-player/venv/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/paul/Projects/brainbot/scenario-player/venv/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/Users/paul/Projects/brainbot/scenario-player/venv/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/paul/Projects/brainbot/scenario-player/scenario_player/main.py", line 175, in run
    ui = ScenarioUI(runner, log_buffer, log_file_name)
  File "/Users/paul/Projects/brainbot/scenario-player/scenario_player/ui.py", line 199, in __init__
    self._log_box = uwd.LineBox(self._log_widget, title="Log", title_align="left")
  File "/Users/paul/Projects/brainbot/scenario-player/scenario_player/ui.py", line 241, in _log_widget
    return uwd.ListBox(self._log_walker)
  File "/Users/paul/Projects/brainbot/scenario-player/venv/lib/python3.7/site-packages/urwid/listbox.py", line 283, in __init__
    self.body = body
  File "/Users/paul/Projects/brainbot/scenario-player/venv/lib/python3.7/site-packages/urwid/listbox.py", line 318, in _set_body
    self._body = SimpleListWalker(body)
  File "/Users/paul/Projects/brainbot/scenario-player/venv/lib/python3.7/site-packages/urwid/listbox.py", line 145, in __init__
    raise ListWalkerError("SimpleListWalker expecting list like object, got: %r"%(contents,))
urwid.listbox.ListWalkerError: SimpleListWalker expecting list like object, got: None

@nlsdfnbch Is this the error which is just happening in interactive mode?


Updating Contributors Page

What would you like to share?
I would like to add the total contributors, top 3 contributors
also add option for contribute and steps to contribute
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

not required


[iOS] Build failed with error: 'RNShareMenu-Swift.h' file not found

Hi! I get an error when I build my iOS app using Xcode 14.0.1

/node_modules/react-native-share-menu/ios/ShareMenuManager.m:9:9: fatal error: 'RNShareMenu-Swift.h' file not found
#import "RNShareMenu-Swift.h"
        ^~~~~~~~~~~~~~~~~~~~~
1 error generated.

My Podfile:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

$RNFirebaseAsStaticFramework = true

platform :ios, '13.0'
install! 'cocoapods', :deterministic_uuids => false
use_frameworks! :linkage => :static

target 'myapp' do
  config = use_native_modules!
  use_modular_headers!
  flags = get_default_flags()

  use_react_native!(
    :path => config[:reactNativePath],
    :hermes_enabled => true,
    :fabric_enabled => false,
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
  pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"

  target 'myappTests' do
    inherit! :complete
    # Pods for testing
  end

  def find_and_replace(dir, findstr, replacestr)
    Dir[dir].each do |name|
        text = File.read(name)
        replace = text.gsub(findstr,replacestr)
        replaced = text.index(replacestr)
        if replaced == nil && text != replace
            puts "Fix: " + name
            File.open(name, "w") { |file| file.puts replace }
            STDOUT.flush
        end
    end
    Dir[dir + '*/'].each(&method(:find_and_replace))
  end
  post_install do |installer|
    react_native_post_install(
      installer,
      # Set `mac_catalyst_enabled` to `true` in order to apply patches
      # necessary for Mac Catalyst builds
      :mac_catalyst_enabled => false
    )
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
      end
    end
  end
end

target 'ShareExtension' do
  use_react_native!

  pod 'RNShareMenu', :path => '../node_modules/react-native-share-menu'
  # Manually link packages here to keep your extension bundle size minimal
end

Log:
** BUILD FAILED **

The following build commands failed:
	Run custom shell script 'Run Script'
	CompileC /Xcode/DerivedData/wiset-gryawechizmnljdbebcbfbdthczk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNShareMenu.build/Objects-normal/x86_64/ShareMenuManager.o /myapp/node_modules/react-native-share-menu/ios/ShareMenuManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNShareMenu' from project 'Pods')
(2 failures)

react-native: 0.70.0
react-native-share-menu: 6.0.0
I'm having this error since I update my react-native version.

Same issue :-(

I had this issue yesterday and resolved just now. Make sure to have iOS Deployment Target value the same for the extension and the project.
But what resolved me the issue is that I was developing for iPhone only and not iPad. In the ExtensionShare target, by default, it had the iPad in the Targeted Device Families. I removed the iPad and it started working.

I faced the same issue here. And the problem is about:
use_frameworks! :linkage => :static

Please remove your configuration and use this if you're using firebase:
target 'YourApp' do
  # ...
  pod 'Firebase', :modular_headers => true
  pod 'FirebaseCore', :modular_headers => true
  pod 'GoogleUtilities', :modular_headers => true
  $RNFirebaseAsStaticFramework = true
  # ...
end

Good luck!

I managed to fix this issue by changing the import style
In my case I happen to call use_frameworks!  in my pod file. It created a file RNShareMenu.framework file where the missing file is found inside.
// node_modules/react-native-share-menu/ios/ShareMenuManager.m
#import "ShareMenuManager.h"
-#import "RNShareMenu-Swift.h"
         ^~~~~~~~~~~~~~~~~~~~~
+#import <RNShareMenu/RNShareMenu-Swift.h>

#import <React/RCTLinkingManager.h>

I managed to fix this issue by changing the import style In my case I happen to call use_frameworks! in my pod file. It created a file RNShareMenu.framework file where the missing file is found inside.
// node_modules/react-native-share-menu/ios/ShareMenuManager.m
#import "ShareMenuManager.h"
-#import "RNShareMenu-Swift.h"
         ^~~~~~~~~~~~~~~~~~~~~
+#import <RNShareMenu/RNShareMenu-Swift.h>

#import <React/RCTLinkingManager.h>

It solved problem locally! But don't have a clue what to do in order to make it build on AppCenter.ms.

I managed to fix this issue by changing the import style In my case I happen to call use_frameworks! in my pod file. It created a file RNShareMenu.framework file where the missing file is found inside.
// node_modules/react-native-share-menu/ios/ShareMenuManager.m
#import "ShareMenuManager.h"
-#import "RNShareMenu-Swift.h"
         ^~~~~~~~~~~~~~~~~~~~~
+#import <RNShareMenu/RNShareMenu-Swift.h>

#import <React/RCTLinkingManager.h>

It solved problem locally! Will use patch-package to update file.
Thanx.

You can use patch-package to achieve this.

I faced the same issue here. And the problem is about:
use_frameworks! :linkage => :static

Please remove your configuration and use this if you're using firebase:
target 'YourApp' do
  # ...
  use_react_native!(
    :hermes_enabled => true,
    # ...
  )
  # ...
  pod 'Firebase', :modular_headers => true
  pod 'FirebaseCore', :modular_headers => true
  pod 'GoogleUtilities', :modular_headers => true
  $RNFirebaseAsStaticFramework = true
  # ...
end

# ...

target 'YourShareExtension' do
  use_react_native!(
    :hermes_enabled => true,
  )

  pod 'RNShareMenu', :path => '../node_modules/react-native-share-menu'
end

Good luck!

Thanks you! This was the solution for me

#import <RNShareMenu/RNShareMenu-Swift.h>

Thanks you!

I think it's better to create a patch so you don't have to adapt you firebase configuration. Simply create a patch that is checking for both locations.
File: patches/react-native-share-menu+5.0.5.patch:
diff --git a/node_modules/react-native-share-menu/ios/ShareMenuManager.m b/node_modules/react-native-share-menu/ios/ShareMenuManager.m
index 308ec99..3c92827 100644
--- a/node_modules/react-native-share-menu/ios/ShareMenuManager.m
+++ b/node_modules/react-native-share-menu/ios/ShareMenuManager.m
@@ -6,7 +6,14 @@
 //

 #import "ShareMenuManager.h"
+
+// `use_frameworks!` moves this file to a different location
+// See: https://github.com/meedan/react-native-share-menu/issues/217#issuecomment-1301608521
+#if __has_include(<RNShareMenu/RNShareMenu-Swift.h>)
+#import <RNShareMenu/RNShareMenu-Swift.h>
+#else
 #import "RNShareMenu-Swift.h"
+#endif

 #import <React/RCTLinkingManager.h>

Add this to your package.json:
 "scripts": {
+  "postinstall": "patch-package"
 }

And install patch-package: yarn add patch-package postinstall-postinstall.


XCFramework support?

Hey! I'm trying to use this through carthage, it looks like it may not support the --use-xcframework flag, is that being tracked?

Carthage support is not works well actually. Actually SDWebImage all components may remove the Carthage support. And focus on SwiftPM / CocoaPods two package managers instead
For XCFramework, I suggest you to manual build the XCFramework, or build normal .framework and command line to assemble it.


Please publicly expose expiration on AFOAuthCredential

I'd like to be able to test how soon a credential will expire - not just if it has expired. This can easily be done if expiration is exposed publicly as a readonly property on AFOAuthCredential by adding
@property (readonly, nonatomic) NSDate *expiration;
to the AFOAuthCredential interface in AFOAuth2Client.h.
Thanks,
M.

@kcharwood I'd also really appreciate this being public. I'm comparing two credentials and the expiration date is important.
Re-declaration would work, but I'd prefer to avoid that in case the property name changes internally in the future.

Would a category work?

add it in a re-declaration of the @interface
I think a category is what is being proposed here.

It has the same risks I outlined above.


Issue with Step 4: Defining model: "local variable 'idx' referenced before assignment"

Hi Jake,
I am running DeepPoseKit in Colab (with GPU) using Windows 10, and everything goes smoothly up until the "Define a model" step in the model training notebook.
When I run:
model = StackedDenseNet(data_generator=train_generator, n_stacks=2)
model.get_config()
I get the error message below.
I have not changed any of the code other than add code to mount google drive so I can add my annotated .h5 file.
from google.colab import drive
drive.mount('/content/drive',force_remount=True)
annotations = sorted(glob.glob('/content/drive/My Drive/*.h5'))
I have tried the most release release, and still have the same issue.
Let me know if there is anything I can try on my end!
Cheers
David

UnboundLocalError                         Traceback (most recent call last)
 in ()
----> 1 model = StackedDenseNet(data_generator=train_generator, n_stacks=2)
2 # model = DeepLabCut(train_generator)
3 # model = LEAP(train_generator)
4 # model = StackedHourglass(train_generator)
5 model.get_config()
3 frames
/usr/local/lib/python3.6/dist-packages/deepposekit/models/StackedDenseNet.py in init(self, data_generator, n_stacks, n_transitions, n_layers, growth_rate, bottleneck_factor, compression_factor, batchnorm, use_bias, activation, pooling, interpolation, subpixel, initializer, separable, squeeze_excite, **kwargs)
141         self.squeeze_excite = squeeze_excite
142         self.n_transitions = n_transitions
--> 143         super(StackedDenseNet, self).init(data_generator, subpixel, **kwargs)
144
145     def init_model(self):
/usr/local/lib/python3.6/dist-packages/deepposekit/models/engine.py in init(self, data_generator, subpixel, **kwargs)
32         self.subpixel = subpixel
33         if self.train_model is NotImplemented and 'skip_init' not in kwargs:
---> 34             self.init_model()
35             self.init_train_model()
36         if self.data_generator is not None:
/usr/local/lib/python3.6/dist-packages/deepposekit/models/StackedDenseNet.py in init_model(self)
186                                         activation=self.activation, pooling=self.pooling, interpolation=self.interpolation, batchnorm=self.batchnorm,
187                                         use_bias=self.use_bias, separable=self.separable, squeeze_excite=self.squeeze_excite,
--> 188                                         stack_idx=0, multiplier=1)([normalized])
189         outputs = [output0]
190         multiplier = self.n_transitions - self.data_generator.downsample_factor
/usr/local/lib/python3.6/dist-packages/deepposekit/models/layers/densenet.py in call(self, inputs)
321             if self.multiplier > 1:
322                 self.multiplier -= 1
--> 323         transition_diff = len(down_list) + -1 * (idx + 1)
324         for idx in range(transition_diff + 1):
325             pool_size = int(2**(transition_diff - idx))
UnboundLocalError: local variable 'idx' referenced before assignment

Thanks, I'll look into this. It seems to be related to image resolution. What resolution images are you using? Or if you could send me the dataset you're using that would be even better. Can you try using the DeepLabCut or StackedHourglass models to see if they also throw errors? E.g.:
#model = StackedDenseNet(data_generator=train_generator, n_stacks=2)
model = DeepLabCut(train_generator)
#model = LEAP(train_generator)
#model = StackedHourglass(train_generator)
model.get_config()

Hi Jake,
That might be it. I will check if I am using the correct resolution videos. I have tried the other model and both DeepLabCut and StackedHourglass seem to work.

Oh, I annotated the wrong set of videos (resolution 466x 466 rather than 448x 448). I will try with the other set of videos and let you know if it still occurs (will be a bit as need to reannotate).

Hi. With the 448 x 448 videos it all worked fine. Must have just been a resolution issue.

This should be fixed in the latest version


Phase out Google hosted fonts

We don't include Google in our privacy policy, and hosting our own fonts is pretty easy.

Done.


Ying/dps knack

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[x] Each command and parameter has a meaningful description.
[x] Each new command has a test.

(see Authoring Command Modules)

View a preview at https://prompt.ws/r/Azure/azure-cli/5132
This is an experimental preview for @microsoft.com users.
(It may take a minute or two for your instance to be ready)
Email feedback to 'azfeedback' with subject 'Prompt Feedback'.

This PR is for IoT hub team internal review only. No need to be reviewed by CLI team.


Support conversion to Json for Policies

Category
User level API changes
Describe the feature you'd like to request
We need to provide a method to convert human readable policy syntax to the json representation. When we build our Java Policy object, we don't currently have a method to retrieve the JSON string corresponding to the tied policySrc.
Describe alternatives you've considered
No response
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

Heads up that we'll be adding this functionality to the Cedar Json FFI once we get to cedar#854 (likely next week).
It's also possible to implemented this functionality directly in interface.rs, but probably better to reuse the Json FFI where possible.


[BUG] transitionDuration in CSSParsedDecleration is parsing incorrectly

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:

[x] You are using the latest version
[x] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
I'm exporting a canvas of Kibana and it is failing when parsing the style
CSSParsedDeclaration.transitionDuration = "0.15s, 0.15s, 0.15s, 0.15s" Tokens parsed out too.
[
    {
        "type": 15,
        "number": 0.15,
        "flags": 8,
        "unit": "s"
    },
    {
        "type": 4
    },
    {
        "type": 31
    },
    {
        "type": 15,
        "number": 0.15,
        "flags": 8,
        "unit": "s"
    },
    {
        "type": 4
    },
    {
        "type": 31
    },
    {
        "type": 15,
        "number": 0.15,
        "flags": 8,
        "unit": "s"
    },
    {
        "type": 4
    },
    {
        "type": 31
    },
    {
        "type": 15,
        "number": 0.15,
        "flags": 8,
        "unit": "s"
    }
]

When it reaches parseComponentValue it triggers throw new SyntaxError(Error parsing CSS component value, multiple values found when expecting only one); Because of {type: 4}.
PR that caused this https://github.com/niklasvh/html2canvas/pull/2632
Specifications:

html2canvas version tested with: 1.3.0
Browser & version: Chrome 91.0.4472.114
Operating system: Mac Os Catalina

I can confirm this issue. I have the same problem.

Thanks for the report, should be fixed with 1.3.1


fixed TypeError

TypeError: can't multiply sequence by non-int of type 'float'

fixed TypeError
TypeError: can't multiply sequence by non-int of type 'float'


wakelock

What is the feature you'd like to see?
Enable wakelock
What is the use case for this feature?
Enable wakelock

https://pub.dev/packages/wakelock_plus


linux GLIBC add FUSE_SUPER_MAGIC

close #2621

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit fc9854f0d3ec25f78b91bd587b47ef95c95ef39a has been approved by Amanieu

:hourglass: Testing commit fc9854f0d3ec25f78b91bd587b47ef95c95ef39a with merge 26b68f834c4a629aac695147006e22c7515da884...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 26b68f834c4a629aac695147006e22c7515da884 to master...


Can't use get_transactions methods of etherscan client

Version
ethers 0.14.0
Platform
Mac
Description
This is the example

what's the API endpoint? or what chain is that?

Iam trying to use Avlanche (snowtrace)


Short solution needed: "Yeo Johnson" (python-scikit-learn)

Please help us write most modern and shortest code solution for this issue:
Yeo Johnson (technology: python-scikit-learn)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

Yeo Johnson transformation example


Addition of the Skytrain Network

Addition of the Skytrain network into the map. Using date from OSM and visual identification for certain tracks. Does not include the new facility planned next to North Road as I could not confirm its layout.

I am not 100% confident on the config.json that is being imported.


Add Doctrine ArrayCollection::partition() like

Is your feature request related to a problem? Please describe.
Yes, when I need to split a CollectionInterface in two, I have to use CollectionInterface::filter twice with opposite callbacks, which is not very efficient.
Describe the solution you'd like
I found out that Doctrine ArrayCollection is using a partition method which doesn't itinerate twice in the collection. So it could be very useful to have this method in this project! I can submit a PR if needed.
Describe alternatives you've considered
I am not sure if it is better to implement the method in ArrayInterface or CollectionInterface (and related abstract method of course). What do you think?
Additional context
Or maybe there is a way to do the same without modifying the project?
Thanks
Thanks for your work ;)

Collections are iterable so you can already loop once and manually build 2 new collections.
I agree, a partition function (on collectioninterface imo) would make it look nicer though.


Update Xcode 11.4

Tool information

Tool name: Xcode
Add or update? Update
Desired version: 11.4 (11E146)
Approximate size: 7.5 GB

Virtual environments affected

[x] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Can this tool be installed during the build?

Are you willing to submit a PR?

No.

Hi, @pixyzehn! Image with Xcode 11.4 will be rolled out during next week's image deployment.

Apple is now rejecting uploads built with the current version of Xcode 11.4 (breaking our CD). Do you have an ETA for this deploy?

@pixyzehn @ydnar the image has been updated. Could you check it, please?

@miketimofeev thanks! We’re also looking forward to the deployment of Swift on Ubuntu (#609), which lets us run a number of Swift workflows on Linux instead of macOS without having to spend 40s installing Swift.

@miketimofeev
This situation is unfortunately quite severe for companies that are relying solely on GitHub Actions to upload builds. Our whole build pipeline is built on GitHub actions and that's the second time after 11.2 that we run into the same problems. Since we are doing nightly builds for all our inhouse testing we need this going.
Is there a possibility for future updates that you can have them ready when Apple is changing their acceptance criteria?

@andyhuber strongly agree.
Possible to decouple Xcode from the normal Catalina / macOS build train?

@andyhuber @ydnar sorry for the inconvenience. Image with Xcode 11.4 is rolling out right now and the will be delivered in a couple of hours. We are going to make such Xcode updates much faster in the future.
Thank you!

Thank you! Appreciate your hard work right now.

@miketimofeev does this include Azure Pipelines images with macOS 10.15? Could one assume that GitHub Actions images and Azure Pipelines images are now identical, given that the Azure Pipelines images repository redirects to this one?

@MaxDesiatov Unfortunately, no. Azure pipelines pools are updated separately from GitHub ones. They will be updated tomorrow(you can follow this PR https://github.com/microsoft/azure-pipelines-image-generation/pull/1511, it will be merged when the deployment is done)

@miketimofeev Any idea how long it usually takes for these rollouts to complete? It looks like the current environment is still on the beta.

@stephencelis it seems to be updated by now.
@miketimofeev Thanks. The documentation https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md
seems to still be outdated. Still mentioning 11.4 beta

@stephencelis @andyhuber it's not yet updated for all the environments. The PR will be completed once it's done.
Thank you for your patience!

@pixyzehn @andyhuber @stephencelis image rollout finished. Closing this issue, but feel free to reopen if you have any concerns.
Thank you!

Something is not quite right with XCode 11.4 rollout. I'm seeing 2 different images in Azure Pipelines for macos-latest:
Agent name: 'Azure Pipelines 3'
Agent machine name: 'Mac-1624'
Current agent version: '2.165.2'
Current image version: '20200328.1'

This one works as expected and contains XCode 11.4.
However there is also another version that's being queued from time to time:
Agent name: 'Hosted Agent'
Agent machine name: 'Mac-1383'
Current agent version: '2.165.2'
Current image version: '20200404.1'

This one seems to be newer, however does NOT seem to have XCode 11.4 installed. I'm getting the following error when running xcode-select:
xcode-select: error: invalid developer directory '/Applications/Xcode_11.4.app/Contents/Developer'

@arek-avanade Thanks for the information! We have had some infrastructure changes recently and that might have caused some mess with image versions. I'll take a look and update all the 20200328.1 pools shortly. Sorry for the inconvenience.

@arek-avanade it looks like some of your builds are run on Mojave agents(20200404.1), where Xcode 11.4 is not presented, and sometimes on Catalina(20200328.1). Could you please check your agent specifications?

@miketimofeev This is an excerpt from my YAML:
- job:
    pool:
      vmImage: macOS-latest
      demands:
      - xcode
      - Xamarin.iOS
      - Xamarin.Android

When saying macOS-latest, I'd expect to actually get Catalina all the time, as described in this article:
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops

So it's the same pipeline, which sometimes triggered on 20200328.1 and sometimes on 20200404.1, right?
If so, could you please provide examples? If it's not possible then a plan-id for both builds will be helpful. It can be found by the following link:
https://dev.azure.com/{organization}/{project}/_apis/build/builds/{buildId}

Yes, the same pipeline, however different stages/jobs. So the failing scenario is for a job which is declared with pool/demands as above, it picks 20200404.1 image.
https://dev.azure.com/essity-projects/CIU/_apis/build/builds/31300
The successful scenario is when I just specify vmImage: macOS-latest, but NO demands. In that case somehow 20200328.1 is picked. I'm not sure if this is a coincidence but it consistently happened a few times.
https://dev.azure.com/essity-projects/CIU/_apis/build/builds/30782

Thanks, but unfortunately, I don't have access to the builds. Would you mind providing plan-id for them?

Oh, my bad. Didn't understand your previous ask. I've updated my previous answer with ids.

Thanks!  Yeah, one build is queued against 10.14 while another against 10.15
And what are those demands that you mentioned? I will try to repro it if I have the exact specifications.

And I've found one important note

https://docs.microsoft.com/en-us/azure/devops/pipelines/process/demands?view=azure-devops&tabs=yaml
Looks like it's better to avoid using demands at all.

The one that triggers 10.14 and fails has:
pool:
      vmImage: macOS-latest
      demands:
      - xcode
      - Xamarin.iOS
      - Xamarin.Android

The one that triggers 10.15 has just:
pool:
      vmImage: macOS-latest

And I've found one important note

https://docs.microsoft.com/en-us/azure/devops/pipelines/process/demands?view=azure-devops&tabs=yaml
Looks like it's better to avoid using demands at all.

Oh, didn't know that. I'll simplify my YAML and try again in that case. Although I think this should still not drive the selection of agent image IMHO.

I'm able to repro it with your demands. I'll ask the engineering team about that strange behavior, but yeah, please avoid using demands for now.

@arek-avanade , yep, that is it.
All images have Xcode and Xamarin tools installed so we don't need to specify demands. Could you please try to remove them and test again?

Removed 'demands' and now it works as expected. Thanks for the quick feedback and resolution guys!

There is a bit of legacy around custom user capabilities and demands for hosted pools that results in this behavior. We have some work on the backlog to make it better, but it hasn't been prioritized yet. Essentially, when demands are presented, we assign the job to the most relevant legacy hosted pool (i.e. one of the pools that existed before the single hosted "Azure Pipelines" pool).
If the YAML specifies a pool by name, then it will not redirect. So you could take your original YAML and add name: Azure Pipelines to the pool specification, and it would get to the right place like so:
- job:
    pool:
      name: Azure Pipelines
      vmImage: macOS-latest
      demands:
      - xcode
      - Xamarin.iOS
      - Xamarin.Android

This blog post covers a bit more details:
https://wouterdekort.com/2020/01/14/moving-to-the-azure-pipelines-agent-pool/


[Api docs]Added dartpad demo for Bottom App Bar

Description
Added dartpad demo for Bottom App Bar.
It will look like this -

Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

@Piinks , Please review this PR and if possible please suggest a description to show with this sample in dartpad.

@Piinks Please review this PR.

@Piinks Please review this PR.

@Piinks , I've made sample null safe but there is still a error in analyze-linux. Please help me fix it .

@Piinks , I've made sample null safe but there is still a error in analyze-linux. Please help me fix it .

@Piinks thanks for your help, all errors are now resolved, could you please also suggest a good description to along with demo.

@Piinks thanks for your help, all errors are now resolved, could you please also suggest a good description to along with demo.

thanks again @Piinks , I've now commited the suggestion .Let me know if anything else needs to be changed.

thanks again @Piinks , I've now commited the suggestion .Let me know if anything else needs to be changed.

Merging manually to kick the tree.

Merging manually to kick the tree.


Documentation is poor

We need to document the code and The functionalities of the library to make it easy for others to understand it well.

I started working on the javadoc and the Wiki of the Repo

I got you Man , im working on a fix rite no

I have added JavaDoc to most of the classes. and Made a walk-through Documentation at https://e-mobadara.github.io/
It should be enough for now!


Clicking within a folder expands random other folders

Using the navigation expands other root folders after clicking on a file.

Can you provide an example showing the problem?


Time cost of engine building

It took me almost an hour to generate the superpoint and superglue's engines.I wonder why and is there any way to improve this situation?

@zhongyisang You can generate the engine file offline beforehand and just load it each time.


UpdateChecker - Update forced if signature incorrect

Current Implementation
In UpdateChecker.kt at line 28-37 there are two exceptions which can occur while checking if an update is needed from the CDN-Server.

The first general Exception can be triggered almost all cases,ie. if the zip-config can not be extracted, networking error. In this case, the user will not be forced to update.
The second exception will be triggered if the signature file in the zip file is not correct (hasInvalidSignature==true). In this case the user will be forced to update because the function which catches the ApplicationConfigurationCorruptException returns true.

Also insecure TLS versions are used for this CDN-Connection (TLS 1-0 - 1.3). In my opinion all public TLS attacks (BEAST, POODLE; FREAK...) only affect the confidentiality of an packet, but in case if an attacker can also tamper with the integrity of an packet (breaking the TLS MAC protection) resulting of an invalid signature, an update force loop can be achieved. Then a user follows the PlayStore link but can not find any new version if he has already the current version. So this (i know very theoretical) attack can make the app unusable for some time. Also the same problem occurs if the signature on the CDN server is calculated incorrect because of some technical/administration problem on the server.
Suggested Enhancement
Change line 33 to false
Expected Benefits
App is more stable and secure.
Additional Question: There is a comment in the ServiceFactory (getCDNSpecs) that TLS 1.0 - 1.3 and all Cipher Suites are enabled for compatibility reasons. If a t-online server is used as CDN, could you adapt it to the current BSI TLS recommendations?
Internal Tracking ID: EXPOSUREAPP-1869

Not planned


Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[ ] I have performed a search and couldn't find this package.
[ ] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: KDE e.V.
Publisher Url: http://kde.org
Package Name: KDE.KNights.Nightly
Description: http://apps.kde.org/knights
Package Version: master-782
Installer URL: http://binary-factory.kde.org/view/Windows 64-bit/job/Knights_Nightly_win64/lastSuccessfulBuild/artifact/knights-master-782-windows-msvc2019_64-cl.exe
Current Package Identifier (for new versions): master-782

Duplicate of #39190
Please post your KDE requests here


TEM-155: network routing scheme

:construction_worker: Purpose
See ticket. In a nutshell, we want to provide an interface as follows:
requests for networks go via HTTP to:

<orchestrator_address>/networks/<my_network>/swarm
<orchestrator_address>/networks/<my_network>/api

etc. etc. the orchestrator daemon should then route requests to the appropriate node.
this opens the door for a wide range of things, like improved availability and hosting across multiple servers, as well as access tracking and potentially limiting
:rocket: Changes

new delegator package and server
orchestrator::Registry is now public
fix for potentially unreleased lock on node startup (41761a5)
slightly improved logging in ipfs
new commands under ipfs-orchestrator -dev dev

Testing
make testenv
make build ; ./ipfs-orchestrator --dev daemon

set up a node:
./ipfs-orchestrator -dev dev db test_network
./ipfs-orchestrator -dev ctl StartNetwork Network=test_network

access the API:
# scheme: <addr>/network/<name>/<feature>/<request>
curl <IP_ADDRESS>:8000/network/test_network/api/v0/repo/stat

you should get a response:
{"RepoSize":55956,"StorageMax":100000000000,"NumObjects":15,"RepoPath":"/data/ipfs","Version":"fs-repo@7"}

TODO

verify swarm works
testing
cache proxies
(?) make node ports private (on <IP_ADDRESS> instead of <IP_ADDRESS>)

:warning: Breaking Changes
hopefully none

paging @postables for initial thoughts


move away from Directory.GetCurrentDirectory()

As I discovered when I took this code to use in a console app yesterday...Directory.GetCurrentDirectory() failed to provide the path for the appsettings.json when the console app was launched in a method other than double clicking (for instance, pasting the full path in the Explorer path bar, or launching via CMD when the directory was set somewhere other than the EXE's directory).
Would it be better to use AppDomain.CurrentDomain.BaseDirectory which is more likely to accurately find the EXE's actual directory, and thus the appsettings.json, on any given launch method?
When creating a new PR, please do the following and delete this template text:

Reference the issue number if there is one:
Fixes #Issue_Number

The "Fixes #nnn" syntax in the PR description causes
GitHub to automatically close the issue when this PR is merged.

/cc @guardrex

This is premature, even the product code uses GetCurrentDirectory:
https://github.com/aspnet/MetaPackages/blob/622bdeec84fe502e441f296a9af10bc896848167/src/Microsoft.AspNetCore/WebHost.cs#L156
I recall the most common issue was when you didn't have an exe, you were using dotnet.exe myapp.dll.

Thanks for contributing @Gwunhar. We'll keep an eye on engineering to see if they change this in the future.

Ah, ok, that makes sense. Thanks for the time!


TimeSpan attached property crashes the app in Release x64

Current behavior
When setting a TimeSpan attached property in Release mode, the app crashes with the message:
Windows.UI.Xaml.Markup.XamlParseException: 'The text associated with this error code could not be found.

Cannot deserialize XBF metadata property list as 'Time' was not found in type 'Repro.Properties'. [Line: 0 Position: 0]'

Expected behavior
The attached property is set without crashing.

How to reproduce it (as minimally and precisely as possible)

create a blank UWP project
add the Uno.Toolkit.UI package
create an attached property of type TimeSpan
set the property on a control
run the app in Release x64 mode
see the app crashes (in Debug mode and Release x86 it works fine)
App11.zip

Workaround
Use Nullable<TimeSpan> instead of TimeSpan
Environment

Nuget Package:
Uno.Toolkit.UI
Package Version(s):
all
Affected platform(s):

Windows

OS version:
Edition	Windows 11 Pro
Version	21H2
OS build	22000.1098
Visual Studio:

2022 (version: 17.4.0 preview 2.1)
2022 (version: 17.2.6)

Relevant plugins:
none
Anything else we need to know?

this is unrelated to uno, more of a windows limitation
this is unrelated to toolkit neither, more of a generation xaml problem
we are trying to set a attached dp of type TimeSpan in xaml like so: // yes, the attached dp is defined propertly
<TextBox r:Properties.Time="0:0:0.100" />

while it may be possible to do so in the debug or release x86, release x64 throws on this assignment
as a workaround, you can replace TimeSpan with a proxy value that can accept timespan-like string such as KeyTime to bypass this problem


Intro screen

ffs I keep forgetting GitHub auto closes PRs when the base branch is deleted. Old PR is https://github.com/GoogleChromeLabs/squoosh/pull/188.
Styled up the intro screen. Includes demo images & loading spinner component.

@surma

Also, running this branch I don’t actually see the spinner anywhere.

It's there for the duration of the demo image loading. https://github.com/GoogleChromeLabs/squoosh/pull/191/files#diff-7983b39e7d31cf20f6fa9924363c38b4R71.
You'll see it on https://deploy-preview-191--squoosh.netlify.com/, especially if you throttle connectivity.

@developit ughhhhh I accidentally pushed some of my lazy-load-the-app commits to this branch. I've removed them. Sorry if it made reviewing confusing.

Nah, no prob, I just review commit by commit.


Workflow for closing Old PRs

Please describe your feature.
This feature aims to automate the management of open PRs in a repository, ensuring that outdated or abandoned PRs are closed in a timely manner. By doing so, it helps maintain repository hygiene, improves workflow efficiency, and provides a better experience for both maintainers and contributors.
Describe the solution you'd like
Implement a workflow that automatically closes old PRs based on predefined criteria, such as their last update timestamp. By regularly closing PRs that have not been updated within a certain timeframe, the repository can stay organized, and contributors can focus on active and relevant PRs.

@dhruvpatidar359 please assign me this issue under gssoc'24


NotImplementedError: The following operators are not implemented: {'GatherTree'}

Hi,
When I compile a tensorflow pb model with TVM, it gives the following error message:
NotImplementedError: The following operators are not implemented: {'GatherTree'}
Is it caused by dunamic RNN network? The op "TensorArray" is not support yet? How can I solve it? As the examples given in the projects are image processing models, most of them are CNN networks. But when we deal with speech recognition task, the dynamcin RNN networks are universally used, especially in the decoder step, the decode results are stored in the TensorArray.
Anyone could U please give me some help? Thanks a lot!

TF TensorArray should be already supported, but there is no tree data structure in TVM. There is no actionable item, so closing.


Enabling rubo configs/12 20 23

🤔 What's changed?
Regenerated rubcop todo and fixed warnings.
Added to rubocop config:
Metrics/AbcSize:
Max: 30
Metrics/MethodLength:
Max: 23
RSpec/ExampleLength:
Max: 6
⚡ What's your motivation?
Helping out
🏷 What kind of change is this?

:bank: Refactoring/debt/DX (improvement to code design, tooling, documentation etc. without changing behaviour)

♻ Anything particular you want feedback on?
I added some configs to rubocop.yml for code length. Should those be refactored to fit those cops instead?
📋 Checklist:

[x] I agree to respect and uphold the Cucumber Community Code of Conduct

This text was originally generated from a template, then edited by hand. You can modify the template here.

Hey! Thanks for wanting to help out!
I'll have to let Luke do the actual review. But for your pull request title and description please follow the guidance from https://cbea.ms/git-commit
It helps everyone to quickly see what your pull request is about.

(And yeah, awesome that you made a PR!)

Fixed by #266


Test on both Rack 1 and Rack 2

:octopus::computer:
/cc @bquorning @grosser
Steps to merge

[ ] :+1: from the team

Risks

None

:+1: on green


How to handle scrolling through multiple items

Is this a bug report, a feature request, or a question?
A question.
I have a calendar view in my app just like the Health app on iOS and I'm using the carousel to render the items for each day. I want to be able to scroll through the days programmatically when the user taps on a specific date. The problem is, the carousel scrolls through all the items between the current date and the date that the user selects, which can be a lot. I want the carousel to scroll to the selected date as if there were no items in between.
Is there anything I can use in the library to achieve this, or do I need to pull some tricks splicing my data?

Hi @halileohalilei,
The only thing doable with the plugin at this point is to set the second parameter of snapToItem to false in order to disable the scroll animation.
I'm pretty sure this is not what you're after though...

hi @bd-arc  any update solution ?

Sorry, please allow me to advertise for my open source library! ~
I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2


fix : release should not be called within NewSourceTube, and the getOrCreateChan logic should be modified

fix:https://github.com/FunctionStream/function-stream/issues/159.

This will have three states: Set, Get, and Release

您删除了这将导致引用计数不起作用。atomic.AddInt32(&q.refCnt, 1)

您删除了这将导致引用计数不起作用。atomic.AddInt32(&q.refCnt, 1)

Sorry, this may have been deleted by mistake.

Sorry, this may have been deleted by mistake.


Should not remove the non-html tag

e.g.
"a <1 and b >2"
after sanitize, we've got "a 2"
I'd expect unchanged content.
What do you think?

Also would like to have some option for this :)

What you're talking about here is technically a malformed tag, not a rejected tag. That means it's down to the htmlparser2 library to handle it, and I don't think it offers a way to capture the content of malformed tags. Would have to be fixed at a lower level in htmlparser2, in other words, in order to make such an option possible. And then we would certainly escape the < and > to output valid HTML.

Was this an option that was recently removed?
I just see e.g. https://github.com/apostrophecms/sanitize-html/commit/a338283a991bbeb0520bc1f8f053c0dce2b2a5d0
https://github.com/apostrophecms/sanitize-html/pull/312/files

I guess the cases e.g. in the disallowedTags is slightly different than the OPs case as it might be a malformed tag. In my data I have some weird case where people just actually pass in <TRA> and except that to be printed so it looks like HTML but is not. Would be curious about escaping disallowed tags and the OPs answer though

Hi all, does anyone have any insight on this? @boyddddd  I have a case similar to @cmdcolin.  We have a proprietary CMS and we use sanitize-html to clean our content.  Some of our content needs to display to the end user as read-able mark-up.  It's always enclosed in a

 block.  What's happening is that the content in that  block is Java and there are some Java constructs that use a syntax like:  < XXX >.  When it goes through sanitize-html all I'm left with it " XXX ". sanitize-html has a discard option that escapes instead of discarding tags. Is there a way to apply this discard option only on certain tags - like my  tag?  Failing that is the are way to ignore a particular tag?  It would be less safe, but as least I wouldn't lose the tags.  Thanks in advance for your help.

I had a workaround that basically addresses the problem for my purposes where I had kind of a switch
If the string inputted to my program looked like HTML, I just pass to sanitize-html
Otherwise, if the string I am looking at does not look like HTML, then I just escape angle brackets up front and then pass to sanitize-html just to be sure
I do this by basically using is-html package to test input string, and then if so escape-html npm package to escape it
Logically like this
sanitize-html(isHtml(string)? string : escapeHtml(string))

That above solution of course doesn't really allow for a mixing of "non-html" tags with html but it worked for my purpose

cmdcolin, that should actually work in my situation.  I can't believe I didn't think of it.  We already do some processing on the HTML before we send it to sanitize-html.  I can look inside the  tags and escape the < and > characters myself.

There is an option to escape disallowed tags, which sounds like it would help resolve this. But @boutell did also note that most of the issue is that this depends on htmlparser2 to do the parsing.