Pull requests from forks will not build correctly

Kochiku workers have been updated to support this however I am 99% certian that the mainline repository does not enqueue a job with the correct (ie the fork) repository url.
I have a branch that starts to add support for this however I haven't had a chance to finish it, wanted to make an issue to record this problem for the public.

Fixed by #200
Fixed by #261
Fixed by https://github.com/square/kochiku-worker/pull/55
Your welcome @nolman!

Thanks @robolson!


Move "use only known letters in practice" from settings to card menu

@zuevval are you sure that we should do this? In the settings, we have enough place to provide the description. Having a different item in the context menu that depends on the state may confuse users


fix(fix readme): translation error

:tada: This PR is included in version 1.5.11 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Question about pretrain loss?

Thanks for your work! I have noticed that the second version of the preprint has been published, but I still have the question about the pretrain loss in Section 4.3.3. How much parts are the loss of pretrain composed?  Is it equals to the sum of gene expression prediction loss and  cell prompt loss or how to combine the gene prompt loss and cell prompt loss during the pretraining?

Hi, thank you for your interest! We did the gene prompt step and cell prompt step consecutively during the pre-training. The gene prompt step is to predict the expression values of unknown genes based solely on known genes, and the cell prompt step is to predict unknown genes based on the cell embedding as well.
We are wrapping up the code for pretraining and data collection right now, and aim to release them by the end of this week. Hopefully, that will explain this question as well.

Thanks for your answers!


Add history to HTTP/2

Summary
For tracking #4504, I added history feature to HTTP/2 component which is used in HttpSM. It was quite useful for debugging. This is bit generalized from what we deployed for #4504.
This PR includes

Add _history member to Http2ClientSession and Http2Stream
Http2ConnectionState's history is recorded in Http2ClientSession's _history, because they're sharing mutex.

Memory footprint
History is ring buffer and the size is 2088 bytes. (HISTORY_DEFAULT_SIZE * sizeof(HistoryEntry) + sizeof(unsigned int) = 65 * 32 + 8 ) It looks acceptable.

clang-analyzer issues are fixed.

Cherry picked to 8.1.0.


fix approve operations tron

✅ Checklist

[x] npx changeset was attached.
[x] Covered by automatic tests.
[x] Impact of the changes: tron operation list

...

📝 Description
Approve smart contract method executions broke history graph / operation list on Tron
This PR fixes this and edit operation type to approval (also, it moves from token account to parent)
Before :

After:

❓ Context

JIRA or GitHub link:  https://ledgerhq.atlassian.net/browse/LIVE-12478

🧐 Checklist for the PR Reviewers

The code aligns with the requirements described in the linked JIRA or GitHub issue.
The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
There are no undocumented trade-offs, technical debt, or maintainability issues.
The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
Any new dependencies have been justified and documented.
Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

Good!
Quick questions:

TRC10 and TRC721 are not supported it seems (I only see code about TRC20), is it planned?
Same question for the many other transaction types listed here: https://github.com/tronprotocol/java-tron/blob/develop/protocol/src/main/protos/core/Tron.proto#L336

Maybe we could do the same thing for those types of tokens indeed, but the initial goal of this PR is a bugfix so I think we should discuss it with product


Unable to change some sysctl variables with usrsctp_sysctl_set_*

For example hashtblsize and pcbtblsize are used in usrsctp_init, but usrsctp_init also calls sctp_init_sysctls() which resets all the variables to default values.
A possible fix would be to allow caller to call:
sctp_init_sysctls();
usrsctp_sysctl_set_XXX();
before calling usrsctp_init().
And prevent multiple invocation of sctp_init_sysctls, so that changes made before usrsctp_init() are preserved.
If this sounds reasonable, I can upload a patch.

Isn't is being used in sctp_inpcb_alloc()? So you should be able to change the values after calling sctp_init() or am I missing something?

Right. So you are referring to
TUNABLE_INT_FETCH("net.inet.sctp.tcbhashsize", &SCTP_BASE_SYSCTL(sctp_hashtblsize));
TUNABLE_INT_FETCH("net.inet.sctp.pcbhashsize", &SCTP_BASE_SYSCTL(sctp_pcbtblsize));
TUNABLE_INT_FETCH("net.inet.sctp.chunkscale", &SCTP_BASE_SYSCTL(sctp_chunkscale));

which are system tunables in FreeBSD. One could add a way to provide these three values in an additional functions and then, if they are set, use them. That would mimic the handling in the FreeBSD kernel. However, I think only the first one is relevant for the userland stack. So one could add a function which sets this value. Do you have a need for it? Do you think this is worth doing?

Sorry, my write up might be a bit too confusing.
The issue I'm referring to are these line:
	SCTP_BASE_INFO(sctp_asochash) = SCTP_HASH_INIT((SCTP_BASE_SYSCTL(sctp_hashtblsize) * 31),
						       &SCTP_BASE_INFO(hashasocmark));
	SCTP_BASE_INFO(sctp_ephash) = SCTP_HASH_INIT(SCTP_BASE_SYSCTL(sctp_hashtblsize),
						     &SCTP_BASE_INFO(hashmark));
	SCTP_BASE_INFO(sctp_tcpephash) = SCTP_HASH_INIT(SCTP_BASE_SYSCTL(sctp_hashtblsize),
							&SCTP_BASE_INFO(hashtcpmark));
	SCTP_BASE_INFO(hashtblsize) = SCTP_BASE_SYSCTL(sctp_hashtblsize);

And other where SCTP_BASE_SYSCTL(sctp_hashtblsize) and others are used to init the hashtables.
For context, we are trying to use this for a severely constrained system, and we would like to reduce the sctp_hashtblsize and sctp_pcbtblsize to reduce memory footprint.  But doing something like:
usrsctp_init(...);
usrsctp_sysctl_set_sctp_hashtblsize(N);
usrsctp_sysctl_set_sctp_pcbtblsize(N);

does not work since the sizes are snapshotted in the lines above within usrsctp_init().   And switching the code to do:
usrsctp_sysctl_set_sctp_hashtblsize(N);
usrsctp_sysctl_set_sctp_pcbtblsize(N);
usrsctp_init(...);

doesn't work either since usrsctp_init() calls sctp_init_sysctls() internally and resets all the values to default.
Thus the idea of allowing caller to do:
sctp_init_sysctls();
usrsctp_sysctl_set_sctp_hashtblsize(N);
usrsctp_sysctl_set_sctp_pcbtblsize(N);
usrsctp_init(...);

And preventing the second call of sctp_init_sysctls() from overwritting the values set by caller.

sctp_init_sysctls();
usrsctp_sysctl_set_sctp_hashtblsize(N);
usrsctp_sysctl_set_sctp_pcbtblsize(N);
usrsctp_init(...);

That would require sctp_init_sysctls be conditionally called inside usrsctp_init. We probably can't just remove the call there because that would break existing behavior. The condition would be 'has sctp_init_sysctls been already called?'. That could be checked through a global flag, but that flag would just take the memory and not used for majority of time and use cases. My thinking was that system_base_info as a global is initialized by the universal zero initializer (http://en.cppreference.com/w/c/language/struct_initialization). That already provides sufficient information if sctp_init_sysctls has been called or not yet, without taking up extra memory.
An implementation in sctp_sysctl.c could look like this:
#define SET_NUMERIC_SCTP_BASE_SYSCTL(__m, value)  \
	do {                                                                                \
		if (SCTP_BASE_SYSCTL(__m) == 0) {                      \
			SCTP_BASE_SYSCTL(__m) = (value);              \
		}                                                                                \
	} while(0)

Then later replacing these two lines:
	SCTP_BASE_SYSCTL(sctp_hashtblsize) = SCTPCTL_TCBHASHSIZE_DEFAULT;
	SCTP_BASE_SYSCTL(sctp_pcbtblsize) = SCTPCTL_PCBHASHSIZE_DEFAULT;

with the above macro.
As for any concern of assumptions about types of values, that is the reason why I call the macro SET_NUMERIC_SCTP_BASE_SYSCTL instead of SET_SCTP_BASE_SYSCTL. That macro is supposed to be used for sysctls that are of numeric type and hence can be initialized to 0.
Thoughts?

Hi, Tüxen! Sorry to overwhelm you, but we are concerned about diverging from the upstream too much, so were really hoping to get direction from you on how best to proceed.
Just to refresh: The problem we are trying to solve is to be able to programmatically manage allocations during init for our extremely constrained system.
Thanks!

OK. Let me think about this. I think there is also a problem in FreeBSD. I'm contemplating that it is better to handle the sys tunables in a different way than the sysctls. Will provide feedback beginning next week and will come up with a patch.

We are happy to upstream our above solution if you approve that.

I understand... However, let me try to figure out if we also have a problem in FreeBSDs kernel implementation...

I have added in https://github.com/sctplab/usrsctp/commit/48a387358b63c9709267bb16acbb41920effc45d a way to set sys tunables. You can now do
usrsctp_tunable_set_sctp_hashtblsize(N);
usrsctp_tunable_set_sctp_pcbtblsize(N);
usrsctp_tunable_set_sctp_chunkscale(N);
usrsctp_init(...);

I removed the functions

usrsctp_sysctl_set_sctp_hashtblsize()
usrsctp_sysctl_set_sctp_pcbtblsize()
usrsctp_sysctl_set_chunkscale()

since they have never worked as expected. You can still use

usrsctp_sysctl_get_sctp_hashtblsize()
usrsctp_sysctl_get_sctp_pcbtblsize()
usrsctp_sysctl_get_chunkscale()

to query the values after sctp_init() has been called. I think this fixes this issue. If not, or you have any further questions or comments, please reopen this issue.

Wow, thanks, Tüxen! I am pretty sure this effectively solves our problem for those variables.
Unfortunately, we did just notice a couple other variables that pre-allocate some more memory that we would also like to tune down:
sctp_nr_outgoing_streams_default
sctp_nr_incoming_streams_default

in usrsctplib/netinet/sctp_sysctl.c.
This is all we know about for now, but I wonder if it suggests if we need a more general solution. e.g. either making usrsctp_init_sysctls() idempotent with a global bool, or make the same change for all the variables in usrsctp_init_sysctls().
What do you think?

These are normal sysctl variable and you should be able to change the defaults before creating end-points. Once you have created an end-point, but before the association has been initiated, you can change these values using the SCTP_INITMSG  socket option described in Socket API. Once the association has been established, you can only increase the number of streams using the extension defined in RFC6525, but this isn't used in WebRTC (assuming you are working on WebRTC).


Doesn't received message in Microsoft Teams

Sample information

Solution: 57.teams-conversation-bot
language: [dotnetcore]

Describe the bug
I tried to set up the project and corresponding application like ngrok, and created a bot service using dev.botframework.com with App ID and App Password. The application is running (no error) when I send a message on the bot team channel. The problem is the reply message, the both channel doesn't display or should I say received it.
Note: I tried to use the bot emulator and everything is working fine. The application reply is displaying in the bot emulator.
To Reproduce
Steps to reproduce the behavior:

I just followed the setup in Read.me
Run the ngrok
Configured the bot settings in dev.botframework.com to use the ngrok https site link.
Run the program

After

Expected behavior
I should be receiving the reply in Teams bot channel
[bug]

This ok already. It's an access issue in Azure. Thanks!

This ok already. It's an access issue in Azure. Thanks!

How exactly you resolved this access issue in Azure?


test(bts): transfer coin with value as zero

Feature
If applicable, include a link to the Git issue of the feature. Otherwise, describe what the feature being tested is.
Scenario
transfer 0 NEAR and check if transaction fails

Given

An user account with balance

When

user tries to send 0 NEAR

Then

BSH should revert

Test Passed. BSH reverted with Non Minimum amount


Added a dart logo in (Header) README.md

Changes
Added a dart logo in the README.md file.
Before Changes

After Changes

We'd rather not have a dependency across repo here; closing


Account Type: Associated Token Account

Implement:

Menu item in account type drop-down
Item in account auto-complete
src/components/client/accounts/type-config/AtaTypeConfig

One field: mint

useAccountType should get the associated account
Prompt if the account does not exist, to create it

https://github.com/labeleven-dev/bettercallsol/commit/30723c0ed306e6c08865b416676c4ebb4d9005a4: Implemented everything except "Prompt if the account does not exist, to create it"


remote address needs https://

if you dont add it, bad things happen... alex can repro too.

Here is the stack trace:
   at System.Net.Http.HttpClient.CheckBaseAddress(Uri baseAddress, String parameterName)
   at System.Net.Http.HttpClient.set_BaseAddress(Uri value)
   at Microsoft.R.Host.Client.Host.BrokerClient.CreateHttpClient(Uri baseAddress) in BrokerClient.cs: line 73
   at Microsoft.R.Host.Client.Host.RemoteBrokerClient..ctor(String name, BrokerConnectionInfo connectionInfo, ICoreServices services, IConsole console, CancellationToken cancellationToken) in RemoteBrokerClient.cs: line 38
   at Microsoft.R.Host.Client.Session.RSessionProvider.CreateBrokerClient(String name, BrokerConnectionInfo connectionInfo, CancellationToken cancellationToken) in RSessionProvider.cs: line 346
   at Microsoft.R.Host.Client.Session.RSessionProvider.<TrySwitchBrokerAsync>d__44.MoveNext() in RSessionProvider.cs: line 167
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.R.Components.ConnectionManager.Implementation.ConnectionManager.<TrySwitchBrokerAsync>d__52.MoveNext() in ConnectionManager.cs: line 197
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.R.Components.ConnectionManager.Implementation.ConnectionManager.<ConnectAsync>d__50.MoveNext() in ConnectionManager.cs: line 165
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run(Func`1 asyncMethod)
   at Microsoft.VisualStudio.R.Package.Shell.VsProgressDialog.Show(Func`2 method, String waitMessage, Int32 delayToShowDialogMs)
   at Microsoft.R.Components.ConnectionManager.Implementation.ViewModel.ConnectionManagerViewModel.Connect(IConnectionViewModel connection, Boolean connectToEdited) in ConnectionManagerViewModel.cs: line 296
   at Microsoft.R.Components.ConnectionManager.Implementation.View.ConnectionManagerControl.HandleConnect(RoutedEventArgs e, Boolean connectToEdited) in ConnectionManagerControl.xaml.cs: line 92
   at Microsoft.R.Components.ConnectionManager.Implementation.View.ConnectionManagerControl.ButtonConnect_Click(Object sender, RoutedEventArgs e) in ConnectionManagerControl.xaml.cs: line 37
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, ref Boolean handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, ref Boolean handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, ref Boolean handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

Bug happens because HttpClient doesn't support any type of scheme except http and https.
I think we need to change logic in ConnectionViewModel.GetCompletePath to handle host:port pair as a URL without http or https.

@int19h , what do you think?

Currently we support only URL, cause we pass it directly to HttpClient, which supports only http and https:
    internal static bool IsHttpUri(Uri uri)  {
      string scheme = uri.Scheme;
      if (string.Compare("http", scheme, StringComparison.OrdinalIgnoreCase) != 0)
        return string.Compare("https", scheme, StringComparison.OrdinalIgnoreCase) == 0;
      return true;
    }

For a quick fix, we can check if GetComponents(UriComponents.HostAndPort, UriFormat.UriEscaped) returns an empty string, and try to parse the uri with "http://" at the beginning.

Didn't we have code in the UI layer that automatically corrected plain server names, or server:port pairs, to proper URLs, when you tab away from the textbox? @huguesv did that, if I remember correctly. Did we regress?

Not at all, this is how it was written:
        [InlineData("HOST", "https://host:5444")]
        [InlineData("host", "https://host:5444")]
        [InlineData("host:4000", "host:4000")] // host == scheme in this case and 4000 is actually a host name
        [InlineData("HOST:4000", "HOST:4000")] // host == scheme in this case and 4000 is actually a host name
        [InlineData("host#1234", "host#1234")]
        [InlineData("HOST#1234", "HOST#1234")]
        [InlineData("c:\\", "c:\\")]
        public void CompletePath(string original, string expected) {
            ConnectionViewModel.GetCompletePath(original).Should().Be(expected);
        }

Though comment to the [InlineData("host:4000", "host:4000")] is invalid. 4000 isn't a host name, such URI has no host or port, 4000 is part of the path. To make it a host, it should be host://4000

So basically it does autocorrect host to a proper URI, but not host:port. Looks like we just need to add the latter, and validate the scheme?
As I recall, it was not intended to imply that input like host or host:4000 is a valid URI. It just happens to be a simplified form that's convenient for the users to enter.
I think what we should do here is check for ://. If it's present, parse it as URI. If it's not present, prepend https:// and then parse as URI. After parsing, if port was not specified, set it to 5444, otherwise leave as is. If parsing failed, report error.

We should correct in the user-friendly way.
a) Protocol should not be required. If user enters it, we auto-correct to https i.e. ftp://foo -> https://foo:5444, and not 443.

+1. This was the source of my connection issues.
On Tue, Dec 27, 2016 at 3:27 PM Mikhail Arkhipov<EMAIL_ADDRESS>wrote:

We should correct in the user-friendly way.
a) Protocol should not be required. If user enters it, we auto-correct to
https i.e. ftp://foo -> https://foo:5444, and not 443.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/RTVS/issues/2932#issuecomment-269397528,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtUVJ3K4AAGRGSEX6ZwX6jw0Xn_SsLCks5rMZ7ZgaJpZM4LVG79
.

Per above, we already autocorrect if port is not specified (i.e. foo becomes https://foo:5444). We should just extend the same autocorrection logic to the case where there is a port.

We also should replace anything that is not https with https:// as well as handle host:port as https://host:port and not rely on Uri.TryCreate which is then using host as scheme name.

https://github.com/Microsoft/RTVS/commit/fecbdbb4621d16e0727ffd3b2928503fde73c78e


Surface Go X11/Mutter random crash on touch

Posted a bug report on gitlab  https://gitlab.gnome.org/GNOME/mutter/issues/951
leaving it here as well just in case someone has an idea.. experience using Surface Go is otherwise perfect, but this bug is very annoying..
found that mutter crashes after 300 taps.. reported the bug to mutter devs.

has been fixed with latest mutter/gnome-shell release. very nice.


a status of 403 () from captcha-request.php

i'm using Iconcaptcha-plugin from time , and it was working well.
but suddenly after i made minify for javascript for the site but not for the capcha.
i face this issue now for the first time from the captcha and there are not any images.
but when click on the captha on images place , the captcha load correctly and works fine .

Could you please clarify what problems you are facing? Did the captcha stop working after you minified the Javascript code? If so, the minifier most likely broke the code somewhere.

Closed due to inactivity.


No sanic

I was going through your code and do not find sanic. Please remove sanic from your tag. Thanks

Okay.I will update those tags later


Servicing Profile: Office 365 won't update

I have had this ticket in with Microsoft for a full week and have not heard back.  I am hoping this can get looked at as we would like to eventually roll this out everywhere.  Are there any logs I can look at? Is there anyone that can assist?
I have 15 devices enrolled in servicing profile for the past 3 weeks.  Of the 15 devices, 7 of them have completed their updates and the remaining 8 are stuck at "Not started".  We have a 1 day deadline for updates and have selected not to use waves for rollouts.
3 of these 7 devices have moved to "In progress" and within 1-3 days will revert back to "Not started".
I have seen these same 3 devices show up with "Failure" once in awhile too that usually lasts about an hour on the dashboard before disappearing and reverting back to "not started".  Usually the failure will NOT show any error code under issues.  However the one this morning shows this error code:
Error 30088, unknown click to run issue under "Download" deployment stage"
This was a machine that just booted up this morning.
Why did only half the machines update and the remaining half seem to be having problems? Makes me nervous wanting to roll this out to the company.

@manoth-msft  Any thoughts on what might be happening here?  Thanks.

@OfficeCloudKey Can you share more details regarding the "ticket with Microsoft"? Have you submitted feedback through the feedback button in the APps Admin Center, or do you have a RAVE case open with support?
Github is not the intended/best way for troubleshooting support, so I'm happy to work off a feedback item or rave case.

@manoth-msft My apologies, yes I did submit feedback through the feedback button on the Apps Admin Center.  I  received a response that day that they received my feedback and would look into it, and that was the first and only response I've received.
The feedback does not have a ticket # so I don't have any details to provide for you to look it up.
when I look at the servicing profile this morning, I see that there are #'s under "projected waves" but clicking on the "Devices" button shows nothing there.  I'm guessing it's probably loading up for the next update of 365 as today is release build 2206.
Do you have an email I can reach out to and we can troubleshoot further off the feedback item?

@manoth-msft We are still experiencing this issue.  Half the devices have still not updated, or 1 or 2 devices will show "failure" upon booting up at the "download" stage.  Have yet to hear anything back from Microsoft from my feedback case submitted last Monday.

@manoth-msft Updating that this issue is still present monday morning.  Channel 2205 build 20370 is still flipping between "In progress" to "not started" on devices.  Issue has been present for several weeks.  I followed up on my feedback ticket and still no response from anyone.

I've nudged engineering to respond to your feedback item. This GitHub repo is focused on the maintenance of the documentation, not troubleshooting cases. Can we please continue the conversation on TechCommunity (there is a thread regarding your issue already,

@manoth-msft Thank you, I appreciate the nudge.  Hoping I'll hear from someone soon.  I will shift and update that thread on TechCommunity shortly.

@manoth-msft   Thanks for your assistance.
Closing this as further discussion will take place in TechCommunity.


A beautiful feature

They say that beauty lies in the eye of the viewer. But we promise you even if the viewers eyes will be devoid of beauty, they will nevertheless see it. Eye catching websites is what we made and we take no extra bucks for it.


Fix account listener

Dapp change checklist:

[ ] Code reviewed by 1 reviewers.
[x] CI passes

@0xAnnapurna merge after approval pls 🙏


[VL] Add gluten iceberg jar to bundle package

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #ISSUE-ID)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

CC @yma11

@leoluan2009 Thanks for contribution. For data lake support like iceberg and delta lake, we don't include them in Gluten jar as it's not used by all customers and will make the package fatter. Any reasons for your changes here?

@yma11 Iceberg profile is not active by default, if we manually enable it when building gluten, it means we need it to read/write iceberg table, so we should put it in Gluten jar for easy deployment？

@yma11 Iceberg profile is not active by default, if we manually enable it when building gluten, it means we need it to read/write iceberg table, so we should put it in Gluten jar for easy deployment？

I get your point. In this way, we don't need extra include of the gluten-iceberg-* jar file. So I think you need update this doc as well.

@yma11  updated doc, can you help to review again? thanks

@yma11 Thanks for your review, I have updated doc by your comment


useMetafields() do not return order metafields on the OSP

Please list the package(s) involved in the issue, and include the version you are using
"@shopify/ui-extensions": "2023.7.2",
"@shopify/ui-extensions-react": "2023.7.2",

Describe the bug
useMetafields / useMetafield hooks return metafields on TYP, but not on the OSP.
Steps to reproduce the behavior:

Create extension for TYP and OSP that logs result of useMetafields()
Set order metafield in checkout
Place order
You will see metafield log on TYP
Refresh the page - you won't see it anymore on OSP

Expected behavior
useMetafields / useMetafield should always return order metafields.
Screenshots
N/A
Additional context
My app needs to show certain information on OSP based on the metafield which is set during the checkout. In some cases this metafield is changed in Shopify Admin or via Admin API

Got a same issue

I can confirm this behaviour. For us, it started with the update on the order status page.


WICKET-6946 Document limitations of overriding isVisible/isEnabled

Document limitations of overriding isVisible/isEnabled
This PR also improve various sections around the edited paragraphs. I can split them in different commits if need be.
Also, I'm aware of the whole override vs non-override debate and this PR only serves as documenting (some of) the pitfalls of doing so.

Many thanks, that's a welcomed improvement.

Merged


Feature Request: Upgrade to .NET 8

Describe the feature

Upgrade to use .NET 8

Advantages

I wanna be the very best

Acceptance Criteria
Functional and non-functional criteria that should be met by this work

[ ] Upgrade to use .NET 8

@gyro2009 - wanna give it a stab?

Yes please! Leave it with me


GPU Acceleration no longer functioning

I have discussed this issue in #143 but that root issue was the build failure and that is fixed, so I figured it would be a good idea to log a new issue.
When using the latest version of this repo graphics acceleration does not function, but was working properly before that. The last generation that works properly on my machine was built on 2024-01-12, which was prior to the changes to how mesa is patched.

My system is a macbook Pro 16" M2 Max.
I have verified that all firmware is up to date by doing a full fresh install.
When running the last working generation, this is my renderer string: OpenGL renderer string: Apple M2 Max (G14C B1)

My current configuration can be seen here: https://github.com/minego/nixos-config/blob/apple-gpu/hosts/zaphod2/default.nix
I am seeing a number of issues since this update:

When running xorg with xfce glxinfo reports a strange error, and no other info: Error: couldn't find RGB GLX visual or fbconfig
When running wayland (sway or dwl) XWayland doesn't function, and it did before these updates. Trying to run glxinfo reports glxinfo I get Error: unable to open display :0
Both sway and dwl print errors related to GLX during startup:

00:00:00.006 [ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
00:00:00.006 [ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
did not find extension DRI_Core version 1
did not find extension DRI_IMAGE_DRIVER version 1
failed to bind extensions
did not find extension DRI_Core version 1
did not find extension DRI_IMAGE_DRIVER version 1
failed to bind extensions
did not find extension DRI_Core version 1
did not find extension DRI_SWRast version 4
failed to bind extensions
00:00:00.018 [ERROR] [render/egl.c:556] Failed to create GBM device
00:00:00.018 [ERROR] [render/egl.c:572] Failed to initialize EGL context
00:00:00.018 [ERROR] [render/gles2/renderer.c:804] Could not initialize EGL
00:00:00.032 [ERROR] [backend/drm/util.c:66] Failed to parse EDID

Trying to start other apps such as kitty reports similar errors:

ibEGL warning: MESA-LOADER: failed to open zink: /run/opengl-driver/lib/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)

libEGL fatal: did not find extension DRI_Core version 1

The result is a system that is nearly unusable, because the GUI as a whole is very laggy. Even moving the mouse cursor is enough to see the issue.

I've been looking for ways to get more debug info out, and found a few environment variables that help a bit:
❯ MESA_DEBUG=true EGL_LOG_LEVEL=debug kitty                                      1
libEGL debug: using driver asahi for 8

libEGL debug: MESA-LOADER: device is not located on the PCI bus

libEGL debug: using driver asahi for 8

libEGL debug: MESA-LOADER: dlopen(/run/opengl-driver/lib/dri/asahi_dri.so)

libEGL fatal: did not find extension DRI_Core version 1

So, it does seem to be successfully loading asahi_dri.so at least. I'll reboot in a bit and see what the output was for the working generation to compare. Maybe that will help a bit.

Okay, on the working older generation I get:
libEGL debug: using driver asahi for 8

libEGL debug: MESA-LOADER: device is not located on the PCI bus

libEGL debug: using driver asahi for 8

libEGL debug: MESA-LOADER: dlopen(/run/opengl-driver/lib/dri/asahi_dri.so)

libEGL debug: did not find extension DRI_Kopper version 1

libEGL debug: No DRI config supports native format XBGR2101010
libEGL debug: No DRI config supports native format ABGR2101010
libEGL debug: No DRI config supports native format ABGR8888
libEGL debug: No DRI config supports native format XBGR8888
libEGL debug: No DRI config supports native format XRGB1555
libEGL debug: No DRI config supports native format XRGB4444
libEGL debug: ---------------

Sadly that doesn't appear to have any really helpful info, except that it imples that DRI_Core version 1 was available in that version. That makes me wonder if there is an issue with how mesa got built in my current system.

I am not sure what exactly fixed it, but about an hour ago I did a nix flake update and ran nixos-rebuild and it rebuild mesa and webkit and a ton of other stuff but it works again!


Possible to get multiple selections visible with copyOnSelect enabled

On the 0.11.1153.0 prerelease
Stick these in your globals:
    "copyOnSelect": true,
    "copyFormatting": false,

run dir to fill the buffer up, then ping -t google.com.
If you quickly select two different spots in the buffer, you can get both the old selection region and new selection region to be visible at the same time. I'm 88% sure this is purely graphical - it seems like the only actual selection is the second one, and as soon as more lines appear in the buffer, the old selection will disappear.
This might just be an ordering issue? Maybe we're not invalidating the old selection region when making a new one?
Weirdly, I couldn't get this to repro w/o running ping.

This is definitely a regression from incremental R.

I'm just gonna shove this on 1.0, since it regressed with #5345 (et. al) but feel free to override me if this doesn't make the bar

Hey so playing I'm with 0.11.1204.0, and I absolutely can't get this to repro anymore. This must have been fixed between 1153 and 1204


[#155] CnFromPath ignores module-info

Closes #155

Codecov Report

Merging #156 into master will increase coverage by 0.46%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #156      +/-   ##
============================================
+ Coverage     42.79%   43.26%   +0.46%
- Complexity      180      184       +4
============================================
  Files           182      182
  Lines          1402     1403       +1
  Branches         40       40
============================================
+ Hits            600      607       +7
+ Misses          795      789       -6
  Partials          7        7

Impacted Files
Coverage Δ
Complexity Δ

...s/src/main/java/oo/atom/codegen/cn/CnFromPath.java
78.57% <0%> (+47.8%)
6 <1> (+4)
:arrow_up:

Continue to review full report at Codecov.

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

@rultor merge

@rultor merge

@skapral Done! FYI, the full log is here (took me 4min)


podman mount of running container can not be umounted.

We should be able to mount and umount a running container once.  And only fail to umpount if the image was never mounted.
Create a container
# podman run -d fedora sleep 60000
f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c

Mount the container.
# podman mount f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
/var/lib/containers/storage/overlay/3dacf07b65cd12e926615d192c484c42aad6baeb5bf3fae79130816e4994af5c/merged

Attempt to unmount the container, I believe this should work, since it should be decrementing the count of mounted containers.
# podman umount f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
error unmounting container f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c: cannot unmount storage for container f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c as it is running or paused: container state improper

Stop the running container
# podman stop f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c

Now umount the container and it works.
# podman umount f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c

Mount it again.
# podman mount f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
/var/lib/containers/storage/overlay/3dacf07b65cd12e926615d192c484c42aad6baeb5bf3fae79130816e4994af5c/merged

And Umount it again, which is successful since the container is not running.
# podman umount f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c

Now mount it multiple times.
# podman mount f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
/var/lib/containers/storage/overlay/3dacf07b65cd12e926615d192c484c42aad6baeb5bf3fae79130816e4994af5c/merged
# podman mount f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
/var/lib/containers/storage/overlay/3dacf07b65cd12e926615d192c484c42aad6baeb5bf3fae79130816e4994af5c/merged

And Unmount it multiple times, Should fail on the third umount.
# podman umount f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
# podman umount f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
# podman umount f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c
error unmounting container f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c: error unmounting container f7a9d4911d2a4d72778de5ab5944ecdb9414963e0b22223b4b1653f1579a9d6c root filesystem: layer is not mounted

So it seems to be an issue only when container is running.

Looking into it.


Remove revert button

fixes #347
additional Controllers/Dialogs simplification following-up #487

Please make sure that all the checks pass. Please add here any additional information regarding this pull request. It's highly recommended that you link this PR to an issue (please create one if it doesn't exist for this PR)

@roll Hi, why are these two changes together? they can't be separated?

@guergana
No, there are not two changes. You can just remove the "Revert" button without the rest but to achieve "Unsaved Changes" dialog work on the application exit you need this logic consolidated (as previously it was per controller without a centralized way to handle unsaved changes)

@guergana
No, there are not two changes. You can just remove the "Revert" button without the rest but to achieve "Unsaved Changes" dialog work on the application exit you need this logic consolidated (as previously it was per controller without a centralized way to handle unsaved changes)

@roll Thanks for the clarification..there are many changes so it's a bit difficult to follow what's happening but I will take a closer look .

@guergana
Thanks! Yeah I spent quite a lot of time figuring out the working logic for reacting on the app closing event and nothing worked within the separated controllers architecture

@roll I changed the name of the PR to "Remove revert button". it was "Revert revert button" I guess it was an oversight.

@roll the revert button is succesfully removed but I tried changing a field and opening a different file and I didn't get the popup saying there are unsaved changes.. is this still a requirement for this ticket?

Hi! I tested this on Mac.
Scenario 1: Quit the ODE DISCARDING changes

I opened the ODE.
Selected a file on the left menu.
Made a change on a specific cell and then clicked Quit ODE on the top menu:

Then, I clicked DISCARD and got this message:

Scenario 2: Quit the ODE SAVING changes

I opened the ODE.
Selected a file on the left menu.
Made a change on a specific cell and then clicked Quit ODE on the top menu:

Then, I clicked SAVE and got this message:

We need to remove this second dialog in both scenarios. It adds an unnecessary extra action to the user.
@guergana I reproduced what you pointed out and I agree. There is something going on there..

I opened the ODE.
Made a change to a cell on a specific file and did not click SAVE to update changes.
Selected a different file on the ODE left menu and never got the dialog to save changes.

I'm creating a new ticket for this

@guergana
Can you please test it again? I fixed the in-app changes problem

We need to remove this second dialog in both scenarios. It adds an unnecessary extra action to the user.

It's easy to remove but note that without a second dialog, it looks quite weird for the user -- e.g. if you click on "Save" something happens and loads and then suddenly apps close. But of course, I can remove it if needed

Just in case, we are talking about removing the second dialog, which appears after the user goes to the top menu and selects "Quit the ODE".
We are applying the same logic that Excel has. The only difference is that Microsoft offers a third option: Cancel. Let's talk about this in the planning meeting.

@romicolman
@Faithkenny
For now, I'll add a progress indication to the dialog and when it's done will close the app without second dialog

Perfect! Thanks!

@romicolman
I tried different options, but I'm not sure what is the best for UX, so for now, I just removed the second dialog. Can you please try?

Hi @roll! I tested this implementation.
The Revert button is no longer on the datagrid, so that's OK.
In terms of leaving the app without saving changes:

I opened the ODE.
Clicked on a file in the left menu.
Edited one of the cells without saving changes.
Then went to Open Data Editor----Quit..

The application closed without showing the dialog to confirm or discard changes:
https://github.com/user-attachments/assets/cc4bc06f-bdf6-47c8-b820-ed6b3bb61450
However, the dialog is display after you click on a blank space in the datagrid:
https://github.com/user-attachments/assets/854eedf0-37f4-4ff8-8d09-11f6ab83d858

Hi @romicolman,
Thanks! Note the as the not committed edits is a different issues it's no included into this PR. You can test altogether in https://github.com/okfn/opendataeditor/pull/517

Perfect!! Thanks!!

@romicolman
Sorry I was wrong -- the in-editing fix required another PR to be merged first.
I think it would make sense to test and merge this one first. It should work for any unsaved changes leaving situation except for ones when you have an active cell editing. And this one will be fixed by https://github.com/okfn/opendataeditor/pull/517

@roll I tested this issue. It works when..

The user edits a cell.
Clicks outside the table without clicking SAVE or DISCARD.
and selects Quit ODE in the Open Data Editor top menu.

https://github.com/user-attachments/assets/7db3073a-7715-4c63-b6c4-5b71004c5104
But...if you edit the cell and do not click outside of the table (SAVE and DISCARD buttons do not get activated) the tool closes unexpectedly. I think the solution is to add a third button: CANCEL
https://github.com/user-attachments/assets/9fb68d6f-22a7-40c7-89ea-163e9f8f88fb
Also, when you edit a cell and click on the blank space, select Quit ODE, but do not choose any of the options available, the tool closes unexpectedly:
https://github.com/user-attachments/assets/6b1a038b-ab81-4818-bb2a-481226df08ca

Thanks @roll ! I'm merging this so we can work on any issue that might happen when you are away.


Assigning the omni-key to a character key breaks vendor searches with leveling tracker

Assigning the omni-key to a button that produces a character (like . in my example) breaks the gem buying regex, as it puts the character at least once in front of the string.
Example: .^(Raise\sZ) instead of ^(Raise\sZ)
I don't remember having this problem in older releases. I am currently on v1.30.6 with the last working release being v1.30.2 (Although I could be wrong about this).

The regex used to be on ctrl-F, maybe that's why this didn't happen before (at least that's all I can think of right now). The official recommendation has always been not to bind the omni-key to a key that's used for chatting, but I wasn't actually thinking of this problem -- just that features might accidentally be activated while chatting.
I took it off ctrl-F to avoid clashes with macros or features from other tools. Changing it to be a short omni-press might fix it, but then again some people's short-press might still be long enough for the game to register the key being held down. So the recommendation to keep it off chat-keys is the only way to avoid it 100%, I think.

I don't see a use case where you would need the previous content of the search field followed by the regex. So maybe clearing it would work.
Something like:
 SendInput, ^{f}
 sleep 100
 SendInput, ^{a}
 SendInput, {Delete}
 SendInput, ^{v}{Enter}

Either fix works, so I might as well close this. I originally changed the keybind, because my middle mouse button didn't work quite right and I was struggeling to find a comfortable, single, non-character key (Some combinations like ctrl+space also didn't work as keybinds).


appearance=table-list breaks if additional appearance is added

Appearance table-list is properly detected, resulting correctly in inputs with appearance="label" and appearance="list-nolabel"
However, when adding another appearance, e.g. table-list random, it appears to not be detected. The output does not add appearance="label" and appearance="list-nolabel" to inputs in this group.
test form
Background: just something I happened to see when testing the boundaries of a new 'random' feature for select and select1 questions. 'appearance="random" is not actually planned to be supported in tables - at least not initially.

'appearance="random" is not actually planned to be supported in tables - at least not initially.

There is no such appearance. Appearances are generally passed through so you should be able to test with any text including "random." Note that table-list is NOT just passed through, that's why there are issues related to it.

Looking now but JIC you know off the top of your head - is this attribute actually tested somewhere already where I can extend the test? I see the table-list xls fixture but cant find any references to it in the test code.

This what you are looking for @KeynesYouDigIt ? https://github.com/XLSForm/pyxform/blob/1493706622c329fd2913ae691a902bca054250d4/pyxform/tests_v1/test_randomize_itemsets.py
Just confirming that my issue above is confusing. Sorry about that. Using an appearance to randomize was abandoned in favor of the much better randomize() XPath function. Will update it to make that clear.

@MartijnR I see the difference in XML out put but not in enketo's actualy display of the data. I think I can track down the source and submit a PR soon, but is there a clean way I could actally reproduce the enketo display diff as well as the xml diff? shoot me a slack if that question doesnt make sense :smile: :smile: so glad to finally start grasping this eco system

Hmm, now that I think about it, I think this is more of a theoretical concern than a practical one. That is, I can’t think of any actual, existing appearance that combines with list-nolabel. Do you know of one, @martijnr?
Ultimately, fixing the XML output is what we’re after and it would be great to address for any future appearance combinations that may come up.

@KeynesYouDigIt If randomize() doesn't appear to be working, try uploading to opendatakit.org/xlsform and clicking the Enketo preview. If it doesn't work there, please report a bug in enketo/enketo-core with the test form. Thanks! (Note KoBoToolbox's public servers are still using an older version of pyxform).

This specific issue has nothing to do with randomize, though, right? It was discovered when randomize was going to be an appearance but that's no longer the case.
It would be sufficient, I think, to make sure that if the XLSForm appearance is table-list something or something table-list, the output includes appearance="something" on the group and that selects with appearance="list-nolabel" and appearance="label" are generated. Clients wouldn't show any change in behavior but the XML can be verified.
I'd also be ok with closing.

I do see a difference in the xml output that looks significant, but @ me if this ends up getting closed. I have enough time to poke at it a bit today


1.19 dev

Describe your changes
See the following:
v1.2.2-rc1
v1.2.2-alpha2
v1.2.2-alpha1
Have you tested your change?

[x] Yes
[ ] No

What is your motivation behind this change?
Add a few more quality-of-life modifications (ie, NoRain) as well as allowing the user to customize the mod to their liking.

Need to test this more before merging to 1.19

I probably should implement a way to save and load settings.

I've implemented a rather crude but functional way of saving settings, need to test now.

Everything is tested and is working.


Upstream pr 825

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 9.688%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
142

Relevant Lines:
1403

💛  - Coveralls


Incorrect form fields configuration

There is no check for the existence of a attribute when configuring a widget
For example this code should throw exception
(new TextInput)->config($formModel, 'undefined_form_attribute')

Of course you are just creating the object you are not rendering it.
(new TextInput)->config($data, 'undefined_form_attribute')->run();

TextInput::widget()->config($data, 'undefined_form_attribute')->run();

Yiisoft\Form\Tests\Widget\NoExistTest::test                                                                                Undefined property: Yiisoft\Form\Tests\Stub\PersonalForm::$undefined_form_attribute

Please reopen issue.  In you described cases widget still no throws exception for undefined field
class LoginForm extends FormModel {
    private ?string $login;
    private ?string $password;
    /* ...  */
}

echo (new TextInput)->config($formModel, 'login')->run();
echo (new PasswordInput)->config($formModel, 'password')->run();
echo (new TextInput)->config($formModel, 'undefined_form_attribute')->run();

in html i got this
<input type="text" id="login" name="login">
<input type="password" id="password" name="password">
<input type="text" id="undefined_form_attribute" name="undefined_form_attribute">

@terabytesoftw tests do not exist for undefined form field

Please reopen issue. In your described cases widget still no throws exception for undefined field
class LoginForm extends FormModel {
    private ?string $login;
    private ?string $password;
    /* ...  */
}

echo (new TextInput)->config($formModel, 'login')->run();
echo (new PasswordInput)->config($formModel, 'password')->run();
echo (new TextInput)->config($formModel, 'undefined_form_attribute')->run();

in html i got this
<input type="text" id="login" name="login">
<input type="password" id="password" name="password">
<input type="text" id="undefined_form_attribute" name="undefined_form_attribute">

You can put all the code to reproduce the error clearly you must have some problem in your php configuration, I already added the exception but it is redundant all the widgets use getAttributeValue(), and when looking to return the value of the property it should throw the error because it does not exists.
https://github.com/yiisoft/yii-form/blob/b18bc146c897145542a4dbd94bb2e8f20bb447d3/src/FormModel.php#L289
I still wonder why it does not generate the error, if it is tested.
https://github.com/yiisoft/yii-form/blob/b18bc146c897145542a4dbd94bb2e8f20bb447d3/tests/FormModelTest.php#L31

Las pruebas @terabytesoftw no existen para el campo de formulario indefinido

https://github.com/yiisoft/yii-form/blob/b18bc146c897145542a4dbd94bb2e8f20bb447d3/tests/FormModelTest.php#L31
I don't need to test the widget because it is clearly tested in the FormModel.

@terabytesoftw I meant this test:

Yiisoft\Form\Tests\Widget\NoExistTest::test Undefined property: Yiisoft\Form\Tests\Stub\PersonalForm::$undefined_form_attribute

as you said above.


Unable to capture onClick events on Marker's children included in<EMAIL_ADDRESS>

Description
I used<EMAIL_ADDRESS>and<EMAIL_ADDRESS>and I had placed a Marker with an icon children that was listening on click events. When I updated the deck.gl to version 7.1.10, the icon's click events stopped working.
Repro Steps
https://stackoverflow.com/questions/57222969/unable-to-capture-onclick-events-on-markers-children-included-in-deck-gl7-1-1
Environment:

Framework Version: deck.gl 7.1.10
Browser Version: Chrome 75.0
OS: Mac OS 10.14.5

@kfragkedaki , could be related to this: https://github.com/uber/deck.gl/blob/master/docs/upgrade-guide.md#deck-class

Hello @1chandu  , I don't have any problems with layer's click events. Controversially, on react-map-gl' s Marker and its children, onClick or onLayerClick does not work while it used to on previous versions of deck.gl.
<DeckGL
          initialViewState={{
            longitude: liveMapZoom.lng,
            latitude: liveMapZoom.lat,
            zoom: 12,
            bearing: 0,
            pitch: 0
          }}
          viewState={viewState}
          onClick={(info, event) => {
            console.log("info", info);
            console.log("event", event);
          }}
          onViewStateChange={this._onViewStateChange}
          controller={{ type: MapController, dragRotate: false }}
          layers={[
            layerCars(data)
          ]}
        >
          <ReactMapGL
            mapStyle={"mapbox://styles/mapbox/streets-v9"}
            mapboxApiAccessToken={TOKEN}
          >
           <Marker
             key={key}
             latitude={coordinates[1]}
             longitude={coordinates[0]}
            >
              <img
                alt={name}
                src={iconUrl}
                onClick={event => {
                  console.log("hey");
                }}
              />
            </Marker>
          </ReactMapGL>
</DeckGL>

What is ReactMapGL? is it a StaticMap or  InteractiveMap (default) ?
Seems to be an issue with combination of DeckGL and react-map-gl. CC @Pessimistress

You are right, I am using the InteractiveMap of ReactMapGL.

FWIW I've experienced this issue too (@deck.gl/react": "^7.3.5", "react-map-gl": "^5.1.2").  The same issue occurs on both StaticMap and InteractiveMap.

The map component is rendered behind the Deck canvas, therefore unable to receive any pointer events. You need to render the Marker as a direct child of DeckGL, together with the contextProvider prop,

@Pessimistress If you use the contextProvider prop with InteractiveMap, how do you pass mapStyle and mapboxApiAccessToken to the map component? I can't seem to find any docs for MapContext under react-map-gl.

Any update on this @Pessimistress, the markers show up after I use the context provider however they are neither clickable or draggable.

I upgraded deck.gl to version 8  beta 1, the marker can now be dragged, however the underlying map is not visible.
"deck.gl": "^8.0.0-beta.1",
"react-map-gl": "^5.1.3",

If I comment out deck.gl and just use the staticMap from React-map-gl, the map is displayed, but when I am using with with deck.gl it's not being displayed.

@R-D-P Could you share your code? I can't reproduce your issue with the deck.gl examples.

<DeckGL             ref={this.deckRef}             ContextProvider={MapContext.Provider}             useDevicePixels={false}             viewState={viewState}             onViewStateChange={this.onViewStateChange}             controller={{               type: MapController,               dragRotate: false,               doubleClickZoom: false,             }}             onClick={this.onLayerClick}             layers={deckLayer}           >             <StaticMap                mapStyle={                 satellite                   ?mapbox://styles/mapbox/satellite-v9                  :mapbox://styles/mapbox/streets-v9`
}
mapboxApiAccessToken={Meteor.settings.public.mapbox.accessToken}
/>
{checkLocation && centerOfPolygon && (
<Marker
style={{ zIndex: 1 }}
latitude={
centerDrone && markerDragged
? centerOfPolygon.geometry.coordinates[1]
: checkLocation[1]
}
longitude={
centerDrone && markerDragged
? centerOfPolygon.geometry.coordinates[0]
: checkLocation[0]
}
offsetLeft={-20}
offsetTop={-10}
draggable
onDragEnd={this.onMarkerDrag}
>

)}
{isMarkerPresent && markerPosition && (
<Marker
latitude={markerPosition[1]}
longitude={markerPosition[0]}
offsetLeft={-20}
offsetTop={-10}
draggable
onDragEnd={event => this.onMarkerDrag(event)}
>

)}

`

excuse the two images, they're showing up in place of the closing marker tags for some reason.

Update: I tried with deck.gl  7.3.9 and even in that the marker is not clickable or draggable.

@R-D-P do you mind give 8.0.0-beta.2 a try?

@Pessimistress, I did give 8.0.0-beta2 a try as well..
The same as beta-1, the underlying map is not visible..
I saw two errors though that maybe helpful.
/node_modules/@deck.gl/layers/dist/es5/geojson-layer/geojson-layer.js:100 deck: getLineDashArray has been removed. Use PathStyleExtension instead
initializeState @ /node_modules/@deck.gl/layers/dist/es5/geojson-layer/geojson-layer.js:100
/node_modules/@deck.gl/layers/dist/es5/path-layer/path-layer.js:173 deck: getDashArray has been removed. Use PathStyleExtension instead

I had a similar issue, but with Source and Layer instead of Marker. I was eventually able to figure it out by passing Deck.gl's click event to React Map GL's queryRenderedFeatures. See #4093 for an example. Presumably this would work on a Marker as well, but I haven't tested it.

Update: This issue is not going to be fixed for v7.x because it requires a breaking change<EMAIL_ADDRESS>allows all child elements to listen to pointer events, not just the deck canvas.
@R-D-P A bug fix made after beta.2 might make your base map visible again.
@kylebarron Source and Layer do not render DOM elements and they don't accept onClick events. Passing deck's click event to queryRenderedFeatures is the way to go.


Newlines inside strings break the parser and incomplete JSON is generated

When the parser runs into an un-escaped line break, it stops and produces a broken JSON.

 {
  "task": "Choose the best action to solve this complex problem.",
  "problem": "When was the specified game released? Game name: <name>",
  "solution_plan_explained_step_by_step": "Step 1: Browse the web to find information about <name> game release date.

In the schema all items have str type, naming the key step_by_step makes it more likely to produce line-breaks.
I see two ways out of this situation: 1) ban line-breaks in strings, 2) escape line-breaks in strings.
Not sure which one is better.

Thanks for the report! Line breaks should be forbidden inside JSON strings,
as that is how the JSON spec works. Confirmed bug.
On Mon, Nov 6, 2023 at 3:27 PM Remixer Dec @.***> wrote:

When the parser runs into an un-escaped line break, it stops and produces
a broken JSON.
{
"task": "Choose the best action to solve this complex problem.",
"problem": "When was the specified game released? Game name: ",
"solution_plan_explained_step_by_step": "Step 1: Browse the web to find information about  game release date.
In the schema all items have str type, naming the key step_by_step makes
it more likely to produce line-breaks.
I see two ways out of this situation: 1) ban line-breaks in strings, 2)
escape line-breaks in strings.
Not sure which one is better.
—
Reply to this email directly, view it on GitHub
https://github.com/noamgat/lm-format-enforcer/issues/18, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKFA2FEQLBPEJDJU5F3JHTYDDQVDAVCNFSM6AAAAAA67QMLHWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TSMJWGEYTQOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


docs: flame_bloc bridging docs added

Description
added bridging docs for flame_bloc package
Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[x] I have followed the Contributor Guide when preparing my PR.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples or docs.

Breaking Change?

[x] No, this PR is not a breaking change.

Related Issues
Closes  #1961 Bridge package docs: flame_bloc

https://user-images.githubusercontent.com/36990991/196378409-b1607bfc-edae-403f-9eb3-95da408823b3.mov

@spydon it doesn't have label 😅


Add file extension for SnakeMake

Previously a file name was defined for SnakeMake: https://github.com/github/linguist/pull/1834
Currently, the canonical extension is smk (see this discussion with the author (@johanneskoester) of SnakeMake, and the FAQ).

Sorry about the delay in getting to this PR. Unfortunately, this extension isn't popular enough on GitHub for this PR to be merged. At the moment, the stats are:
Total files found: 911
Unique public user/repos: 113
Unique owners: 95
As per the contributing guidelines at https://github.com/github/linguist/blob/master/CONTRIBUTING.md#adding-an-extension-to-a-language "we prefer that extensions be in use in hundreds of repositories before supporting them in Linguist." This is close, but no cigar.
Accordingly, I'll added the "Pending popularity" label.

To clarify, it should be both, Snakefile and .smk be considered the official way to detect Snakemake related files.
Maybe this is a misunderstanding, but it seems like it already works for .smk: https://github.com/snakemake-workflows/rna-seq-star-deseq2/blob/master/rules/align.smk

Maybe this is a misunderstanding, but it seems like it already works for .smk: https://github.com/snakemake-workflows/rna-seq-star-deseq2/blob/master/rules/align.smk

That file is currently being detected as Python because you've asked for it to be detected as Python - https://github.com/snakemake-workflows/rna-seq-star-deseq2/blob/master/.gitattributes 😄

Ah, I forgot about that. Thanks for the clarification!

Ok, but still, you already do this automatically for files called "Snakefile". So, basically it is already in. What stands against also doing it for .smk?

Ok, but still, you already do this automatically for files called "Snakefile". So, basically it is already in. What stands against also doing it for .smk?

As I mentioned before, popularity. Snakefile is a defined file that is waaaay more popular than the .smk extension and easily satisfies the "hundreds of repositories" requirement. .smk barely tips over 100 at the moment.

Ok, I see, given that criterion, this is of course clear. However, both are for the same tool though (Snakemake). While many people just need a single Snakefile, they add these .smk files for modularization within the same repo. Shouldn't popularity rather be measured via the tool, hence taking the sum of Snakefile and .smk occurrences?

Shouldn't popularity rather be measured via the tool, hence taking the sum of Snakefile and .smk occurrences?

Unfortunately not. Peeps can use whatever extension they like with most languages. Just because Python is popular, doesn’t mean we should accept .foobar23 as a Python extension when a few peeps use it.

Ok, I understand. We can wait then ;-).

Closing in favor of #4219. We'll monitor the popularity of the extension there.
If you have an improved search query compared to the one used in #4219, please post it here and I'll update #4219.

The .smk file extension is now popular enough for inclusion (see #4219). @nh13 Do you want me to reopen this pull request or would you prefer to resubmit as a new pull request?

Let’s reopen!

Ok! You'll need to add and fill in our template for pull requests.

I’ll update the pr

@johanneskoester do you want to take this one over (in particular the checklist?)

Description

Checklist:

[x] I am associating a language with a new file extension.

[x] The new extension is used in hundreds of repositories on GitHub.com

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3Asmk+snakemake

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth
https://github.com/snakemake-workflows/dna-seq-gatk-variant-calling

Sample license(s):

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

[ ] I am adding a new language.

[ ] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3AFOOBAR+KEYWORDS+NOT+nothack

[ ] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a syntax highlighting grammar: https://github-lightshow.herokuapp.com/
[ ] I have updated the heuristics to distinguish my language from others using the same extension.

[ ] I am fixing a misclassified language

[ ] I have included a new sample for the misclassified language:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

[ ] I am changing the source of a syntax highlighting grammar

Old: https://github-lightshow.herokuapp.com/
New: https://github-lightshow.herokuapp.com/

[ ] I am updating a grammar submodule

[ ] I am adding new or changing current functionality

[ ] I have added or updated the tests for the new or changed functionality.

[ ] I am changing the color associated with a language

[ ] I have obtained agreement from the wider language community on this color change.

[URL to public discussion]
[Optional: URL to official branding guidelines for the language]

@nh13 here we go. Do you need anything else?

I have included a real-world usage sample for all extensions added in this PR:
Sample source(s):
https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth
https://github.com/snakemake-workflows/dna-seq-gatk-variant-calling

@johanneskoester @nh13 Could you add one or two files from these repositories to the pull request, under samples/Python/?

@nh13 I don't think that I have access to your branch. Can you add one of the smk files from dna-seq-gatk-variant-calling?

Will do when I’m back from vacation in a week or so.

@johanneskoester added:
samples/Python/snakemake-calling.smk
samples/Python/snakemake-mapping.smk

I also added you as a collaborator :)

Thanks a lot! I am looking forward to see this automatic highlighting Github and Atom.


Feat/examples clasification

Adding simple and multi classification examples for #8

this is great can you add the output in comments so its easy to view without running?

@jxnl added 👍


Python 3.5 support - Fix #44

Ok, so according to https://github.com/travis-ci/travis-ci/issues/4794#issuecomment-140175872 Travis does not have Python 3.5 installed in the build image.

Oh, that's lame! :(

I just tested locally and I had no failure, so I guess there is no hurry and we can wait for Travis to have a better support for 3.5.

Seeing that there has been no activity from travis on the above mentioned issue for a month, maybe include the workaround for .travis.yml mentioned in this later comment?
Python 3.5 is there and being installed on new distros. Not testing for it is bad, IMHO.

:+1:

:+1: for getting 3.5 going on Travis. I'm running arch, so you know there's at least one of me :trollface:


Error when creating Django's superuser

Hello,
I am trying to set up a custom instance of QFieldCloud, and meet the following error when creating the Django super user with the command docker compose run app python manage.py createsuperuser --username admin --email<EMAIL_ADDRESS>This stacktrace is:
Waiting for postgres...
Postgres is ready! ✨ 💅
Waiting for redis...
Waiting for redis...
Redis is ready! ✨ 💅
{"request_id":"none","ts":"2023-10-04T11:50:35.742121","level":"INFO","name":"axes.apps","message":"AXES: BEGIN version 5.40.1, blocking by username only","filename":"apps.py","lineno":42,"thread":140286725265216,"source":"app"}
Password:
Password (again):
Traceback (most recent call last):
  File "/usr/src/app/qfieldcloud/subscription/models.py", line 690, in get_or_create_current_subscription
    subscription = cls.objects.current().get(account_id=account.pk)  # type: ignore
  File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 435, in get
    raise self.model.DoesNotExist(
qfieldcloud.subscription.models.Subscription.DoesNotExist: Subscription matching query does not exist.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/app/manage.py", line 21, in <module>
    main()
  File "/usr/src/app/manage.py", line 17, in main
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 79, in execute
    return super().execute(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 189, in handle
    self.UserModel._default_manager.db_manager(database).create_superuser(**user_data)
  File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/models.py", line 163, in create_superuser
    return self._create_user(username, email, password, **extra_fields)
  File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/models.py", line 146, in _create_user
    user.save(using=self._db)
  File "/usr/src/app/qfieldcloud/core/models.py", line 310, in save
    Subscription.get_or_create_current_subscription(account)
  File "/usr/src/app/qfieldcloud/subscription/models.py", line 692, in get_or_create_current_subscription
    subscription = cls.create_default_plan_subscription(account)
  File "/usr/src/app/qfieldcloud/subscription/models.py", line 782, in create_default_plan_subscription
    _trial_subscription, regular_subscription = cls.create_subscription(
  File "/usr/src/app/qfieldcloud/subscription/models.py", line 860, in create_subscription
    created_by.save(update_fields=["remaining_trial_organizations"])
  File "/usr/src/app/qfieldcloud/core/models.py", line 312, in save
    super().save(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/django/contrib/auth/base_user.py", line 67, in save
    super().save(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/django/db/models/base.py", line 722, in save
    raise ValueError(
ValueError: The following fields do not exist in this model, are m2m fields, or are non-concrete fields: remaining_trial_organizations

The database image used is postgis/postgis:13-3.1, migrations have been launched before.
This error was met on v0.22.2, after downgrading to v0.20.0 it does not appear anymore (after having restarted with a fresh empty storage database set up with v0.20.0's migrations)

Yes, this is exactly the issue i'm having aswell - i have worked around it by exchanging two lines in the subscriptions/models.py script with "created_by.save()"  as explained in issue #779 ...unfortunately this is just a workaround, since it produces the error, that users can't see their projects, because they don't have an active subscription.
I guess a workaround for that would be to change database entries in the qfieldcloud_db as explained in issue #668
a "real" fix, would be appreciated - please fix.

Hey, both. The issue will be fixed soon as we merge. Thanks for reporting. https://github.com/opengisch/qfieldcloud/pull/797


Services: settings renewal period

Current Problem
Services only read settings at the start-up stage. Settings can change while services are running, and they may become outdated.
Solution
Consider introducing a settings renewal period. This will refresh settings in active services.

Maybe you could use this https://github.com/ynput/ayon-backend/pull/112


Halogen DevTools

I'm starting to develop a DevTools for Halogen but I need to be sure that the community and maintainers wanna it. So I opened this issue to get feedback and some answers from community and maintainers.
Are there any DevTools for Halogen? (I searched but I don't find anything)
Are the maintainers willing to accept the integration of the Halogen with its DevTools?
Do you have any suggestion for the architecture of the integration?

Can you explain a bit more about what you have in mind?

Halogen Developer Tools (Halogen DevTools) will be a browser extension for Chrome, Firefox and maybe Safari which will extend the browser's DevTools functionality for Halogen to help developers to inspect and debug Halogen applications conveniently and rapidly.
DevTools Functionalities
There are lots of useful features rather than followings (e.g. performance profiling) for DevTools but I will mention the most important ones.
Component Tree View
The first and most important feature of Halogen DevTools is the inspection of the component tree and interacting with it by highlighting elements on mouse over the component tree. For this purpose, there should be a bridge between DevTools and Halogen renderer to exchange information about the component tree.
Read/Write State and Inputs of a Component
The selected component on the component tree view will give information from Halogen about the state and inputs of that component. Also, developers can change state and inputs of the selected component from DevTools and DevTools will notify Halogen to change corresponding properties.
Invoking Output Messages
⚠ I'm not sure if this functionality is possible to implement. ⚠
Developers can invoke output messages of the selected component from DevTools.

All of that should be possible, but there are definitely some open questions about how we'd want to deal with some of this - being able to see / manipulate PureScript values (the component state) is probably a fair bit of work itself. It could just show the JS values, but that's definitely going to be limiting, and will make it easily to blow everything up if they're edited incorrectly :smile:.
Changing input values for a component directly is the only thing you mentioned which isn't really possible - but since the input value is computed from the state of the parent it can be done by altering the parent state instead. Inspecting it would be fine though.

For javascript primitives, manipulation of state should not be challenging but for PureScript datatypes it should. If I'm not mistaken creation of PureScript datatypes needs the originally generated functions and I can not figure out how we can access those functions with 100% guarantee!
BTW, inspecting component tree view, input, and state is so valuable and if we can implement it why not?
Also, there is another question. For Component Tree View we need the name of components (not slot label), is there any information about it in a component?
If there isn't, maybe we can add a property to ComponentSpec to define the component name.
component =
  H.mkComponent
    { displayName: "Button"
      -- ...
    }

@thebrodmann Any progress or further thinking on this? Very interested in helping out as the react/redux devtools are very useful and something similar for Halogen would really great.

@liam-cb I'm trying to understand Halogen codebase to create the port for DevTools. It would be awesome if someone works on the DevTools port! then I can develop the plugin.

A good MVP would be just being able to view component state I think. The Redux devtools utilize middleware on the store, how would the architecture for this work on Halogen?
Here's a logger middleware for Redux:
const logger = store => next => action => {
  console.log('dispatching', action)
  let result = next(action)
  console.log('next state', store.getState())
  return result
}

So the library supports informing about the current state and actions. Would this require a change to the Halogen codebase or is there somewhere we can hook in?


Unable to build the sample socket build api

I ran into the following issues when I try to build the sample Socket API. Has anyone had the same issues, because it seems like there is something wrong with the declarations of the files provided?

Hi @jakob999999 , we recently migrated to newer wasi-sdk, and the build most likely fails because you still use older version. Can you please try to install wasi-sdk version 15 or newer?
See https://github.com/bytecodealliance/wasm-micro-runtime/issues/1528 for details.

Had the same issue, fixed it updating wasi-sdk


Update helm.md - 2

Refer to the conversation in PR #414.

@scottrigby and @stefanprodan ACKed the change as well.

Thanks for your PR!


K. Fix the text Alignment

Project: Newsletter

Tasks:

As seen in the image, the text is getting cut, fix that.
Rename document title from "Document" to "Newsletter".

assign me this

I like to work on this issue .Please assign it to me.

sir i would like work on this issue


'module' object has no attribute 'DEFAULT_VALUE'

When I try running hieroglyph-quickstart this output:
# hieroglyph-quickstart
Traceback (most recent call last):
  File "/usr/bin/hieroglyph-quickstart", line 11, in <module>
    load_entry_point('hieroglyph==1.0.0+3.g1ef062f', 'console_scripts', 'hieroglyph-quickstart')()
  File "/usr/lib/python2.7/site-packages/hieroglyph/quickstart.py", line 87, in quickstart
    d = sphinx.quickstart.DEFAULT_VALUE.copy()
AttributeError: 'module' object has no attribute 'DEFAULT_VALUE'

This is the case on NixOS Linux, Alpine Linux, and Ubuntu (the last two were run in Docker containers on NixOS).
For fun did a some light reading with grep and found this:
✔ ~/src/github.com/nyergler/hieroglyph [hieroglyph-1.0.0|✔]
20:09 $ git grep DEFAULT_VALUE
src/hieroglyph/quickstart.py:    d = sphinx.quickstart.DEFAULT_VALUE.copy()

The line in question calls the DEFAULT_VALUE method in src/hieroglyph/quickstart.py.
When we search for that method in the sphinx codebase we get:
✔ ~/src/github.com/sphinx/sphinx [v1.7.1|✔]
20:09 $ git grep DEFAULT_VALUE

Nothing meaning that string does not does not exist in the sphinx codebase.
It seems like this has already been documented in #120 (and other issues) and that the fix is to pin an older version of Sphinx, but I wanted to document this specific issue.
Here is some debug info from the Ubuntu container:
# hieroglyph --version
1.0.0
# python --version
Python 2.7.13
# pip --version
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
# pip freeze
# pip freeze
alabaster==0.7.10
Babel==2.5.3
certifi==2018.1.18
chardet==3.0.4
cryptography==1.7.1
docutils==0.14
enum34==1.1.6
hieroglyph==1.0.0
idna==2.6
imagesize==1.0.0
ipaddress==1.0.17
Jinja2==2.10
keyring==10.1
keyrings.alt==1.3
MarkupSafe==1.0
packaging==16.8
pyasn1==0.1.9
pycrypto==2.6.1
Pygments==2.2.0
pygobject==3.22.0
pyparsing==2.2.0
pytz==2018.3
pyxdg==0.25
requests==2.18.4
SecretStorage==2.3.1
six==1.10.0
snowballstemmer==1.2.1
Sphinx==1.7.1
sphinxcontrib-websupport==1.0.1
typing==3.6.4
urllib3==1.22

I can confirm pip install sphinx==1.5.6 makes hieroglyph-quickstart work successfully.

Also getting this on Windows. Thanks for the work-around.

Fwiw here are quickstart.py files for sphinx 1.6.7 and 1.8.5 that work for python 3.7.  Note that in sphinx 1.85 sphinx.quickstart becomes sphinx.cmd.quickstart, and do_prompt(...) changes a bit.
For parsimony these just handle the slide_theme  and extensions hieroglyph value, leaving the rest up to the vanilla sphinx quickstart call.   Needed is a tweaked sphinx/templates/quickstart/conf.py_t with "slide_theme = u'{{ slide_theme }}'" added, put into hieroglyph/templates/conf.py_t .
quickstart-sphinx185.py.txt
quickstart-sphinx167.py.txt


Demographics component

Demographics component outlined with validation using react-hook-form. Component just needs to be connected to backend and styled now.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Change Status

[ ] Complete, tested, ready to review and merge
[x] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

Everything is clear and easy to understand so I will be merging.


Windows build is broken.

go build .
# github.com/jmorganca/ollama/llm

llm\llm.go:83:17: undefined: gpu.GetGPUInfo
llm\llm.go:89:9: undefined: nativeInit
llm\llm.go:92:109: undefined: extServer
llm\llm.go:94:15: undefined: newDynamicShimExtServer
llm\llm.go:101:9: undefined: newDefaultExtServer
llm\llama.go:211:24: undefined: libEmbed
llm\llama.go:218:19: undefined: libEmbed

I forgot to update the docs (I'll post a PR later today).  Make sure to enable CGO.  Assuming powershell - $env:CGO_ENABLED="1"
You'll also need to install MinGW so it can compile the C/C++ code with the GCC toolchain.
Note: things are still a bit rough around the edges for native windows.  I'm working on some improvements to the windows build so we should wind up with a single binary that can run without any special PATH and operate either on the CPU or CUDA card natively.

Thanks Daniel. Will rebuild with your instructions.

@dhiltgen great that #1680 is merged, does that mean I can also close this ticket?


Add cyberhost.uk

Hi there, this is my blog looking at docker, self-hosting and open source software. Thanks!

thanks


State bind multiple times

Hi, I download the example of Drrrible, and now I have a question, such as ShotListViewController：
// Output
reactor.state.map { $0.isRefreshing }
  .distinctUntilChanged()
  .bind(to: self.refreshControl.rx.isRefreshing)
  .disposed(by: self.disposeBag)

reactor.state.map { $0.sections }
  .bind(to: self.collectionView.rx.items(dataSource: self.dataSource))
  .disposed(by: self.disposeBag)

I disable the response stream of sections, but the signal of sections in state be triggered  multiple times：
    case .refresh:
      guard !self.currentState.isRefreshing else { return .empty() }
      guard !self.currentState.isLoading else { return .empty() }
      let startRefreshing = Observable<Mutation>.just(.setRefreshing(true))
      let endRefreshing = Observable<Mutation>.just(.setRefreshing(false))
//      let setShots = self.shotService.shots(paging: .refresh)
//        .map { list -> Mutation in
//          return .setShots(list.items, nextURL: list.nextURL)
//        }
      return .concat([startRefreshing, endRefreshing])

In my project, I want to just trigger one state，could you help me?

If you can implement State.sections as Equatable, you can use distinctUntilChanged() operator. Or you may want to use throttle().

thanks.


pull request for e2e test at 12/28/2016 13:56:11

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


(maint) Fix rake install process to use new ezbake uberjar file

Source based tests were failing since the uberjar name has been changed. This
patch ammends the rake install process to use the puppetdb-release.jar
filename instead as per the new project.clj change.
Signed-off-by: Ken Barber<EMAIL_ADDRESS>

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/372/


[luci-app-uhttpd | feature suggestion] expose certificate signature algorithms option

maintainer: @cshoredaniel
Since UCI supports option key_type (rsa | ec) it would be helpful if the setting would be exposed through luci-app-uhttpd
Perhaps also option ec_curve

since this is pending adding tls_key option<EMAIL_ADDRESS>to LuCI would make sense.


Web browser struggles with large pages

The browser tool gets hung up trying to process large text files e.g. https://www.gutenberg.org/cache/epub/100/pg100.txt
Example here https://github.com/UKGovernmentBEIS/inspect_ai/blob/browser_large_text/tests/tools/test_web_browser.py#L151

This also happens with large HTML pages such as https://www.gutenberg.org/cache/epub/100/pg100-images.html although it does actually get through it (it takes about 30 minutes to open the page and scroll down once)


Feature: Minified options settings

I would like to see support in json settings to choose which compression is used or not used.
To minify or to not minify? This should never be the question... but it is.
Right now I just went an commented out the mini.html code.  Would be nice to have a simple if =true check.

@b1m1nd This is a very good suggestion, I will improve it in subsequent versions👍


Cannot publish under macOS.

First, it worked perfectly several months ago.
But now it took me several days I can still not make it work.
I had updated fastlane to latest version. I can build my project and archive it and upload to Apple Store Connect without problem.
But with fastlane, first I got error say "Cannot obtain the content provider public id...". Did some search and I had to add itc_provider to the upload_to_testflight. It is said if you are in multi team, you need add this id. But that doesn't work sense. First I only belong to one team. Second, I can get my itc_provider id with fastlane Spaceship. If fastlane can get it, why bother to let me add it.
But with the itc_provider added, now I get error "the username is not a member of the provider". The owner of the team is the username, why it says it is not a member of the provider?
Again spent a lot of time to search and try, no luck so far.

Not sure if the fastlane env really show anything, also easy to expose sensitive info. But here it is
[00:53:52]: fastlane detected a Gemfile in the current directory [00:53:52]: However, it seems like you didn't use bundle exec`
[00:53:52]: To launch fastlane faster, please use
[00:53:52]:
[00:53:52]: $ bundle exec fastlane env
[00:53:52]:
[00:53:52]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[00:53:54]: Generating fastlane environment output, this might take a few seconds...
✅ fastlane environment ✅
Stack

Key
Value

OS
12.5.1

Ruby
2.6.8

Bundler?
false

Git
git version 2.32.0 (Apple Git-132)

Installation Source
/usr/local/bin/fastlane

Host
macOS 12.5.1 (21G83)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
13.3.1

Swift Version
5.6

System Locale

Variable
Value

LANG
en_CA.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Replace everything in Fastfile with below code
default_platform(:ios)
APPLICATON_ID = "64******11"
BUNDLE_IDENTIFIER = "ca.xxx.canvassing.pc2go"
PROVISIONING_PROFILE_SPECIFIER = "match AppStore ca.xxx.canvassing.pc2go"
TEMP_KEYCHAIN_USER = "test"
TEMP_KEYCHAIN_PASSWORD = "thisisatemp"
def delete_temp_keychain(name)
  delete_keychain(
    name: name
  ) if File.exist? File.expand_path("~/Library/Keychains/#{name}-db")
end
def create_temp_keychain(name, password)
  create_keychain(
    name: name,
    password: password,
    unlock: false,
    timeout: 0
  )
end
def ensure_temp_keychain(name, password)
  delete_temp_keychain(name)
  create_temp_keychain(name, password)
end
platform :ios do
  lane :closed_beta do
    keychain_name = TEMP_KEYCHAIN_USER
    keychain_password = TEMP_KEYCHAIN_PASSWORD
    ensure_temp_keychain(keychain_name, keychain_password)
    match(
      type: 'appstore',
      app_identifier: "ca.xxx.canvassing.pc2go",
      git_url: "https://github.com/xxxx/cert",
      git_basic_authorization: Base64.strict_encode64("xxxx"),
      readonly: true,
      keychain_name: keychain_name,
      keychain_password: keychain_password
    )
    gym(
      configuration: "Release",
      workspace: "Runner.xcworkspace",
      scheme: "Runner",
      export_method: "app-store",
      export_options: {
        provisioningProfiles: {
            APPLICATON_ID => PROVISIONING_PROFILE_SPECIFIER
        }
      }
    )
    pilot(
      apple_id: "1*****3",
      app_identifier: "ca.xxx.canvassing.pc2go",
      skip_waiting_for_build_processing: true,
      skip_submission: true,
      distribute_external: false,
      notify_external_testers: false,
      ipa: "./Runner.ipa"
    )
    delete_temp_keychain(keychain_name)
  end

  desc "Push a new beta build to TestFlight"
  lane :test do
    increment_build_number(xcodeproj: "Runner.xcodeproj")
    build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
    upload_to_testflight
  end

  lane :test_upload do
    upload_to_testflight
  end
end

`./fastlane/Appfile`
app_identifier("ca.xxx.canvassing.pc2go") # The bundle identifier of your app
<EMAIL_ADDRESS># Your Apple email address

itc_team_id("1*****7") # App Store Connect Team ID
team_id("4*****L") # Developer Portal Team ID

fastlane gems

Gem
Version
Update-Status

fastlane
2.212.2
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.6.1

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.8.0

terminal-table
1.8.0

multipart-post
2.0.0

word_wrap
1.0.0

optparse
0.1.1

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
2.0.3

commander
4.6.0

faraday-cookie_jar
0.0.7

faraday_middleware
1.2.0

fastimage
2.2.6

gh_inspector
1.1.3

naturally
2.2.1

rubyzip
2.3.2

security
0.1.3

xcpretty-travis-formatter
1.0.1

bundler
2.3.12

emoji_regex
3.2.3

rexml
3.2.5

nanaimo
0.3.0

colored2
3.1.2

claide
1.1.0

CFPropertyList
3.0.6

atomos
0.1.3

xcodeproj
1.22.0

plist
3.7.0

public_suffix
5.0.1

addressable
2.8.4

excon
0.99.0

ruby2_keywords
0.0.5

faraday-retry
1.0.3

faraday-rack
1.0.0

faraday-patron
1.0.0

faraday-net_http_persistent
1.2.0

faraday-net_http
1.0.1

faraday-multipart
1.0.4

faraday-httpclient
1.0.1

faraday-excon
1.1.0

faraday-em_synchrony
1.0.0

faraday-em_http
1.0.0

faraday
1.10.3

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.5

json
2.6.3

mini_magick
4.12.0

dotenv
2.8.1

simctl
1.6.10

jwt
2.7.0

webrick
1.8.1

httpclient
2.8.3

multi_json
1.15.0

signet
0.17.0

os
1.1.4

memoist
0.16.2

googleauth
1.5.2

mini_mime
1.1.2

retriable
3.1.2

trailblazer-option
0.1.2

declarative
0.0.20

uber
0.1.0

representable
3.2.0

google-apis-core
0.11.0

google-apis-playcustomapp_v1
0.13.0

google-apis-androidpublisher_v3
0.39.0

rake
13.0.6

digest-crc
0.6.4

google-apis-storage_v1
0.19.0

google-apis-iamcredentials_v1
0.17.0

google-cloud-errors
1.3.1

google-cloud-env
1.6.0

google-cloud-core
1.6.0

google-cloud-storage
1.44.0

aws-eventstream
1.2.0

aws-sigv4
1.5.2

aws-partitions
1.750.0

jmespath
1.6.2

aws-sdk-core
3.171.0

aws-sdk-kms
1.63.0

aws-sdk-s3
1.121.0

forwardable
1.3.2

logger
1.5.1

date
2.0.0

stringio
0.0.2

openssl
2.1.2

ipaddr
1.2.4

zlib
1.0.0

mutex_m
0.1.1

ostruct
0.5.5

strscan
1.0.0

io-console
0.4.7

fileutils
1.6.0

libxml-ruby
3.2.1

psych
3.1.0

generated on: 2023-04-21

[00:53:58]: Take notice that this output may contain sensitive information, or simply information that you don't want to make public.
[00:53:58]: Open https://github.com/fastlane/fastlane/issues/new to submit a new issue ✅
`


Error: unknown flag: --metabolicAge

Problem in new version v2.0.0-rc1
By the way, I can add Caloric Intake ?

ok you change to --metabolic-age

Yeah, i changed the CLI interface, therefore release candidate for version 2
See changelog: https://github.com/davidkroell/bodycomposition/releases/tag/v2.0.0-rc1
Please battle-test it

By the way, I can add Caloric Intake ?
How do you do this? I have not done anything about this.

Btw: parameter --max-tries is now available check this out

By the way, I can add Caloric Intake ?

How do you do this? I have not done anything about this.

I wrote about it here: https://github.com/davidkroell/bodycomposition/issues/2

This is not possible yet, but maybe I can do something about it.


Display Set elements in debugger views

The elements added to a Set are not displayed in the debugger.

VSCode Version: 1.7.2
OS Version: Linux x64

Steps to Reproduce:

Create a new Set() variable and add some elements to it.
View/Expand the variable in Locals/Watches or hover over variable.
Only the set size is displayed - none of the actual elements in the set are shown.

Evaluating a Map variable shows the added mappings in the form of an Object, but Sets don't display anything other than the size. It would be nice to see what elements are in the Set.
A workaround to view the elements is to add a watch of the variable, converting the Set to an array using the spread operator: [...aSetVariable]

What type of launch config are you using? Which version of node are you using?

It should at least work on a newer version of node, or using type: 'node' instead of 'node2'. 6.3.0 was the first version supporting the new protocol, and I remember some issues around Set/Map elements.
I only show what Node sends over the wire. If you repro this with Node 6.9 or 7+, let me know.


[Bug] Drop primary key table won't delete kv snapshot

Search before asking

[X] I searched in the issues and found nothing similar.

Fluss version
fluss 0.5
Minimal reproduce step
Create a primary key table, wait the snapshot is generated, and then drop it.
What doesn't meet your expectations?
The  kv snapshot is not deleted
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Hi, I has read the codes about this and I'd like to resolve it, please assign it to me, thinks.

@Vipamp assigned to you.

@Vipamp Hi, what's the progress of the issue? We would like to improve the priority of the issue and look forward the pr...

@luoyuxia Hi, I am developing now and will submit pr quickly.


Add nodejs support

This works in the nodejs 8.10 and 10.x runtimes. The syntax is not valid in nodejs 6.10 but that version is EOL now or soon.
const { execSync } = require('child_process');

exports.handler = async (event) => {

    execSync('rm -rf /tmp/test-npm');
    execSync('mkdir -p /tmp/test-npm');

    // have to override HOME because npm creates files there
    let env = Object.assign({}, process.env);
    env.HOME = '/tmp'

    execSync('npm install aws-sdk', {
        'cwd': '/tmp/test-npm',
        'env': env
    });

    let stdout = execSync('ls /tmp/test-npm/node_modules/')

    return stdout.toString();
};

I think a nodejs version of https://github.com/raymondbutcher/terraform-aws-lambda-builder/blob/master/builders/python.py will need to be created. It will have to do all of the same S3 and zipping functionality. Logic should be identical, the only difference being that it's written in nodejs and when a build.sh script calls npm it is included in the runtime so it works.

Done in dec45d94a0043519dd04473982e0dd75941515fd


Remove k_scalar

Refs #251.

Job VTB Documentation on 1cb977c wanted to post the following:
View the site here
This comment will be updated on new commits.

Thanks for the fix!