feat(bitrise): add bitrise plugin

Plugin to show bitrise.io builds and download
build artifacts.
Co-authored-by: Adrian Barwicki<EMAIL_ADDRESS>Co-authored-by: Kai Szybiak<EMAIL_ADDRESS>Co-authored-by: Dominik Schwank<EMAIL_ADDRESS>closes #4180
Hey, I just made a Pull Request!
The plugin shows bitrise.io builds for a component and offers the possibility to download the generated artefacts.

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)

overall query: i wonder if the plugin needs to be called plugin-bitrise-ci or could more easily just be plugin-bitrise. would there be a potential in future to have more, like plugin-bitrise-otherfunction ? i dont know enough about the tool, but just think we might err on the side of simplicity if we can.

Don't think there will be other "features" published as a new plugin so I guess removing the "-ci" could make sense.

great work - keep going as I know it's in draft!!!! 👏 👏 👏
thanks!

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

You can also add the plugin to the plugin marketplace. See https://backstage.io/docs/plugins/add-to-marketplace and for example the entry of FOSSA.

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

You can also add the plugin to the plugin marketplace. See https://backstage.io/docs/plugins/add-to-marketplace and for example the entry of FOSSA.

@dhenneke thanks - added!

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

👏 👏
One thing I realized doing another review is the README says how to configure, but not install, the plugin? In general, most plugin READMEs have a brief point about, do a yarn add, then add to plugins.ts, then here we have a full page and you can add a route for that or here's a widget component you can put on an entity page or ad a tab here, etc. Users wanting to install the plugin may need that to be able to add it, but that info can potentially be copied/pasted out of many of the other READMEs if it helps!!

Thanks for the review! I have now extended the README.md to also include installation steps for the plugin.

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Noting also that this one needs a DCO as part of the commits.

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

Looking good overall 👍
Couple of pieces to clear up, and also need to remove the duplicate copyright headers

@Rugvip I removed the duplicated header ( https://github.com/backstage/backstage/pull/4746/commits/5a8ecdf241e08e85fc8f581203a9c6c8b64a7cdf ) but now the pipeline fails compelling about the missing copyright - although it is there. Any way to solve that?

@petergrau There's probably just something small that differs. Try to copy-paste another header exactly verbatim. And make sure your environment isn't doing something crazy with line endings or tabs or so :)

@petergrau There's probably just something small that differs. Try to copy-paste another header exactly verbatim. And make sure your environment isn't doing something crazy with line endings or tabs or so :)

will try ;)

@petergrau There's probably just something small that differs. Try to copy-paste another header exactly verbatim. And make sure your environment isn't doing something crazy with line endings or tabs or so :)

@freben I tested it but I think the problem is that the eslint package assumes that the copyright is with spotify @spotify/eslint-config-oss
/*
 * Copyright <%= YEAR %> Spotify AB
 *

so as soon I as enter SDA SE Open Industry Solutions the lint step will fail.

@petergrau Yes, that is expected. I feel that this may be turning into a legal discussion that I am not competent to be authoritative in, but my gut feeling is that at this point, you have no option but to relinquish copyright to the project.
@joaomilho @leemills83

@petergrau Yes, that is expected. I feel that this may be turning into a legal discussion that I am not competent to be authoritative in, but my gut feeling is that at this point, you have no option but to relinquish copyright to the project.
@joaomilho @leemills83

I updated the copyright now without duplicating the license information following e.g. the pattern used here: https://github.com/bitcoin/bitcoin/blob/master/src/support/cleanse.h#L2

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

@petergrau May I ask why you are going through the process of updating copyright headers? Is this a requirement that you have on yourself internally? Putting code into the central repository, as I mentioned before, would likely entail relinquishing copyright. If you explain what your situation is, then maybe we can help you better.

Tugboat has finished building the preview for this pull request!
Link:

https://pr4746-lwwlwdzzfzmt9ebyhvroxkavdrinytew.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/603d33aefcb22d375763ce8f

@petergrau May I ask why you are going through the process of updating copyright headers? Is this a requirement that you have on yourself internally? Putting code into the central repository, as I mentioned before, would likely entail relinquishing copyright. If you explain what your situation is, then maybe we can help you better.

@freben I am currently investigating if its a hard requirement. But in general I think its nice to see who (person/organisation) contributed e.g. a plugin / larger piece of code. Maybe the two lines of copyright are a good solution for that...

@Rugvip @freben besides the copyright discussion are there any other issues you would like to be resolved before the PR is ready to be merged?

deferring to @benjdlambert for the rest


ios support?

Do you think about ios support?

Is there any process on this? Thanks

As webraptor said, iOS does not work that way, so iOS support is not planed. Thanks !


Fix table rendering issue inside admonition blocks

This PR addresses the issue where tables inside alert callouts (note, caution, warning) were not rendering correctly due to missing styles.
The proposed fix applies the same styling classes used for tables across the site to tables within alert callouts (notes, cautions, warnings), ensuring that they are consistently styled and properly displayed.
Fixes https://github.com/kubernetes/website/issues/37500
Preview Fixed Table Rendering | Current Page with rendering issue
/area web-development

/approve


exact object types

There is an example at https://flow.org/en/docs/types/objects/#exact-object-types-a-classtoc-idtoc-exact-object-types-hreftoc-exact-object-typesa that says this should give an error, but it doesn't for me.
// @flow
var foo: {| foo: string |} = { foo: "Hello", bar: "World!" }; // Error!

It does give an error to me, what version of flow are you using?

Nevermind. It's an issue with using Flow through the Vim plugin ALE.
When I run flow from the command-line, it does flag the error.


Adding logging instructions to README.rdoc

Fixed a typo in the installation instructions and added some logging instructions.

Thanks for the add!


"ScrollTo" should be renamed to "ScrollBy"

ScrollTo(index) suggests that the swiper will scroll to the provided index, when instead it adds index to the current index.

Seems as though this has been changed.

Closing as this has been changed.


Turn off global edit mode, save the tiles list, and hide the first page in the swipeview when all tiles are unpinned.

Not sure how to check to see if none of them are visible. This may require the proper deletion of tiles. I'll also have to hide the All Apps button because it doesn't stay on the tiles page if all of them are unpinned. Pinning a tile will bring back the tiles page and the All Apps button. I can check whether to show the tiles page and stuff when it starts by seeing if there are any items in the config file.

Actually, I think I can keep track of the number of visible tiles by adding and subtracting from a variable when loading the tiles list/pinning and unpinning, respectively.

This is now implemented.


Debug info, max of 360 degrees, simplified controls, GUI

Added a few entries in the debug menu, they'll only be visible when the orthographic camera is.
Both rotation values now have a max of 360 degrees since they are visible in the debug screen.
Removed some controls, their functionality is still available through the presets toggle.

Thanks! Wow, that's a lot of changes. I'll review that this weekend when I'll have more time.

I just saw there are already changes in here that aren’t finished yet (I’m talking about this whole gui thingy, I just started working on this). I’ll take them out again tomorrow and will create another pull request when I’m done.
I would understand if you don’t like the new controls since they aren’t like in Blender anymore, but I think they’re more user friendly. But they aren’t very crucial. Main thing I’d really like you to add is the debug screen entry since it helps so much when working with the orthographic view.

Ok, that's it for now. I've removed the code that shouldn't have been in here already. I've also made some further improvements to my additions and let two friends from the Minecraft Wiki help out with the translations.
Now I'm just curious for what you will have to say when you get a chance to take a closer look.

I was able to finish the GUI I mentioned earlier by now. It's included in this pull request. I also improved my previous additions and changed some other minor things. I hope you like it.

Hm... there's an issue with the Gradle script, I think I have to update something first before I can build this. I think it'll take a bit longer, sorry.

I've now spent some more time working on the GUI adding reset buttons, a focus mode and tooltips. I've also changed a few minor things with the orthographic camera itself that have annoyed me for some time, I hope you like those changes. But that's really it now, I'm kinda sorry for giving you more and more that you'll have to go through. ^^


Update azure-stack-update-1807.md (Typos)

Update small typos.
Thank You!

@CharbelNemnom : Thanks for your contribution! The author, @brenduns, has been notified to review your proposed change.

#sign-off
@CharbelNemnom   Thanks for catching those and submitting this PR!  Much appreciated.
Fresh eyes are great for sweeping out these silly mistakes.


Error when trying to htmlify scratch project with lists

My project is this, and whenever I try to htmlify it, I get this message:
Unexpected error:
TypeError: Cannot read properties of null (reading 'click')
at https://scratch-converter.vercel.app/htmlifier-offline.html:1183:55
Has anyone else gotten this issue? Can someone help?

Hmm, can you try using this website https://sheeptester.github.io/htmlifier/ and see if it works there? Note that currently, the project ID option is broken, so you will have to download your project as an .sb3 and upload it to the HTMLifier as a file


Detects sd card as system drive on 2-in-1 Convertable

1.0.0-beta. 16
Windows 10 64-bit

I was chatting with @WasabiFan on resin-io/etcher
he sent me this skript
https://github.com/resin-io/etcher/issues/new
output was:
PS C:\Users\agmai\Desktop\temp> .\Win32.bat
device: "\\\\.\\PHYSICALDRIVE0"
description: "SAMSUNG MZNLF128HCHP-000H1"
size:<PHONE_NUMBER>80
raw: "\\\\.\\PHYSICALDRIVE0"
system: True
protected: False
mountpoints:
  - path: "C:"

device: "\\\\.\\PHYSICALDRIVE1"
description: "Generic SA02G SD Card"
size:<PHONE_NUMBER>
raw: "\\\\.\\PHYSICALDRIVE1"
system: True
protected: False
mountpoints:
  - path: "D:"

PS C:\Users\agmai\Desktop\temp>

D: is a 2GB SD card with no system files on them an was the drive i wanted to flash ev3dev onto
Thank you in advance.
ps.: i resolved my issue when i activated unsafe mode in the settings

Can you try running the following VBScript code, and see what it prints?
strComputer = "."

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colDevices = objWMIService.ExecQuery _
    ("Select * From Win32_USBControllerDevice")

For Each objDevice in colDevices
    strDeviceName = objDevice.Dependent
    strQuotes = Chr(34)
    strDeviceName = Replace(strDeviceName, strQuotes, "")
    arrDeviceNames = Split(strDeviceName, "=")
    strDeviceName = arrDeviceNames(1)
    Set colUSBDevices = objWMIService.ExecQuery _
        ("Select * From Win32_PnPEntity Where DeviceID = '" & strDeviceName & "'")
    For Each objUSBDevice in colUSBDevices
        Wscript.Echo objUSBDevice.Description
    Next
Next

You can save to a .vbs file and running with cscript.exe example.vbs.

Output:
USB-Root-Hub (xHCI)
USB-Verbundgerät
USB-Videogerät
Intel(R) Wireless Bluetooth(R)
Generischer USB-Hub
USB-Eingabegerät
Synaptics HID TouchPad
Synaptics HID Device
USB-Eingabegerät
HID-konformes, vom Hersteller definiertes Gerät
HID-Tastatur
HID-konformes Benutzersteuergerät
HID-kompatible Drahtlos-Empfängersteuerelemente

So the output is localized, which doesn't help much :/
Can you try the following script?
On Error Resume Next
arrComputers = Array(".")
For Each strComputer In arrComputers
    WScript.Echo
    WScript.Echo "===================================="
    WScript.Echo "Computer: "& strComputer
    WScript.Echo "===================================="

    Set objWMIService = GetObject("winmgmts:\\" _
        & strComputer& "\root\CIMV2")
    Set colItems = objWMIService.ExecQuery( _
        "SELECT * FROM Win32_PnPEntity",,48)
    For Each objItem in colItems
        Wscript.Echo "-----------------------------------"
        Wscript.Echo "Win32_PnPEntity instance"
        Wscript.Echo "-----------------------------------"
        Wscript.Echo "Name: "& objItem.Name
        Wscript.Echo "Status: "& objItem.Status
        Wscript.Echo "Caption: "& objItem.Caption
        Wscript.Echo "ID: "& objItem.DeviceID
        Wscript.Echo "PNP Class: "& objItem.PNPClass
        Wscript.Echo "PNP ID: "& objItem.PNPDeviceID
    Next
Next

Following on from #828 , should this be closed too?

@lurch I propose to keep this opened for a while. This issue is about internal SD-Card readers, and I'm pretty sure we have pretty good chances of "fixing" this edge case.

I'm beginning to suspect that it might depend on how the SD-Card reader is internally connected (USB / PCIe / something-else), and/or what parameters the SD card reader reports to the OS, and/or which particular driver Windows uses for it?
But yeah, it's worth digging into, if we can :+1:

Hi, @BleedingEdgeTech did you ever manage to run the script? We're kind of stuck without your help.

@jhermsmeier I'm closing this, given the lack of feedback from the OP and (more importantly) the significant changes to drivelist since this issue was opened.


Loading a livemd works, but homepage 500's

Environment

Elixir & Erlang/OTP versions (elixir --version): Erlang/OTP 25 [erts-13.0.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns] [win32]
Operating system: Windows 10 – 21H2
How have you started Livebook (mix phx.server, livebook CLI, Docker, etc): Windows Desktop app
Livebook version (use git rev-parse HEAD if running with mix): LivebookInstall-0.6.3-windows-x86_64.exe and the Nightly build from when this issue was submitted.
Browsers that reproduce this bug (the more the merrier): Firefox Developer Edition 106.0b7 (64-bit), Chrome Version 106.0.5249.91 (Official Build) (64-bit)
Include what is logged in the browser console: No messages 😔
Include what is logged to the server console: I'm not sure how to view this 😢

Current behavior
Sorry if this isn't the right place for general support, but I couldn't find a more specific 'livebook community' I can ask 😅
I've just installed the Livebook app on Windows 10 and am having trouble getting it to work properly.

If I start Livebook from LivebookLauncher.exe and click Open Browser, I get sent to the page http://localhost:56969/?token=w4dszzzvxhkdq3xbwmq4q34y6lfxdtou which fails with no error messages in the console:

and the same on Chrome:

However, I tried double-clicking a basic example .livemd file. When I double-click the file, Livebook opens that session up successfully with no trouble:

And I can use this loaded book without any issue.
The /dashboard route also loads and works without any trouble. But hasn't shown any logs on the Request Logger page when I try to load the homepage with that cookie active.

After loading a livebook successfully, if I try to click the homepage button up the top I get a 500 error again with no messages in the console. I've taken a look around, but there's no logs in \AppData\Local\livebook\Logs and I can't find any other place to see log info.
Expected behavior
Hopefully the pretty homepage of Livebook would show up!

I'm a Phoenix and Elixir newbie, sorry if there's anything basic that I've missed 😅

@wojtekmach do you know what is the log location on Windows? I guess we can probably retrieve it from the release root?

Should be addressed on the soon to be launched Livebook Desktop v2.


Implement a binary reader for function references instructions.

This patch extends the binary reader to enable reading of

call_ref
return_call_ref
ref.as_non_null
br_on_null $l
br_on_non_null $l

The static semantics are yet to be implemented.
I have updated the patch to also include mutators and binary encoders for the above instructions.
(I have removed the latest commits from upstream/main to keep the PR clean.)

Cool.   Do you know what the testing situation is yet?   We should figure out which parts of the proposal are tested where / need to be enabled.   Do you know if the wast crate encodes these instructions correctly yet?   There are (at least?) two binary format printers.

Good question regarding the tests. I am not sure. I will look into it; I reckon the good people on the Bytecode Alliance Zulip will be able to give us a definite answer.
AFAIK the wast crate encodes the above instructions correctly.

I've extended the binary encoder in wasm-encode and the textual printer in wasmprinter; I am not sure what other binary encoder you are referring to.


[v1.15] proxy: skip rule removal if address family is not supported

Fixes: #31944

/test-backport-1.15


en: update join config

What is changed, added or deleted? (Required)
join is used in etcdutil.CreateClient where needs endpoint, which should be URLs
Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v3.0 changes)
[x] v2.0 (TiDB DM 2.0 versions)
[ ] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from: https://github.com/pingcap/docs-dm/pull/303
Other reference link(s):

Do your changes match any of the following descriptions?

[ ] Delete files
[ ] Change aliases
[ ] Have version specific changes
[ ] Might cause conflicts after cherry-picked

LGTM

/merge


Add wasm js support for geojson

I'm using this library in a Compose Multiplatform app, and am experimenting with browser support. Here I add a wasmJs target to the geojson module.

Why not do the same for the turf module? It's common source set anyway

Only because I haven't used turf and therefore wouldn't test it myself


Crash with only g3log info on stack dump

Describe the bug
Sometimes in a program I made I get a SIGSEGV crash that only shows information on g3log on its stack dump as follows.
***** FATAL SIGNAL RECEIVED *******
Received fatal signal: SIGSEGV(11)	PID: 5183

***** SIGNAL SIGSEGV(11)

*******	STACKDUMP *******
	stack dump [1]  1   libg3logger.1.3.7-180.dylib         0x000000010b18b110 _ZN12_GLOBAL__N_113signalHandlerEiP9__siginfoPv + 96
	stack dump [2]  2   libsystem_platform.dylib            0x00007fff6a6dc5fd _sigtramp + 29
	stack dump [3]  3   ???                                 0x00007fad7dc30f30 0x0 +<PHONE_NUMBER>05168

Exiting after fatal event  (FATAL_SIGNAL). Fatal type:  SIGSEGV
Log content flushed sucessfully to sink

g3log g3FileSink shutdown at: 12:45:17 295843

What I would like to know is if I can interpret this as a g3log crash or as a crash of my program.
To Reproduce
Hard to do. The program is a video-player. It crashes only sometimes.
Is something done differently on your setup than what the project specifies?
No.
Have you provided a code snippet that can be tested?
No.
Additional context
I think I am just asking how to interpret when the stack dump on its first position shows a g3log function as culprit.
Thanks!!

The times where I have seen issues with g3log has mostly stemmed from the following

Using custom made logging sinks in a non-thread safe manner (logging sinks should be established early, right after main startup and before spinning up other threads).

Weird shutdown logic. Usually g3log should be shutdown last.  RAII shutdown is important. Weird dll / library interfaces (python --> c++ etc) issues can cause troubles.

Forking logic. Any threads needs to be started AFTER forking is done or you will endup in undefined land that can trigger crashes and extremely unpredictable locations. This is not g3log specific but a common issue I've seen when people fork processes and forget the threading aspect to it.

Once you have a segmentation fault it's a little of a hail mary. The stack can be corrupted.
Maybe these can be helpful?
A) Setup your system so that you get a core dump when it crashes. Then analyze this core dump.  Please know that g3log will catch the crash and try to dump information about the stack so that the last thing you will see in the stack will be g3log of course.  You can always disable g3log fatal handling (see CMake Options) and see if the generated core dump is more helpful without g3log.
B) Maybe adding more stack visibility with your compiler options can visualize better the non-informative stack dump.
x

Using custom made logging sinks in a non-thread safe manner (logging sinks should be established early, right after main startup and before spinning up other threads).

I am using the standard g3log sink.

Weird shutdown logic. Usually g3log should be shutdown last.  RAII shutdown is important. Weird dll / library interfaces (python --> c++ etc) issues can cause troubles.

This is a video player where g3log is declared and initialized on main execution thread.
Extract:
int main(int argc, char* args[]){
	using namespace g3;
	std::unique_ptr<LogWorker> logworker{ LogWorker::createLogWorker() };
	auto sinkHandle = logworker->addSink(std2::make_unique<FileSink>(args[0], args[11]),
		&FileSink::fileWrite);

	initializeLogging(logworker.get());
	int logLevel = atoi(args[12]);
	switch (logLevel){
	case 0:
		g3::log_levels::disableAll();
		break;
	case 1:
		g3::log_levels::setHighest(INFO);
		break;
	case 2:
		g3::log_levels::setHighest(WARNING);
		break;
	case 3:
		g3::log_levels::setHighest(G3LOG_DEBUG);
		break;
	default:
		g3::log_levels::disableAll();
		break;
	}

	LOG(G3LOG_DEBUG) << "Main starts";
	/*..........Main body...........*/
	return retcode;
}

Forking logic. Any threads needs to be started AFTER forking is done or you will endup in undefined land that can trigger crashes and extremely unpredictable locations. This is not g3log specific but a common issue I've seen when people fork processes and forget the threading aspect to it.

All threads are started at the Main body right after g3log gets initialized. I am not using fork() at all in the program.
One thing that catches my attention is that the crash is preceded by a LOG write without the functions name or line number. Which is leading me to believe that the crash is due to g3log not being able to read such function name or line.
2020/04/30 16:44:15 133231	DEBUG [Player.cpp->txReport:768]	{
    "byteLoss": "0.0022336801",
    "frameLoss": "0",
    "packetLoss": "0.00216216221",
    "showCursor": "false",
    "fps": "0",
    "count": "0",
    "timestamp": "60255093"
}

2020/04/30 16:44:16 126258

***** FATAL SIGNAL RECEIVED *******
Received fatal signal: SIGSEGV(11)	PID: 26232

***** SIGNAL SIGSEGV(11)

*******	STACKDUMP *******
	stack dump [1]  1   libg3logger.1.3.7-180.dylib         0x000000010b213110 _ZN12_GLOBAL__N_113signalHandlerEiP9__siginfoPv + 96
	stack dump [2]  2   libsystem_platform.dylib            0x00007fff6f7695fd _sigtramp + 29
	stack dump [3]  3   ???                                 0x00007fe6fd290700 0x0 +<PHONE_NUMBER>30048

Exiting after fatal event  (FATAL_SIGNAL). Fatal type:  SIGSEGV
Log content flushed sucessfully to sink

g3log g3FileSink shutdown at: 16:44:16 083516

Can this observation be correct? Or this is expected behavior for the logger when the program crashes (leaving an incomplete line of log on the file).
Will try your suggestions on the core dump and stack visibility. I am on OSX and will have to investigate how (using clang++).
Thanks again for your help.

the date/timestamp is how the beginning of a fatal message looks like.
For comparison please compile g3log with the fatal examples that are provided with the code.
example output if your system is roughly similar to mine and with enough information available in the stack
./g3log-FATAL-sigsegv
*   This is an example of g3log. It WILL exit by a FATAL trigger
*   Please see the generated log and compare to the code at
*   g3log/test_example/main.cpp
*
* Log file: [/tmp/g3log-FATAL-sigsegv.g3log.20200430-145244.log]

***** Be ready this last example may 'abort' if on Windows/Linux_gcc4.7
************************************************************

2020/04/30 14:52:45 807286

***** FATAL SIGNAL RECEIVED *******
Received fatal signal: SIGSEGV(11)	PID: 4360

***** SIGNAL SIGSEGV(11)

*******	STACKDUMP *******
	stack dump [1]  1   libg3logger.1.3.2-88.dylib          0x0000000104e2bf73 _ZN12_GLOBAL__N_113signalHandlerEiP9__siginfoPv + 83
	stack dump [2]  2   libsystem_platform.dylib            0x00007fff724165fd _sigtramp + 29
	stack dump [3]  3   ???                                 0x0000000000000000 0x0 + 0
	stack dump [4]  4   g3log-FATAL-sigsegv                 0x0000000104e125a7 _ZN13example_fatal36tryToKillWithAccessingIllegalPointerENSt3__110unique_ptrINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS0_14default_deleteIS7_EEEE + 343
	stack dump [5]  5   g3log-FATAL-sigsegv                 0x0000000104e140c9 main + 6745
	stack dump [6]  6   libdyld.dylib                       0x00007fff7221dcc9 start + 1

Exiting after fatal event  (FATAL_SIGNAL). Fatal type:  SIGSEGV
Log content flushed sucessfully to sink

g3log g3FileSink shutdown at: 14:52:45 807500

The line below the ??? would contain the clue to the bad code that triggered the segmentation fault.  You can check the code of the example to see how this is shown

The log file contains more information than the cout stacktrace but the stackdump itself is the same.

Sorry. I was misinterpreting the output.
So in my case there is nothing below the ???.
Will try your suggestions as to debug my app with more info.
Thanks.

Just to give this closure. I found the bug. Apparently it is crashing at a sleep function from the SDL2 library I am using. This is the OSX crash log:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff6a627756 __semwait_signal + 10
1   libsystem_c.dylib             	0x00007fff6a5aaeea nanosleep + 196
2   libSDL2-2.0.0.dylib           	0x00000001067c5602 SDL_Delay_REAL + 83
3   ABYACast-Player               	0x0000000104ce0f9b Player::play() + 11835
4   ABYACast-Player               	0x0000000104de2093 main + 5443
5   libdyld.dylib                 	0x00007fff6a4e3cc9 start + 1

Apparently is the SDL_Delay function I am calling (or OSXs implementation of nanosleep).
In any case, thank you for taking the time to explain me the output g3log generates. It will make it easier for me to know where to look when looking for app crashes.

Interesting that you could see this better on the OSX crash log. There's
room for improvement I guess.
Can you let me know how you found the log? Was it the crash report from the
Console? On OSX these are generally excellent.
On Thu, Apr 30, 2020 at 8:56 PM Franco Miceli<EMAIL_ADDRESS>wrote:

Just to give this closure. I found the bug. Apparently it is crashing at a
sleep function from the SDL2 library I am using. This is the OSX crash log:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff6a627756 __semwait_signal + 10
1   libsystem_c.dylib             	0x00007fff6a5aaeea nanosleep + 196
2   libSDL2-2.0.0.dylib           	0x00000001067c5602 SDL_Delay_REAL + 83
3   ABYACast-Player               	0x0000000104ce0f9b Player::play() + 11835
4   ABYACast-Player               	0x0000000104de2093 main + 5443
5   libdyld.dylib                 	0x00007fff6a4e3cc9 start + 1
Apparently is the SDL_Delay function I am calling (or OSXs implementation
of nanosleep).
In any case, thank you for taking the time to explain me the output g3log
generates. It will make it easier for me to know where to look when looking
for app crashes.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KjellKod/g3log/issues/342#issuecomment-622224288, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQ7XX3VSQFOAQNZVPALC3RPI25TANCNFSM4MSDDUPQ
.

Sure. Apparently every crashing app on OSX leaves a crash report log at  ~/Library/Logs/DiagnosticReports.
It is not from the console.
Let me know if you need more info. Thanks.

Just to add further information. This crash was due to a stack overflow of the main thread on OSX.
Quite hard to debug!!

Another update. The crash was not due to as stack overflow.
It was a crashing thread due to a SIGSEGV (bad accesss).
It was just until I ran the program without g3log that OSXs crash report was accurate (showing me the thread that crashed and where) that I could debug it.
It is worth noting that if g3log signal handling is active OSXs crash reports will be no good for debugging. I think that g3log captures the fatal signal and then re-emits it on the main thread.

That’s correct.

@KjellKod one more question.
Is there a way to disable g3log's crash handling feature?

Yes. Its common that folk do that if they have their own crash handling mechanism.
Depending on how that works for you, you can also trigger a flush of g3log’s enqueued messages  when such a crash is discovered.
You can find information about this in the API documentation. Looking at the code isn’t a bad idea either: https://github.com/KjellKod/g3log/blob/master/API.markdown#fatal_handling_disabled
GitHub<EMAIL_ADDRESS>wrote:
“@KjellKod one more question.
Is there a way to disable g3log's crash handling feature?”
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Fedora-side process to extract and serialize triples for a Fedora object

From @pbinkley on December 7, 2016 20:44
Copied from original issue: ualbertalib/HydraNorth#1331

not relevant


Implement fround in JS without depending on Float32Array

In case Float32Array is not available, use a pure JS
implementation.
This is based on Joshua Bell's code from
https://github.com/inexorabletash/polyfill/blob/master/typedarray.js
Fixes #1703

@johnjbarton PTAL

LGTM. Our sanity check tests are pretty weak, seems like they may not exercise much code.

PTAL
I made fround.js only export the js implementation and then I had Math.js do the detection of Float32Array. Once that was done I updated the test to test all three paths. (Math.js, fround using Float32Array and fround using js).
I added a few more tests which did catch some bugs. who'd have thunk it

LTGM.


Added Griffin.Framework

@jgauffin Griffin looks promising, but it is still too young to say that it is awesome project and useful for community. Right now it doesn't comply with our quality standards. Come back later when Griffin will be more popular.


Move from .NET Core 2.0 to 2.1

We should update to the latest minor version of .NET Core 2.0
This is a simple change in the Dockerfile.
Work was suggested via #33, but after 6 weeks of inactivity we can assume the community needs to finish the work.
Alex

@burtonr please add this to your list.


Update github.com/containerd/console to v1.0.4

Updated to latest release with a few fixes, see https://github.com/containerd/console/releases/tag/v1.0.4

/retest

/test pull-containerd-node-e2e

Needs rebase


External images break with next v12.1.5

Describe the bug
The following component works in storybook on with<EMAIL_ADDRESS>import React from "react";
import Image from "next/image";

export default {
  title: "Example/Image",
  component: Image,
  argTypes: {
    backgroundColor: { control: "color" },
  },
};

const Template = (args) => (
  <Image src="https://via.placeholder.com/100x100" width={100} height={100} />
);

export const ExampleStoryWithNextImage = Template.bind({});

On next v12.1.5, it breaks however (see attached screenshots below).
Your minimal, reproducible example
https://github.com/romandecker/storybook-addon-next-image-issue-mre
Steps to reproduce

Check out the MRE repo
npm install
npm run storybook
Open http://localhost:6006/?path=/story/example-image--example-story-with-next-image

Note that if you change the version of next in package.json to v12.1.4, and re-run npm install and npm run storybook, it will work.
Expected behavior
I expected the external image to work with next v12.1.5 just like it did in v12.1.4:

How often does this bug happen?
Every time
Screenshots or Videos
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
Platform

Mac OS 11.6.4
node v16.14.0
next.js v12.1.5

storybook-addon-next version
1.6.2
Additional context
No response

Thanks for reporting this. We are tracking it in #72


assume appbase, downgrade on error

Resolve #164

Assume provided nodes are running appbase and use condenser_api.
Check for a specific error that a non-appbase node would return

If present, save the endpoint to a 'downgraded` registry, and retry

This PR changes exception flow -- it is more thorough and retries are more reliable.

When I set the node to https://steemd.steemitdev.com, all 71 tests pass on all three environments. Going to go ahead and approve.


Add integration tests

Instead of mocking the api, that's a closer to real solution: http https://github.com/blueberryapps/vcr.js/
It records one interaction and stores the response, so the call happens only the first time and gets stored as json, next time it takes the json.
It might be useful. But if we think that's not "real" enough, we just use a real contentful space for that.

Reading about the yargs, found that, it might be useful: https://github.com/yargs/yargs/blob/master/docs/advanced.md#testing-a-command-module


[Proposal] Process: Removing Components

I propose we formalize a process for removing components from the Dapr sidecar.
Eligibility Requirement:

This process shall only be applied to components that have been part of at least 4 releases.

Proposal:

A Dapr Community member opens a GitHub issue to propose the removal of a particular component
This issue is shared in Discord and applicable channels to solicit feedback
A 60 day comment period starts where feedback is gathered on the GitHub issue itself
After the 60 day period the Steering and Technical Committee makes the final determination as to whether to remove the component. If the STC supports removal Dapr/Dapr and Dapr/Components-Contrib maintainers help facilitate the removal.

It is unclear whether this should only be applied to components which have not graduated from Alpha state.

Trying to be clear on the problem. Is this because today all the components are compiled into the single binary? If you could choose your components or component were loaded dynamically this would be less of an issue. Still agree having a removal path, but can be over a longer period of time.

There's a fundamental contradiction here with the hierarchy and relationship between maintainers and STC as it is defined today.
Maintainers of components-contrib must reach the decision about whether or not a component is removed. If a decision can't be agreed upon, then it is escalated to the STC.

@berndverst Is there any update on this issue?


[Feature Request] ReRun Document processing

Context / Scenario
I process 500 page pdf, and somwere in the middle of process I reach TooManyRequset for Azure OpenAI.
and import is failed.
But I need a way to continue it. maybe halp of parts is already embedded, so I want to continue.
The problem
Now I can't process document, and I can't conintue from places/step I stopped.
Proposed solution
Option to conintue / rerun document processing.
so I can do like this:
var info = await memory.GetDocumentStatusAsync(fileInfo.DocumentId, "default");
if (info.Completed == info.Failed == false)
{
    var result = await memory.ImportDocumentAsync(new Document(info.DocumentId),  "default", info.RemainingSteps);
}

but i don't think it's good idea.
Importance
would be great to have

We've also struggled with this. When using KernelMemory.ImportDocumentAsync with a very large PDF, it will eventually error out with:
2024-02-01T20:06:55.767601865Z        ---> Azure.RequestFailedException: You are sending too many requests. Please try again later.
2024-02-01T20:06:55.767607622Z       Status: 503 (Service Unavailable)
2024-02-01T20:06:55.767611742Z
2024-02-01T20:06:55.767616947Z       Content:
2024-02-01T20:06:55.767621400Z       {"error":{"code":"","message":"You are sending too many requests. Please try again later."}}

It would be tremendous if there was a way to gracefully handle this and also to achieve the goal of processing large documents.  I'm not certain what the shape of that should be but I suspect it's a common need.

@johnnyreilly I found how to use retry logic for thous cases

What did you do?

First you have setup this
https://github.com/microsoft/semantic-kernel/issues/4744#issuecomment-1910913467
You can use poly.
So, and then you can create http client and pass it as parameter into builder, where  you adding embedding service and OpenAI service, last parameter is http client.


Add Tiriel as CommComm Member

Hey everyone!
As discussed in today's meeting, per the current membership guidelines, and according to the attendance sheet and the meetings minutes, I believe I have reached the requirements.
I'll let someone else review and make sure I'm not mistaken and then let you all take the next required steps.
I must say, I'm positively thrilled!
Cheers!

@Tiriel Congrats! I was looking at the attendance sheet and it has not been updated since January, or am I looking at the wrong sheet 🤗

@Bamieh It hasn't been updated indeed, that's why the attendance needs, for now, to be compiled from this sheet and the minutes from the last meetings!

Apologies for not getting to this sooner @Tiriel - I looked for it to begin the process the other day but didn't see it in the repo and thought I was misremembering having originally seen it 😞
I will get a vote for this on Monday to make sure we're not burdening the other members over the weekend and only a short time to respond during the work week.
Apologies for the delay! ❤

@bnb No problem at all! That's perfectly normal, everyone should enjoy the weekend :smile:
I'm looking forward to the vote result!

The vote has been sent out to all @nodejs/community-committee members. It will close in 72 hours, at 15:00 (3pm) GMT. If approvals outweigh objections, we can proceed from there 👍

Vote has wrapped up! Apologies for not following through on this sooner, had some personal things scheduled for the exact time it closed 😅
The vote has concluded and it passed - welcome @Tiriel!
Here's the task list for finalizing everything:

[ ] Update this PR with your email
[ ] Add your email to the CommComm alias
[ ] Add you to the CommComm GitHub team
[ ] Update @mhdawson's issue creator to remove you from Observers list

@bnb  Awesome! Thanks!
The PR already got my email, I can get the PR on the issue creator, and I'll let competent people deadl with the other two points :smile:

Issue creator PRed! I think I'm good on what I could do.

Going to merge this - no need to wait for https://github.com/nodejs/email/pull/95 to finalize.
Welcome @Tiriel 🎉


No download costs more than 1,000yen at Fantia.

If I download that costs more than 1,000yen in fantia, the cost will be 000 and I can only download free data.
Very good app. Thanks.

Oh, I am so sorry.
Costs setting is  "0" and "1000", no "1,000".
Or you can make it empty, when cost is empty, it means 0 to infinity.

Oh no, I am so sorry again.
I know your means now.
That is my mistake, I will modify it soon.
Fantia doesn't have Pledge api, so I get cost from webpage.
The regular expression must be wrong.
Please wait for update.
Or you can make it empty to download contents before update.

Thanks for the confirmation.
I was able to download it if I made it empty to empty.
I'm not in a hurry, so I hope you can respond. Thank you.

I am sorry for my delay.
Now I am waiting for my friend test.
Thank you for your issue, I will release after my friend test.

I have release the Ver1.3.13.
Thank you for your issue, it make my app better than before.
Thank you very much.

The correct cost is now displayed.
Thank you very much. Keep up the good work!


expected operand, found '}'

What version of Go are you using (go version)?
go1.13.6
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
C:\Users\wcfuser\go\src\tests>go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\wcfuser\AppData\Local\go-build
set GOENV=C:\Users\wcfuser\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\wcfuser\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\wcfuser\AppData\Local\Temp\go-build969063194=/tmp/go-build -gno-record-gcc-switches

What did you do?
Trying to understand an error that I'm seeing. I'm new to go. Trying to learn it and setup an automation framework using selenium and godog. I ran the following and received the following error:
login_test.go:30:1: expected operand, found '}'
func FeatureContext(s *godog.Suite) {
    s.Step(`^I enter a username and password for a North Carolina Dealer$`, (*pages.LoginPage.EnterUsernameAndPassword),
	s.Step(`^I click Login Button$`, (*pages.LoginPage).ClickLoginButton),
	s.Step(`^I click New Application Button$`, (*pages.DealerHomePage).ClickNewAppButton),
	s.Step(`^I click Begin App Button$`, (*pages.LTOIntroPage).ClickBeginAppButton),
	s.Step(`^I fill out the Personal Info Form$`, (*pages.PersonalInfoPage).FillOutPersonalInfoForm),

}

That last closing bracket is on line 30.
What did you expect to see?
What did you see instead?
login_test.go:30:1: expected operand, found '}'

You have a mismatched (.  You need to add a closing ) either at the end of the fist s.Step line (and remove all the ,); or at end end of the function body.
Closing here, since this is not a Go bug.

filter := bson.D{{Key: "title", Value: /.sh./}}
above code is showing "expected operand, found / syntax"
i am trying to fetch "sh" like value operation using regular expression from mongoDB using golang.It is showing the above error.Please assist me to resolve the issue.
I am using go version go1.14.9
Thanks
Reshma

Thank you for raising this issue. Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:

Stack Overflow with questions tagged "go"

The Go Forum, a web-based forum

Gophers Slack, use the invite app for access. The #general channel is a good starting point.

Go Community on Hashnode with questions and posts tagged with "go"

The golang-nuts mailing list

IRC channel #go-nuts on Freenode


Implement JpqlSerializer for JpqlNotBetween

Backgrounds

In Kotlin JDSL 3.0.0, the Query objects no longer know how to draw themselves as SQL String.
The Query object is drawn in JPQL String by JpqlSerializer.

Requirements

Please implement  JpqlSerializer that draws JpqlNotBetween as a SQL String.
Please implement a unit test for the implemented class.

Contribution

Please check if there is an assignee in this issue. And if it don't have an assignee, please change the assignee to yourself.
Please check the commit convention through the commitlint.config.js file. The commit  convention also described in the PR template.
When you use intellij, please set the code style through the .editorconfig file.
Please create the PR for develop/3.0.0 as the base branch.
If you have any questions, please leave comment in Kotlin-JDSL Discord Channel in LINE Open Source

I would like to work on this issue.

This issue is closed by #414


Initial draft of abiotic model changes for new LayerStructure

Description
These are the updates needed to get the abiotic model working with #421.  This is very WIP - I haven't merged in #421 yet,  but these are the current changes. Many tests pass but not all.
The initial push was made with --no-verify to isolate the model and test changes in a single commit, rather than blurring them with the downstream changes.
Fixes #447 (issue)
Type of change

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist

[ ] Make sure you've run the pre-commit checks: $ pre-commit run -a
[ ] All tests pass: $ poetry run pytest

Further checks

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

This branch now passes all abiotic models tests except the one that has been skipped.
@vgro has looked over the suggested changes and thinks they all look sane and we both agree that - given the abiotic model is still in early development - it makes sense for now simply to update the model code to the new LayerStructure to make it easier to pick up in the future and then move on. So I'm going to merge this down to #441 and iron out the remaining top level (CLI, ve_run) implementation issues there.


How to?

Hello,
I've a UViewController that hosts a tableview, and additional UILabel, UIButton, etc...
How can I set the DSNestedAccordionHandler into the interface?
Or how can I tell the UITableview should use the delegate and datasource coming from the handler?
I don't know if I m clear about my query.

Have you had a look into the example app?

Yes I did (but after posting the message)..
Thanks.. this conversation must be closed :) even deleted :)


Added support for defining x-single-active-consumer through query params

I've added the ability to pass x-single-active-consumer header through queue URI string. Here is why I did it.
I have a use case when I need to send messages to queues which are created dynamically long after the bus is started. Message producer initiates queue creation, sends some messages and then notifies consumers they should start reading from the new queue. The queue auto-create behavior of MassTransit is exactly what I need, but unfortunately there was no way to pass the x-single-active-consumer header from producer's side. It can be configured from consumer side, but as I mentioned, consumers don't initiate queue creation.
Provided that RabbitMqEndpointAddress already contains quite a lot of possible options for queues and exchanges, I thought it would be appropriate to add an ability to pass the x-single-active-consumer header as well.
Here is the example code that uses this feature:
var endpoint = await _busControl.GetSendEndpoint(new("queue:event-listener?singleactiveconsumer=true"));
await endpoint.Send(new TestMessage());

If the queue doesn't exist, it gets created with x-single-active-consumer defined:

There is a related question on SA about this: https://stackoverflow.com/questions/69633857/sending-message-to-queue-in-singleactiveconsumer-mode-in-masstransit. It seems that in that case a queue was guaranteed to exist before messages were sent, so using exchange URI was an acceptable solution. My use case is different, since I can't guarantee that queue exists beforehand (in most cases, it won't), and I need to be sure that producer creates the queue with correct attributes.

Thanks, merged!


Improve ftr license agreement

ftr stands for "first time run"
Current
Triggering the exec resource based on the presence of the etc/auth/server.pem prevents the exec resource from being called after splunk has been upgraded, unless we're willing to delete the server.pem file.
Suggested
The ftr file is an improved trigger for determining when to run the license_splunkforwarder exec resource. The ftr file always exists immediately following an install of splunk or splunkforwarder. The install could be a first time install or an upgrade. Once the license agreement has been accepted the ftr file is removed.
This Pull Request (PR) fixes the following issues
Upgrades don't trigger license_splunkforwarder exec resource #198

@Joshua-Snapp you may want to add Joshua Snapp<EMAIL_ADDRESS>to your github emails, or else change the commits so you're properly credited!

@igalic I appreciate you catching my email address. I just corrected it in both commits.

We can't use creates if we want this to be idempotent. I'm suggesting we pay attention to the presence of the "first time run" ftr file that appears as a result of an install or uprade. That file is deleted as soon as the --accept-license option is used. We want to run the license_splunkforwarder exec resource onlyif the ftr file exists. As soon as we accept the license, the file is removed. Any time the forwarder is upgraded, the ftr file appears again. As a result, the license_splunkforwarder exec resource should run the --accept-license option, which deletes the ftr file.
You can see the behavior of the ftr file by simply installing the forwarder and listing the contents of /opt/splunkforwarder directory before you accept the license. Then take a look at the contents after you accept the license. The way this ftr is only temporarily present based on license acceptance makes it ideal as a trigger in this case.
With this code change, I've been able to install forwarder 6.2.5 and upgrade to 6.6.8 and again to 7.1.2 by simply changing version and build values. Puppet successfully downloads the rpm, upgrades the forwarder and accepts the license allowing the service to start.
Take the following code and install 6.6.8. Then comment out 6.6.8 version and build and uncomment 7.1.2 version and build. Run puppet again and watch forwarder get updated and license accepted.
  $_splunk_options = {
    version => '6.6.8',
    build => '6c27a8439c1e',
    #version => '7.1.2',
    #build => 'a0c72a66db66',
  }

  # Tell the module to get packages directly from Splunk.
  class { '::splunk::params':
    version => $_splunk_options['version'],
    build => $_splunk_options['build'],
    src_root => 'https://download.splunk.com',
  }

  # Specify version and build of package to be installed.
  class { '::splunk::forwarder':
    package_ensure => ($enable_forwarder_param) ? {
      true  => "$_splunk_options['version']-$_splunk_options['build']",
      false => absent,
    }
  }

Thanks for the explanation!

No problem. I'd actually like to see something like the last sentence and code example in my last comment added to the README. I think it would make the upgrade path a lot more clear.
Where I work, we've struggled to provide a way to easily upgrade the forwarder on hundreds of machines. Having just figured this out, we're going to add an extra exec resource to our Splunk profile to run the --accept-license option to perform the same action that this PR is recommending. This puppet-splunk component module already allows us to specify the version and build. So, whether this pull request gets merged or not, we now understand how to easily handle the forwarder upgrade by simply changing the version and build values.

ah lol, I wanted to merge it this morning but got distracted. Now that you mentioned it, could you add the example to the README.md?

@bastelfreak Sorry for the confusion and delay in finishing the work here. Please ignore my last comment and the work I described.
The short story is that a system admin only needs to set package_ensure => 'latest' for the ::splunk or ::splunk::forwarder class that they are declaring. Doing that will allow them to upgrade the associated package by simply changing to newer version and build values. I added this explanation and a code example to the README. This has been tested on CentOS 7 and Ubuntu 16.04.
Let me know if this makes sense or if you have any questions.

@bastelfreak
Do you have time to look at this PR? I think it has what you requested. If possible, I'd like to see it get merged before your next version release.


header view mixed with the status bar when the viewController is not in a container

Perhaps it was caused by this sentence in GUITabScrollView.m :
[contentView setTranslatesAutoresizingMaskIntoConstraints:NO].
it fixed after i delete it.
And the header view doesn't show well when rotation changed.
sorry for my poor english

After deleting this line it worked. Thanks.


Usage of Thunderbird Export unclear

Calling "help utils export-to-thunderbird" does not work. I'm unsure about the command line parameters necessary - in addition to the email account.
(Other than that imap-backup is very handy and seems to work well - thank you!)

Hi @nicnab
As an initial answer, to get help, use this command:
imap-backup utils help export-to-thunderbird

It's a bit weird, I know, but help has to be the penultimate part of the command

Great, thanks for the quick answer! This is a little unclear in the documentation.

@nicnab I've released version 9.3.1 which should do what users expect.
Now, this
imap-backup help utils export-to-thunderbird

works like the default
imap-backup utils help export-to-thunderbird

and shows the help for the subcommand method.

I'm going through the same confusion.

@michaldejmek and @Weiming-Hu
Please see #161 for some more info on this.

Hi @joeyates, thank you very much for your reply.
After upgrading to 10.0.1 and

Set up my first Thunderbird account
Run the export account,
I can see that the exported folders are correctly shown.

I still need to set the correct local folder in Thunderbird before I can actually see these mails. But this is just a simple setting in Thunderbird.
Much appreciated for the help and awesome tool!


Update stable version in repo from 5.1.0 to 6.0.0

Think about update stable version to 6.0.0
Version: stable=5.1.0 (86 days old) => latest=6.0.0 (30 days old)
Installs: stable=1087 (49.7%), latest=103 (4.71%), total=2187
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 6.0.0 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

Hallo,
leider ist ein Update auf 6.0.0 nicht möglich. Woran liegt das? Bin nicht der Profi!
Gruß Marco
$ iobroker upgrade<EMAIL_ADDRESS>--debug
Update ring from @5.1.0 to @6.0.0
NPM version: 9.6.7
Installing<EMAIL_ADDRESS>(System call)
npm ERR! code EBADENGINEnpm ERR! engine Unsupported enginenpm ERR! engine Not compatible with your version of node/npm<EMAIL_ADDRESS>ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>ERR! notsup Required: {"node":">=20"}npm ERR! notsup Actual: {"npm":"9.6.7","node":"v18.17.1"}
npm ERR! A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2024-09-19T09_42_05_797Z-debug-0.log
npm ERR! code EBADENGINEnpm ERR! engine Unsupported enginenpm ERR! engine Not compatible with your version of node/npm<EMAIL_ADDRESS>ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>ERR! notsup Required: {"node":">=20"}npm ERR! notsup Actual: {"npm":"9.6.7","node":"v18.17.1"}npm ERR! A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2024-09-19T09_42_05_797Z-debug-0.log
host.buanet-iobroker1 Cannot install<EMAIL_ADDRESS>1
ERROR: Process exited with code 25
ERROR: Process exited with code 25

Hallo, leider ist ein Update auf 6.0.0 nicht möglich. Woran liegt das? Bin nicht der Profi!
Gruß Marco
$ iobroker upgrade<EMAIL_ADDRESS>--debug
Update ring from @5.1.0 to @6.0.0
NPM version: 9.6.7
Installing<EMAIL_ADDRESS>(System call)
npm ERR! code EBADENGINEnpm ERR! engine Unsupported enginenpm ERR! engine Not compatible with your version of node/npm<EMAIL_ADDRESS>ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>ERR! notsup Required: {"node":">=20"}npm ERR! notsup Actual: {"npm":"9.6.7","node":"v18.17.1"}
npm ERR! A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2024-09-19T09_42_05_797Z-debug-0.log
npm ERR! code EBADENGINEnpm ERR! engine Unsupported enginenpm ERR! engine Not compatible with your version of node/npm<EMAIL_ADDRESS>ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>ERR! notsup Required: {"node":">=20"}npm ERR! notsup Actual: {"npm":"9.6.7","node":"v18.17.1"}npm ERR! A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2024-09-19T09_42_05_797Z-debug-0.log
host.buanet-iobroker1 Cannot install<EMAIL_ADDRESS>1
ERROR: Process exited with code 25
ERROR: Process exited with code 25

@theimo1221
Please fix (dep downgrade oder engines bump to 20) and please create a new release. If you do not have time let me know - I can bump engine clause too of course..


⚠ Bofrost.lu has degraded performance

In 2788e01, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1739 ms

Resolved: Bofrost.lu performance has improved in 90943c6 after 11 minutes.


Error deployment function app

Does this occur consistently?
Repro steps:

Action: azureFunctions.deploy
Error type: Error
Error Message: Entry not found in cache.
Version: 0.22.0
OS: darwin
OS Release: 19.4.0
Product: Visual Studio Code
Product Version: 1.44.2
Language: en

Call Stack
a.createError extension.js:1:48963
b.<anonymous> extension.js:229:179477
extension.js:229:174092
extension.js:229:46175
extension.js:229:44168
extension.js:229:43790
i.find extension.js:229:78283
extension.js:229:25219

Thanks for filing - as a workaround you could try reloading your window or signing out and signing back in to your Azure Account using the command palette.
Unfortunately there's not much we can do in this extension, but this is being tracked upstream here: microsoft/vscode-azure-account#53


@inner.block @outer.block makes no sense in C I believe

To Reproduce
open a c file

select inner block

select outer block

Expected behavior
expected inner block

expected outer block

Output of :checkhealth nvim-treesitter

==============================================================================
nvim-treesitter: require("nvim-treesitter.health").check()
Installation ~

WARNING tree-sitter executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
OK node found v18.19.1 (only needed for :TSInstallFromGrammar)
OK git executable found.
OK cc executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
Version: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

OS Info:
{
machine = "x86_64",
release = "<IP_ADDRESS>-microsoft-standard-WSL2",
sysname = "Linux",
version = "#1 SMP Thu Jan 11 04:09:03 UTC 2024"
} ~
Parser/Features         H L F I J

bash                ✓ ✓ ✓ . ✓
c                   ✓ ✓ ✓ ✓ ✓
cpp                 ✓ ✓ ✓ ✓ ✓
css                 ✓ . ✓ ✓ ✓
diff                ✓ . . . .
fish                ✓ ✓ ✓ ✓ ✓
git_config          ✓ . ✓ . ✓
git_rebase          ✓ . . . ✓
gitcommit           ✓ . . . ✓
gitignore           ✓ . . . .
json                ✓ ✓ ✓ ✓ .
lua                 ✓ ✓ ✓ ✓ ✓
markdown            ✓ . ✓ ✓ ✓
markdown_inline     ✓ . . . ✓
nix                 ✓ ✓ ✓ . ✓
norg                . . . . .
python              ✓ ✓ ✓ ✓ ✓
query               ✓ ✓ ✓ ✓ ✓
regex               ✓ . . . .
rust                ✓ ✓ ✓ ✓ ✓
toml                ✓ ✓ ✓ ✓ ✓
typescript          ✓ ✓ ✓ ✓ ✓
vim                 ✓ ✓ ✓ . ✓
vimdoc              ✓ . . . ✓
xml                 ✓ ✓ ✓ ✓ ✓
yaml                ✓ ✓ ✓ ✓ ✓

Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
+) multiple parsers found, only one will be used
x) errors found in the query, try to run :TSUpdate {lang} ~

Output of nvim --version
NVIM v0.10.0-dev-2765+gb8858dddb
Build type: RelWithDebInfo
LuaJIT 2.1.1710088188
Run ":verbose version" for more info

block.inner is kind of random everytime it selects a unexpected thing sometimes even outside the block

inner.block does not seem defined for C
I tried (_ (compound_statement) @block.inner) @block.outer but then inner and outer block both select the same thing (the thing between two stars **)
if (test) **{
   a
   b
}**

Ideally I want
Inner
if (test) {
   **a
   b**
}

Outer
if (test) **{
   a
   b
}**

I don't think it's possible because of how C is represented in Treesitter. So at the very least it could do like Javascript
if (test) **{
   a
   b
}**

Outer
**if (test) {
   a
   b
}**

There are multiple problems:

no block.inner specified
selecting randomly when nothing is defined.
make-range to exclude "{" curly brackets is inconsistent as explained here #608
block.outer defined but buggy as shown. E.g:

Selecting inner/outer block is a common use case I hope this issue will get some attention because right now there are way too many problems for me alone to fix easily.

I think in the printf case, it might be selecting inside the parentheses because it can't find an inner block so it falls back to the default ib behavior. As for the last screenshot, do you have include_surrounding_whitespace on for this block? I think that might be why the range is so expansive


show result for v2 protocol

This PR add support to show result for v2 protocol.
Example rsp.Show() for def output:x = 1;2;3 def output:y = "bar"
/:output/:x/Int64
1 2 3

/:output/:y/String
bar

@NHDaly @vilterp should we include also metadata and problems ?

For the metadata, I don't think so. I would wait until we are able to do something more useful with the proto metadata, and then use that to build up the relation type signature, and for value type conversion (e.g. for date times).
For problems, yes we probably should, although they will already be included in the results themselves.. 🤔 So I think how you have it now is probably fine for now. What do you think?

Can you show some examples of how this prints with an arity-2 relation?
Also, i htink i would actually probably want those tuples to all print on separate rows, like this:
/:output/:x/Int64
1
2
3

/:output/:y/String
bar

Yeah, this is how it prints currently, and i think we would probably want to stay closish to this!
rai exec "nhd-test-1" -e "nhd-s" -c '1;2;3 ; 1,2; 2,3; "hi"' --format pretty
Executing query (nhd-test-1/nhd-s) readonly=false .. Ok (0.6s)
# output (Int64*Int64)
1, 2
2, 3

# output (String)
"hi"

# output (Int64)
1
2
3

Yeah, this is how it prints currently, and i think we would probably want to stay closish to this!
rai exec "nhd-test-1" -e "nhd-s" -c '1;2;3 ; 1,2; 2,3; "hi"' --format pretty
Executing query (nhd-test-1/nhd-s) readonly=false .. Ok (0.6s)
# output (Int64*Int64)
1, 2
2, 3

# output (String)
"hi"

# output (Int64)
1
2
3

for arity-2 relations it seems to be different :speak_no_evil: (same example you provided)
/:output/Int64/Int64
1 2

/:output/Int64/Int64
2 3

/:output/String
hi

/:output/Int64
1 2 3

Let me try to get it aligned with what we have in v1 show result :pray:

Awesome, yeah, makes sense. Thanks! :)

(I wouldn't put too much effort into trying to get the headers the same, since we're going to have to redo the headers once we switch to protos anyway! Just getting the relation values the same would be good. 👍)

now this query 1;2;3 ; 1,2; 2,3; "hi" outputs
 /:output/Int64/Int64
1 2
2 3

/:output/String
hi

/:output/Int64
1 2 3

:) nice! (it's still pivoted, i'm not sure if you already know that?) Hehe (1,2);(2,3) was a silly example - my mistake! It looks the same transposed 🙈 Try (1,200); (2,300). It should put each tuple on a separate line.
And ideally we'd also comma-separate them if possible?

should be working now as expected :smile: , the output of this query 1;2;3 ; (1,200); (2,300); "hi" is
/:output/Int64/Int64
1, 200
2, 300

/:output/String
hi

/:output/Int64
1
2
3


[Experimental] Platform dependent int

For #8111
Why?
As our ongoing quest to find the optimal language with also avoiding a massive breaking change, we discussed trying out the experiment of introducing a platform-dependent Int type.
What's Int?
Here Int is a different type than any other int type, meaning you can't pass an Int64 where an Int is expected.
However, this is based on #9569 and since Int will be represented as Int32 or Int64 depending on the platform, any int type that fits inside Int32 can be automatically passed to Int. That means an Int32 variable can be passed to an Int restriction.
Given that most of the restrictions in the stdlib are Int, and because Int32 is the usual default int type used everything, changing this has a low chance of breaking everyone's code, assuming the std is fully migrated to this new approach.
How to implement this?
Implementing this is a bit tricky. One problem is that Int is currently the base type of all ints. Now we want another base type, namely IntBase to serve that purpose, and Int to be a subclass. This information is deeply embedded in the compiler so we must change that there. But we also need to change the stdlib code that assumes these things.
To accomplish that there's a new compile-time flag, platform_dependent_int that will be true when compiling the new compiler (so you don't need to pass it), but obviously it's false in the current state. With that flag we can control what the stdlib looks like.
To make things easier we introduce a couple of aliases:

IntBase: well, this is actually the base type if platform_dependent_int is true, and it's aliases to Int if it's false
DefaultInt: this is Int when platform_dependent_int is true, and Int32 when it's false

Also, the type of an integer literal like 1 or 123 is now Int in the new approach.
Next I tried compiling an empty program. That already didn't compile and so I started changing a lot of Int32 to DefaultInt. That means we aren't changing anything if platform_dependent_int is false, but we are making it be Int if the flag is on. Eventually I managed to compile an empty program (with the default prelude and runtime), so this already works fine:
[10, 20, 30].each_with_index do |x, i|
  puts "#{x}) #{i}"
  p! typeof(x), typeof(i)
end

Obvious output:
10) 0
typeof(x) # => Int
typeof(i) # => Int
20) 1
typeof(x) # => Int
typeof(i) # => Int
30) 2
typeof(x) # => Int
typeof(i) # => Int

Oh, a small note: for now Int is actually implemented a Int64 regardless of the platform, just to make things easier for me. Changing that to Int32 is very easy.
Another note: to_i now returns Int (or, well, DefaultInt), but to_i32 returns Int32, and these, again, are different types.
Next I started to try compiling and running the std specs. So far I got int_spec.cr and string_spec.cr down. But making things work is very easy! You just try compiling something and the compiler will guide you.
How to use it?
Run make clean crystal, then you can do bin/crystal spec spec/std/string_spec.cr and see it pass.
What's next?
I'll be continuing to make more and more code compile. I expect this will be a huge diff. Also, don't expect this to go out soon, or even, because it's just an experiment. And I'll do this slowly if I have time.
Rant
I wish we could push branches here. That way I could make a PR that targets that branch and the commits here will be cleaner. I see no reason why we have to restrict ourselves like that. /cc @waj @bcardiff

@asterite feel free to push branches. I just suggested that we don't do it by default for every feature/fix branch we create for our PR's. But in specific circumstances like this one, where you might want to split the work differently or receive contributions to your branch, let's do whatever is more appropriate.

Closed in favor of #9619


Implement compiler get_imports()

Overview
Implement the compiler's get_imports() method for gathering source_ids from each contract.
def get_imports(
        self, contract_filepaths: List[Path], base_path: Optional[Path]
    ) -> Dict[str, List[str]]:

https://github.com/ApeWorX/ape/issues/623
https://github.com/ApeWorX/ape-solidity/pull/36
https://github.com/ApeWorX/ape-vyper/issues/43

bump - running into this issue in cairo projects.


Cask request: retab

Would it be possible to please support adding this cool little Safari extension via cask?  It's called retab and allows you to re-open multiple closed tabs in Safari much like Chrome does.
Thanks heaps
Fotis

We don’t support browser extensions.

Ah, no problem.  Thanks for your reply :smile:


Remove redundant "Content-Type" from example in the Private Sharing user-story

I noticed that an example in the Private Sharing user-story contained the Content-Type header twice.
For the sake of readability, I thought it might be better to remove it, hence this MR.

Thank you. Please note that this repo contains information that is outdated - It is not maintained and we pull information out of here to be carried out elsewhere as necessary. Current work on specifications is under https://github.com/solid/specification and other repositories (some are linked from the README).


Value validation

Hello,
first, thanks for this great control, it looks really nice and has really unique and usefull features like extended editors or filtering.
When running sample applications I noticed that it is possible to type non-numeric characters in numeric fields (editors). Additionally when leaving integer/double editor which does contain non-numeric characters nothing happens. I was expecting similar behavior to property grid in Visual Studio - error message is shown and invalid numeric value is reverted.
Is it possible to switch WPG to this mode? Or how can I implement this in my code? Should I create a new editor and assign it to all double/integer properties?
Thank you
Petr

I opened an equal issue before i have seen this thread here...
here is my issue: https://github.com/DenisVuyka/WPG/issues/17

you may want to take a look at baks' branch where he added IDataErrorInfo support:
https://github.com/baks/WPG/commit/5c12c6c7755b1f68bd1d758a62b5ae681b6a151c


Wiki not updated

custom:cropShowGuidelines="onTouch" throws error during compile.

sorry, it's cropGuidelines, updated the wiki

Thanks. Closing the issue.


asking for password for public repository with https checkout

If you clone our repo, which is public and shouldn't need any login credentials git-lfs stops and prompts for a username/password.  It seems like it doesn't matter what you enter for it, it still downloads if you give an empty name and password.  It shouldn't ask for username/password for a public repo like this.
Also, it asks once for every single file which is not ideal.  I saw that you can use git config credential.helper cache to cache the credentials, but I had to search for that.  It should detect if it's not set and prompt you to set it.

@lbergelson What version of Git LFS are you using?  git lfs env

git-lfs/1.0.0 (GitHub; darwin amd64; go 1.5.1)
git version 2.6.1
Endpoint=https://github.com/broadinstitute/gatk-dataflow.git/info/lfs (auth=none)
LocalWorkingDir=/Users/louisb/tmp/gatk-dataflow
LocalGitDir=/Users/louisb/tmp/gatk-dataflow/.git
LocalGitStorageDir=/Users/louisb/tmp/gatk-dataflow/.git
LocalMediaDir=/Users/louisb/tmp/gatk-dataflow/.git/lfs/objects
TempDir=/Users/louisb/tmp/gatk-dataflow/.git/lfs/tmp
ConcurrentTransfers=3
BatchTransfer=true
git config filter.lfs.smudge = "git-lfs smudge %f"
git config filter.lfs.clean = "git-lfs clean %f"

I updated today because 0.6.0 stopped working entirely for some reason for me, alternating between 408 and 301 errors...

I don't even see any LFS objects in master, or uploaded to the server. I was able to clone it just fine.

I updated today because 0.6.0 stopped working entirely for some reason for me, alternating between 408 and 301 errors...

408 is a timeout from the server. The client didn't change significantly between 0.6 and 1.0.

@technoweenie Ack, sorry I ran in the wrong repo, I didn't think it mattered to show the version (forgot it was including the remote endpoint)
git-lfs/1.0.0 (GitHub; darwin amd64; go 1.5.1)
git version 2.6.1
Endpoint=https://github.com/broadinstitute/gatk-dataflow.git/info/lfs (auth=none)
SSH=git@github.com:broadinstitute/gatk-dataflow.git
Endpoint (hellbender)=https://github.com/broadinstitute/gatk.git/info/lfs (auth=none)
SSH=git@github.com:broadinstitute/gatk-dataflow.git
LocalWorkingDir=/Users/louisb/Workspace/gatk-dataflow
LocalGitDir=/Users/louisb/Workspace/gatk-dataflow/.git
LocalGitStorageDir=/Users/louisb/Workspace/gatk-dataflow/.git
LocalMediaDir=/Users/louisb/Workspace/gatk-dataflow/.git/lfs/objects
TempDir=/Users/louisb/Workspace/gatk-dataflow/.git/lfs/tmp
ConcurrentTransfers=3
BatchTransfer=true
git config filter.lfs.smudge = "git-lfs smudge %f"
git config filter.lfs.clean = "git-lfs clean %f

Clone works fine with ssh, and works if you enter passwords with https, but it blocks until you enter the password 11 times.

It must be coincidence that the errors resolved when I updated then, some transient server issue I guess.
We recently renamed the repo from hellbender -> gatk which I think has something to do with the 301 and 408 errors.

Ah right, this is related to https://github.com/github/git-lfs/pull/711. It'll be fixed in 1.0.1.

Awesome, thanks :)

@lbergelson I have a work around for the lfs client prompting for credentials even with public https objects [and requiring the lfs smudge filters to be setup in ~/.gitconfig] but it is ugly...
git clone -c filter.lfs.required -c filter.lfs.smudge='git-lfs smudge %f' -c filter.lfs.clean='git-lfs clean %f' -c credential.helper='!f() { cat > /dev/null; echo username=; echo password=; }; f' https://github.com/...

@technoweenie It hasn't been mentioned here before but the prompting for uneeded credentials still happens with batch = false.

It hasn't been mentioned here before but the prompting for uneeded credentials still happens with batch = false

Unfortunately, fixing this would require us to break the legacy API for all existing clients. So, password-less downloads are only supported in the batch API.

@jhoblitt  Thanks for the work around.  That is indeed very ugly!

Fixed by 1.0.1 (or at least by 1.0.2, didn't actually try it on 1.0.1) as promised!  Thank you.

Thanks for following up!


Remove lint warnings that may give away the solution

Currently, we get the following warnings:
svelte-snake-workshop/src/routes/task-3.3/problem/+page.svelte
  3:3  error  'DIRECTION' is defined but never used  no-unused-vars
svelte-snake-workshop/src/routes/task-3.6/problem/+page.svelte
  27:6  error  'headDirectionQueue' is assigned a value but never used  no-unused-vars

I am not sure if these are to be considered spoilers, but they seem to give away the solution (at least partially).
Possible solution: Delete the imports and rewrite the tasks with hints.

I'm still on the fence about this.


Add image

It technically works. Needs a lot of refactoring.
Also when you first do additer by absolute path, it crashes the application, but when you quit and restart it, the iteration is added and viewable(at least on my device). I am gonna sleep so if anyone can continue this a bit it'd be good.
Note that we should only use relative paths when saving to json datafile.

This has been extended on by pull request 92


Added support for spatialRepresentationType

Added the spatialRepresentationType element to the MD_Metadata.identification, supporting multiple instances of this element.

Sorry @tomkralidis but I didn't understand what you meant with your question, maybe you could explain better?

Sorry @pmdias missed the broader context (on mobile). Looks good!


Swagger UI page access from China

Currently, the client browser will try to download the swagger-ui css and js files from https://cdn.jsdelvr.net, which is not accessible from China. We should find a workaround for this.
Refer to https://github.com/fastapi/fastapi/issues/4924#issuecomment-1130789558

Verified on main c8e8485.


Integrate monitoring category with CloudWatch RUM

Is this feature request related to a new or existing Amplify category?
New category
Is this related to another service?
CloudWatch
Describe the feature you'd like to request
As a developer, I want to track Core Web Vitals of my Amplify application via CloudWatch RUM so that I can give customers the best experience.
Refs: https://aws.amazon.com/blogs/aws/cloudwatch-rum/
Describe the solution you'd like
Integration as a category would be the great experience. This proposal needs a collaboration with library team.

Run amplify add monitoring to start configuration
Choose what App monitor name should take a pace in CloudWatch RUM?
import { CloudWatchRAM } from 'aws-amplify'; and initialize in app
Then you will be able to see Core Web Vitals in dashboard on CloudWatch RUM

Stretch goal would be to integrate this feature on Console

Describe alternatives you've considered
I've implemented via Kinesis and QuickSight which took more than 6 steps and was hard to maintain.
https://watilde.medium.com/improve-ux-by-observability-in-front-end-with-amplify-and-quicksight-e7083ec1913b
Additional context
Many users today are struggling to observe issues of front-end in production and it is not simple to integrate tracking system as there was not many best practices, particularly within AWS. It is a blocker for large scale application developers to migrate from traditional server app to SPA.
Is this something that you'd be interested in working on?

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

In addition, I heard from developers that they are struggling to monitor heath check of resources Amplify uses such as DynamoDB. e.g. Developers need to check DynamoDB console if Throttling Error happens.

@akshbhu Is anyone working on this? Looking to contribute to Amplify-CLI, but don't want to reduplicate efforts.


Move interface ids to constants.cairo

[ ] account/library.cairo
[ ] introspection/ERC165.cairo
[ ] token/erc721/utils/ERC721_Holder.cairo
[ ] token/erc721/library.cairo
[ ] token/erc721_enumerable/library.cairo

All contracts that use interface ids should import them from constants.cairo

although I suggested this myself, I'm not convinced there's an advantage on doing so. Is there a gain in legibility? are interface ids reused across files?

Mhh, it does make sense and to make it available to users.


Where should applications connect for service discovery; with the provider, or registrator?

What version of docker are you running?
Docker 1.12
What version of registrator are you running?
MASTER/latest (as of today)
Did you build a custom version of registrator? If so, what is that image?
NO
What is the exact command you are running registrator with?
Identical to run reference example except for consul host address

Not a problem, but a general question. We configured registrator as a daemonset in kubernetes to register mostly Java spring boot we currently deploy. Consul is hosted external to kubernetes. In the past, before we knew of registrator, we configured the Java apps with the Consul host name such that on start up they talked to Consul directly (via COnsul agent) to do service registration/discovery. All that works fine, but with registrator, we're not sure what our applications should be talking to for discovery and registration; is it registrator, or directly with Consul itself?

Registrator frees you from having to deal w/Consul registration in your application -- it only requires a few environmental variables or container labels be set to control its behavior. Your app would no longer deal with that.
Alternatively you could use a tool like ContainerPilot to wrap your application and and handle the registration for you.

Gotcha, ty


Delay on actual brightness change from keystroke

Hi, thanks for this kext and amazing AsusSMC.
When I press Fn+F7 [Turn on/off screen], on Asus X510UA (an S510 variant) the input is immediate, but the time it takes for the screen to actually turn on/off is noticeable. It's longer with the ABS kext than without.
I think it's because without the kext each in/decrement is 1 and with the kext 1/4 and the time to process each change is different. 18 levels vs. 72 levels..?
It takes about 2 seconds to completely turn on/off. Would you be interested to add a fix to make it change faster?
Thanks.

I will fix it

WhateverGreen 1.5.3


PropertyListener always parses Content to a flat map

I guess this is just the simple solution under the assumption that the JSON is simple, that is, no nested objects.
Somehow the application callback needs to get the raw Content, so it can apply the domain-specific type system information, or there must be a modular layer in between that parses the serialized value for the application logic based on the domain-specific context of the TD.

This is now covered by the new Type System problems... closing this one.


[Question] IWC + Backend Errors

I cloned the IWC repo and I have a local setup running the IWC bus with nano-server.  When I run my app, I include the IWC and connect to my local bus.
var client = new iwcClient.Client({
  peerUrl: "http://localhost:3001"
});

I can see with the debugger that I am able to send/receive things via the IWC, but I receive console errors because the IWC is trying to connect to a backend that is not there.  I understand that IWC uses the backend to persist things, but as of right now I have no need to do this.  It would be perfectly reasonable in my case to use only IWC and persist the things I need with the backend I am writing.  With the new design of OZP, I would think that this would be reasonable.
The code I was toying around with looks something like this:
client.connect().then(function(){
  var dataApi = client.data();

  // I'm using AngularJS, so $scope.dashboardItems is what I'm sending to the IWC
  $scope.dashboardItems.forEach(function(item) {
    dataApi.addChild('/dashboard', { entity: item });
  });
}).then(function(){
  var dataApi = client.data();
  dataApi.list('/dashboard').then(function(res){
    console.log(res.entity);
  });
}).catch(function(err) {
  console.log('This is never called');
  console.error(err);
});

Questions on this:

Is there an option to disable the backend connection? Maybe by a persist: false option when setting up the client connection?
Is there a way to silence the errors?  In my code above the catch clause is never called

I've dug through the docs and the code and have not yet found an answer/workaround.  I'm including the console errors below.

Info
Just to get a little more information, 3/4 core api's have backend connections:
Data.api: for key-value persistence (both loading/unloading state)
System.api: for application registration knowledge (loading app listings from backend)
Intents.api: for static intent handler definitions (loading handler definitions, ie: application/json/view, its icon/label/(todo: persisted handler preferences)
Disabling backend connections for the three will still produce a functional bus, the loss of system.api backend will remove app awareness though, so you will be limited to only performing to handling intents with currently open applications rather than having the IWC prompt to load an application who's listing was gathered via the system.api.
With that in mind, you can still utilize the data.api  without a backend connection with the loss of loading saved state & persisting current state.
The errors you're getting happen at the initialization of the bus because the API's are sending off a request to grab data from their backends, but the IWC will continue functioning, just with lack of loaded data if no response is received.
Thoughts
Here's my thoughts on the matter, we'll flow these into development taskings should seem fit.

From a performance perspective I agree that you should be able to disable communications if desired, why have the bus fire AJAX calls if you know your deployment is set up such responses wont be received?

It will be investigated should a config param be placed on the defaultWiring.js to allow  deployments to disable backend communication. This would allow you to disable comms from the iframe_peer.html where deployment customization takes place.
Should control be added to only disable persistence? If a backend supplies some initial state for a user but won't accept any persistence of state, should a configuration be put in place to block data.api persistence for a deployment? Does this dig into an issue of giving too much customization that can lead to deployment difficulties?

The uncaught errors should be caught and passed through the IWC logging utility ozpIwc.log at respectable logging level with more useful notification (logging level will drive silencing).

FWIW, we're in the same boat as @emosher.  We want the power of the bus but would rather not have any backend requirements.
cc @danhooper, @jziggas

Using the bus without a backend is possible, but you will still be dependent on a domain hosting the IWC so that the browser can use local storage on that common domain. So long as that requirement can be met (you can host the IWC libraries statically, the ozpIwc.Client({peerUrl: <...>}) just has to point to the dir path  library ( ex) www.myApp.com/iwc if iframe_peer is www.myApp.com/iwc/iframe_peer.html)
We recently added a simple express+NeDB Node.js backend bundled with IWC for example purposes of data.api persistence use & system.api application listings.
If no use of data persistence or application listing is of interest, I'll throw together another deployable backend that you can just fire up with grunt serve-no-backends

Finally had spare time to address the no backend configuration. I'm reworking deployment configurations for the IWC so that all you have to do is alter a ozpIwc.conf.js that will be served along side the ozpIwc-bus.js to enable/disable backend communications among other common configurations.
#325 will be updating configuration work status on that issue, currently testing/documenting. Expect some update on this after the long weekend, will be bumping to version 1.1.0 with this change.

documentation on the "no-backend" setup is here
Tagging 1.1.0 and closing issue, set your ozpIwc.conf.js file to either not include ozpIwc.config.backendSupport or set it to false (it is false by default)
Feel free to follow up with futher requests via issues for more config properties.


Can't upgrade on Ubuntu 18.04

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

VS Code Version: 1.78
OS Version: Ubuntu 18.04

Steps to Reproduce:

sudo apt upgrade code

ubuntu@oracle-vm:~$ sudo apt upgrade code

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 code : Depends: libc6 (>= 2.28) but 2.27-3ubuntu1.6 is to be installed
E: Broken packages

The version available in the apt repo will have to be built on a system using an older version of glibc. Bear in mind that 18.04 doesn't hit EoL until 2028, with security patches available on the free tier for ESM from Canonical.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.78.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Same issue on Jetson Nano running Ubuntu 18.04.

@deepak1556 please revert to distro 9b27f67c15920833310305fce2d42cf2426f34ee as was last used in release 1.77.3
Unfortunately your repository https://github.com/microsoft/vscode-distro is closed source and we have no ability to determine what has been done to break compatibility.

and no, before someone tries to blame this on electron, no. electron still only requires GLIBC 2.17 even on the latest version. the version 22.3.5 which is currently used in latest release of vscode included (do a check on the binary yourself on the binary, it is the case)

@cobalt2727 I believe you are hitting this issue when using arm version of VSCode ? We had to bump our build agents for armhf and arm64 from debian stretch to buster for building with C++17 support that is required by V8 that comes with Electron 22. I would like to avoid rolling back the build agents, I will see if the symbol version can be locked for the native module instead.

electron still only requires GLIBC 2.17 even on the latest version on all supported linux architectures.

@theofficialgman yes the binaries requirement has not changed but it does not cover native modules that comes with the application.

@cobalt2727 I believe you are hitting this issue when using arm version of VSCode ? We had to bump our build agents for armhf and arm64 from debian stretch to buster for building with C++17 support that is required by V8 that comes with Electron 22. I would like to avoid rolling back the build agents, I will see if the symbol version can be locked for the native module instead.

Why so when you didn't for x86_64 builds? Using debian as build agents was a bad idea in the first place though since support has long ended for them. You should be using Ubuntu LTS agents. Even Ubuntu 16.04 is still getting security updates.
What tool chain do you require that is different on armhf/arm64.
All of this questioning could be avoided if you distro repo was open source.

@deepak1556 please use ubuntu bionic (18.04) as GCC-8 is present in the main repo and will avoid the GLIBC 2.28 minimum requirement. linking will fallback to a max of 2.27 and very likely 2.17 as there were no new symbols between those versions.
https://github.com/microsoft/vscode-linux-build-agent/pull/17
https://askubuntu.com/questions/466651/how-do-i-use-the-latest-gcc-on-ubuntu/1163021#1163021

Why so when you didn't for x86_64 builds? Using debian as build agents was a bad idea in the first place though since support has long ended for them. You should be using Ubuntu LTS agents. Even Ubuntu 16.04 is still getting security updates.

@joaomoreno do you have context for why debian was chosen as the base image for arm agents ?
@theofficialgman I agree bionic image has the necessary toolchain to support C++17 and at the same time not requiring GLIBC_2_28. Let me first find out how many symbols require the newer version, if it is a single change in a module I prefer it over changing build agents as a fix.

All of this questioning could be avoided if you distro repo was open source.

To clarify, this change has nothing to do with distro. The build agent changes happened as part of https://github.com/microsoft/vscode/pull/177600

@joaomoreno do you have context for why debian was chosen as the base image for arm agents ?

I remember not being smart enough to make cross compilation work with the Ubuntu base images.

I remember not being smart enough to make cross compilation work with the Ubuntu base images. I probably still ain't.

Sounds like an excellent time to bring up again that this whole line of questioning could be avoided if the distro repo was open source... 👀

I can't imagine it would be that different...?

@joaomoreno @deepak1556 refer to PR https://github.com/microsoft/vscode-linux-build-agent/pull/29
I am unable to test as I don't have your tooling but I have no reason to believe it won't work

@deepak1556 could you possibly attempt building vscode using the now generated 18.04 armhf/arm64 images?

@theofficialgman it will be addressed in the beginning of June 2023 milestone since we are in testing this week for May 2023 release.

I have Ubuntu 18.04, and i don't have this problem.

I have Ubuntu 18.04, and i don't have this problem.

@ChaseKnowlden this only affects ARM64/ARMhf where the images were switched to debian buster from stretch. x86_64 is not affected

This bug has been fixed in the latest release of VS Code Insiders!
@cobalt2727, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version 0e9c2fa760932b13f81516aff15f2b0112aa6eeb of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!

/verified

Wait, no, false alarm. @deepak1556 Sorry for the confusion.
ubuntu@oracle-vm:~$ code-insiders tunnel --accept-server-license-terms
/usr/share/code-insiders/bin/code-tunnel-insiders: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by /usr/share/code-insiders/bin/code-tunnel-insiders)
/usr/share/code-insiders/bin/code-tunnel-insiders: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/share/code-insiders/bin/code-tunnel-insiders)

I'm running this headless at the moment, so I'm unable to confirm whether or not running it in a GUI works at all. @theofficialgman if you've got some time on your hands, the Insiders build can be installed alongside the regular version - the package name is code-insiders

The fix in this PR only affects the GUI code-insiders binary, the tunnel binary code-tunnel-insiders is built on a different base image and remains unaffected. /cc @connor4312 in case you want to track https://github.com/microsoft/vscode/issues/181720#issuecomment-1596456924 in a new issue.

@cobalt2727 @deepak1556 can confirm that code-insiders works
I would be very good if the tunnel repo also used this ubuntu bionic base image though.

@connor4312 please respond about the proprietary tunnels binary https://github.com/microsoft/vscode/issues/181720#issuecomment-1596483373 otherwise we will have to open a new issue for it.

Deepak is working on that

Sorry for the silence, I was on vacation. I will address the tunnel binary dependency this week.


Old checks not removed on config changed

When a configuration item is set to the empty string, it should be removed if there was a previous check present.  (Discovered this when testing the fix for lp:1673064.)

(by mthaddon)
I've addressed this on https://code.launchpad.net/~mthaddon/nrpe-charm/+git/trunk/+merge/331411


Facebook Pixel

I need to add Facebook Pixel to the steps of this extention using
https://www.apptrian.com/facebook-pixel-for-magento
How I add this pixel (or other) on steps of CleanCheckout? Particularry Success Page.
I don't know what laypout use it (if Magento standard, Onepage Standard or other)

The question is: How I override/extend all steps to add a footer js code? And succesfully layout file where is?

CleanCheckout doesn't modify or remove the success page, so it should work already.

:-(

It doesn't work? Or am I missing something? :)

It's ok, probably is a generic problem with Magento 2.2.2: Facebook Pixel and Google Analytics have counts a lot different each one.
FOr Facebook Pixel it fire 20 payment instead 60 and I don't know why.