NativeDemo ios Crash for iphone6 plus ( 8.1.2)

After latest update, NativeDemo start to crash after entering room Id. i think it is related with capturing video.
2016-02-22 12:02:22.480 NativeDemo[2207:315368] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVCaptureVideoDevice setActiveVideoMaxFrameDuration:] - the passed activeVideoMaxFrameDuration<PHONE_NUMBER>558828667:-1805541344 is not supported by the device.  Use -activeFormat.videoSupportedFrameRateRanges to discover valid ranges.'
*** First throw call stack:
(0x1834f259c 0x193c500e4 0x181d62f10 0x101868df0 0x1018728c8 0x181d62ba0 0x1834f83c0 0x1833f6138 0x18438e5d8 0x1842fdb10 0x10005ffd8 0x100060ce4 0x101868df0 0x1018728c8 0x100060c64 0x100062790 0x1003f853c 0x1003fa1e4 0x1003fc1c4 0x1004786a8 0x1002f3e24 0x1002f7d90 0x194473e80 0x194473ddc 0x194470fb0)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) bt
NativeDemo was compiled with optimization - stepping may behave oddly; variables may not be available.

thread #14: tid = 0x4cfe8, 0x00000001943d7270 libsystem_kernel.dylib__pthread_kill + 8, name = 'video-source:src', queue = 'com.apple.avfoundation.videocapturedevice.state_queue', stop reason = signal SIGABRT   frame #0: 0x00000001943d7270 libsystem_kernel.dylib__pthread_kill + 8
frame #1: 0x0000000194475228 libsystem_pthread.dylibpthread_kill + 112   frame #2: 0x000000019434eb18 libsystem_c.dylibabort + 112
frame #3: 0x0000000193421418 libc++abi.dylibabort_message + 116   frame #4: 0x0000000193440b8c libc++abi.dylibdefault_terminate_handler() + 304
frame #5: 0x0000000193c503c0 libobjc.A.dylib_objc_terminate() + 128   frame #6: 0x000000019343dbb4 libc++abi.dylibstd::__terminate(void (*)()) + 16
frame #7: 0x000000019343dc24 libc++abi.dylibstd::terminate() + 64   frame #8: 0x0000000193c50318 libobjc.A.dylibobjc_terminate + 12
frame #9: 0x0000000101868e04 libdispatch.dylib_dispatch_client_callout + 36   frame #10: 0x00000001018728c8 libdispatch.dylibdispatch_barrier_sync_f_invoke + 128
frame #11: 0x0000000181d62ba0 AVFoundation-[AVCaptureFigVideoDevice setActiveVideoMaxFrameDuration:] + 180   frame #12: 0x00000001834f83c0 CoreFoundationinvoking + 144
frame #13: 0x00000001833f6138 CoreFoundation-[NSInvocation invoke] + 296   frame #14: 0x000000018438e5d8 Foundation_NSSetValueWithMethod + 276
frame #15: 0x00000001842fdb10 Foundation`-[NSObject(NSKeyValueCoding) setValue:forKey:] + 248

frame #16: 0x000000010005ffd8 NativeDemo-[GstAVFVideoSrcImpl setDeviceCaps:](self=0x00000001703838e0, _cmd=<unavailable>, info=0x000000010649fb30) + 908 at avfvideosrc.m:546 [opt] frame #17: 0x0000000100060ce4 NativeDemo__30-[GstAVFVideoSrcImpl setCaps:]_block_invoke(.block_descriptor=0x000000010649fb00) + 104 at avfvideosrc.m:712 [opt]
frame #18: 0x0000000101868df0 libdispatch.dylib_dispatch_client_callout + 16 frame #19: 0x00000001018728c8 libdispatch.dylib_dispatch_barrier_sync_f_invoke + 128
frame #20: 0x0000000100060c64 NativeDemo-[GstAVFVideoSrcImpl setCaps:](self=0x00000001703838e0, _cmd=<unavailable>, new_caps=0x00000001051b52c0) + 236 at avfvideosrc.m:696 [opt] frame #21: 0x0000000100062790 NativeDemogst_avf_video_src_set_caps(basesrc=0x0000000101c50ef0, caps=) + 80 at avfvideosrc.m:1341 [opt]
frame #22: 0x00000001003f853c NativeDemogst_base_src_set_caps(src=0x0000000101c50ef0, caps=0x00000001051b52c0) + 116 at gstbasesrc.c:922 [opt] frame #23: 0x00000001003fa1e4 NativeDemogst_base_src_default_negotiate(basesrc=0x0000000101c50ef0) + 416 at gstbasesrc.c:3232 [opt]
frame #24: 0x00000001003fc1c4 NativeDemogst_base_src_loop [inlined] gst_base_src_negotiate + 40 at gstbasesrc.c:3272 [opt] frame #25: 0x00000001003fc19c NativeDemogst_base_src_loop(pad=0x0000000101c56b20) + 156 at gstbasesrc.c:2698 [opt]
frame #26: 0x00000001004786a8 NativeDemogst_task_func(task=0x000000010522c060) + 360 at gsttask.c:331 [opt] frame #27: 0x00000001002f3e24 NativeDemog_thread_pool_thread_proxy(data=) + 204 at gthreadpool.c:307 [opt]
frame #28: 0x00000001002f7d90 NativeDemog_thread_proxy(data=0x00000001051b4230) + 92 at gthread.c:778 [opt] frame #29: 0x0000000194473e80 libsystem_pthread.dylib_pthread_body + 164
frame #30: 0x0000000194473ddc libsystem_pthread.dylib`_pthread_start + 160
(lldb)

@alessandrod has recently made a lot of optimizations of how video is handled on iOS. It is likely related to those changes. We are looking in to it.

The crash is here: https://github.com/GStreamer/gst-plugins-bad/blob/master/sys/applemedia/avfvideosrc.m#L546
As the line above didn't break, I assume this means that the NSValue became invalid in the meantime. https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Protocols/NSKeyValueCoding_Protocol/#//apple_ref/occ/instm/NSObject/setValue:forKey: doesn't suggest that it takes ownership of the value.

This https://github.com/GStreamer/gst-plugins-bad/blob/master/sys/applemedia/avfvideosrc.m#L541 stores a double in the NSValue... but the property should be a CMTime. Is there any conversion needed here?

although IOS 8 crashs , it works fine on IOS 9. i had an iphone 6 with IOS 9.2.1. it just worked.

@sdroege Yes, it needs to be CMTime rather than NSValue/double.
Here is the patch for bug 762575.

The patch is merged in GStreamer, so getting this here fixed is just a matter of syncing the GStreamer version.

Great. @superdump can you do that?

is there any progress or is the sdk updated? still crash when run NativeDemo  on ios8 and ios10


(New) problem with the cookie auth step and the asynchronous credentials step in the tutorial

(May I suggest adding a "tutorial" tag, as the old issue template mentioned the tutorial, which means that all old issues turn up when searching for "tutorial" issues...?)
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
3.3.0
Can you reproduce the issue with our latest release version?
Yes!
Can you reproduce the issue with the latest code from master?
Haven't actually tried
Are you using the demo app or your own custom app?
Following the tutorial
If custom app, can you reproduce the issue using our demo app?
N/A
What browser and OS are you using?
Chrome latest
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?

From the license server auth tutorial page:
'https://storage.googleapis.com/shaka-demo-assets/sintel-widevine/dash.mpd';
'https://cwip-shaka-proxy.appspot.com/cookie_auth';
and
'https://cwip-shaka-proxy.appspot.com/header_auth';
What configuration are you using?  What is the output of player.getConfiguration()?
From the tutorial page:
  player.configure({     drm: {       servers: { 'com.widevine.alpha': licenseServer }     }   });
What did you do?
Followed the steps for trying out cookie auth, but still received 6007. Read through #3192 and set chrome to accept 3rd party cookies, no change.
For the asychronous credentials step, I followed the steps but received no response from the server in the auth request.
What did you expect to happen?
I expected the cookie auth tutorial step to work as described and play correctly. Same with the asynchronous credentials step.
What actually happened?
As I mentioned I still received 6007 when attempting to use the cookie auth step. For the asynchronous credentials step, I never received a response from the auth request.

I'm sorry it took so long to reply, were you able to resolve the problem?


ERROR: dlrs_ContactTrigger: System.LimitException

Hi,
I was trying to update mass update a custom field on Contact object using dataloader.io and it returned this error: ERROR: dlrs_ContactTrigger: System.LimitException.
I tried using import wizard and got the same error.
Also I am getting random flowApplication errors which are not related to any actions taken and some API errors which Salesforce Support team said are caused by dlrs. Here are the errors:
FlowApplication Error:
An error occurred at element myDecision (FlowDecision).
The flow failed to access the value for myVariable_current.RecordType.DeveloperName because it hasn't been set or assigned.
This report lists the elements that the flow interview executed. The report is a beta feature.
We welcome your feedback on IdeaExchange.
Flow Details
Flow Name: Update_mailing_address_of_org_donor_proxy_contact
Type: Workflow
Version: 1
Status: Active
Flow Interview Details
Interview Label: Update_mailing_address_of_org_donor_proxy_contact-1_Account
Current User: Rajdeep Kaur<PHONE_NUMBER>6QYoI)
Start time: 13/07/2016 10:48 AM
Duration: 0 seconds
How the Interview Started
Rajdeep Kaur<PHONE_NUMBER>6QYoI) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old =<PHONE_NUMBER>wVkVrAAK
myVariable_current =<PHONE_NUMBER>wVkVrAAK
ASSIGNMENT: myVariable_waitStartTimeAssignment
{!myVariable_waitStartTimeVariable} Equals {!Flow.CurrentDateTime}
Result
{!myVariable_waitStartTimeVariable} = "13/07/2016 10:48 AM"
DECISION: isChangedDecision2_myRule_1_BillingCity
DECISION: isChangedDecision3_myRule_1_BillingCountry
DECISION: isChangedDecision4_myRule_1_BillingState
DECISION: isChangedDecision5_myRule_1_BillingStreet
DECISION: isChangedDecision6_myRule_1_BillingPostalCode
API Error:
Apex trigger cv.GiftAssetInsertUpdateTrigger caused an unexpected exception, contact your administrator: cv.GiftAssetInsertUpdateTrigger: execution of AfterInsert caused by: System.DmlException: Update failed. First exception on row 0 with id<PHONE_NUMBER>pM6zKAAS; first error: UNKNOWN_EXCEPTION, The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID<PHONE_NUMBER>092sJ. Contact your administrator for help.: Class.cv.GiftAssetUtils.updateDonationAmount: line 54, column 1
Do you know what could have caused these errors? Appreciate any help in resolving these.
Thanks
Rajdeep

The root cause of this problem is not the rollup tool i'm afraid. You have an issue in a Flow that has been deployed in your org. This is the error...
The flow failed to access the value for myVariable_current.RecordType.DeveloperName because it hasn't been set or assigned.

The error is in this flow Update_mailing_address_of_org_donor_proxy_contact. It looks like its because the RecordType.DeveloperName has not been queried or passed into the Flow. How is the Flow being called?
Its hard to see what impact DLRS is having here, everything points to the Flow issue, i don't even see anything DLRS related in the log above. Did Salesforce say anything more specific as to why they think it is the DLRS code?
If you deactivate the DLRS rollup, de-select Activate, does it work?

Hi Andrew,
Thank you for your response.
The flow is being called by a process builder based workflow. I am already
in contact with Salesforce support because of the other issues we are
having due to that Flow. It could be the root cause of all the issues.
I'll try to deactivate the DLRS rollup once Salesforce guys narrow the
issue down a bit further.
Thanks for looking into this. I'll get back to you with more information if
fixing the flow doesn't resolve the issue.
Thanks,
Rajdeep
Thanks!
Rajdeep
On Fri, Jul 15, 2016 at 3:57 PM, Andrew Fawcett<EMAIL_ADDRESS>wrote:

The root cause of this problem is not the rollup tool i'm afraid. You have
an issue in a Flow that has been deployed in your org. This is the error...
The flow failed to access the value for myVariable_current.RecordType.DeveloperName because it hasn't been set or assigned.
The error is in this flow
Update_mailing_address_of_org_donor_proxy_contact. It looks like its
because the RecordType.DeveloperName has not been queried or passed into
the Flow. How is the Flow being called?
Its hard to see what impact DLRS is having here, everything points to the
Flow issue, i don't even see anything DLRS related in the log above. Did
Salesforce say anything more specific as to why they think it is the DLRS
code?
If you deactivate the DLRS rollup, de-select Activate, does it work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/355#issuecomment-233055029,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATiDe8j47GLWvwOAxA0YLb7INuvfBLbCks5qV-Y0gaJpZM4JNp_C
.

I'll close this issue out for now, however you can still add comments and if needed we can re-open. Thanks. 👍


pretty certain include_recipe can be used directly

this indirection has not been necessary for some time (exactly how long i'm not entirely positive, but long enough to forget when i added it to the recipe DSL)

Thanks Lamont! Appreciate you looking at this bit of code and providing insight about it!


Don't show system calls on MacOS

Please, can you tell me is it possible to enable the display of system calls on Mac OS?

You probably mean, kernel stack traces?
async-profiler does show system calls, but not kernel stacks. It can't, because of the restriction of the operating system.
This is mentioned in README:

macOS profiling is limited to user space code only.

Thanks!


Can better diagnostics be issued?

An assert to trigger when loading invalid triggers:
https://github.com/ryobg/JContainers/blob/5ae10d81e1bb3ea062c6cd9716d79bb41fca0b1f/src/JContainers/src/collections/collections.cpp#L76

See also: https://forums.nexusmods.com/index.php?/topic/6560841-jcontainers-se/?p=59342601

The best way would be to throw some boost archive exception.. Archive is corrupted and there is nothing that can be done

Yes, it may do. Not sure how exceptions are handled in that moment, but looking by your answer it should be fine.

The exception will be handled in the domain master. The cons is that the Skyrim won't crash and users will not that JC data was not loaded

Then maybe a combo of BOOST_ASSERT_MSG and throw would do.


Confused name for newly introduced matrix structure.

Hello, in the newest commit 9f411b7bad7ba796627b2cd0a57e1ee914c191dd there is a meritorical issue linked to the name of newly inroduced matrix structure: https://github.com/maecry/asphyxia-cs2/blob/9f411b7bad7ba796627b2cd0a57e1ee914c191dd/cstrike/sdk/datatypes/matrix.h#L378
The matrix structure contains a 2 x 4 matrix in its source code
	union
	{
		struct
		{
			float _11, _12, _13, _14;
			float _21, _22, _23, _24;
		};
	};

which does not match the name of the matrix. Proper name should be Matrix2x4_t as first number denotes rows and second denotes columns.

There might exist a possibility that I have been bamboozled by the way of the matrix being denoted in the source code. 💀


Fix QATConv3D

Fix to allow SparseML model import to run If Pytorch version is not recent enough to have QATConv3d (introduced after v1.10, not currently in stable release)

I believe we need to handle this conditional later in the code as well where we check the types for quantized modules

If I'm not mistaken, the one issue that could arise from this is that we load in a model with a quantized Conv3D layer with a version of PyTorch which doesn't support QATConv3D. What behavior would we want to default to? To crash with a useful error, or is there a more productive way to handle it?

@KSGulin we'll need a conditional on line 798.
I think it would be ok to raise an exception in get_quantized_layers if we detect a Conv3d object with a qconfig but QATConv3d is not available, since upgrading to a newer version of torch would get that functionality

@bfineran thanks for pointing that out! I opted for a user warning because it looks like Conv3D only shows up in the latest main (unstable) PyTorch docs and isn't in the docs for the latest stable branch (1.10). Let me know if you'd like me to omit the warning or change it to an exception


A good article in codeproject , i hope it can add to document.

In EasyHook Document , it only wrote how to create local hook. however ,it can't tell us how to create remote hook in C#. so i think it can help more pepole.
article link: https://www.codeproject.com/articles/27637/easyhook-the-reinvention-of-windows-api-hooking

thanks , the author should help us knowing how to use it in remote hook

I'm now working on an updated managed remote hooking tutorial for https://easyhook.github.io

@spazzarama thanks,please notice us when it's done

An updated tutorial has been added here: http://easyhook.github.io/tutorials/remotefilemonitor.html
You will find the source code for this example at: https://github.com/EasyHook/EasyHook-Tutorials/tree/master/Managed/RemoteFileMonitor

thanks~


chore: release 1.2.136

:robot: I have created a release *beep* *boop*
1.2.136 (2022-07-21)
Bug Fixes

stapel: importing of symlink that points to directory does not work properly (835260f)
test: init werf docker failed on macOS (8306b57)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.136 :sunflower:


Added timestamp in Message class and populating it while extracting o…

…ther fields from kafka message
@HenryCaiHaiying please review.

Left a comment for a backward compatibility issue.

This change seems too big, changed too many subclasses.
How about you only change TimestampedMessageParser.java (most of other classes are subclasses of it).  Provide a new 'getTimestampMillis' method which provides a default implementation of:
if (config.useKafkaMessage()) {
return message.getTimestamp and rounded to millis
} else {
return extractTimestampMillis();
}
And change the caller to call this new method instead.

Nice idea! Implemented the desired behaviour in TimestampedMessageParser and every subclass will call this default implementation.

Looks great, thanks for your patience.  A great contribution.

All thanks to you Henry. This is my first contribution to an open-source project and couldn't have been possible without your guidance. Really appreciate your help in all the reviews and bearing patience with me :)


Update docs and rename some functions

Codecov Report

Merging #44 (1719215) into master (ec59377) will decrease coverage by 1.47%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
- Coverage   99.76%   98.29%   -1.48%
==========================================
  Files          17       17
  Lines        1700     1697       -3
==========================================
- Hits         1696     1668      -28
- Misses          4       29      +25

Impacted Files
Coverage Δ

src/viztracer/viztracer.py
95.23% <ø> (-4.77%)
:arrow_down:

src/viztracer/__init__.py
100.00% <100.00%> (ø)

src/viztracer/main.py
98.43% <100.00%> (-1.57%)
:arrow_down:

src/viztracer/tracer.py
100.00% <100.00%> (ø)

src/viztracer/report_builder.py
96.29% <0.00%> (-3.71%)
:arrow_down:

src/viztracer/simulator.py
96.74% <0.00%> (-3.26%)
:arrow_down:

src/viztracer/flamegraph.py
97.59% <0.00%> (-2.41%)
:arrow_down:

src/viztracer/code_monkey.py
98.83% <0.00%> (-1.17%)
:arrow_down:

... and 1 more

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 ec59377...1719215. Read the comment docs.


Milestone report doesn't have status on the Tasklist

Describe the Bug:
When creating a project, milestone reports are missing the 'Not started' status. this might change later based on the discussion with the UX team but for now we keep it here as a reference.
Probability (how likely the bug is to happen, scored from 1-5): 5
(For example, probability of 5 is something like "it happens to all users every time they log in."
Probability of 1 "only happens to certain users when a really specific and unlikely path is followed.")
Effect (how bad the bug is when it does happen, scored from 1-5): 1
(For example, effect of 5 is "the entire app crashes and makes it unusable for all users" or "the bug causes the wrong data to be saved, with critical information (e.g. payment) being affected."
Effect of 1 is "It makes some styling look a little bit weird.")
Steps to reproduce the behaviour:
Click the create new project button from the dashboard -> click Milestone Reports on the tasklist -> You won't see the status there 🙂
Screenshots:

Additional information:

OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Version: [e.g. 22]
Additional context

@LindsayMacfarlane  This will be taken care of once @dleard PR gets merged. Each individual Milestone will have a separate status.


Default value of strokeDashArray

The stroke-dasharray attribute must be set to 'none' if it is not defined.
https://developer.mozilla.org/fr/docs/Web/SVG/Attribute/stroke-dasharray

Hey @lennyrouanet,
Looks good, thanks you for the contribution!


px-dropdown does not work with ng-repeat

Hi guys,
px-dropdown does not like ng-repeat in AngularJS 1 framework. px-dropdown becomes un-clickable when being wrapped in ng-repeat.
we will appreciate it if you can fix that problem.
Best,
Bailiang

hi there,
Can you please create a codepen with the problem in it?
Thanks!

hi team,
I have a codepen demo here.
http://codepen.io/bailiang/details/GrJvKQ/
Could you please refer to this codepen link ?
If you need more info or have any question, please just let me know.
Thanks,
Bailiang

I saw some chatter on the Forums related to this issue. We did try reaching out to our contacts at Google but they didn't have an immediate answer, we'll follow up today. However it looks like your CodePen stopped working? I don't see the dropdown working inside OR outside of the ng-repeat (Mac, Chrome 55) - did you change something on it?

Hi , I didn't modify the dome. It seems like the a problem with polygit.org. Because other demos about px components on code pen are not working. Do you know the latest method to import polymer and px components in codePen ?  These warnings in console are fine. Thank you for the reply.

Rob @ Google says they're rebooting Polygit and reviewing a PR at the same time.

See lines 2 - 5 of this CodePen for the solution. You'll have to use webcomponents.min.js (instead webcomponents-lite.min.js) which includes the old shadow DOM polyfill for ng1/polymer1 interop, and include the global Polymer setting for shadow DOM on line 4 before you import polymer.html, then you should be good to go.

@randyaskin  Seems the  codepen still behaves the same manner.Is there anything more to be changed to make the dropdown functional?Thanks

We use a different polygit import than we did 12 months ago. I have updated the CodePen accordingly, but I’ll remind you that you should in no way rely on CodePen or Polygit in any substantial way as anything other than a learning tool.


BUG:  Kitematic 0.8.2 (BETA) - pane for centos:5 throws 500 error

While trying to start centos:5 with Kitematic 0.8.2.

The container seems to have been 'updating' - What parameters did you change that caused this issue?
Also what image did you use? I can't seem to find a matching 'centos:5' image - Kitematic only shows 'centos:5.11'.

Merging with #1030


Complete MongoDB and Mongoose

Stopped at 'Create Many Records with model.create()'. Frustratingly, there are just too many concepts I don't understand. I am looking at hints too much and copy pasting code. I need to take a breather and return once I am more confident. First steps is to identify the gaps in my knowledge.


Check for user permissions

Read-only users don't have access to some things, like being able to list configuration.   Need a way to detect user role up-front, and then selectively disable components they can't use.

Fixed by 0.4.1


upgraded deps to eliminate github security warning

Change Description
Upgrading deps and removing carets from version number on non-dev deps.  Minimal impact on non-dev deps; no impact expected to users
API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

wrong base branach...


Break point for Razor C# class generated for a view

I wrote CustomTemplateEngine as suggested in this article and added it in Startup's ConfigureServices method but when I run the project and it redirects me to Pages/Index.cshtml, it doesn't stop at break point setted up for "return csharpDocument" line.
The only difference I detected between the article and my example is in ConfigureServices method for the AddMvc method. In my case, it uses the SetCompatibilityVersion method.
Do you have any idea for the break point has not been triggered when Pages/Index.cshtml was redirected?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b87067b2-347c-072d-26c8-5a8c7c9c860b
Version Independent ID: a0b3b70a-3b39-1b5f-a4ce-c41bd2d6b044
Content: Razor syntax reference for ASP.NET Core
Content Source: aspnetcore/mvc/views/razor.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@NTaylorMullen Seems like something is missing from the instructions in the doc. Any ideas?

My bet is that views are being compiled on build and therefore GenerateCode is never called. If you want to see the output of your Razor files when RazorCompileOnBuild is true (this is the default) you can look in your obj folder for cshtml.cs files for the output of your various Razor files. Otherwise, you can set RazorCompileOnBuild to false an the old method works

@NTaylorMullen I saw the generated code in obj folder, thanks for the clue. I tried also the old method you mentioned and setted up RazorCompileOnBuild to false. The files in obj folder has not been created but that line with break point at CustomTemplateEngine class has not been triggered. Regardless, now I know how to see when it's the default option for RazorCompileOnBuild.

Thank you, @NTaylorMullen! I'll get this detail added to the doc.


gltfpack: Implement support for JSON report output

A new option, -r file, can be used to output a JSON report for the
processing of the scene.
The report contains summary scene information (counts of various
objects), render complexity (number of draw calls and triangles) and
data sizes (JSON/binary sizes plus a breakdown of buffer data).
Unlike -v/-vv which is purely informational and can change at any point
in time, the schema for -r should be reasonably stable from version to
version.
Fixes #162.

Example output:
{
        "generator": "gltfpack 0.14",
        "scene": {
                "nodeCount": 77,
                "meshCount": 4,
                "materialCount": 4,
                "textureCount": 12,
                "animationCount": 1
        },
        "render": {
                "drawCount": 4,
                "instanceCount": 4,
                "triangleCount": 37451
        },
        "data": {
                "json": 33401,
                "binary": 34566300,
                "buffers": {
                        "vertex": 693308,
                        "index": 224706,
                        "animation": 52520,
                        "transform": 3968,
                        "image": 33591777
                }
        }
}


Homebrew does not respect CURL_CA_BUNDLE environment variable

brew config output
HOMEBREW_VERSION: 3.6.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: b8b195cc64a29595797651720ebb2ea09affb682
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 206b0381b058735431b0f65dba768fa4849db334
Core tap last commit: 56 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_BROWSER: /vscode/vscode-server/bin/linux-x64/74b1f979648cc44d385a2286793c226e611f59e7/bin/helpers/browser.sh
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
CPU: octa-core 64-bit unknown_0x6_0x8c
Clang: N/A
Git: 2.30.2 => /usr/bin/git
Curl: 7.74.0 => /usr/bin/curl
Kernel: Linux 5.19.8-arch1-1 x86_64 GNU/Linux
OS: Debian GNU/Linux 11 (bullseye) (bullseye)
Host glibc: 2.31
/usr/bin/gcc: 10.2.1
/usr/bin/ruby: N/A
glibc: N/A
gcc@11: N/A
gcc@12: N/A
xorg: N/A

brew doctor output
Your system is ready to brew.

Verification

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
I have a system for which I do not have sudo access that installs the ca bundle at /etc/pki/tls/certs/ca-bundle.crt but curl by default reads from /etc/ssl/certs/ca-certificates.crt. So I set the environment variable CURL_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt to tell curl the place of the ca bundle.
In order to more clearly illustrate the problem, I replicated the relevant part of the system in a docker container running debian bullseye on own computer.
What happened (include all command output)?
curl download failed because it does not know that I set the CURL_CA_BUNDLE environment variable.
$ brew install gcc
==> Downloading https://ghcr.io/v2/homebrew/core/linux-headers/5.15/manifests/5.15.57-1
curl: (77) error setting certificate verify locations:  CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs

Error: gcc: Failed to download resource<EMAIL_ADDRESS>Download failed: https://ghcr.io/v2/homebrew/core/linux-headers/5.15/manifests/5.15.57-1

What did you expect to happen?
I expected the brew command to run without problem.
Step-by-step reproduction instructions (by running brew commands)
$ sudo mkdir -p /etc/pki/tls/certs # create directory to prepare for copying
$ sudo cp /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt # copy the ca bundle
$ sudo mv /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt.backup # make curl unable to find the default ca bundle
$ export CURL_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt # tell curl where to find ca-bundle
$ brew install gcc # install something with homebrew

This is intended behaviour.
If you need to specify an alternative CA bundle, set HOMEBREW_CURLRC and add the --cacert flag to your .curlrc.

I see. Thanks. May I know why this is the intended behaviour?

Environment variables leaking into the build environment can affect or even break builds. To avoid that, we remove all but the most necessary environment variables into brew invocations.


Is the YoutubeDL exec updated when running youtubedl() function or when importing youtube-dl-exec

Title explains it all but is there a seperate function to update the youtubeDL exec. Does it happen everytime the youtubedl() function is called or does it happen when youtube-dl-exec is imported.

Hello,
The library has a postinstall script. It's called every time you perform a npm install and youtube-dl-exec is declared as dependency or devDependency.
The postinstall script will download the latest binary version available 🙂


Complete steps for load to PyPi

Use page at https://packaging.python.org/en/latest/tutorials/packaging-projects/ for the same.

https://pypi.org/project/py-sas-studio-custom-steps/
Lessons

Maintain separate branch - dist which contains tooling necessary for dist folder. PR from main to dist whenever a new release is planned.
Delete the dist folder after every successful upload
Version & date changes to be in sync with pyproject.toml and README.md


snapshot_download should have token param to authenticate

in download_data.py , should add token  as a param for snapshot_download.

just added, thank you


with --listings,  character è becomes é

More French problems :)
In the  eisvogel_listing_style section here
https://github.com/Wandmalfarbe/pandoc-latex-template/blob/master/eisvogel.tex#L772

é becomes \'e
è also becomes \'e but it should be  \`e

As decribed here:
https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings#Encoding_issue
@Wandmalfarbe: Also would you be open to add support for more UTF8 characters in this list or do you want to keep as short as possible ?

Ah, nice find! I used the Wiki you linked as an inspiration. I think Eisvogel and the Wiki have the wrong definition for È... Could you also change that here, please?

È also becomes \'E but it should be  \`E

Also would you be open to add support for more UTF8 characters in this list or do you want to keep as short as possible ?

Feel free to add as many as you like (in a separate PR). I don't think the compilation time will increase that much, but I'm no expert at that. I think the benefits of more supported characters in Listings outweigh the Possibility of an increased compilation time.


[Display Helper] No 4k Resolution found (per Game)

Extension name
Display Helper
Bug Description
HI,
I would like to open some Games on my 4k (3840x1440) TV, but I cannot define the correct Resolution for it becuase the Helper does not show the Resolution. My Monitor is WQHD (3440x1440).
The highest shown Entry is the same Resolution as from my Monitor.
In the Add-ons.. Config it does show 4k as an Option. But I do not want to use it for all Games.
My GPU is a 7900 GRE.
I tried to set the Display for the Game to my TV, but it did not change the list of Resolutions.
I already removed the Addon and reinstalled it, without a change.
To Reproduce
No response
Logs
Changing anything in the Addon does not produce output in the extension or playnite.log.
The only thing I can find related to it is:
"INFO |ExtensionFactory:Loaded plugin: Display Helper, version 1.29"
Screenshots
No response

In the Add-ons.. Config it does show 4k as an Option. But I do not want to use it for all Games.

That's weird because both places use the same code to get the available resolutions, the difference being that the game menu list is populated on startup whereas settings are populated each time you open it. This is because it's not quick to gather them and doing it each game menu open would cause a slowdown. Are you using multiple displays? If so, is your 4K one set as primary and available on startup?

Also: Why does the Addon show 43:18 as my aspect ratio instead of 21:9 ... or 42:18 ?

is your 4K one set as primary and available on startup?

No, my Monitor is my Main.
My Monitor is my Main via DP and my TV is constantly connected via HDMI.
ALso, is it meant to that my primary MOnitor switches when I open a Game on my TV? Because when I set a Game to open on my TV then it opens there, but at the same time my primary Monitor is switched to the TV.
Which I always have to revert after I am done playing.

Update:
I get this in the Logs when I start a Game:

20-05 11:28:14.794|DEBUG|PlayState#PlayStateManagerViewModel:Data for game A Plague Tale: Requiem with id c6b69d0d-d25f-4515-a51c-0bba45259743 was removed
20-05 11:28:14.859|DEBUG|SaveFileView#HttpClientFactory:Created service provider with IHttpClientFactory
20-05 11:28:15.318|INFO |PlayNext#GameActivityExtension:Game Activity extension not loaded. Returning empty list.
20-05 11:29:02.252|WARN |SuccessStory#SteamApi:No SteamLibrary configuration found
20-05 11:29:02.252|ERROR|SuccessStory#Common:Error on WindowBase_LoadedEvent()|G:\GitHub\Lacro59\playnite-successstory-plugin\source\SuccessStory.cs|221
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei SuccessStory.Clients.SteamAchievements..ctor() in G:\GitHub\Lacro59\playnite-successstory-plugin\source\Clients\SteamAchievements.cs:Zeile 63.
bei SuccessStory.Services.SuccessStoryDatabase.get_AchievementProviders() in G:\GitHub\Lacro59\playnite-successstory-plugin\source\Services\SuccessStoryDatabase.cs:Zeile 43.
bei SuccessStory.SuccessStory.WindowBase_LoadedEvent(Object sender, EventArgs e) in G:\GitHub\Lacro59\playnite-successstory-plugin\source\SuccessStory.cs:Zeile 221.
20-05 11:36:12.881|WARN |SuccessStory#SteamApi:No SteamLibrary configuration found
20-05 11:36:12.881|ERROR|SuccessStory#Common:Error on WindowBase_LoadedEvent()|G:\GitHub\Lacro59\playnite-successstory-plugin\source\SuccessStory.cs|221
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei SuccessStory.Clients.SteamAchievements..ctor() in G:\GitHub\Lacro59\playnite-successstory-plugin\source\Clients\SteamAchievements.cs:Zeile 63.
bei SuccessStory.Services.SuccessStoryDatabase.get_AchievementProviders() in G:\GitHub\Lacro59\playnite-successstory-plugin\source\Services\SuccessStoryDatabase.cs:Zeile 43.
bei SuccessStory.SuccessStory.WindowBase_LoadedEvent(Object sender, EventArgs e) in G:\GitHub\Lacro59\playnite-successstory-plugin\source\SuccessStory.cs:Zeile 221.
20-05 13:10:26.022|DEBUG|DisplayHelper#DisplayUtilities:ChangeDisplaySettings Parameters - displayDeviceName: \.\DISPLAY2, newWidth: 3440, newHeight: 1440, newRefreshRate: 0, applyChanges: True
20-05 13:10:26.022|DEBUG|DisplayHelper#DisplayUtilities:Setting configuration of device "\.\DISPLAY2", 3440x1440, 0, CDS_UPDATEREGISTRY
20-05 13:10:26.022|INFO |DisplayHelper#DisplayUtilities:Display change test failed with value BadMode
20-05 13:10:27.119|DEBUG|PlayState#PlayStateManagerViewModel:Added game A Plague Tale: Requiem with Id c6b69d0d-d25f-4515-a51c-0bba45259743 to detection dictionary

What´s the BadMode?

Bad mode is what the function used to change the display configuration returns, it indicates the configuration trying to be applied is not valid: https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-changedisplaysettingsa#return-value


Problem with Observe

many times, i need functionality where i just need to check for flag exactly once and not more. for cases, where i need to see if the flag is already set. simple code doesn't really detach binding if the flag is already set right when binding is setup.
for eg
flag.observe { [unowned self] value in
  if value {
    self.doSomething()
    bindingBag.dispose()
  }
}.disposeIn(bindingBag)

for above code, if the value of the flag is already true, bindingBag.dispose doesn't really dispose as when the bindingBag.dispose executes inside closure, the disposableType isn't added into bindingBag.
What would be the best way to handle this issue?  i know i can write code like below but i am looking for more elegant solution.
if flag {
  self.doSomething()
}
else {
  flag.observe { [unowned self] value in
    if value {
      self.doSomething()
      bindingBag.dispose()
    }
  }.disposeIn(bindingBag)
}

Thanks.

I know this is an old issue but I come across it and it got me thinking.
Here is my proposition (it's untested), it would need to be added directly into EventProducer.swift since replayBuffer is private.
public extension EventProducer {

    public func observeOnce(observer: Event -> Void) -> DisposableType {
        if let last = replayBuffer?.last {
            observer(last)
            return SimpleDisposable()
        }
        else {
            var disposable: DisposableType!
            disposable = observeNew { (event) in
                observer(event)
                disposable?.dispose()
            }
            return disposable
        }
    }
}

And you would use it like this:
flag.filter { $0 }
    .observeOnce { [unowned self] (_) in
        self.doSomething()
    }
    .disposeIn(bindingBag)

I hope someone will found this useful someday 😄

@CallumOz was very helpful to me!

I'm glad it was helpful to someone 😉


Web Design LOGIN/SIGNUP PAGE [8]

frontend design of Login & Sign up page

frontend design draft of Login & Sign up page


fix log where tty is false

Instead of fighting with docker, since they do it right and we want to keep compability, we embrace it and use their client and packages to handle logs.
This fix refactors the http client slightly to handle auth and docker in a simpler manner.
It also fixes the way version is reported improperly as 1.0.1 in http and 1.1.2 in main.

that sounds like a terrible idea, since this means kra now depends on the tls certs to be present with kra docker setup. this is super confusing to the user can can lead to subtle bugs

ah! i got confused by the tcp:// host line. this is a good idea then


infra proxy list pages UI improvements

:nut_and_bolt: Description: What code changed, and why?

new UI for the list pages for read-only views (tabs UI, cookbooks, roles, environments, data bags and clients)
:chains: Related Resources
https://github.com/chef/automate/issues/4663
:+1: Definition of Done
I have added changes to the new UI list pages.
:athletic_shoe: How to Build and Test the Change
STEP 1
inside the hab studio

[default:/src:0]# build components/automate-ui-devproxy/
[default:/src:0]# start_automate_ui_background
[default:/src:0]# start_all_services

STEP 2
open new window
go to automate UI path

$ cd components/automate-ui
and run the command

npm run serve:hab

To add data https://github.com/chef/automate/blob/master/dev-docs/adding-data/adding_test_data.md#adding-data-to-infra-views
Go to Infrastructure tab >> Chef Servers it's under Chef-Server feature flag.

:white_check_mark: Checklist

[ ] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ ] Docs added/updated?
[ ] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable

can i know what  ui changes we are making, please describe in pr

can i know what ui changes we are making, please describe in pr

can you please check the related issue I have attached a screenshot.

hi @vinay033, i see the list menu and create databag mentioned in the issue. But there are few text changes as well in the pr. Is there any issue related or may i know what are we referring to for these text changes?

i see the list menu and create databag mentioned in the issue and those are removed. But there are few text changes as well in the pr. Is there any issue related or may i know what are we referring to for these text changes?

right now we are only targeting the read-only changes.. after the read-only release will add the create/edit/delete.

@kalroy Why did you mark this PR blocked?

There is apparently no UX specification for this issue and PR, so I will make my recommendation: let's omit the "of x" for every header.
It does not add anything to use headers Name of Role, Description of Role, Environment of Role; it only makes it cluttered.
See my specific comments below.
Note that I have also made all such terms singular; previously it was inconsistent with some singular and some plural.
I did changes as per the UX suggestions but now I have changed it to Name only and updated the PR.

@kalroy Why did you mark this PR blocked?

I thought it was blocked by an API PR waiting to be merged. Since it is not the case, I am moving it out to Review.

While testing found minor CSS issues like more column width in list data, More space for list heading.

@chaitali-mane Please create a new GitHub issue for the CSS issues you indicated.

@chaitali-mane Please create a new GitHub issue for the CSS issues you indicated.

Created issue for the UI chages #4750 and raised PR with changes #4754 against issue.


Issue with Delete Button Functionality and Menu Visibility

I encountered an issue while using the delete button in the game. Upon multiple attempts to use the delete button, I noticed inconsistent behavior where the game was not properly deleted, causing it to not properly restart. Additionally, when this issue occurs, the delete button disappears from the menu options when accessed.
How to reproduce:

Open the 2048 game app.
Swipe a few tiles.
Click the "Delete" button in the menu to delete the current game.
Repeat steps 2 and 3 multiple times.

behaviour:
https://github.com/andstatus/game2048/assets/95432232/b1e6ce2a-265a-48ae-bb85-554045b04054

Hello @shamma13
When you "Delete" current game, the app shows you some previously stored game. You can see all stored games in the "Recent games" menu item.
When you repeat your scenario, you delete another previous game.
And so on.
At some point there are too few "Recent games" left (as I remember, less than 5 games), and the app doesn't show you "Delete" button.
If you want to restart a game, just press "Try again" button.


Scores output dirs have inappropriate premissions

Warning: mode of '/tmp/sphinxnotes-pages/_lilypond/f999d8211b328f05198e4b376a655dfdef02640d' changed from 0700 (rwx------) to 0755 (rwxr-xr-x)
Warning: mode of '/tmp/sphinxnotes-pages/_lilypond/5a00cd884253094c331991549f1bd46424f7d974' changed from 0700 (rwx------) to 0755 (rwxr-xr-x)
...

https://github.com/sphinx-notes/lilypond/actions/runs/5304454111

Temporary fixed by https://github.com/sphinx-notes/lilypond/commit/ac744c7ada9d1dcca357c01b65ee2fa255e07df7


snd: 18.5 -> 18.6

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/snd/versions.
meta.description for snd is: '"Sound editor"'.

Checks done (click to expand)

built on NixOS
/nix/store/dlvww88am74brlpylbaa2hp259dva1fz-snd-18.6/bin/snd passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 18.6 with grep in /nix/store/dlvww88am74brlpylbaa2hp259dva1fz-snd-18.6
directory tree listing: https://gist.github.com/8547ba5211d48da21bd2fceb5744d6b0
du listing: https://gist.github.com/d2a984a586415699713c971c8ea1d3a9

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 8a509c3fc9319652170adc385acb642250a433bf && nix-shell --pure -I nixpkgs=. -p snd

cc @fuuzetsu for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: snd
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: snd
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/dlvww88am74brlpylbaa2hp259dva1fz-snd-18.6
shrinking /nix/store/dlvww88am74brlpylbaa2hp259dva1fz-snd-18.6/bin/snd
gzipping man pages under /nix/store/dlvww88am74brlpylbaa2hp259dva1fz-snd-18.6/share/man/
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/dlvww88am74brlpylbaa2hp259dva1fz-snd-18.6/bin
patching script interpreter paths in /nix/store/dlvww88am74brlpylbaa2hp259dva1fz-snd-18.6
checking for references to /build in /nix/store/dlvww88am74brlpylbaa2hp259dva1fz-snd-18.6...
/nix/store/dlvww88am74brlpylbaa2hp259dva1fz-snd-18.6

Success on aarch64-linux (full log)
Attempted: snd
Partial log (click to expand)
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ynrd5lxrn3bbgr7swwxniwbfpdvvfhgw-snd-18.6
shrinking /nix/store/ynrd5lxrn3bbgr7swwxniwbfpdvvfhgw-snd-18.6/bin/snd
gzipping man pages under /nix/store/ynrd5lxrn3bbgr7swwxniwbfpdvvfhgw-snd-18.6/share/man/
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ynrd5lxrn3bbgr7swwxniwbfpdvvfhgw-snd-18.6/bin
patching script interpreter paths in /nix/store/ynrd5lxrn3bbgr7swwxniwbfpdvvfhgw-snd-18.6
checking for references to /build in /nix/store/ynrd5lxrn3bbgr7swwxniwbfpdvvfhgw-snd-18.6...
/nix/store/ynrd5lxrn3bbgr7swwxniwbfpdvvfhgw-snd-18.6


ACI CNI <IP_ADDRESS> changes for RKE1 v1.5.x

rancher/rancher tracking issue for https://github.com/rancher/rke/issues/3465

Note: Unlike some other issues targeting v2.8.1, not creating forward/backports as once it's addressed in next v1.5.x RKE1 release there won't be a need to back/forwardport it to any other v2.8.x related RKE1 release. As far as v2.9.x related Rancher releases, RKE1 will be branched for it (v1.6.x release line likely) after the changes for this issue are merged in.

The fix can be validated in Rancher v2.8.1-rc1

Marking this one as "Done" as we're not testing ACI and looking into PRs we've clearly moved missing changes to RKE1 1.5.x now and will get into v1.5.2 release.
@daviswill2 ,  If there are any issues found during v2.8.1 regression testing that have even remote chance of being related to this change, feel free to reopen this issue.

QA agrees that there is no direct testing of ACI, and will report any regressions from release testing appropriately.


Set Boot Nonce Causes Reboot

Describe the bug
A clear and concise description of what the bug is and what you expected to happen.
To Reproduce
Steps to reproduce the behavior:

On Unc0ver 3.5.0 to 3.5.5, leave the settings as default when you first install
This should have Set Boot Nonce as enabled with generator of 0x1111111111111111
Pressing jailbreaking will result iPad Air to reboot before step 18.
Setting the option to off will complete jailbreak successfully

Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):

iOS Version: 12.4
iOS Device: iPad Air (iPad 4,1)
unc0ver Version: 3.5.0 to 3.5.2

Place an "x" between the brackets if true:

[x] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[x] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Logs
If applicable, add logs or error messages here.
No error messages, and where are the logs? I can try to retrieve them.

unc0ver > settings > share diagnostic data


jQuery versions

We are (presumably) loading jQuery in lots of places. We need a way to centrally update the versions we are using it and (to avoid insanity) to use a consistent version throughout tfc_web.
Options:

Store a copy copy locally and always load that
Load it from a CDN via a single template fragment

Thoughts?

See also #32


Pass environment to the testing debugger

The C++ debugger requires "environment" key in the format
[ { "name": "config", "value": "Debug" } ]
https://code.visualstudio.com/docs/cpp/launch-json-reference
Note: I think Javascript uses 'env'. Python uses 'env'. Annoying. This patch doesn't account for Javascript or Python. Not sure if that is a problem.
Fixes #240

Actually, maybe it would be better to special case it in a if statement?

Actually, maybe it would be better to special case it in a if statement?
I added the if statement 👍

Can you squash the commits? I'll make a new release today.

Can you squash the commits? I'll make a new release today.

Squashed 👍


Memoize Virtus attribute and fix memory leak.

This one fixes a serious problem we faced in production under a heavy load. Investigation led us to the fact that it happens only when params are defined with type: Array[SomeClass]. In this case Virtus dynamically create some virtual classes (with Class.new) which inherits from base class with DescendantsTracker added which saves descendant classes into the array. Here we have a leak because garbage collector doesn't free these classes because an array still holds a reference to them.
So at least I can say that Virtus isn't designed for creating things dynamically. They should be stored somehow statically.
@dblock
Look, this is funny! Remember https://github.com/ruby-grape/grape-entity/pull/161 ? This is why it is bad to store descendant classes in the array. Look at the implementation of DescendantsTracker — is it similar, right?

Some demonstrating examples:
Non-leaking:
require 'virtus'

type = Integer

10.times do |i|
  ObjectSpace.garbage_collect
  puts ObjectSpace.count_objects[:T_CLASS]
  Virtus::Attribute.build(type)
end

outputs:
854
858
858
858
858
858
858
858
858
858

Leaking:
type = Array[String]

10.times do |i|
  ObjectSpace.garbage_collect
  puts ObjectSpace.count_objects[:T_CLASS]
  Virtus::Attribute.build(type)
end

outputs:
854
865
867
869
871
873
875
877
879
881

This is solid work @marshall-lee, thanks.


Fixing custom animations for modals

Overview
As the modal animations are based on the react-native-animatable, it should be possible to use custom animations. Yet an error is thrown if we configure one.
This PR fixes this issue.
Test Plan

Create a modal with custom animation and test it works
Create a modal with a preconfigured animation and test it works.

Looks good to me, thanks :)


[General]:Add "System Context" to BB template

Contact Details
<EMAIL_ADDRESS>Problem Description
We suggest to add one new context property to better describe the underlying requirement to run the BB (OS/framework), e.g. but not limited to

AGL
QNX
ROS-based
container runtime
web assembly
web service

This shall NOT replicate the full dependencies list and detailed runtime environment description - this is in the implementation project only.
However, this attribute should give a first impression of the BB only.

added in PR #41


fixes offload dtype

What does this PR do ?
This PR fixes a problem I had when I tried to offload a tensor to meta device using set_module_tensor_to_device with a specific dtype. The dtype of the meta tensor is not changed by the dtype arg.
When we move back the meta tensor to cpu or cuda, if we don't indicate the dtype ,which is the case when we added the hook, it will take the dtype of the meta tensor.
    if value is not None:
        if dtype is None:
            value = value.to(old_value.dtype)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Dev merge with main

Great work!

Verified all the functionalities, everything works fine,I think we are good to commit it to main!!


Fatal Python error: Py_Initialize: Unable to get the locale encoding ModuleNotFoundError

system:centos 7
python default version
[root@localhost ~]# python
Python 2.7.5 (default, Jun 20 2019, 20:27:34)  [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
When i execute
docker run -d -it --name phusion phusion/baseimage:0.11
docker logs phusion display:
Fatal Python error: Py_Initialize: Unable to get the locale encoding ModuleNotFoundError: No module named 'encodings'
then i install python 3 and config env
[root@localhost ~]# python
Python 3.6.8 (default, May  2 2019, 20:40:44)  [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux Type "help", "copyright", "credits" or "license" for more information.
but docker don't use python 3, the same error display

Are you getting a python error when you run baseimage, or when you run python through baseimage?  Please clarify, thanks and sorry for the delay in answering your report.

 Please clarify, thanks and sorry for the delay in answering your report.

Yes

I got the same problem, but not the same image which is harbor prepare.I found that the container runs ok in centos 7.8 & 7.7 env, and failure in centos 7.9.😂

Which version of the baseimage is being used here? Has this been tested with the focal images?


Updated badges.

r? @chandraprakash
(maidsafe_highfive has picked a reviewer for you, use r? to override)

Reviewed 1 of 1 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


[Documentation] Add a Readme in Word Count Calculator

Add a Readme.md file in the Word-Count-Calculator folder describing it, tech stacks used and screenshots.

Assign me

Go ahead @AftabMankapure

For which open source program you want to get assigned @AftabMankapure

under  jwoc and iwoc

@Rakesh9100 Please assign this to me under JWoC24

@pranjal12-web  already done this issue

Please assign me this issue under SWOC

Add label iwoc


check validity of iob.json and profile.json and refresh if invalid

Sometimes get-settings fails to refresh something from the pump, resulting in a bad/empty iob.json or profile.json.  Rather than letting the loop fail and waiting for it to refresh naturally, this does so before trying to use it.
This also refactors the openaps get-settings alias into a function in oref0-pump-loop for better logging, efficiency, and to make things easier to tweak in the future.

I think this one is ready to merge to dev if no objections.


Update Composer dependencies (2023-10-15-00-12)

Visual regression test passed!
View the visual regression test report


Create a version of cherrypicker supporting the gardener release note format

/kind enhancement
What this PR does / why we need it:
Gardener is annotation release notes with (breaking|feature|bugfix|doc|other) (user|operator|developer|dependency) which is different than Kubernetes which is using release-note.
Because of this cherrypicker is not able to copy release notes into cherrypick PRs.
The regexp identifying the release note is not configurable yet. We forked the cherrypicker external prow plugin to change it. Eventually, it might become configurable and we could delete this fork again.
I would like to keep the effort low. Thus, the only things which are changes are the mentioned regexp, corresponding test cases and a minor fix to satisfy golangci-lint.
Special notes for your reviewer:
When this PR is merged and the image is build I will create a second PR to switch to the resulting image in cherrypicker deployment

The failing pull-ci-infra-prow-go-tests is a chicken or the egg dilemma I updated all dependencies to the latest version which requires go 1.18. I update the test job in this PR too, but in the config used by prow it is still running on the go 1.17 and is failing because of that.
To solve this dilemma start pull-ci-infra-prow-go-tests with the new go 1.18 image manually.

You could also bump the job images in a separate PR. Building 1.17 code should generally work with 1.18 images :)

The failing pull-ci-infra-prow-go-tests is a chicken or the egg dilemma I updated all dependencies to the latest version which requires go 1.18. I update the test job in this PR too, but in the config used by prow it is still running on the go 1.17 and is failing because of that.
To solve this dilemma start pull-ci-infra-prow-go-tests with the new go 1.18 image manually.

You could also bump the job images in a separate PR. Building 1.17 code should generally work with 1.18 images :)

Good idea, I created https://github.com/gardener/ci-infra/pull/289 for that.

@timebertt I applied the changes, in order to make pull-ci-infra-prow-go-tests work we have to merge https://github.com/gardener/ci-infra/pull/289 first

@timebertt had to rebase the PR. Not the test succeeds


AccessRules / Roles : Add Support for Built-in Groups

Make AccessRules and Roles work for built-in groups like "Everyone" and "Authenticated Users".
This will allow setting / removal of the "Protect from accidental deletion" flag on OU's.

Support already exists.   Built-in Groups MUST be added / deleted by SecurityIdentifier (Sid).


ANC Subs Visit - Immunization Activity [4h]

Issue
We are adding in an immunization activity into the ANC subsequent encounter. It will come before the Lab activity. It will have the same structure as the immunization activity in SPV. However, the only immunization is tetanus. I will make a separate activity for the Tetanus immunization sub-activity.
To Do :

Create architecture for Immunization Activity

@jeanette-pelizzon
Why is it added to subsequent encounter only?
Shouldn't we do it at first nurse encounter?

We can check with @leowea but, so far, it has only been talked about in the context of the subsequent visits.

@jeanette-pelizzon Sorry about this- we noted it later, but it should be a part of the ANC process beginning with the first encounter. // @anvmn thanks for catching this!

@balagan73
Deployed to Nutrition env. Please test.

https://nutrition-ihangane.pantheonsite.io/
QA Review
Found issues and questions:

The immunizations activity only displays when patient is pregnant. It sounds logical, but I couldn't find any info about it in the Logic Master google sheet. Is this OK?

Checked and approved:

Immunizations displays before the Laboratory activity. Currently it only holds the Tetanus subactivity.

@balagan73 yes it should only appear if a patient is pregnant. Moving this to acceptance testing. Thanks!


wrap_content not working

I want to use width to wrap_content for the RoundTabLayout, but it is always expanding to the whole width, like match_parent.

Oh, haven't tried with wrap_content, but still strange. I'll check it tomorrow.
P.S. Just wondering, for which case you need TabLayout to be wrap_content?)

I just have two tabs and I want to align them right.


redis host config get error

In my laravel case, REDIS_HOST is not <IP_ADDRESS>, it config in laravel .env file, if i use the clear command bin like reademe : ./vendor/bin/tus tus:expired redis, it will get an error
In AbstractConnection.php line 155:

  Connection refused [tcp://<IP_ADDRESS>:6379]

https://github.com/ankitpokhrel/tus-php/blob/master/src/Cache/CacheFactory.php#L20
because there can't get the REDIS_HOST  env value, ./vendor/bin/tus tus:expired redis don't run via laravel framework, so laravel config environment does't exist, my solution is make it run in  laravel framework， add to laravel schedule job, like this：
app/Console/Kernel.php

protected function schedule(Schedule $schedule)
{
    $schedule->exec('./vendor/bin/tus tus:expired redis')->dailyAt('01:00');
}

I think you can update readme to help other people or do a better solution. 😎

btw, redis port also can use this solution，but password can't，there have no code to get password, even i can copy or overwrite a new command to do it，but i  think add get password env code will be better way。

I see that there is no way to pass redis configs to expired command. Thanks for reporting, will check as soon as I can.

Fixed by #71, you can now pass path to your config file.
./vendor/bin/tus tus:expired redis --config=<path to your config file>

Details here.


Haralick feature list not working for multiple images.

/home/tothtech/code/collageradiomics-tothtech/module/collageradiomics.py in execute(self)
    829
    830         haralick_feature_list = self.haralick_feature_list
--> 831         print(haralick_feature_list)
    832         if haralick_feature_list[0] == HaralickFeature.All:
    833             number_of_features = 13

IndexError: list index out of range

Also, doesn't appear to work for subsequent images after working past that error:
[<HaralickFeature.SumOfSquareVariance: 3>]
Calculating feature 4:
Calculated feature 4.
IMAGE:
width=440 height=596
Cropped Array Shape: (34, 33)
x = 208:251 (43)
y = 253:297 (44)
PaddedCropped Array Shape: (44, 43)
dx shape = (44, 43)
dominant angles shape = (34, 33)
svd radius = 5
svd diameter = 11
dx windows shape = (34, 33, 11, 11)
Center x: range(0, 33), Center y: range(0, 34)
x=8, y=0
angle=0.96076213752155
x=28, y=2
angle=1.0888919954206522
x=29, y=24
angle=0.702823824690135
Done calculating dominant angles.
0
[]

Won't fix since Issue #64 supersedes this


Add is_public to databucket object

Adding a flag for is_public to the databucket object so we can capture this info with a boolean.

Sorry I didn't get to this until now. I see it's already merged but it looks good to me. If only all PRs could be as uncontroversial as that!


Implement fork changes on new head

When receiveing a forkchoiceUpdated call from the engine API, if we have the block saved and the state transition calculated, we should make that our new head and modify our "cannonical chain" and current state.

Now part of #444


Question about the available models

Hello,
are the .h5 files relative to the original implementation of each model, i.e. trained with the original dataset and having the original weights of the models? Or did you retrain each of the models?

The h5 files are the original implementations of the models in those cases distributed by their respective repositories. The only difference the the hyperparameter for the GPD is set so that it is a bit higher due to the default creating many false positive picks.

The h5 files are the original implementations of the models in those cases distributed by their respective repositories. The only difference the the hyperparameter for the GPD is set so that it is a bit higher due to the default creating many false positive picks.

Hi Jake, thanks a lot!


Should Devices have an ophyd sync compatible repr?

At the moment bps.scan does this for the args:
https://github.com/bluesky/bluesky/blob/f655a730887e813c1905f89281cb564dd88d4e88/src/bluesky/plans.py#L1251
@burkeds reports:

It looks like ophyd devices are returning string representations of themselves differently than ophyd devices.
For example, in scan, the list of motors is populated by list(map(repr, [motor1])) which returns something that looks like:
["SynAxis(prefix='', name='motor1', read_attrs=['readback', 'setpoint'], configuration_attrs=['velocity', 'acceleration'])"]
An ophyd-async device returns the simple string representation of the object:
['<ophyd_async.sim.demo._sim_motor.SimMotor object at 0x7f2be5339510>']
Should ophyd-async devices have a similar return? This difference is breaking our analysis pipelines when moving between ophyd and ophyd-async devices

@tacaswell @danielballan thoughts?

I am in favor of having nice reprs, but am a bit worried that analysis pipelines are depending on the exact details of the repr.  Everything you could want to know about the scan that are in that list should be available in a more machine-friendly form somewhere else in the documents.


chore: remove lockfile

For more info, see https://github.com/remix-run/remix/pull/3110.
You should probably also implement something similar in remix.init for only ignoring these files in the repo but not when the project is created like we did in https://github.com/remix-run/indie-stack/pull/79, https://github.com/remix-run/blues-stack/pull/67 & https://github.com/remix-run/grunge-stack/pull/53.

Thanks for the resources @MichaelDeBoey. Will do it asap!


Add support for collections & other metadata

Thanks for building this, it's very close to doing everything I need to handle the tutorials I collect. Can you please add support for collections in meta.json, with an array like how you're handling genre tags?
"collections": ["Collection 1", "Collection 2"]
It would also be nice to similarly support the addition of tagline, originally available date, banner or background image, etc.

I'm a Python newbie but added these lines to the source code to start adding the additional fields I want:
        metadata.originally_available_at = Datetime.ParseDate(meta_json.get('date', '1900-01-01')).date()
        metadata.collections.clear()
        for collections in meta_json.get('collections', []):
            metadata.collections.add(collections)

Sounds good! I ll add these.

I added these.


Added points which are on the boundary are added to the constrained segments

@DanielVandH I am working on a minimal example (only have a clunky one currently), but I've noticed that when one has added interior points that happen to be exactly on a boundary edges, they are then included/dded to the constrained segments provided. This seems to me to be undesirable behaviour. It would be better to exclude both "in" and "on" points from the triangulation.

I'm not sure why this is not ideal. The point being added is indeed on a
segment and so the segment should get split into two.
This is a very important feature in e.g. mesh refinement to avoid long
edges. Similarly in e.g. cell simulations it's not uncommon to have
vertices collinear with each other initially, where again this feature is
important.
Ultimately if you would like to avoid this feature, it's the users
responsibility. I do not intend to change triangulate to ignore user input
in this way.
On Wed, 24 Apr 2024, 2:59 pm Kevin Mattheus Moerman, <
@.***> wrote:

@DanielVandH https://github.com/DanielVandH I am working on a minimal
example (only have a clunky one currently), but I've noticed that when one
has added interior points that happen to be exactly on a boundary edges,
they are then included/dded to the constrained segments provided. This
seems to me to be undesirable behaviour. It would be better to exclude both
"in" and "on" points from the triangulation.
—
Reply to this email directly, view it on GitHub
https://github.com/JuliaGeometry/DelaunayTriangulation.jl/issues/105,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWZPH4HBT4BN4GZQGBXQHVTY663D3AVCNFSM6AAAAABGW7NZQ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DCMZXG4ZDGMQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@DanielVandH thanks. I understand what you are saying. However, I think when one uses constraints, I interpret them as "edges" e.g. I want an edge from point n to point m. However if a new point p is added on the edge n<->m then instead we get the edge n<->p and p<->m. I think you what you've implemented is boundary_nodes which form the boundary, rather than boundary edges. So since n and m will be part of the output boundary as per the constrain, you'd say that is fine.
Is there a way to perhaps add an option though to say that these are the sole boundary points, i.e. to see them as contrained edges? Perhaps it is a simple optional parameter, e.g. constraint_edges = true? That way it would not alter the behaviour for the other applications you mentioned.
I've implemented a fix now (albeit inefficient), so this is not too urgent. But thanks anyway for this great package and your time looking into this.

Below are some test cases for what I built with this in case you are interested:

see also regiontrimesh here.

Hm. I see your point, yes I agree that this could be nice. I think I have an efficient way to implement this. Let me try and get an example working soon and I'll ask for your input.

Haven't been able to get much progress with this since there's a lot of technical details here to do this efficiently (and avoid the annoying amount of edge cases - this package could be so much smaller if not for edge cases :) ), but I did get some ideas down that maybe you are interested in going forward with. I don't really have much time to delve into it much more than this though, sorry.
The idea would be that you first triangulate, and then afterwards you just call enforce_constraints!(tri, segments) (or a keyword argument, as you suggest, would be used to just call enforce_constraints! at the end of triangulate I suppose).
using DelaunayTriangulation: integer_type,
    contains_unoriented_edge,
    is_boundary_node,
    get_boundary_chain

"""
    fuse_edge!(tri::Triangulation, i, j, r)

Given two vertices `(i, j)` separated only by a single vertex `r`, deletes
that vertex and joins the two vertices with an edge.
"""
function fuse_edge!(tri::Triangulation, i, j, r) # this is the inverse of split_edge!
    # Problem with this function is that it assumes that the vertex adjoining
    # the edges (i, r) and (r, j) are the same, and similarly for the edges
    # (j, r) and (r, i). This is not always the case. We need to modify
    # delete_point! so that it works for boundary points (and for
    # segment vertices) so that we can just do
    #   delete_point!(tri, r)
    #   add_segment!(tri, i, j)
    w₁ = get_adjacent(tri, i, r) # assumption: get_adjacent(tri, i, r) == get_adjacent(tri, r, j)
    w₂ = get_adjacent(tri, j, r) # assumption: get_adjacent(tri, j, r) == get_adjacent(tri, r, i)
    delete_triangle!(tri, i, r, w₁)
    delete_triangle!(tri, r, j, w₁)
    delete_triangle!(tri, j, r, w₂)
    delete_triangle!(tri, r, i, w₂)
    add_triangle!(tri, i, j, w₁)
    add_triangle!(tri, j, i, w₂) # need to make sure ghost triangles are handled correctly here
    return tri
end

"""
    get_segment_chain(tri::Triangulation, i, j) -> Vertices

Given two vertices `i` and `j`, returns the chain of vertices that connects them.
"""
function get_segment_chain(tri::Triangulation, i, j)
    if is_boundary_node(tri, i)[1] && is_boundary_node(tri, j)[1] # that this implies (i, j) should be a boundary edge might not always be true,
                                                                  # i.e. there might be a segment chain that includes corner points and interior points.
                                                                  # For the application in this issue, this is fine I believe.
        g = is_boundary_node(tri, i)[2] # the ghost vertex associated with the boundary edge
        chain = get_boundary_chain(tri, i, j, g) # assumes that (i, j) follows the orientation of the boundary - see ?get_boundary_chain
    else
        chain = get_interior_segment_chain(tri, i, j)
    end
    return chain
end
function get_interior_segment_chain(tri::Triangulation, i, j)
    I = integer_type(tri)
    chain = [I(i)]
    w = last(chain)
    while w ≠ j # assumes that the chain ends in j. Not always true - e.g.
                # i could adjoin many segments and the below code will fail
        for k in get_neighbours(tri, w)
            if k ≠ i
                if contains_segment(tri, w, k) # For the example mentioned above that this could be problematic
                                               # if w adjoins many segments (in which case we may never find j),
                                               # one way to resolve this for your application would be to check for collinearity, e.g. force
                                               #     is_collinear(cert),
                                               # where
                                               #     cert = point_position_relative_to_line(tri, w, k, j)
                                               # If it's possible that the collinearity isn't exact, though, this can
                                               # still be problematic. You could just try and find all chains until all
                                               # possible chains end (being careful to not loop the chains), and then
                                               # take the one that ends in j. Maybe that's what you do in regiontrimesh? I didn't look too much into the details for yours.
                    push!(chain, k)
                    break
                end
            end # If there are no other segments, note that this will just cause the loop to go on forever.
        end
        w = last(chain)
    end
    return chain
end

"""
    enforce_constraint!(tri::Triangulation, i, j)

Given a segment `(i, j)` represented in `tri` by a sequence of
collinear segments, removes the vertices defined by the collinear segments
so that only the segment `(i, j)` remains.
"""
function enforce_constraint!(tri::Triangulation, i, j)
    chain = get_segment_chain(tri, i, j)
    # Note that chain[1] = i and chain[end] = j
    n = length(chain)
    for k in 2:(n-1) # this loop does nothing if contains_unoriented_edge(tri, i, j) is already true, since n = 2
        fuse_edge!(tri, i, chain[k+1], chain[k])
        # Here, note that we originally start with
        #   i -- chain[2] -- chain[3] -- ... -- chain[end-1] -- j
        # and we want to end with
        #   i -- j
        # So, we start with fusing the chain
        #   i -- chain[2] -- chain[3]
        # which leaves
        #   i -- chain[3]
        # or
        #   i -- chain[3] -- ... -- chain[end-1] -- j
    end
    # Will need to also take some care here,
    # making sure that all the other segments are removed from
    #   get_all_segments(tri)
    #   get_interior_segments(tri) (if appropriate)
    # and that (i, j) is added to the appropriate lists.
    return tri
end

"""
    enforce_constraints!(tri::Triangulation, segments)

Given a list of segments `segments`, enforces the constraints. See [`enforce_constraint`](@ref).
"""
function enforce_constraints!(tri::Triangulation, segments)
    for e in each_edge(segments)
        i, j = edge_vertices(tri)
        enforce_constraint!(tri, i, j)
    end
    return tri
end

Did any of the above work out for you @Kevin-Mattheus-Moerman?

Going to close this due to inactivity and I'm not sure about this feature. The functions I give above maybe work but they won't in general - maybe for your usecase you can take those ideas though.
Feel free to reopen if needed.

I'll re-open this now since maybe I'll try and work on it. This could be added with something like a strict keyword (default false). There are two approaches to this:

Reject splitting collinear segments while triangulating.
Alternatively, add a post-processing function that fuses edges (like I tried above).
I think the first might be the easiest to implement.

The main complication with trying to reject points added onto the boundary is that the triangulations are computed in three stages:

All the points are added and triangulated (giving the unconstrained Delaunay triangulation).
Then, all the constrained segments are added.
Finally, boundaries are enforced so that all exterior points are removed.

Only stages 1-2 are relevant here. The issue is that, since all the points are added in stage 1, it's not as simple as skipping process_collinear_segments in the add_segment! function, since all those points have already been added. If we treat the segment as just being (i, j) without deleting the intersecting points, the triangulation will be invalid. So, process_collinear_segments could take the strict keyword so that any intersected points are deleted. Something like:
function process_collinear_segments!(tri::Triangulation, e, collinear_segments; strict=false, rng::AbstractRNG=Random.default_rng())
    isempty(collinear_segments) && return false
    connect_segments!(collinear_segments)
    extend_segments!(collinear_segments, e)
    if strict
        return _process_collinear_segments_fuse!(tri, collinear_segments; rng)
    else
        return _process_collinear_segments_split!(tri, e, collinear_segments; rng)
    end
end
function _process_collinear_segments_fuse!(tri::Triangulation, collinear_segments; rng::AbstractRNG=Random.default_rng())
    # collinear_segments now looks like
    #   (e[1], i1) - (i1, i2) - (i2, i3) - ⋯ - (in-1, in) - (in, e[2])
    for i in firstindex(collinear_segments):(lastindex(collinear_segments)-1)
        v = terminal(collinear_segments[i])
        delete_point!(tri, v; rng)
    end
    return true
end
function _process_collinear_segments_split!(tri::Triangulation, e, collinear_segments; rng::AbstractRNG=Random.default_rng())
    all_segments = get_all_segments(tri) # the difference between all_segments and segments is important since we need to be careful about what segments are already in the triangulation
    delete_edge!(all_segments, e)
    split_segment!(tri, e, collinear_segments)
    if contains_boundary_edge(tri, e)
        split_boundary_edge_at_collinear_segments!(tri, collinear_segments)
    end
    for η in each_edge(collinear_segments)
        add_segment!(tri, η; rng)
    end
    return true
end

The only remaining thing that needs to be done to get this working (if this is the right idea, maybe I've overlooked something) is to make delete_point! actually work for points on the boundary. This is not a small fix however.. it did used to work but the edge cases are annoying.
I think this idea is probably the correct one since it involves no post-processing or retriangulating..

I probably can't get around to looking at fixing delete_point! too soon but I'm happy to help go through it if you wanted to have a try @Kevin-Mattheus-Moerman. Otherwise I'll let you know once this might be working.

Another question I'd be interested in is: Why are points being added to your examples that end up falling on the boundary? You will end up with poorer meshes if you try and delete the points. I think it could be worth considering just going forward with these refined edges - all the information you need is in Triangulation already.

Looking into this again I can't see a good way around it since delete_point is a bit problematic for constrained boundaries, and the algorithm used for deleting vertices on unconstrained boundaries doesn't seem to actually apply in general to constrained boundaries.
I would encourage you, as I comment above, to determine why you are adding points on the boundary that you don't want to be there, and if trying to obey the segments strictly is worth making your mesh that much worse. I think you will get better results by just working with the finer boundaries.


New floor model

closes #37

Turns out ⍕ is a beast of a primitive.
Next steps:

[ ] The Interfacing approach: try out using .NET interfacing and what impact that has on code coverage and other segments of tests
[ ] The "machine code" approach: implementing floor using binary numbers

Not going to do this as it gives the same results and same issues as the current approach


Implement Serializer and Deserializer

We are getting to the point where we actually need to persist things. Schema gives us an ability to do this but we need to implement the logic to take advantage of this functionality. This can be represented as interfaces like this:
trait Serializer {
  def serialize[A](value: A)(implicit schema: Schema[A]): Chunk[Byte]
}

trait Deserializer {
  def deserialize[A](value: Chunk[Byte])(implicit schema: Schema[A]): A
}

These can then have different implementations that could support serializing and deserializing using different protocols. These should probably be baked in to the executor so that they do not clutter method signatures. This will likely require adding an additional primitive to ZFlow to allow accessing certain information from the executor, similar to the runtimeConfig operator in ZIO.

This is basically the Codec data type from ZIO Schema so I think we are saying that the ZIO Flow application needs some codec that it is going to use and various operators may need to access this codec to do something with it.


Vim settings broken after viewing Himalaya listing

The biggest issue is with the foldlevel. After viewing the Himalaya listing, the foldlevel remains at 0, and all other buffers are folding.

Fixed by removing foldlevel.


Added IMGUR_CLIENT_ID configurable variable option

Hey @ReallyLiri ! Thank you for your contribution, I left one change request on your PR, but I really like your feature, would love to merge it after you make the changes! Thank you! 💯

@arnellebalane sure, done :)


Suggestion: Resourcepacks.

I'm unaware of this is even possible or not, I am just a lowly artist.
The suggestion:
Resourcepacks having the ability to change the colours of the default game's lights. (Or mod's, depends on how the feature is implemented, if even at all.)

Albedo is not currently very good at static lights, like lamps and such from vanilla. This is likely to change, but at the moment this isn't really possible.

I can see adding luma maps to restrict the shape of a dynamic light (e.g. spiky fringes or glowing magical tracery). It'd just be enabling texture2d and doing a color multiply to subtract from the combined effect. But, it would also require computing light UVs based on distance from source, so I'm not sure how feasible this is.


fails to build with DMD 2.067-b3

Function:
bool _find(const(KeyType) k, out inout(ThisNode)* node, out size_t index) inout{

tenatively fixed against beta4. need to update CI when 2.067 is released.


Upgrading versions

Using Avro 1.8.0, Clojure 1.8.0, and Chesire 5.6.1.

A release of this would be great. Thanks.


F Lock setting is not honored

After upgrading to v3.3 the F Lock is not honored and even it is set to DISABLE ALL it still allows the radio to TX.
Also when this menu is set from CHIRP the value that you set is not saved correctly on the radio.

First of all, hello to you...
Secondly, please, I think you should learn how to use this transciever by reading online documentation. If you can still transmit, check the TX Lock settings (menu 13/66).
Read or read again this section.
Last but not least, about Chirp, if you think there is an issue, post it on this repository. Thank you.
Armel F4HWN

Thanks for the quick response but I still dont get it , according to the documentation the DISABLE ALL should work correct ?
Wouldn't that prevent TX for all channels ? Is there a way to set TX to OFF for all the channels ?

Once again, check whether TX lock is ON on your memory channels, either directly from your transceiver or from Chirp. If all your memory channels have TX lock set to ON and you set DISABLE ALL, you won't be able to transmit.
Armel F4HWN


The release v0.15.0 misses the checksum file release-v0.15.0.sha256

https://github.com/argoproj-labs/argocd-image-updater/releases/tag/v0.15.0
The release v0.15.0 misses checksum files release-v0.15.0.sha256 and release-v0.15.0.sha256.asc.

In v0.14.0 or earlier releases, the checksum and signature file were created and uploaded by
https://github.com/argoproj-labs/argocd-image-updater/blob/master/hack/upload-multiarch-release-assets.sh#L21
We need to update the github action https://github.com/argoproj-labs/argocd-image-updater/blob/master/.github/workflows/create-release-draft.yaml to do the similar steps.

I uploaded the 2 missing files to v0.15.0


function call: parameter "pthread_key_create::destructor" type mismatch when hitting thread::current()

When a kani is run with --mir-linker --enable-unstable and encounters thread::current() (or rather, the destructor of a thread object?) it yields the error message from the title.
I tried this code:
fn main() {}

#[kani::proof]
fn crash() {
    std::thread::current();
}

using the following command line invocation:
cargo clean; cargo kani --mir-linker --enable-unstable

with Kani version: cargo-kani 0.12.0
I expected to see this happen: As std::thread interfaces with the OS API (pthread on linux) I'd have expected kani to complain about it reaching some function for which it does not have access to the source code. If I run kani without --mir-linker, this is indeed what happens.
Instead, this happened:

Checking harness crash...
CBMC 5.67.0 (cbmc-5.67.0)
CBMC version 5.67.0 (cbmc-5.67.0) 64-bit x86_64 linux
Reading GOTO program from file /home/ec2-user/kani-reproducer/target/x86_64-unknown-linux-gnu/debug/deps/cbmc-linked.for-crash.out
Generating GOTO Program
Adding CPROVER library (x86_64)
Removal of function pointers and virtual functions
Generic Property Instrumentation
Running with 16 object bits, 48 offset bits (user-specified)
Starting Bounded Model Checking
: function call: parameter "pthread_key_create::destructor" type mismatch:
got struct_tag
  * identifier: tag-_3583338355805481440
expected pointer
  * #source_location:
    * file: <builtin-library-pthread_key_create>
    * line: 11
    * function: pthread_key_create
    * working_directory: /home/ec2-user/kani-reproducer/src
  * width: 64
  * #failed_symbol: pthread_key_create::destructor$object
  0: code
      * #source_location:
        * file: <builtin-library-pthread_key_create>
        * line: 11
        * function: pthread_key_create
        * working_directory: /home/ec2-user/kani-reproducer/src
      * return_type: empty
          * #source_location:
            * file: <builtin-library-pthread_key_create>
            * line: 11
            * function: pthread_key_create
            * working_directory: /home/ec2-user/kani-reproducer/src
      * parameters:
        0: parameter
            * type: pointer
                * #source_location:
                  * file: <builtin-library-pthread_key_create>
                  * line: 11
                  * function: pthread_key_create
                  * working_directory: /home/ec2-user/kani-reproducer/src
                * width: 64
                0: empty
                    * #source_location:
                      * file: <builtin-library-pthread_key_create>
                      * line: 11
                      * function: pthread_key_create
                      * working_directory: /home/ec2-user/kani-reproducer/src
            * #source_location:
              * file: <builtin-library-pthread_key_create>
              * line: 11
              * function: pthread_key_create
              * working_directory: /home/ec2-user/kani-reproducer/src
Verification Time: 0.81680673s

I don't know where any kind of struct would come from, the destructor parameter ought to be a (function) pointer.

Thanks for the bug report, @roypat !
A first look makes me think this is a bug in the generation of the destructor (as @tautschnig already pointed out). Also, please note that Kani assumes concurrent code to be sequential since concurrent features are currently out of scope.

It looks like we need special handling for transparent structs at FFI boundaries. See https://rust-lang.github.io/rfcs/1758-repr-transparent.html for more details.
In the specific case, the rust standard library uses an Option<unsafe extern "C" fn(*mut u8)> to represent the destructor:
https://github.com/rust-lang/rust/blob/fa0ca783f89a83046e6ce0383385ba5b28296435/library/std/src/sys/unix/thread_local_key.rs#L8-L12
This is a minimal test that reproduces the exact same issue:
use libc; // Require libc="0.2" to Cargo.toml

#[kani::proof]
fn check_create() {
    let mut key = 0;
    let _res = unsafe { libc::pthread_key_create(&mut key, None) };
}

Noted that in Kani 0.21.0, the error also appears for this harness:
#[kani::proof]
fn random_cannot_be_zero() {
    assert_ne!(rand::random::<u32>(), 0);
}

Noted that in Kani 0.21.0, the error also appears for this harness:
#[kani::proof]
fn random_cannot_be_zero() {
    assert_ne!(rand::random::<u32>(), 0);
}

Also, in macOS platforms, the error we get is different:
SUMMARY:
 ** 1 of 6007 failed (6006 undetermined)
Failed Checks: Function `_tlv_atexit` with missing definition is unreachable

Hi @adpaco-aws, I think that is a different issue. The issue you are describing is that an extern function that hasn't been defined is being invoked. For that to work, we would either need to provide a stub for this function or compile the C code where this function is defined (like here).
I created https://github.com/model-checking/kani/issues/2423 to capture the work to provide proper support to C-FFI. We need to define what is in scope and what is expected from Kani. This case you posted might deserve a new issue on its own. If you do create one, can you please add it to the C-FFI milestone? Thanks!

Hi @celinval , thanks for the detailed explanation! I've created a separate issue for it (#2430) and added to the milestone. Thanks!


Skeleton setup

@imsickofmaps Please review. I'd like to land this with the timeout included in the registration app as is so that we can base other projects off it in the future, then I'll strip the timeout out in a seperate branch.

:+1:


Styling updates to Client Detail  Page

Issue #591
Description
Styling changes for the ClientDetail Page:

[x] Reduce project name font size to match Client name in header.
[ ] Reduce horizontal and vertical padding of both containers.
[ ] Keep alignment but reduce padding.

Update checkbox 1
The client name was also reduced to match with the project name size because it was bigger than the new size.

@Ovifer13 are you working on this?


Fix or remove references to the navbar

One of the questions in the LABTASKS refers to the navbar. I think we used to have an explicit navbar component that this referred to, but we don't anymore, so that question doesn't make much sense anymore.
We could rephrase that question to be more about the little hamburger menu we have now using Angular Material.

This seems to have been dealt with at some point but never closed.


Separate overview pages for sync and async

Also includes links to the Office Add-ins ref doc space.

Docs Build status updates of commit 8d5eae1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/docs-ref-autogen/excel-async/overview.md
:white_check_mark:Succeeded

docs/docs-ref-autogen/excel/overview.md
:white_check_mark:Succeeded

docs/docs-ref-autogen/overview/overview.md
:white_check_mark:Succeeded

generate-docs/scripts/postprocessor.ts
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit f8702d1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/docs-ref-autogen/excel-async/overview.md
:white_check_mark:Succeeded

docs/docs-ref-autogen/excel/overview.md
:white_check_mark:Succeeded

docs/docs-ref-autogen/overview/overview.md
:white_check_mark:Succeeded

generate-docs/scripts/postprocessor.ts
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Thanks for the feedback @ElizabethSamuel-MSFT. Everything should be addressed.


Submission - Group<PHONE_NUMBER>_2312963_2310577_2310052

Team Members

Name
Student ID
Contribution

Nguyen Hoang Anh
2310097
Implemented SARSA Algorithm

Nguyen Hong Son
2312963
Problem Formulation and learn algorithms

Vo Hung Dung
2310577
Case Study

Long Dien Thang
2213195
Case Study

Bui Duy Anh
2310052
Implemented Genetic Algorithm

Algorithm Descriptions
1. SARSA (State-Action-Reward-State-Action)
SARSA is an on-policy reinforcement learning algorithm used to solve Markov Decision Processes. It learns a policy by estimating Q-values for state-action pairs and updating them iteratively based on observed transitions.
Key Steps:

Initialize Q-values for all state-action pairs.
For each episode, observe the initial state s, choose an action a based on a policy (e.g., epsilon-greedy).
Execute a, observe the reward r and the next state s'.
Choose the next action a' in s' using the same policy.
Update Q(s, a) using the SARSA update rule:
Q(s, a) ← Q(s, a) + α (r + γ Q(s', a') - Q(s, a))
Repeat until convergence.

Applications: Dynamic systems optimization, path planning, and robot control.
Advantages:

Simplicity and efficiency.
Works in stochastic environments.

Disadvantages:

Sensitive to hyperparameters (learning rate α, discount factor γ).
Requires a balance between exploration and exploitation.

2. Genetic Algorithm (GA)
GA is an optimization algorithm inspired by the process of natural selection. It is used to solve complex problems by evolving a population of candidate solutions through iterative processes.
Key Steps:

Initialization: Generate an initial population of potential solutions randomly.
Selection: Choose individuals based on their fitness (better solutions are more likely to be selected).
Crossover: Combine pairs of solutions (parents) to create new solutions (offspring).
Mutation: Introduce small random changes to offspring to maintain genetic diversity.
Evaluation: Compute the fitness of the new population.
Termination: Repeat steps 2–5 until a termination criterion is met (e.g., maximum generations or convergence).

Applications:

Cutting stock problems, scheduling, feature selection, and design optimization.

Advantages:

Effective for large, non-linear, or multi-modal search spaces.
Does not require gradient information.

Disadvantages:

Computationally expensive for large populations or problems.
Convergence to global optima is not guaranteed; may get stuck in local optima.

Model's results

SEED
Policy
Filled Ratio
Trim Loss
Processing Time (s)

1
SARSA
0.38
0.1420
15.35

Genetic Algorithm
0.29
0.1685
14.04

2
SARSA
0.27
0.1509
18.12

Genetic Algorithm
0.26
0.1487
13.95

8
SARSA
0.43
0.1345
47.85

Genetic Algorithm
0.41
0.1255
29.67

17
SARSA
0.39
0.1110
68.54

Genetic Algorithm
0.35
0.1258
31.12

32
SARSA
0.34
0.1650
43.27

Genetic Algorithm
0.33
0.1707
27.89

42
SARSA
0.36
0.1326
12.75

Genetic Algorithm
0.31
0.1487
11.84

102
SARSA
0.44
0.1443
75.24

Genetic Algorithm
0.42
0.1340
33.42

220
SARSA
0.30
0.1211
29.15

Genetic Algorithm
0.28
0.1209
27.81

450
SARSA
0.37
0.1499
21.87

Genetic Algorithm
0.34
0.1408
22.93

623
SARSA
0.41
0.0838
49.42

Genetic Algorithm
0.38
0.0908
31.24

990
SARSA
0.39
0.1308
38.92

Genetic Algorithm
0.37
0.1248
30.15

Evaluation:

SARSA:

Advantages: Performs well in reducing Trim Loss, especially in problems requiring strong optimization for efficiency. Provides stable performance, but processing time can be quite long in complex cases (e.g., SEED 17 or 102).
Disadvantages: Processing time tends to increase significantly with problem complexity.

Genetic Algorithm:

Advantages: Offers lower processing times compared to SARSA, particularly for larger problems (e.g., SEED 17 or 623). Trim Loss is also kept at a relatively good level, close to that achieved by SARSA.
Disadvantages: Optimization of Trim Loss is sometimes not as effective as SARSA, especially in cases requiring extremely high precision.

Conclusion:

SARSA is suitable for problems that demand strong optimization of Trim Loss even at the expense of processing time.
Genetic Algorithm is a reasonable choice when a balance between effectiveness and processing speed is needed.

Please revise the PR in Dec 16. Otherwise, your group will get 0 score for code.

Please revise the PR in Dec 16. Otherwise, your group will get 0 score for code.

Please revise the PR in Dec 16. Otherwise, your group will get 0 score for code.

I sincerely apologize for the mistake in my previous pull request. It was an oversight on my part that resulted in unintended changes, and I take full responsibility for this error.
I have corrected the issue and submitted a new pull request with the necessary adjustments. I kindly ask for your understanding and consideration to review and accept the updated PR. I will ensure this does not happen again in the future.
Thank you very much for your patience and guidance.


[refactor] Change SpanAnnotator to SpanAnnotatingClientTrace

Currently the SpanAnnotator type is in fact a httptrace's ClientTrace (a collection of hooks called during the roundtrip flow).
Trying to pass the idea that it's still a ClientTrace that annotates the given Span with information from http events, this change renames it to SpanAnnotatingClientTrace.
[Closes #860]

It seems Travis is receiving some timeouts there:
fatal: unable to access 'https://git.apache.org/thrift.git/':
Failed to connect to git.apache.org port 443: Connection timed out
package git.apache.org/thrift.git/lib/go/thrift: exit status 128

Do you mind to restart that build, please?

@rakyll I've just made some changes following your suggestions, please take a look.