Can't get color data

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include <stdio.h>
#include <stdlib.h>
#include <k4a/k4a.h>

int main()
{
	int returnCode = 1;
	k4a_device_t device = NULL;
	const int32_t TIMEOUT_IN_MS = 1000;
	int captureFrameCount;
	k4a_capture_t capture = NULL;
	k4a_device_configuration_t config = K4A_DEVICE_CONFIG_INIT_DISABLE_ALL;

	captureFrameCount = 300;
	printf("Capturing %d frames\n", captureFrameCount);

	uint32_t device_count = k4a_device_get_installed_count();

	if (device_count == 0)
	{
		printf("No K4A devices found\n");
		return 0;
	}

	if (K4A_RESULT_SUCCEEDED != k4a_device_open(K4A_DEVICE_DEFAULT, &device))
	{
		printf("Failed to open device\n");
		goto Exit;
	}

	config.color_format = K4A_IMAGE_FORMAT_COLOR_MJPG;
	config.color_resolution = K4A_COLOR_RESOLUTION_2160P;
	config.depth_mode = K4A_DEPTH_MODE_NFOV_UNBINNED;
	config.camera_fps = K4A_FRAMES_PER_SECOND_30;

	if (K4A_RESULT_SUCCEEDED != k4a_device_start_cameras(device, &config))
	{
		printf("Failed to start device\n");
		goto Exit;
	}

	while (captureFrameCount-- > 0)
	{
		k4a_image_t image;

		// Get a depth frame
		switch (k4a_device_get_capture(device, &capture, TIMEOUT_IN_MS))
		{
		case K4A_WAIT_RESULT_SUCCEEDED:
			break;
		case K4A_WAIT_RESULT_TIMEOUT:
			printf("Timed out waiting for a capture\n");
			continue;
			break;
		case K4A_WAIT_RESULT_FAILED:
			printf("Failed to read a capture\n");
			goto Exit;
		}

		printf("Capture");

		// Probe for a color image
		image = k4a_capture_get_color_image(capture);
		if (image)
		{
			printf(" | Color res:%4dx%4d stride:%5d ",
				k4a_image_get_height_pixels(image),
				k4a_image_get_width_pixels(image),
				k4a_image_get_stride_bytes(image));
			k4a_image_release(image);
		}
		else
		{
			printf(" | Color None                       ");
		}

		// probe for a IR16 image
		image = k4a_capture_get_ir_image(capture);
		if (image != NULL)
		{
			printf(" | Ir16 res:%4dx%4d stride:%5d ",
				k4a_image_get_height_pixels(image),
				k4a_image_get_width_pixels(image),
				k4a_image_get_stride_bytes(image));
			k4a_image_release(image);
		}
		else
		{
			printf(" | Ir16 None                       ");
		}

		// Probe for a depth16 image
		image = k4a_capture_get_depth_image(capture);
		if (image != NULL)
		{
			printf(" | Depth16 res:%4dx%4d stride:%5d\n",
				k4a_image_get_height_pixels(image),
				k4a_image_get_width_pixels(image),
				k4a_image_get_stride_bytes(image));
			k4a_image_release(image);
		}
		else
		{
			printf(" | Depth16 None\n");
		}

		// release capture
		k4a_capture_release(capture);
	}

	returnCode = 0;
Exit:
	if (device != NULL)
	{
		k4a_device_close(device);
	}

	return returnCode;
}

output is:
[2019-08-05 18:55:57.250] [error] [t=9604] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (143): replace_sample(). capturesync_drop, releasing capture early due to full queue TS:   3151066 type:Depth
Capture | Color None                        | Ir16 res: 576x 640 stride: 1280  | Depth16 res: 576x 640 stride: 1280
[2019-08-05 18:55:57.283] [error] [t=9604] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (143): replace_sample(). capturesync_drop, releasing capture early due to full queue TS:   3184400 type:Depth
Capture | Color None                        | Ir16 res: 576x 640 stride: 1280  | Depth16 res: 576x 640 stride: 1280
[2019-08-05 18:55:57.316] [error] [t=9604] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (143): replace_sample(). capturesync_drop, releasing capture early due to full queue TS:   3217733 type:Depth
Capture | Color None                        | Ir16 res: 576x 640 stride: 1280  | Depth16 res: 576x 640 stride: 1280

Color is None
So I add "config.synchronized_images_only = true;"
But the result is:
[2019-08-05 18:58:10.735] [error] [t=10200] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (143): replace_sample(). capturesync_drop, releasing capture early due to full queue TS:   3617733 type:Depth
[2019-08-05 18:58:10.769] [error] [t=10200] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (143): replace_sample(). capturesync_drop, releasing capture early due to full queue TS:   3651066 type:Depth
[2019-08-05 18:58:10.802] [error] [t=10200] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (143): replace_sample(). capturesync_drop, releasing capture early due to full queue TS:   3684400 type:Depth
[2019-08-05 18:58:10.836] [error] [t=10200] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (143): replace_sample(). capturesync_drop, releasing capture early due to full queue TS:   3717733 type:Depth
[2019-08-05 18:58:10.869] [error] [t=10200] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (143): replace_sample(). capturesync_drop, releasing capture early due to full queue TS:   3751066 type:Depth

I can't get the depth data too....

Hi @riverMountainjs,
Can you verify two things:
1. You can see the color camera using the Windows Camera app (or any other camera viewer application)
2. You can see both the depth and color using k4aviewer.
You may want to try different configurations that are lower bandwidth (resolution and frame rate) to confirm that you aren't dropping frames due to a resource limitation.

I can see the color camera camera using the Windows Camera app. I have used kinect v2.0, and I can see color images.
I can't open k4aviewer, it says:  Unable to locate program input point GetDpiForSystem in dynamic link library C:\ Program Files\Azure SDK v1.1.1\tools\k4aviewer.exe

Interesting. What version of Windows are you running?
GetDpiForSystem was added in Windows 10, version 1607. Azure Kinect has a minimum OS version of Windows 10 April 2018 release (x64). There may be other problems if you are running on an OS that is too old.

Thanks！I updated the OS and the problem was solved.


Intention to add braces (block) for blockless functions

Hi! Thanks for this plugin!
It is very painful to edit oneline functions, would be lovely to have intention for this, like in JS

Another use case is to auto swap parentheses to braces in
Array.(
  ...
)

Thanks for the suggestion.
I don't know yet if and how I can do it.

It was not hard, after all:

implemented in 0.52

@giraud
I have found 2 issues so far

top function body is used instead of inner
curly braces position, starting brace could be same line as function declaration, end brace - new line after function end. This one is not very important but could provide better experience

good catch, will look at it
The first implementation was inserting new lines, but I hit some problems and reverted. I don"t have time to investigate

@giraud in 0.53 i found this bug with local open intention


terminate called after throwing an instance of 'std::bad_function_call'

OS: centos 4.11.1-1.el7.elrepo.x86_64
./ebpf_exporter-1.2.2/ebpf_exporter --config.file=/usr/tmp/bio-tracepoints.yaml
2021/11/29 16:28:07 Starting with 1 programs found in the config
2021/11/29 16:28:07 Listening on :9435
terminate called after throwing an instance of 'std::bad_function_call'
what():  bad_function_call
SIGABRT: abort
PC=0x7f5a7649a337 m=3 sigcode=18446744073709551610
goroutine 0 [idle]:
runtime: unknown pc 0x7f5a7649a337

Getting a similar crash when clicking metrics from the web page after starting the exporter:
2022/02/01 09:57:41 Starting with 1 programs found in the config
2022/02/01 09:57:41 Listening on :9435

Then I clicked metrics:
terminate called after throwing an instance of 'std::bad_function_call'
  what():  bad_function_call
SIGABRT: abort
PC=0x7fbf2112b387 m=0 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: unknown pc 0x7fbf2112b387
stack: frame={sp:0x7ffed0541fd8, fp:0x0} stack=[0x7ffecfd43260,0x7ffed05422a0)

Full crash details are attached: ebpf_exporter_crash.txt.

After setting up CentOS to generate core dumps, I ended up with the attached crash output ebpf_exporter_crash_dlv.txt. I've also attached the core dump itself: core.ebpf_exporter.1679.centos2009.zip.
It appears this might be related to CentOS 7.9.2009, as on Ubuntu things work fine.

Setting up core dump gives:
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x7804ae]

goroutine 1 [running]:
debug/elf.(*Prog).Open(...)
	/usr/lib/golang/src/debug/elf/file.go:166
github.com/go-delve/delve/pkg/proc/core.readNotes(0x7fffa7c82721, 0xf2c7)
	/root/delve/pkg/proc/core/linux_core.go:228 +0x4e
github.com/go-delve/delve/pkg/proc/core.readLinuxOrPlatformIndependentCore({0x7fffa7c82721, 0xa3ae80}, {0x7fffa7c826f3, 0x2d})
	/root/delve/pkg/proc/core/linux_core.go:110 +0x134
github.com/go-delve/delve/pkg/proc/core.OpenCore({0x7fffa7c82721, 0x3f}, {0x7fffa7c826f3, 0x2d}, {0xc000118c50, 0x1, 0x1})
	/root/delve/pkg/proc/core/core.go:210 +0x13c
github.com/go-delve/delve/service/debugger.New(0xc0002aa000, {0xc000118de0, 0x1, 0x1})
	/root/delve/service/debugger/debugger.go:176 +0x345
github.com/go-delve/delve/service/rpccommon.(*ServerImpl).Run(0xc0001167e0)
	/root/delve/service/rpccommon/server.go:122 +0xd6
github.com/go-delve/delve/cmd/dlv/cmds.execute(0x0, {0xc000118de0, 0x1, 0x1}, 0xc000124ea0, {0x7fffa7c82721, 0x3f}, 0x3, {0xc00011a7e0, 0x2, ...}, ...)
	/root/delve/cmd/dlv/cmds/commands.go:971 +0xc7f
github.com/go-delve/delve/cmd/dlv/cmds.coreCmd(0xc0002a4780, {0xc00011a7e0, 0x2, 0x2})
	/root/delve/cmd/dlv/cmds/commands.go:775 +0xdb
github.com/spf13/cobra.(*Command).execute(0xc0002a4780, {0xc00011a780, 0x2, 0x2})
	/root/delve/vendor/github.com/spf13/cobra/command.go:856 +0x5f8
github.com/spf13/cobra.(*Command).ExecuteC(0xc000140f00)
	/root/delve/vendor/github.com/spf13/cobra/command.go:960 +0x3ad
github.com/spf13/cobra.(*Command).Execute(...)
	/root/delve/vendor/github.com/spf13/cobra/command.go:897
main.main()
	/root/delve/cmd/dlv/main.
go:24 +0x18a

Dump file is attached: core.ebpf_exporter.1679.centos2009.zip

Solved by building bcc from source and copying /usr/lib64/libbcc* binaries to the problematic machine.


Update README for PoC2

Rewrites the README, describing source verify as a service, with a website and monitor.
Adds sources / address for simple examples deployed to Ropsten which the UI can recompile.

Solves: https://github.com/ethereum/source-verify/pull/69

Re-targeted to staging per code freeze on master.

@cgewecke I've also added images to this for repository so it's a bit more of a visual explainer for the users in the future. And feel free to target master branch.

@cgewecke I've update README with images and functionalities of Repository and also have updated description of docker-compose on how to build it and run it. Please take a look at it and feel free to merge afterward. Also https://github.com/ethereum/source-verify/pull/75 PR afterwards.

@edisinovcic Ok great, lgtm. I'm going to open an issue about re-structuring the README into some smaller components / sub-files in a docs folder because it's getting kind of large.
Maybe we could start organizing things so they can be migrated to a ReadTheDocs at some point.


Submit all the data of the year of the stomach to the database

will not be done by us but by the institutes


Add debugger Detach notify

It is currently impossible to differentiate between a deliberate target-initiated detach, as by closing the application window, versus an unexpected disconnection.  In both cases the client side will only see that the remote socket was closed, with no indication of why.
To solve this, I propose an additional Detach notify, which is sent just prior to detachment, either because the target called duk_debugger_detach() or the heap is destroyed.  If the socket is closed without receiving the notify, the client can then safely assume the connection was lost and try to reconnect.

Sounds good to me, it could include a string message to explain the detach too.

Unless there will be a hundred different possible detach scenarios, I think it might be simpler to just include an integer constant specifying the reason, like in a Status notify.

That's true. We can add a string message later if that becomes relevant, e.g. if Duktape tries to send a Detach notify on a parse error and could then try to explain the error briefly in the message ("invalid initial byte 0xNN").

Hm, you're right that we might want to describe error conditions, so they can be displayed by the client.  Here might be a good format:
NFY <int: 6> <int: 0/1 iserror> [<str: msg>]
If the first argument iserror is 0, it's a normal, expected detach so no message is needed or present.  Otherwise iserror is 1 and msg describes the error condition.

Just posted a pull for this, #430.


Use the vn0.6.8 release

Update to vn0.6.8 fixes the version number being a tuple, rather than a str, so fixes the test.py

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


fix(stats.py): Correctly collect worst-case status for tests

This commit fixes an issue where worst case collection function would
never take the branch to compare statuses, leading to last status always
being chosen - for 3 runs of (failed, pass, pass) the outcome would be
pass and for (failed, pass, failed) it would be failed. This commit
corrects this and now statuses are properly evaluated.
Fixes #488

Before:

After:


Obsoletion proposal: GO:0004158 dihydroorotate oxidase activity -

Please provide as much information as you can:

GO term ID and Label
GO:0004158 dihydroorotate oxidase activity  Catalysis of the reaction: (S)-dihydroorotate + O(2) = H(2)O(2) + orotate.

Reason for deprecation
The EC and RHEA mapped to this term
EC:<IP_ADDRESS> Dihydroorotate oxidase (fumarate) (S)-dihydroorotate + fumarate <=> orotate + succinate  is not consistent with the GO definition

RHEA:15441 was obsoleted by RHEA and replaced with RHEA:30059, which describes the EC reaction. Again, not consistent with the GO def.
Thus these were removed, leaving NO xref (including PMIDS) for this reaction.

"Replace by" term (ID and label)
If all annotations can safely be moved to that term

"Consider" term(s) (ID and label)
Suggestions for reannotation

Are there annotations to this term?
There are 15 annotations to this term. All but 2 are IEA via Interpro domains
The remaining two annotations

pyrD Dihydroorotate dehydrogenase B (NAD(+)), catalytic subunit dihydroorotate oxidase activity JCVI Listeria monocytogenes serotype 4b str. F2365 ISS UniProtKB:P54322 protein PMID:15115801
This annotation is an ISS made to UniProtKB:P54322 PYRDB_LACLM. UniProt has THIS annotated to EC:<IP_ADDRESS> and Rhea 13513. These map to GO:0004589; thus the current annotation to pyrD should be changed to this GO term.

ANIA_05909 Dihydroorotate dehydrogenase (quinone), mitochondrial dihydroorotate oxidase activity AspGD Aspergillus nidulans FGSC A4 RCA dihydroorotate dehydrogenase (quinone), mitochondrial-related pthr48109 protein PMID:18405346
This paper is used to annotate 1146 gene products via RCA . Based on the incorrect original EC assignment, I propose that this annotation be deleted as there is no data on substrates, etc. in this paper.

Are there mappings and cross references to this term? (InterPro, Keywords; check QuickGO cross-references section)
13 IEA annotations

**Is this term in a subset?
NOT a member of a subset.

Any other information
See ticket #23786
We propose to obsolete this term asap.

@pgaudet
JCVI:
AspGD
Are these two something UniProt handles?

I handle these (or Antonia) - see https://github.com/geneontology/go-site/blob/master/metadata/group-contacts.csv

I removed the replace_by from the obsoleted term. Closing.


WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

https://stackoverflow.com/questions/48709870/still-getting-warning-configuration-compile-is-obsolete-and-has-been-replace


Update network-security

AzureEventGrid service tag is present in all the regions.
Features are GA

@batrived : Thanks for your contribution! The author(s) have been notified to review your proposed change.


aggregation: the until field should be < instead of <=

Currently the until field is applies as <= (see: https://github.com/ooni/api/blob/clickhouse/newapi/ooniapi/measurements.py#L1863), this means that if there are measurements matching the search criteria on exactly midnight of the until date, we will end up including them. This will result in having an additional date (the until date), in the GROUP BY clause.
We noticed this while debugging some issues in the MAT with @sarathms where we noticed that some category codes were returning an extra date compared to others.

Fixed


Fix Schedule.previousDate and Schedule.nextDate

Schedule.previousDate and .nextDate returned null whenever the input date didn't match a date on the schedule.

Any chance of a new release soon? :-)


Memory leak when connection dropped on emulator

If my service has created a subscription, when it loses the connection to pubsub then CPU spikes to >100%, and within ~10 seconds the memory increases from ~100M to >1G and Node.js runs out of memory.
I see this when I'm my service is connected to the pubsub emulator locally in my Docker environment, and I stop the pubsub emulator container.
I create a subscription like so: await topic.subscription(subscriptionName).get({autoCreate: true})
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

<--- Last few GCs --->

[81:0x55b3a043d260]    60390 ms: Mark-sweep 1317.4 (1442.6) -> 1308.5 (1445.6) MB, 1678.1 / 0.8 ms  (average mu = 0.161, current mu = 0.074) allocation failure scavenge might not succeed
[81:0x55b3a043d260]    62150 ms: Mark-sweep 1321.6 (1445.6) -> 1312.6 (1447.6) MB, 1636.3 / 0.8 ms  (average mu = 0.117, current mu = 0.070) allocation failure scavenge might not succeed

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x36427a8b9021]
Security context: 0x04297dc1d9d1 <JSObject>
    1: start [0xe2ed8390ef9] [/app/node_modules/grpc/src/client_interceptors.js:~1096] [pc=0x36427a8badc9](this=0x2274239ba661 <Object map = 0x27478d995581>,0x2274239b1f29 <Metadata map = 0x27478d985c21>,0x2274239ba8a1 <InterceptingListener map = 0x27478d988ba1>)
    2: arguments adaptor frame: 3->2
    3: start [0x20c97d8de871] [/app/node_modules/grpc/src/c...

Environment details

OS: Alpine Linux (Docker image: mhart/alpine-node:11)
Node.js version: Latest v11
npm version: v6.9.0
@google-cloud/pubsub version: 0.28.1

Steps to reproduce

Use the pubsub-emulator
Create a subscription to a topic on the emulator
Stop the emulator
Bye bye memory

Thanks!

It sounds like we would have to add some sort of throttling to stop this behavior.  That sounds like a feature request to me.

It looks like there is also some sort of multiplier total bytes used per message, as per this other issue.

I'm also seeing this error when running the emulator. I occasionally see a warning indicating a memory leak as well.
(node:7694) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 channel.ready listeners added. Use emitter.setMaxListeners() to increase limit

The emulator connection was never retried, and the RPCs were constantly retried on the broken connection without any back-off.  That caused the event loop to not move to the next phase, since it was stuck on constantly trying to resolve the failed promise, and then retrying.  @ajaaym will add a link to an article about this problem.
This should have been fixed in the 0.29.* release which added back-offs.  That back-off allows the event loop to move on to other events, including gc.

here is the link1 and link2

@ThomWright and @nmiddendorff, can you please upgrade to the latest version of the client? That should fix the problem.
@bcoe, I found this issue to be fascinating. I'd appreciate your perspective on this topic.

I'm closing this.  If this is still a problem, please open up a new issue.

@sduskis agreed, this bug was nasty and interesting. I'm not shocked shocked that grpc retrying in an unbounded way, without actually scheduling any IO, could saturate resources ... adding a back-off seems like the right solution 😄
In practice, my experience at npm was that we rarely had to dig quite so deeply into the nitty-gritty of the event loop except when debugging edge-cases like this; as an example, the route that served package meta-information handled many hundreds of concurrent requests at any given time, serving them in sub-50ms time, and I don't remember bumping into an issue like this.
Sounds like what was probably happening in this case was that async tasks were being scheduled pretty much as fast as CPU could toss them on a stack?


Syntax highlighting for the main title and the post's titles

Currently, there is no highlighting for the title of the notebook, nor for each titles. Because I did not find a way to make the QSyntaxHighlighter work for underlined titles (they have to match ^={3,*}$, or ^-{3,*}$, then highlight this and the line before.

it looks like we have to subclass the QSyntaxHighlighter
here they show an example to find comments in C++. Our Highligher would have to look for the underlines and then look above for the emply line (or the start of the document)

You know, we could use the other style of titles.
# Main title

## post title

### section title in the post

the problem is we would have to find a different syntax for the tags and we would need to automatically update the existing titles

But, but... that would mean giving up! I actually openend a stackoverflow question to see if there are some ideas around.

My question is, do you have a special reason to use underlining in the first place?
I prefer #-style headers for some reasons:

more than just two headers (I'm using H3 from time to time in my longer notes)
less problems with markdown parsing (--- is also used in tables etc.)

the only advantage of underlining I see may be readability

Underlining both for the main-title and the posts titles is in #84, could you check it, @egolus ?
In particular, I should probably do something to be sure not to highlight tables...

This looks good.
There is one table style where you start and end with one line with just dashes, but normally you have some other characters in every line to separate the table columns (spaces, pipes, colons, etc.)
So this one table style not only is highlighted wrong but also breaks the conversion because it's identified as a new note header. I'm not sure we can do much about it. (other than telling the user to use another table style)

We could add a check for the line of dashes: if there is an empty line above, or below, we know it is not a title separation, but is instead a table. It could also be added at the level of the syntax highlighting, to check the line following starts with a hash.

I added the mentioned above checks - should now be more robust, and should not crash on tables :)

When is the highlighting updated? It looks like it's only updated, when I change something in the line itself or above. So If I add a title in the editor, it doesn't get highlighted because at the time it looks at the lines after the title, this is still empty, because I haven't reached it yet to add the tags. If I add the tags, then go back to the title and change something, the title gets highlighted correctly.
[note1]

|

[note2]

the file before I change anything. The pipe is my cursor
[note1]

this is my title
-----------------|

[note2]

the line under the underlining is still empty, the pipe is my cursor
[note1]

this is my title
-----------------
# tags tags tags

[note2]

now the title should be highlighted, but it's not updated. If I change anything in the title-line itself or above, it gets updated to a proper title-highlighting

Got it - As described there, the next() returns the next line properly under the condition that it is not updated. As you type, the next().text() check is not validated. There is no problem if you use the New Note, as everything gets written at once.
I am not sure how to try and fix this. Maybe trying to find a way to refresh the content more often than what is being done now, in the text editor. What is strange is that not even a save triggers the proper highlighting.

hmm. At least after the save we could trigger a highlighting. We should be careful with too many updates while the user writes in the editor. I've got this problem in vim when using some highlighting-heavy filetype like markdown.. sometimes it takes a looong time to update while writing and it's really annoying

Fixed with #84


DraggableFooter | It should automatically open with an action, or a function

When I select a date range from calendar, the footer with options remains hidden unless I drag it up, but I want it to open about 40% when I select a date range.

@snehmehta there is not documentation or kitchen sink for this. This is not right. We need to always update.

re-opening it, please add kitchen sink and documentation

kitchen sink:
https://studio.ensembleui.com/app/e24402cb-75e2-404c-866c-29e6c3dd7992/screen/rDSqDYVIW7wWhMKSpE3Q

@snehmehta thanks

can you please let the footer be draggable by the user, it seems to be draggable only by programmatically which is not the primary use case. Also please add a drag handle.
Add a reference to it from one of the main pages otherwise it is unreachable
please add documentation as well


Mixed character encodings break the JSON table data files

I created a database and inserted ISO-8859-1 encoded string data.
Later on I tried to insert more data with UTF-8 encoding and received this error:
Warning: array_push() expects parameter 1 to be array, null given in /Lazer/Classes/Core/Database.php on line 795
This did not just fail but destroyed the whole data in the JSON table document (the document had only 4 bytes after this, containing 'null').
No more database operations were possible after this. I fixed it by converting all incoming string data to UTF-8 always, but maybe you want to be aware of this issue.

Fixed in f24f46f8f7486a58d7cf4ce5638a51a418e76dda


Bug - Minor - motion of header and inpage navigation inconsistent

Due to recent changes, the timing of the header and inpage navigation became different. Both should be using the project-defined timing.
https://github.com/Netcentric/vg-volvotrucks-us-rd/assets/133873665/f5e69999-35cd-4ac0-bf25-d9cf809b2c5f

confirmed as fixed
as tested on https://203-navigation-motion--vg-volvotrucks-us-rd--netcentric.hlx.page/pdp


NPE checking attributes

The following simple snippet fails with the NPE below...
FileSystem s3 = FileSystems.newFileSystem(URI.create("s3://bucket"));

Stream<Path> stream = Files.walk(s3.getPath("/"));
for (Path path: stream.filter(Files::isRegularFile).toList()) {
    System.out.println(path);
}

ava.lang.NullPointerException: Cannot invoke "java.nio.file.attribute.BasicFileAttributes.isDirectory()" because "attrs" is null
	at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:288)
	at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
	at java.base/java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:71)
	at java.base/java.nio.file.Files.walk(Files.java:3917)
	at java.base/java.nio.file.Files.walk(Files.java:3972)

The issue seems to be with https://github.com/awslabs/aws-java-nio-spi-for-s3/blob/main/src/main/java/software/amazon/nio/spi/s3/S3FileSystemProvider.java#L755 which returns null if the path is a directory. I think this was an incorrect assumption on my part that directories wouldn't have attributes.
The line can probably be removed but we'd want to run some tests.

Fixed in this commit https://github.com/awslabs/aws-java-nio-spi-for-s3/commit/bf14c036b66c7c574c24757523c6c2641164b3b6


Unable to load the service index for source https://www.myget.org/F/exceptionless/api/v3/index.json. [/app/Exceptionless.sln]

i use docker-compose.yml to build the ex.it show me need dockerfile.i add docker,then tips need .csproj .finally i and source in .
at end.it show the flowed error.i can visit the link.
https://github.com/exceptionless/Exceptionless/issues/607
[root@console Exceptionless-5.0.0]# docker-compose up -d
Building api
Step 1/34 : FROM mcr.microsoft.com/dotnet/core/sdk:2.2.401 AS build
---> 08657316a4cd
Step 2/34 : WORKDIR /app
---> Using cache
---> 39811e059457
Step 3/34 : ARG VERSION_SUFFIX=0-dev
---> Using cache
---> e4cbef139076
Step 4/34 : ENV VERSION_SUFFIX=$VERSION_SUFFIX
---> Using cache
---> c80590efbca0
Step 5/34 : COPY ./.sln ./NuGet.Config ./
---> Using cache
---> e8b3c62fdd90
Step 6/34 : COPY ./build/.props ./build/
---> Using cache
---> c40817c6e293
Step 7/34 : COPY src//.csproj ./
---> Using cache
---> 38b14f4a19e3
Step 8/34 : RUN for file in $(ls .csproj); do mkdir -p src/${file%.}/ && mv $file src/${file%.}/; done
---> Using cache
---> 434e0c19e989
Step 9/34 : COPY tests//.csproj ./
---> Using cache
---> 460cdbf820d2
Step 10/34 : RUN for file in $(ls .csproj); do mkdir -p tests/${file%.}/ && mv $file tests/${file%.}/; done
---> Using cache
---> 963075377aa0
Step 11/34 : RUN dotnet restore
---> Running in 6da532eaa276
/usr/share/dotnet/sdk/2.2.401/NuGet.targets(123,5): error : Unable to load the service index for source https://www.myget.org/F/exceptionless/api/v3/index.json. [/app/Exceptionless.sln]
/usr/share/dotnet/sdk/2.2.401/NuGet.targets(123,5): error :   Resource temporarily unavailable [/app/Exceptionless.sln]
ERROR: Service 'api' failed to build: The command '/bin/sh -c dotnet restore' returned a non-zero code: 1

Hello,
Please upgrade to 6.0 which has resolved this issue. You can grab the latest docker-compose file from the repository.

@quliting we now have a single docker image you can run as simple as this docker run --rm -it -p 5000:80 exceptionless/exceptionless:6.1.0 take a look at the self-hosting docs for more info:
https://github.com/exceptionless/Exceptionless/wiki/Self-Hosting

@ejsmith  i know this page.but i don't know how to setting data in mysql 、es、redis；the docker-compose.yml has the data setting.

@niemyjski  hey guys i download the new docker-compose.yml,when i new issue.i think the docker-compose is 6.0

Hello, I'm not sure what you are asking. Elasticsearch ad redis connection strings can be set as shown here: https://github.com/exceptionless/Exceptionless/blob/master/samples/docker-compose.yml We don't support mysql.

@niemyjski  yes i find it.but it shows error "need Dockerfile";
is the version not the news?

@niemyjski
我是中国人，英文不是很好，

Can you please attach a snippet of the whole error. English is my main language (I don't know any Chinese) could you please post your main language as well as (https://translate.google.com) and I'll do my best to help :-)

version: '3.7'
services:
app:
depends_on:
- elasticsearch
- redis
image: exceptionless/app:6.1.0
environment:
EX_AppMode: Production
EX_ConnectionStrings__Cache: provider=redis
EX_ConnectionStrings__Elasticsearch: server=http://<IP_ADDRESS>:9200
EX_ConnectionStrings__MessageBus: provider=redis
#EX_ConnectionStrings__Metrics: provider=statsd;server=statsd;
EX_ConnectionStrings__Queue: provider=redis
EX_ConnectionStrings__Redis: server=redis,abortConnect=false
#ASPNETCORE_URLS: http://+;https://+
#ASPNETCORE_HTTPS_PORT: 5001
#ASPNETCORE_Kestrel__Certificates__Default__Password: password
#ASPNETCORE_Kestrel__Certificates__Default__Path: /https/aspnetapp.pfx
EX_RunJobsInProcess: 'false'
ports:
- 5000:80
- 5001:443
volumes:
- appdata:/app/storage
- ssldata:/https
jobs:
depends_on:
- app
image: exceptionless/job:6.1.0
environment:
EX_AppMode: Production
EX_BaseURL: http://<IP_ADDRESS>:5100
EX_ConnectionStrings__Cache: provider=redis
EX_ConnectionStrings__Elasticsearch: server=http://<IP_ADDRESS>:9200
#EX_ConnectionStrings__Email: smtps://user:password@smtp.host.com:587
EX_ConnectionStrings__MessageBus: provider=redis
#EX_ConnectionStrings__Metrics: provider=statsd;server=statsd;
EX_ConnectionStrings__Queue: provider=redis
EX_ConnectionStrings__Redis: server=redis,abortConnect=false
EX_ConnectionStrings__Storage: provider=folder;path=/app/storage
volumes:
- appdata:/app/storage
elasticsearch:
image: exceptionless/elasticsearch:7.7.1
environment:
discovery.type: single-node
xpack.security.enabled: 'false'
ES_JAVA_OPTS: -Xms1g -Xmx1g
ports:
- 9200:9200
- 9300:9300
volumes:
- esdata7:/usr/share/elasticsearch/data
kibana:
depends_on:
- elasticsearch
image: docker.elastic.co/kibana/kibana:7.7.1
ports:
- 5601:5601
redis:
image: redis:6.0-alpine
ports:
- 6379:6379
volumes:
esdata7:
driver: local
appdata:
driver: local
ssldata:
driver: local
i use this docker-compose .when i visit it.it shows:

Service Unavailable

You'll get that when the app is starting up. Hit 5000/ready and 5000/healthy to get an idea of why it's not working.

ok sir .i'll do it .

Did that fix it?

Health check Elasticsearch completed after 2000.9006ms with status Unhealthy and 'Elasticsearch Ping Failed;

i can visit http://<IP_ADDRESS>:9200

Can you view your elasticsearch instance server url from the machine that's hosting exceptionless? Also, I'd highly recommend securing your elasticsearch instance and not having it publicly visible.

esurl is :http://<IP_ADDRESS>:9200/
it works.

i dont't know what is wrong!

what should i do to slove this problem

Why did you change the EX_ConnectionStrings__Elasticsearch environment variable? The default from here should work: https://github.com/exceptionless/Exceptionless/blob/55148f092a231c4a69f073f418cbf62a42d2c43a/samples/docker-compose.yml#L12
It's an internal service and shouldn't be exposed to the outside world. It can be accessed using its internal service name of elasticsearch.

okay.i know.

version: '3.7'
services:
app:
depends_on:
- elasticsearch
- redis
image: exceptionless/app:6.1.0
environment:
EX_AppMode: Production
EX_ConnectionStrings__Cache: provider=redis
EX_ConnectionStrings__Elasticsearch: server=http://elasticsearch:9200
EX_ConnectionStrings__MessageBus: provider=redis
#EX_ConnectionStrings__Metrics: provider=statsd;server=statsd;
EX_ConnectionStrings__Queue: provider=redis
EX_ConnectionStrings__Redis: server=redis,abortConnect=false
#ASPNETCORE_URLS: http://+;https://+
#ASPNETCORE_HTTPS_PORT: 5001
#ASPNETCORE_Kestrel__Certificates__Default__Password: password
#ASPNETCORE_Kestrel__Certificates__Default__Path: /https/aspnetapp.pfx
EX_RunJobsInProcess: 'false'
ports:
- 5000:80
- 5001:443
volumes:
- appdata:/app/storage
- ssldata:/https
jobs:
depends_on:
- app
image: exceptionless/job:6.1.0
environment:
EX_AppMode: Production
EX_BaseURL: http://localhost:5100
EX_ConnectionStrings__Cache: provider=redis
EX_ConnectionStrings__Elasticsearch: server=http://elasticsearch:9200
#EX_ConnectionStrings__Email: smtps://user:password@smtp.host.com:587
EX_ConnectionStrings__MessageBus: provider=redis
#EX_ConnectionStrings__Metrics: provider=statsd;server=statsd;
EX_ConnectionStrings__Queue: provider=redis
EX_ConnectionStrings__Redis: server=redis,abortConnect=false
EX_ConnectionStrings__Storage: provider=folder;path=/app/storage
volumes:
- appdata:/app/storage
elasticsearch:
image: exceptionless/elasticsearch:7.7.1
environment:
discovery.type: single-node
xpack.security.enabled: 'false'
ES_JAVA_OPTS: -Xms1g -Xmx1g
ports:
- 9200:9200
- 9300:9300
volumes:
- esdata7:/usr/share/elasticsearch/data
kibana:
depends_on:
- elasticsearch
image: docker.elastic.co/kibana/kibana:7.7.1
ports:
- 5601:5601
redis:
image: redis:6.0-alpine
ports:
- 6379:6379
volumes:
esdata7:
driver: local
appdata:
driver: local
ssldata:
driver: local
the same error;
[14:25:18 ERR] Health check Cache completed after 0.1478ms with status Unhealthy and 'Cache Not Working.'
[14:25:20 ERR] Health check Elasticsearch completed after 2000.4617ms with status Unhealthy and 'Elasticsearch Ping Failed'
[14:25:21 ERR] Health check Cache completed after 0.15ms with status Unhealthy and 'Cache Not Working.'
[14:25:23 INF] Waiting for startup actions to be completed for 02:05...

@ejsmith  key are you here?

That all looks good, are you hosting elasticsearch on a different server? If so you need to update the EX_ConnectionStrings__Elasticsearch connection string. Otherwise what you have looks good and you don't need to expose your elasticsearch to the internet.

I'm going to close this, can you please let us know if this is still an issue after configuring your connection string


[8.3.x] fix(@angular-devkit/build-angular): update tree-kill dependency to 1.2.2

While the CLI is not affected by the following advisory, this change will address the audit warning and prevent any potential future usage of the package within the CLI from being affected.
Advisory: https://www.npmjs.com/advisories/1432
Closes https://github.com/angular/angular-cli/issues/16629

Why is @ngtools/webpack using an exact version requirement in the first place?

We pin all transitive dependencies to avoid unexpected breakages when a 3rd party library gets a release.
So before updating a dependency we make sure that it doesn't break any of our tests.


Unknown context access: 'github.ref_name'

Actually, github.ref_name can be used in github actions now.

This should work now.


Revisit skipped winsqlite3 tests

Follow up to https://github.com/aspnet/Microsoft.Data.Sqlite/pull/314
The 'UseWinSqlite3_throws_when_loaded' test fails when build.cmd is executed on command line. This may have been caused by changes in the lifecycle of the test framework.

This will be superseded by the move the SQLitePCL.raw.


v1 bug: user sets flag and does not provide value, but there is no error

my urfave/cli version is
v1.22.4
Checklist

[x] Are you running the latest v1 release? The list of releases is here.
[x] Did you check the manual for your release? The v1 manual is here
[x] Did you perform a search about this problem? Here's the Github guide about searching.

Dependency Management

[x] My project is using go modules.
[ ] My project is using vendoring.
[ ] My project is automatically downloading the latest version.
[ ] I am unsure of what my dependency management setup is.

Describe the bug
I have an example CLI, hello, which takes two flags, --flag1 and --flag2 with default values, value1 and value2. All it does right now is just print out the values of the arguments:
# ./hello --flag1 v1 --flag2 v2
flag1 value:  v1
flag2 value:  v2

But let's say a user accidentally forgets to provide the value for --flag1. The resulting output is:
# ./hello --flag1 --flag2 v2
flag1 value:  --flag2
flag2 value:  value2

I would expect this to output an incorrect usage error instead of flag1 using the --flag2 name as a value. Not to mention that flag2 has completely ignored the value supplied to it.
If a user were to set flag2 and forget to provide a value, an error message is correctly displayed:
# ./hello --flag1 v1 --flag2
Incorrect Usage. flag needs an argument: -flag2

NAME:
   hello - A new cli application

USAGE:
   hello [global options] command [command options] [arguments...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --flag1 value  usage1 (default: "value1")
   --flag2 value  usage2 (default: "value2")
   --help, -h     show help
2020/06/11 13:21:09 flag needs an argument: -flag2

To reproduce
Minimal code to reproduce the above issue:
package main

import (
	"fmt"
	"log"
	"os"

	"github.com/urfave/cli"
)

func main() {
	app := cli.NewApp()

	app.Flags = []cli.Flag{
		cli.StringFlag{Name: "flag1", Value: "value1", Usage: "usage1"},
		cli.StringFlag{Name: "flag2", Value: "value2", Usage: "usage2"},
	}

	app.Action = func(c *cli.Context) error {
		fmt.Println("flag1 value: ", c.String("flag1"))
		fmt.Println("flag2 value: ", c.String("flag2"))
		return nil
	}

	err := app.Run(os.Args)
	if err != nil {
		log.Fatal(err)
	}
}

Observed behavior
# ./hello --flag1 --flag2 v2
flag1 value:  --flag2
flag2 value:  value2

Expected behavior
# ./hello --flag1 --flag2 v2
Incorrect Usage. flag needs an argument: -flag1

NAME:
   hello - A new cli application

USAGE:
   hello [global options] command [command options] [arguments...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --flag1 value  usage1 (default: "value1")
   --flag2 value  usage2 (default: "value2")
   --help, -h     show help
2020/06/11 13:21:09 flag needs an argument: -flag1

Additional context
None
Want to fix this yourself?
We'd love to have more contributors on this project! If the fix for this bug is easily explained and very small, free free to create a pull request for it. You'll want to base the PR off the v1 branch, all v1 bug fix releases will be made from that branch.
Run go version and paste its output here
go version go1.14.1 linux/amd64

Run go env and paste its output here
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/root/go/src/hello/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build579337196=/tmp/go-build -gno-record-gcc-switches"

Thanks for opening an issue!
Here I actually think the CLI is behaving as intended.

But let's say a user accidentally forgets to provide the value for --flag1

While from the user's perspective, what happened was that they forgot to provide a flag value, from the CLI's perspective they did provide a value.
./hello --flag1 --flag2 v2

The proper way to interpret that set of args in the case that --flag1 takes an argument is that --flag2 was passed as the literal value to --flag1, and v2 is passed as a positional argument. It is a 100% correct series of arguments of the form:
<cmd> --<flagname> <flagvalue> <arg>

This is also consistent with how other CLI tools behave. For example, what if I were to try to create a new branch in git with the command git checkout -b, run it in quiet mode, and forget to pass the flag value?
$ git checkout -b --quiet
fatal: '--quiet' is not a valid branch name.

I'm not sure there's a behavior that's more correct than the one we offer now that doesn't inhibit our ability to interpret args correctly in other situations. For example, what if we wanted to use --flag2 as the value of --flag1?
I do agree that the behavior outlined in the ticket is confusing, but I also believe it's the best we can do here.

Thanks for the explanation, so in terms of flag parsing, this is the correct behaviour, and it's left to the application to perform any necessary validation checks. I also managed to replicate this behaviour using just the flag library from GO, so closing this issue since everything is working as intended.


How do you work with unions

Hello. First of all, great library. It really solved my problems. I'm facing an issue where i need to query a field which is a Union type. As far as i understand from the generated code, i am supposed to figure out which type it is via GetTypename func. After that, i'm kinda lost. I'm trying to save the field to another variable which has the type of 1 of the 2 types in the Union but it wont let me because the fetched field is of type Union. Also, i'm sorry if this ends up being a noob question. For example, let's say we have:
type type1 struct {
...
}

type type2 struct {
...
}

// This is the type of the field im getting when i fetch
type type1type2Union  struct {
..implements
..getTypeNameFunc()
}

// Now i need to save the field to a variable

if (type1type2Union.GetTypename) == "type1") {
  var x type1
  // This is the problem because the fetched field is a union and whatever i do it wont let me assign it to another variable
  x = type1type2Union
}

Thanks for the question!  As you may have realized, mapping GraphQL unions to Go types is a bit awkward because Go doesn't have a first-class disjoint union type.  But genqlient has a few ways to handle it, which are described more here.  (That all talks about interfaces, but we treat unions as simply being interfaces with no common fields, so only the first solution described there will make sense.)
For a more specific answer to your question, what you're doing is in a sense accurate, it's just that the Go compiler doesn't know that.  The simplest method is usually to use a Go type switch instead of GetTypename(), e.g.
switch val := type1type2Union.(type) {
case *type1:
  // use val, which now has type `type1`
case *type2: // etc.
default:
  panic("unexpected type")
}

If you prefer you can also use type assertions (x, ok := type1type2Union.(*type1)) to accomplish much the same thing.
Hope that helps -- let me know if you have any more questions!


Experimental: introduce a basic "did it run" test to the GHA

Goal
Help reduce the risk of building a bad binary
Method

After building the binary we perform a minimally viable invocation (e.g. seafowl --version) using each OS in the matrix. Serves as a basic smoke test to answer the Q "did it run?"
In case of non-zero exit code, pass it into the exit call. I've only observed macOS so far, which today returned 134 for the binary with the SSL issue.

How do we know it works?

Feedback welcome.

Thanks!


BWDB-5051 Make tab shrink to title size

PR Checklist
Check these before submitting your pull request:

[ x ] Visual and behavioral components are separated
[ x ] Exported components are documented with examples
[ x ] Props have JSDoc comments
[ x ] All relevant visual sub-components can be overridden via props
[ x ] Any extra props are spread into the outermost rendered element

Breaking Changes

Describe all breaking changes here

Changes to Existing Components

Describe meaningful changes to existing components here

New Visual Components

List and describe any new visual components (styled-component primitives) here. Visual components which are sub-components of exported components must be contained in a /styles directory adjacent to their super-component

New Behavioral Components

List and describe behavioral components here. Behavioral components must have no associated styling. If styling is necessary, refactor styled elements into visual components and ensure they can be overridden via props.

@antkoval Can you provide a screenshot of what this looks like in the SCL docs, or in Storybook?


Positioning Coach Mark

I am often implementing tutorial screens where there are several details on the screen at once. What I would like is the ability to provide a coach mark that can either be placed independent of the cutout, or allow the coach mark to fill the screen so that I can add my own subviews anywhere according to my own constraints. I tried different things but the closest I got was providing a decoration view but unfortunately this is not connected to steps.

Related to #23.
I feel it's probably a bit beyond the scope of this library. If you want to display multiple elements at once on the screen and don't attach them to underlying views, it's probably going to be easier to roll out your custom solution.
#23 is on the roadmap though, but it's been for a long time. Maybe I'll tackle this next!
(By the way, it's possible to show a coachmark without the cutout, see #83)

Appreciate the response @ephread 👍 I came up with a solution for the time being. I grab the persistent overlay from the datasource delegate then if a step has independent elements (ornaments) I want to display then I fade them in and out on willShow/willHide. I hope that helps someone.
extension MyTutorial: CoachMarksControllerDataSource
{
    func coachMarksController(_ coachMarksController: CoachMarksController, configureOrnamentsOfOverlay overlay: UIView)
    {
        self.overlay = overlay
    }
}

extension MyTutorial: CoachMarksControllerDelegate
{
    func coachMarksController(_ coachMarksController: CoachMarksController, willShow coachMark: inout CoachMark, beforeChanging change: ConfigurationChange, at index: Int)
    {
        guard let ornament = steps[index].ornament else { return }

        UIView.transition(with: overlay, duration: 0.25, options: .transitionCrossDissolve, animations:
        {
             self.overlay.addSubview(ornament)
             ornament.edgesToSuperview() //using TinyConstraints
        },
        completion: nil)
    }

    func coachMarksController(_ coachMarksController: Instructions.CoachMarksController, willHide coachMark: Instructions.CoachMark, at index: Int)
    {
        UIView.transition(with: overlay, duration: 0.25, options: .transitionCrossDissolve, animations:
        {
            self.overlay.removeAllSubViews() //custom implementation
        },
        completion: nil)
    }
}

Closing because I consider this resolved. Great solution here!


Update registry.yaml

@classickannada @fatih-yavuz This one should not have passed CI either. Reverting these changes; please open a new PR so we can discuss this further.


Code get stuck when training begin, Check the execution below

Global seed set to 42
Using 16bit native Automatic Mixed Precision (AMP)
GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
Trainer(limit_train_batches=1.0) was configured so 100% of the batches per epoch will be used..
Global seed set to 42
Initializing distributed: GLOBAL_RANK: 0, MEMBER: 1/1
distributed_backend=nccl
All distributed processes registered. Starting with 1 processes
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
| Name  | Type      | Params
0 | model | NeRFModel | 12.6 M
12.6 M    Trainable params
0         Non-trainable params
12.6 M    Total params
25.220    Total estimated model params size (MB)
Epoch 0: : 0it [00:00, ?it/s]

after this line code got stuck

I have met the problem. The nerfacc build process failed. You can empty the cache and rerun.


Espanish Translation

Hi!
Great to see a way to see that modern, and cool landpage in spanish (I'm from spain!)
But, the translation it's a bit... "semi-robotic translation" ;)
I can't find a locale file with the strings to translate. I just find a js code that translate the text, but sorry I'm not a developer, so I can't find the way to improve the translation, and I would like.
've phun and continue doing a great job!!

@victorhck when you have the PR merged please remember to close this issue. And thank you for your contribution.

Solved in PR #6

Ok, it's alredy closed!


Update sbt-release to 1.0.15

Updates com.github.gseitz:sbt-release from 1.0.13 to 1.0.15.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.gseitz", artifactId = "sbt-release" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

Merging #304 (804751d) into master (ab2166b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #304   +/-   ##
=======================================
  Coverage   91.35%   91.35%
=======================================
  Files           9        9
  Lines         162      162
  Branches        3        3
=======================================
  Hits          148      148
  Misses         14       14

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 ab2166b...804751d. Read the comment docs.


Issue-260: RHEL 8.6 support

Signed-off-by: John Walicki<EMAIL_ADDRESS>Description
Fixes #260  and lots of linter warnings
This is a sub-task of https://github.com/open-horizon/anax/issues/3228
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

...
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

@joewxboy This ready to merge.  Ben has re-built the anax / agent-install scripts.

Good question about podman vs Podman.  The https://podman.io/ seems to reference it as podman the command, and Podman the project.  Open Horizon doesn't provide translations so low priority to move it to a variable.  Will include that in an upcoming Fedora 36 new Linux distro request. (I'll add Fedora as a variable too)


Removing member-nav (New World)

Hello, I'm just creating simple site and don't want the member-nav elements present.
Couldn't remove it in frontend.
As far as there is a shopping cart icon there, tried to uninstall the Shop module. No change, but I don't see way to get that module back (not present in modules, but that is not a problem).
Tried .main-nav {display: none !important;} in header-styels.scss, nav.scss and main.css, refreshed, two browsers, but change wasn't made..
Thanks for any ideas

Solved. Changed class to .member-nav.main-member-nav and put into Code editor according to Issue #888.


roc-toolkit fails to build on aarch64-linux

Describe the bug
roc-toolkit fails to build on aarch64-linux, with the following error:
In file included from /nix/store/w65pqng7l4f706bk9j4m7y6yrvdqs6kd-libunwind-1.6.2-dev/include/libunwind.h:7,
                 from src/modules/roc_core/target_libunwind/roc_core/backtrace.cpp:10:
/nix/store/w65pqng7l4f706bk9j4m7y6yrvdqs6kd-libunwind-1.6.2-dev/include/libunwind-aarch64.h:198:10: error: expected identifier before numeric constant
  198 |  alignas(16) uint8_t __reserved[(66 * 8)];
      |          ^~
/nix/store/w65pqng7l4f706bk9j4m7y6yrvdqs6kd-libunwind-1.6.2-dev/include/libunwind-aarch64.h:198:10: error: expected ',' or '...' before numeric constant
/nix/store/w65pqng7l4f706bk9j4m7y6yrvdqs6kd-libunwind-1.6.2-dev/include/libunwind-aarch64.h:198:12: error: expected ';' at end of member declaration
  198 |  alignas(16) uint8_t __reserved[(66 * 8)];
      |            ^
      |             ;
scons: *** [build/aarch64-pc-linux-gnu/gcc-9.3.0-release/modules/roc_core/target_libunwind/roc_core/backtrace.o] Error 1
scons: building terminated because of errors.

Steps To Reproduce
nix-env -f channel:nixpkgs-unstable -iA roc-toolkit

Expected behavior
roc-toolkit should build successfully.
Screenshots
N/A
Additional context
N/A
Notify maintainers
@bgamari @jansol @Mic92
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-linux"`
 - host os: `Linux 5.15.12, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

libunwind/libunwind#186 looks relevant

Does upstream support this target?

Both libunwind and roc-toolkit seem to support aarch64, yes.


fix: disable bootJar

We now include org.springframework.boot in our version catalog to improve version control. However, the bootJar task that comes with it is not suitable for our project, as we only need to declare the Spring Boot version and make it compatible with dependabot. To build the module, we need to disable it.

@Charm-Xin Please follow up on this pull request to find a more suitable way to do this.

We can configure the project to depend on the Spring Boot plugin but do not apply it.

We can configure the project to depend on the Spring Boot plugin but do not apply it.
Reference: https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/htmlsingle/#managing-dependencies.dependency-management-plugin.using-in-isolation

Yes, let's do this.

Track this at https://github.com/ocpddev/json-logging/pull/12


use_mmap: Error: invalid int value [false]

What is the issue?
When adding the use_mmap parameter to a modelfile, it used to be like this: PARAMETER use_mmap false. Since 0.1.45, this does not work, it wants an integer value. So I put PARAMETER use_mmap 0. This allows me to create the modelfile.
However, when attempting to run the model, it comes back with this error: Error: option "use_mmap" must be of type boolean
Seems like a cast was forgotten somewhere maybe?
OS
Linux
GPU
AMD
CPU
AMD
Ollama version
0.1.45

By downgrading to 0.1.44, I was able to create the model, and run it using 0.1.45. So this behavior changed between 0.1.44 and 0.1.45.

Sorry about that.  I recently change this to be a tri-state vairable and missed the parsing logic for the modelfile.  We'll get this fixed in the next release.

I am not sure this is actually fix. I also had to downgrade to 0.1.44 again to create a model with use_mmap false, even with 0.1.46. I could create the model on latest version, but it would not run, with a similar issue about missing the boolean.

For a bit more clarity on this: on the latest version, I can create the model with use_mmap false. But when I try to run it, it says that parameter use_mmap must be of type boolean.

Should this be reopened since there is another PR required for it? I don't think I can reopen it myself.


GitHub does not support .sublime-syntax grammars

#3079 added support to script/convert-grammars for '.YAML-tmlanguage' and '.sublime-syntax' grammar file extensions. @aroben confirmed that YAML wouldn't be an issue for GitHub's back-end as it uses the JSON files produced by convert-grammars.
Unfortunately, while .YAML-tmLanguages and .tmLanguages have the same format (same keys and structure), .sublime-syntax uses a different format (for instance, see AWK.sublime-syntax). I failed to see the extent of the differences before. But, since NSIS and awk syntax highlighting do not work on github.com anymore (see .nsi files and .awk files), my guess is that GitHub's back-end does not support .sublime-syntax's format. Is anyone able to confirm this?
On the short term, #3208 should fix this. On the longer term, I see several solutions:

remove support for .sublime-syntax in convert-grammars and find new grammars for these languages
find a way to convert between the .tmLanguage format and the .sublime-syntax format
add support for the .sublime-syntax format in GitHub's back-end

/cc @arfon @aroben

Writing a small program to convert that to JSON format shouldn't be too hard. I'm guessing that's out of the question...?

I don't think it's out of question but it would have a maintenance cost: each format will evolve and we need backward compatibility.

Heh, don't worry. I write clean code. ;) Don't judge me for being a tab-user. :p
Is this the source I should be treating as a canonical and up-to-date reference?

It's not a matter of clean code @Alhadis. It's a matter of having several developers around who can maintain the parser. And I haven't even checked properly if such a script doesn't already exist.

To be honest, this isn't the first time this has crossed my mind. Somebody suggested that Atom support Sublime's format too. If there were a JavaScript tool to convert a Sublime-style grammar into other formats, it'd benefit both teams. =)

@pchaigno It looks like Puppet highlighting is broken as well. https://github.com/russCloak/SublimePuppet/tree/a90d5a4e084a3bb17809e3b59033fbf813749ced/Syntaxes contains both a .sublime-syntax and a .tmLanguage file; I guess we're choosing the .sublime-syntax one?

#3214 should stop the bleeding. Sorry for this :bow:


Implement a git sync command

As discussed in https://github.com/arxanas/git-branchless/discussions/48.

Implemented in #281, #287, #288.


Fix edge case: SM free tier limit not visible in 'EmptyStateView

esolve issue where the free tier limit notification isn't shown to users when they reach the limit but are viewing the 'EmptyStateView'.

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer

Blocked by #146

Fixed.
Now both Fixed banners and other issues are visible at the EmptyMessagesView


Print action outputs to console

Resolves #1351
Missing docs.
Signed-off-by: Helder Correia

Getting errors on sops.

Update: I'm blocked by the same issue as:

https://github.com/dagger/dagger/issues/1867

I need to go back to a fix for it in order to move forward:

https://github.com/dagger/dagger/pull/2024

Update: asked for feedback upstream on the blocker: https://github.com/cue-lang/cue/issues/1671
Solution in https://github.com/dagger/dagger/pull/2024 allows to unblock.
👀 Updated doc preview
I tried filling from tasks to a r.final but got data races. So approach was to recover computed values and only fill at the end.
Ready to review approach.

Haven't looked in depth yet but looks good!
Q: Aren't the outputs polluted by random fields, or is there some logic to clean that up? (I looked at the logic of isOutput but couldn't find anything related to that).
For instance, for a netlify.#Deploy, shouldn't we see a bunch of noise in deploy.container (generated by bash.#Run)?

Q: Aren't the outputs polluted by random fields, or is there some logic to clean that up? (I looked at the logic of isOutput but couldn't find anything related to that).
For instance, for a netlify.#Deploy, shouldn't we see a bunch of noise in deploy.container (generated by bash.#Run)?

No because we're using only top-level fields of an action, not going deep. The netlify.#Deploy action is a good example as it correctly exports to the top-level what outputs are of interest:
	// URL of the deployed site
	url: container.export.files."/netlify/url"

	// URL of the latest deployment
	deployUrl: container.export.files."/netlify/deployUrl"

	// URL for logs of the latest deployment
	logsUrl: container.export.files."/netlify/logsUrl"

Which produces the output you can see here:
➜  APP_NAME=dagger-todo dagger do deploy
[✔] actions.deps
[✔] actions.test.script
[✔] client.env
[✔] actions.build.run.script
[✔] actions.deploy.container.script
[✔] client.filesystem."./".read
[✔] actions.deploy
[✔] actions.test
[✔] actions.build.run
[✔] actions.build.contents
[✔] actions.deploy.container
[✔] client.filesystem."./_build".write
[✔] actions.deploy.container.export
Field      Value
url        "https://dagger-todo.netlify.app"
deployUrl  "https://62698983ffe8661d60613431--dagger-todo.netlify.app"
logsUrl    "https://app.netlify.com/sites/dagger-todo/deploys/62698983ffe8661d60613431"

So you can create a wrapper action to control which outputs you want, as you can see in this example: https://deploy-preview-2265--devel-docs-dagger-io.netlify.app/1226/handling-outputs/#controlling-the-output

The netlify.#Deploy action is a good example as it correctly exports to the top-level what outputs are of interest

Yes, I noticed the output is perfect, that's what got me wondering on what's the wizardry behind that makes it look good :)

No because we're using only top-level fields of an action

How do we define top-level fields? For instance:

web contains build and deploy (build is yarn and deploy` is netlify)
web.deploy is netlify
web.deploy.container is an internal field of netlify (bash.#Run)

web, deploy and container are actions in this case.
What would end up in outputs?

What would end up in outputs? Is it going to be the outputs of web only?

Yes 🙂

Ohh, clever! Makes sense -- this is the perfect counter part of --inputs, top-level only.


Added My Owner Plugin

Dont know if you want this.

Very basic still. Will sommit more commands in the furture


Clarify use of null in lattice_vectors

Fixes #196

Weird indentation error, well, it should be fixed now.


BACK-4682 - add static crypto assets to dynamic CAL

📝 Description
This pull request does 2 simple things:

Split modules into JSON + ts module for all static assets (cardano,
cardano, elrond, solana, stellar, tron), so that the JSON file can be
directly included in the dynamic CAL CDN
Move static asset definitions to crypto-assets-importer (importer just
copies it to ledgerjs data folder), to prepare for next step where the
definitions will move to upstream crypto-assets repository

Note: hydrating all those currencies from CAL CDN is not implemented in this PR.
❓ Context

Impacted projects: ledgerjs, dynamic CAL
Linked resource(s): https://ledgerhq.atlassian.net/browse/LIVE-4713, https://ledgerhq.atlassian.net/browse/BACK-4682, #2328

✅ Checklist

[ ] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

Hi @jnicoulaud-ledger ! Thanks for the PR (and sorry for the delay...). Can you try rebasing on develop ? Looks like the CI didn't work this time 😞
🙏

Hi @lambertkevin ! I rebased but it seems I hit a Babel bug here related to using tuples with named positional parameters. This Babel bug seems related: babel/babel#13702, but I don't use any JS reserved word as param name so... What do you think ? I can revert to normal tuples.

@haammar-ledger

Do we actually need to version the JSONs in both libs/ledgerjs/packages/cryptoassets/src/data/ and libs/ledgerjs/script/crypto-assets-importer/static/data/?
We don't need it, the idea was to separate inputs from outputs as this is quite confusing. So: inputs in importers, and outputs in ledgerjs/data. And in the next step, importer/static/data will move upstream to CAL.

Propositions:

Move static data back directly into ledgerjs
Add a "This is a generated file" header to all files generated/copied by importers

I don't understand the structure in libs/ledgerjs/script/crypto-assets-importer/ with evm and tron being separate from other importers?
I think it's just because the others are single files. Maybe it would be clearer if we move evm,static and tron under importers ?

@haammar-ledger We synced with @henrily-ledger and went back to 1 :)


Create project "+" icon is misaligned

This seems to have regressed after recent CSS changes.

When you add this custom tag like other boxes are using, it fixes it;

...which tells me there is a class affecting based on child but I can't find where it is, normally inspecting css should help but it looks identical. I'm super baffled about this.

I can't tell what's causing this to happen either, but moving the icon tag above the "Create a project" heading fixed the problem for me. https://github.com/CenterForOpenScience/osf.io/blob/develop/website/templates/dashboard.mako#L57-63. If this seems like an okay solution, I can put in a PR for it.

Maybe @sloria or @caneruguz can weight in, but I am good with it.

This problem only occurs in "Chrome". It doesn't happen in Firebox, safari and IE.


How to add System Identities(User) manually for backend service.

Please provide us with the following information:

This issue is for a: (mark with an x)
I can not create roles from the application. I am using existing OpenAI service. Can anyone tell me how to add  Syatem identities (roles) for backend service manually. Basically i want to add these role manually. Here is the code for reference-
// SYSTEM IDENTITIES
module openAiRoleBackend 'core/security/role.bicep' = {
  scope: openAiResourceGroup
  name: 'openai-role-backend'
  params: {
    principalId: backend.outputs.identityPrincipalId
    roleDefinitionId: '5e0bd9bd-7b93-4f28-af87-19fc36ad61bd'
    principalType: 'ServicePrincipal'
  }
}

module storageRoleBackend 'core/security/role.bicep' = {
  scope: storageResourceGroup
  name: 'storage-role-backend'
  params: {
    principalId: backend.outputs.identityPrincipalId
    roleDefinitionId: '2a2b9908-6ea1-4ae2-8e65-a410df84e7d1'
    principalType: 'ServicePrincipal'
  }
}

module searchRoleBackend 'core/security/role.bicep' = {
  scope: searchServiceResourceGroup
  name: 'search-role-backend'
  params: {
    principalId: backend.outputs.identityPrincipalId
    roleDefinitionId: '1407120a-92aa-4202-b7e9-c0e197c71c8f'
    principalType: 'ServicePrincipal'
  }
}
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

We have the existing script that sets up the roles for a user:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/scripts/roles.sh
You would need to enable managed identity for your app service app in the Identity tab, copy that principal id, and run it in the script.

I can't run the script as i don't have access. Is there anyway to create this identity from Azure portal.

First, make sure that your app service app has Managed identity enabled:

Then click the "Azure role assignments" button on that screen.

Select "+ Add role assignment" from that screen.

For scope, select "Resource group".
For role, select "Cognitive Services OpenAI user".

Repeat for roles "Storage Blob Data Reader" and "Search Index Data Reader".

When done, your role assignments should look like:

Please let us know if that worked for you. I'm curious why you'd be able to do that in the Portal but not able to do it via the script, I thought the permissions would be the same.

We have the existing script that sets up the roles for a user:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/scripts/roles.sh
You would need to enable managed identity for your app service app in the Identity tab, copy that principal id, and run it in the script.

Hi @pamelafox
I tried to run the code with existing resources created by the owner. And i have RBAC role in the Resource group level. But i couldn't get access to enable managed identity for my app service in the Identity tab and though couldn't copy that principal id. Then how can i run the code with only RBAC role to the resource group. Please help me.

First, make sure that your app service app has Managed identity enabled:

Then click the "Azure role assignments" button on that screen.

Select "+ Add role assignment" from that screen.

For scope, select "Resource group".
For role, select "Cognitive Services OpenAI user".

Repeat for roles "Storage Blob Data Reader" and "Search Index Data Reader".

When done, your role assignments should look like:

Please let us know if that worked for you. I'm curious why you'd be able to do that in the Portal but not able to do it via the script, I thought the permissions would be the same.

It is working but it's giving responses outside of the resources provided.

@ayus786 Please see this guide for tips on debugging low quality answers:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/customization.md#improving-answer-quality
I haven't experienced it giving responses outside of the resources provided, but that can vary across domain, so you may need to do additional prompt engineering or try GPT-4.


[Bug] Be down

Search before asking

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

Version

What's Wrong?

What You Expected?
fixed this issue
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

You can use the be.out query id to find the corresponding sql statement in the audit log. Or you can try upgrading to 1.2.6

You can use the be.out query id to find the corresponding sql statement in the audit log. Or you can try upgrading to 1.2.6

I found that a wrong sql caused the BE to crash, @vinlee19
SELECT
	LOG_HOUR,
	BITMAP_COUNT(USER_ID)
FROM
(
	SELECT
		LOG_HOUR,
		BITMAP_UNION (DISTINCT(USER_ID)) USER_ID
	FROM
		EVENTS
	WHERE
		LOG_DATE = '2023-07-17'
	GROUP BY
		LOG_HOUR
) a

@xavierzhao We have fixed a lot of issues in 1.2.6. If this problem still exists after the upgrade, please add my wechat:Aurora_0_618


[FIX] Add qap.viz to modules in setup.py

This PR fixes #26.
Using the pip version the following command fails: python -c "from qap.viz.interfaces import PlotMosaic"
I have tested the pip installation from this branch:
pip install git+https://github.com/oesteban/quality-assessment-protocol.git@fix/issue-26

And the problem is apparently fixed.

Thank you!!


How do you build dir='./src'？

Service Settings
 next({      dev,     conf,     dir: './src' })
How to start build？This is not to
next build config/next.config

next build <same as dir>
So in your case
next build src

the next.config in config dir
I try to
"build": "next build src --config config/next.config"
It doesn't seem right


Sidebar how to create submenu under menu?

hi~
How should I use a second or third-level menu when I need to wear it in the process of using it?

https://sandbox.org.ua/olton/code/KN1bD4bkzD

so quickly~~！？！！？！！
In any case      can be improved   很满足和快乐!

谢谢

Could you adapt as well the shifting content if the sidebar is on the right side?
Suggestion (tested):


Add ladybird.rb formula

Any PRs to build this welcome!

Homebrew's Cask DSL currently lacks the idioms for handling these operations cleanly and user-friendly. Closing this issue until a cleaner solution is available.

@0risc

[x] Fixed most brew style issues
[x] Solved README.md conflicts

We'd appreciate any outside help to build Ladybird 🤍

For reference, the Nix package contains some build steps.

There's been some progress and got rid of some of the errors when building it
For reference, it currently errors at:
CMake Error at /opt/homebrew/Cellar/cmake/3.30.4/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
  The following required packages were not found:

   - skia=129
   - skia

Ladybird uses Skia for rendering:

Skia now powers SVG and 2D canvas
Last month, we adopted the third-party library Skia as our default rasterizer for high-performance 2D graphics. This month, we’ve expanded Skia’s role beyond HTML document rendering. It now powers the  element and SVG content, and also improves the speed and accuracy of CSS border rendering.
Src: https://ladybird.org/newsletter/2024-08-31/#skia-now-powers-svg-and-2d-canvas

Currently google/skia is not packaged by Homebrew, so we'll need to package it to build Ladybird.

Decided to take a different approach and build it with the steps from BuildInstructionsLadybird.md, namely:
brew install autoconf autoconf-archive automake ccache cmake ffmpeg nasm ninja pkg-config llvm

CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++ ./Meta/ladybird.sh build

Ladybird seems to be building, but we need to move the resulting .app to /Applications.

I installed the current ladybird.rb, and afterwards I get this:
$ ladybird
dyld[39746]: Library not loaded: @rpath/liblagom-webview.0.dylib
  Referenced from: <7D37594E-D72D-3B29-81F9-636CCB53232B> /opt/homebrew/Cellar/ladybird/0.1.0-b9e7c6a/Ladybird.app/Contents/MacOS/Ladybird
  Reason: tried: '/opt/homebrew/Cellar/ladybird/0.1.0-b9e7c6a/Ladybird.app/Contents/lib/liblagom-webview.0.dylib' (no such file), '/opt/homebrew/Cellar/ladybird/0.1.0-b9e7c6a/Ladybird.app/Contents/lib/liblagom-webview.0.dylib' (no such file)
fish: Job 1, 'ladybird' terminated by signal SIGABRT (Abort)

The directory /opt/homebrew/Cellar/ladybird/0.1.0-b9e7c6a/Ladybird.app/Contents/lib/ does, in fact, not exist. The buildscript did finish without any reported issues however.

Hey @tostr7191 thx for trying this out!
Wasn't advancing with it personally, so I assigned it to @0risc.
We'd love any help to push this forward!

@Neved4 thanks for you words, I am not really knowledgeable about this subject unfortunately. But I did try to run the steps in the formula by hand, and - lo and behold - I get a functioning .app file in the build directory.
Upon further inspection, the problem seems to come from the lib in the app bundle being symlinked, but getting cleaned up by brew, which breaks the link.
I have changed the formula a bit, an now it builds a functioning .app bundle on my system, I would be grateful if someone could verify it. The main change is ln29-32, which replaces the lib symlink with the actual directory.
Formula follows, if it works I can create a proper pull request.
class Ladybird < Formula
  desc "Truly independent web browser (pre-alpha developer version)"
  homepage "https://ladybird.org/"
  url "https://github.com/LadybirdBrowser/ladybird/archive/b9e7c6a2f66d83c6af73bcc102c05d3056382c02.tar.gz"
  version "0.1.0-b9e7c6a"
  sha256 "855a293849805d89c49cc29fd87a6b3e002f68d633f7ce52065e3260046be54b"
  license "BSD-2-Clause"
  head "https://github.com/LadybirdBrowser/ladybird.git", branch: "master"

  depends_on "autoconf" => :build
  depends_on "autoconf-archive" => :build
  depends_on "automake" => :build
  depends_on "ccache" => :build
  depends_on "cmake" => :build
  depends_on "ffmpeg" => :build
  depends_on "llvm" => :build
  depends_on "nasm" => :build
  depends_on "ninja" => :build
  depends_on "pkg-config" => :build
  depends_on :macos

  def install
    ENV["CC"] = "#{Formula["llvm"].opt_bin}/clang"
    ENV["CXX"] = "#{Formula["llvm"].opt_bin}/clang++"

    system "git", "init"
    system "./Meta/ladybird.sh", "install"

    cd "Build/ladybird/bin/Ladybird.app/Contents" do
      system "unlink", "./lib"
      system "cp", "-r", "../../../lib", "."
    end

    app_name = "Ladybird.app"
    app_path = "./Build/ladybird/bin/#{app_name}"

    prefix.install app_path
    bin.install_symlink "#{prefix}/#{app_name}/Contents/MacOS/Ladybird" => "ladybird"
    #bin.install_symlink "#{prefix}/#{app_name}" => "/Applications/"
  end

  def caveats
    <<~EOS
      Ladybird is in pre-alpha stage and is intended for developers only.
    EOS
  end
end

@tostr7191 Woa thx a lot 🚀 LGTM! Added you as a Co-Author in the commit!
Also changed those system calls to more idiomatic ones to placate brew style.

@tostr7191 Apparently some runners are failing, lmk if u can take a look: ?pr=40#step:7:55

Using vcpkg inside a brew formula is strange. I would expect that upstream would only accept a formula if you use other homebrew packages to obtain the dependencies.

Hey @ADKaster thx I think you're right!
Do you have any improvements we could add?
Cheers


docs: add custom CSS variables guide

Description

Linked Issues
Additional context

The more recommended way to customize your theme is https://github.com/hyoban/unocss-preset-shadcn/blob/55f63bfb8b9eeec34e117a3ec503f849f965d88e/test/generate.test.ts#L76-L141
We don't need to introduce how to write CSS files, we just need to introduce how to turn off CSS variable generation.


Add Clear methods to lru cache

I signed it!

Is there anything else I can do?

Squash your two commits down into one.

Done.


Cannot read properties of undefined (reading 'quips')

TypeError: Cannot read properties of undefined (reading 'quips')
    at q8 (https://minset-rocnub.tlon.network/apps/groups/assets/index.b18819a0.js:48:221856)
    at Kl (https://minset-rocnub.tlon.network/apps/groups/assets/react-beautiful-dnd.fde4d763.js:19:52884)
    at mf (https://minset-rocnub.tlon.network/apps/groups/assets/react-beautiful-dnd.fde4d763.js:23:8723)
    at pf (https://minset-rocnub.tlon.network/apps/groups/assets/react-beautiful-dnd.fde4d763.js:23:947)
    at yg (https://minset-rocnub.tlon.network/apps/groups/assets/react-beautiful-dnd.fde4d763.js:23:875)
    at rn (https://minset-rocnub.tlon.network/apps/groups/assets/react-beautiful-dnd.fde4d763.js:23:730)
    at sl (https://minset-rocnub.tlon.network/apps/groups/assets/react-beautiful-dnd.fde4d763.js:21:10884)
    at https://minset-rocnub.tlon.network/apps/groups/assets/react-beautiful-dnd.fde4d763.js:19:38716
    at e.unstable_runWithPriority (https://minset-rocnub.tlon.network/apps/groups/assets/react-beautiful-dnd.fde4d763.js:8:3811)
    at _r (https://minset-rocnub.tlon.network/apps/groups/assets/react-beautiful-dnd.fde4d763.js:19:38494)

Fixed by #2630


support setup composable roles using different VMsets

and https://github.com/openstack-k8s-operators/osp-director-dev-tools/pull/72


fix: provide fileTypes from the grammar

This allows using the grammar with other tools supporting tmLanguage format. In particular, the grammar can be converted to .sublime-syntax format and used with tools such as bat. See TextMate docs.

That file is actually generated.

Created uiua-lang/uiua#623.

Fixed in main Uiua repo.


Add lives system config

In gameplay.json, add a new lives section. Here are some example configs:
"lives": {
    "type": "none",
    "rollbackScoreAfterFailure": true
}

No lives system at all. The player has infinite attempts for any level.
"lives": {
    "type": "coins",
    "coinsForLife": 30,
    "rollbackScoreAfterFailure": false
}

Classic Luxor lives system.
"lives": {
    "type": "score",
    "scoreForLife": 50000,
    "countUnmultipliedScore": true,
    "rollbackScoreAfterFailure": false
}

Zuma-like lives system. The global score multiplier which would base on difficulty does not matter, even if not turned off by the score event.
Move this to difficulty configs once they're introduced.

Implemented in https://github.com/jakubg1/OpenSMCE/commit/3f4b8dc3b1908ff306fe770090c5846e8a513a7c


help with server p.brain

Hello, This is the text of my json processing module.The problem is: when I specify the port, it stops working and the assistant says that he did not understand me.
How to fix it???
my knowledge of the code is not strong, you maybe need to connect another one library.
but I do not understand how to connect them, I work through docker.
help me please
constrequest = require('co-request')
 const util = require('util')
 const intent = () => ({
     keywords: ['number qqq', 'number action qqq'],
     module: 'abonent_oblgas'
 })
 function * abonent_oblgas_resp(query) {
 const request = require('request');
     let country_res = request("http://<IP_ADDRESS>:8444/getabonentbynumberofcontract?number=10&id_podr=1")
     country_res = JSON.parse(country_res.body)
     const loc_string = country_res.city + ',' + country_res.country
    return loc_string.toLowerCase()
    return{text: 'Нет связи с сервером облгаз.'+fuull}
 }
 const examples = () => (
     ['number 587', 'number action 144']
 )
 module.exports = {
    get: abonent_oblgas_resp,
   intent,
   examples
 }

This is better suited to the server, I'll answer you there


Support view of non-json resources

It would be really nice if the browser could support non-json resources, for example images, pdf or plain html. Perhaps it is possible to detect the media type of a resource and display it directly in a iframe when it is not json.

A work-around would be to add the following lines (only for HTML with JSON, like Error{"_links":{"self":{"href":"api"}}} will popup a window with Error and render remaining JSON):
js/hal/views/resource.js:13
var response = e.jqxhr.responseText;
var offset = response.length, i = -1;
while (response.slice(0, offset).indexOf('{') != -1)
	offset = response.slice(0, offset).lastIndexOf('{');
e.jqxhr.responseText = response.slice(offset);
var rawResponse = document.createElement('div');
var txt = document.createElement("textarea");
txt.innerHTML = response.slice(0, offset);
rawResponse.innerHTML = '<' + 'h2>Raw HTML<' + '/h2>' + txt.value;
if (offset > 0) {
	winpops=window.open('',"test","fullscreen=no,toolbar=no,status=no,menubar=no,"
		+ "scrollbars=yes,resizable=yes,directories=no,location=no,"
		+ "width=800,height=480,left=100,top=100,screenX=100,screenY=100");
	winpops.document.write(rawResponse.innerHTML);
}

The above code will popup a window whenever you have raw HTML before the actual JSON output and pass rest of the (JSON) output. You can modify it to process the output according to the mime or other parameters and open them in new (popup) window.


Web component: Card Pictogram - On hover, tags and content are not visible for user.

Detailed description
Issue:
Pictogram placement: Top
On hover, tags and content are not visible for user.
Note:
Pictogram placement: Bottom
On hover, tags and content are visible.
Additional information

@Praveen-sr After talking to the designers, this feature works as intended -- hover functionality should only work on bottom pictogram placement.
cc: @RobertaJHahn

Yep that's correct. I'm adding a mention of this behavior (top aligned pico doesn't have this feature) to the website right now via https://app.zenhub.com/workspaces/carbon-for-ibmcom-5d449f3642eb1962336cbe52/issues/carbon-design-system/carbon-for-ibm-dotcom-website/766. Sorry for the confusion.


mat-expansion-panel re-renders (n + n^2) times when used with *ngFor (OnPush)

What is the expected behavior?
mat-expansion-panel inside *ngFor loop renders as many times as there are iterations in the loop.
What is the current behavior?
mat-expansion-panel re-renders (n + n^2) times where n is the number of iterations in the loop.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-nxejpq?file=app%2Fexpansion-overview-example.ts
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
7.2.1, Chrome 71.
Is there anything else we should know?
This bug makes expansion panel with a large (~100) amount of items (or subitems) practically unusable in the default (with animations) mode.

Closing as duplicate of #14952


Add metrics "Build Count" and "Build Success Rate"

Description
Task: Add metrics "Build Count" and "Build Success Rate" (Phase 2 Metric)
These metrics help users quickly locate problems with your build while visualizing how your project is building.
Metric Definitions:

Build Count: The number of builds created
Build Success Rate: The percentage of successful builds

Describe the solution you'd like

[x] Collect Jenkins data
[x] Jenkins-related configuration

Why Jenkins?

largest market share
our EE team is using it so we got data

test Lark webhook

test Lark webhook2

test Lark webhook2

test Lark webhook3

test Lark webhook4

This is implemented in Dev lake phase 2


Disable atlas.client.checkModelInStart by default

We have changed default client as Kafka, but the default value of atlas.client.checkModelInStart is true which lets SAC to create REST API and try to connect with Atlas via REST API. This sounds like a contradiction.
As we provide a way to register models outside of SAC execution, we can safely disable it by default. Moreover, there's open patch for introducing Spark models in Apache Atlas (now in reviewing) so we may no longer need to have this feature after Atlas merge the patch in and have official release.

Closed via #238


Suggestion to add the offline bundle step

Suggestion to add the offline bundle step since user needs to run against the cluster

Proposed changes

Unreleased project version (optional)

Related issues (optional)

In the past we had something like this in the docs, we eventually switched to asking users to ssh into a ucp node, but in the end we removed all that because you can run the DTR installer from any node, even outside the UCP cluster.
The only requirement is that the node where you're running the command can reach the UCP nodes and trusts the TLS certificate it presents.
Due to that, I'm closing this PR, but feel free to open it again if you see that a lot of users are getting confused by this.


Port Scripts to Babashka

babashka 0.3.2 has added rewrite-clj.
Please replace lein exec w/ Babashka-only implementation.

How to run tests w/ babashka ? I imagine run a "test script" that depends on the normal script.
Update README and docs w/ instructions pointing to installation instructions for Babashka, and how to run the script and tests w/ Babashka.

Here's a sample bb script:
https://gist.github.com/laurio/01530ea7700752885df21e92bb926f75


donald trump image and quote

Added a Donald Trump image and quote to the Quotes.php page. Added the images itself to public/pix.

This is missing a change log entry.


WrapAPI reporting "Object Moved" after login endpoint

Starting sometime on 8/9/2016 the login WrapAPI now gives the below error. I checked and there are no nag screens. Anyone else running into this in the last 24 hours?
{   "success": false,   "outputScenario": null,   "data": null,   "messages": [     "None of the output scenarios matched. See the raw data received in rawData"   ],   "errTypes": [     "noMatchedOutputScenario"   ],   "rawData": {     "responses": [       {         "statusCode": 302,         "body": "<title>Object moved</title>\r\n
Object moved to here.
\r\n\r\n",         "headers": {           "content-type": "text/html; charset=utf-8",           "location": "/pda/404.aspx?aspxerrorpath=/pda/{{sessionUrl}}/Default.aspx",           "server": "Microsoft-IIS/7.5",           "x-powered-by": "ASP.NET",           "p3p": "policyref=\"/w3c/p3p.xml\",CP=\"OUR SAMa ADM UNI BUS ALL CUR DSP TAI COR IND STA\"",           "access-control-allow-origin": "*",           "date": "Wed, 10 Aug 2016 19:06:23 GMT",           "connection": "close",           "content-length": "199"         },         "request": {           "uri": {             "protocol": "https:",             "slashes": true,             "auth": null,             "host": "www.alarm.com",             "port": 443,             "hostname": "www.alarm.com",             "hash": null,             "search": null,             "query": null,             "pathname": "/pda/%7B%7BsessionUrl%7D%7D/Default.aspx",             "path": "/pda/%7B%7BsessionUrl%7D%7D/Default.aspx",             "href": "https://www.alarm.com/pda/%7B%7BsessionUrl%7D%7D/Default.aspx"           },           "method": "post",           "headers": {             "origin": "https://www.alarm.com",             "accept-language": "en-US,en;q=0.8",             "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36",             "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",             "referer": "https://www.alarm.com/pda/(S(wuxx1xq5vbiyl145vcz3fs55))/Default.aspx",             "Content-Type": "application/x-www-form-urlencoded",             "content-length": 4208           }         }       },       {         "statusCode": 404,         "body": "\r\n    \r\n        <title>The resource cannot be found.</title>\r\n        \r\n    \r\n\r\n    \r\n\r\n
Server Error in '/pda' Application.

\r\n\r\n
 The resource cannot be found.
\r\n\r\n            \r\n\r\n             Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.\r\n

\r\n\r\n             Requested URL: /pda/404.aspx

\r\n\r\n    \r\n\r\n",         "headers": {           "cache-control": "private",           "content-type": "text/html; charset=utf-8",           "server": "Microsoft-IIS/7.5",           "x-aspnet-version": "2.0.50727",           "x-powered-by": "ASP.NET",           "p3p": "policyref=\"/w3c/p3p.xml\",CP=\"OUR SAMa ADM UNI BUS ALL CUR DSP TAI COR IND STA\"",           "access-control-allow-origin": "*",           "date": "Wed, 10 Aug 2016 19:06:23 GMT",           "connection": "close",           "content-length": "1510"         },         "request": {           "uri": {             "protocol": "https:",             "slashes": true,             "auth": null,             "host": "www.alarm.com",             "port": 443,             "hostname": "www.alarm.com",             "hash": null,             "search": "?aspxerrorpath=/pda/%7B%7BsessionUrl%7D%7D/Default.aspx",             "query": "aspxerrorpath=/pda/%7B%7BsessionUrl%7D%7D/Default.aspx",             "pathname": "/pda/404.aspx",             "path": "/pda/404.aspx?aspxerrorpath=/pda/%7B%7BsessionUrl%7D%7D/Default.aspx",             "href": "https://www.alarm.com/pda/404.aspx?aspxerrorpath=/pda/%7B%7BsessionUrl%7D%7D/Default.aspx"           },           "method": "GET",           "headers": {             "origin": "https://www.alarm.com",             "accept-language": "en-US,en;q=0.8",             "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36",             "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",             "referer": "https://www.alarm.com/pda/(S(wuxx1xq5vbiyl145vcz3fs55))/Default.aspx",             "Content-Type": "application/x-www-form-urlencoded"           }         }       }     ],     "stateToken": REDACTED"   } }

I tested this myself  and it appears that the alarm.com integration is broken for myself. If I activate my "I'm leaving" scene, I get a response that the scene can't be ran.  Plus I can tell it's not logging in to alarm.com as I have a dedicated account. I'm quite new with getting this set up, but I am not sure how to duplicate scombest's scenario. All I can tell is that it's "not working" and it's been working at least back to this Monday.
I noticed that the bookmarked API for login was changed 10 hours ago. Maybe a change occurred?

There was a security issue discovered this morning. I have been in contact with the folks at WrapAPI. I'm not sure if this is a result of their security fix or not, but I've reached out to them and I'll update as soon as I hear back. For now, it does seem to be broken. It's not substituting variable inputs in the URLs its trying to load. The calls are supposed to load www.alarm.com/pda/{{sessionUrl}}/Default.aspx where a value is substituted for {{sessionUrl}}. Instead, it's literally passing in {{sessionUrl}}.

Just heard back and it appears to be working again. @scombest @rmervine can you confirm or deny on your end?

@bryanbartow confirmed it is working again! Thanks for the quick turnaround!