Resize -> extract -> rotate leads to no rotate

We have the following code:
sharp()
  .resize(600, 600)
  .extract({ width: 200, height: 50, left: 0, top: 0 })
  .rotate(90);

Result should be 50x200 however, it is 200x50 (rotate not applied).
When we do resize in a different instance, then the result is 50x200 as expected:
const instance1 = sharp().resize(600, 600);

const instance2 = sharp()
  .extract({ width: 200, height: 50, left: 0, top: 0 })
  .rotate(90);

instance1.pipe(instance2);

Is this an expected behaviour? If yes, what's the reason for this?
Sharp version: 0.21.3

Hello, the ordering of applying both a rotate and extract operation post-resize is currently fixed so the two-pipeline approach you suggest is correct. Please see #241 for discussion about a future possible additional API.

Oh, thats sad. We need to construct pipelines dynamically and using a lot of new instances hit the CPU really badly. In our code it is like 30ms vs 150ms or worse 😢

I suspect much of that time will be spent in the (de)compression round trips. If you've not already done so, it'd be worth experimenting with raw, uncompressed data for the intermediate stages.
const instance1 = sharp().resize(600, 600).raw();

const instance2 = sharp({ raw: { width: 600, height: 600, channels: 3 }})
  .extract({ width: 200, height: 50, left: 0, top: 0 })
  .rotate(90);

instance1.pipe(instance2);

Awesome! Thanks, It helps a lot.


.NET Framework 4 compability

Hi,
can I use this (and how) in a .NET 4.0 application?
Kind regards, Florian.

Right now it supports .Net 4.5 >=
If your requirement is strictly .Net 4.0 I will check to see what is the effort for it. It should not be very difficult since I already support netstandart 1.1

Hi, would be gread if we could use it in 4.0 directly. For now we found a workaround using it separated from our main product.

Wow, just saw you already did it - that's great news for us!
Thanks, that was quick.


fix(bundling): switch to using umd bundles

This means that we will stop polluting the global namespace when
zone.js is included.
Fixes #456

note: I've included the updates from running npm run prepublish here because it makes the review more meaningful.
Let me know if you'd like me to revert the changes to stuff in dist/

Responded to comments and updated the dist files - I'll squash and revert the dist files before merging if this looks good to you.


Defense Targeting not working?

When I target an enemy it doesn't seem to take into account what their defense is and just says "11".

I've tried this with existing characters and newly made ones.

Correct, getting the TN from a target is not yet supported.


Support more languages

Was about to open this issue but you already have that in mind!

Yep - Arabic not supported


Minor adjustments

Minimum filter size should be 0.5, not 0.0.
Exported projects have Max Diffuse Bounce set to 0 for the interactive configuration, that doesn't match what's set in blenderseed.

Also, some error messages appear in the system console:
ui\render.py:163
rna_uiItemR: property not found: AppleseedRenderSettings.sampler_max_variation

ui\render.py:164
rna_uiItemR: property not found: AppleseedRenderSettings.sampler_max_contrast

TypeError: EnumProperty(..., default='sRGB'): not found in enum members

I'm closing this since it appears to be done. Please reopen if necessary.


Appstudio update test-component-pac-wiyd

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-wiyd-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
29 seconds
build-container

✅ Succeeded
20 seconds
inspect-image

✅ Succeeded
21 seconds
deprecated-base-image-check

✅ Succeeded
11 seconds
clair-scan

✅ Succeeded
32 seconds
clamav-scan

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
11 seconds
optional-label-check

✅ Succeeded
11 seconds
label-check

✅ Succeeded
7 seconds
show-summary

✅ Succeeded
6 seconds
show-sbom

Pipelines as Code CI/test-component-pac-wiyd-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
27 seconds
build-container

✅ Succeeded
16 seconds
inspect-image

✅ Succeeded
14 seconds
deprecated-base-image-check

✅ Succeeded
10 seconds
clair-scan

✅ Succeeded
41 seconds
clamav-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
17 seconds
label-check

✅ Succeeded
16 seconds
optional-label-check

✅ Succeeded
8 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary


Need to automate the jar signing process for dss and esb tooling updates.

Description:
Currently we don't have a process to automate the jar signing when providing updates.

Configured jar signing process at the Jenkins Jobs.


Propose to publish aarch64 supported artifacts in Maven central

Recently we are trying to build Hadoop on ARM/aarch64 server, wildfly-openssl:1.0.7.Final is a required dependency, but there isn't aarch64 support wildfly-openssl in Maven central. For the 1.0.8.Final version, there are multiple OS/platforms supported: e.g. windows x86_64, linux x86_64, linux i386. but no aarch64 artifact, even we have supported in wildfly-openssl code. I would propose to publish aarch64 supported artifacts of 1.0.8.Final or newer version to maven central.

Hi @fjuma ,
Sorry for distubing, could you please take a look this issue, thanks a lot!

You could try this method offered by Kunpeng, Huawei.
https://support.huaweicloud.com/prtg-tpdl-kunpengbds/kunpengbds_02_0053.html

@Weizhuo-Zhang thanks, I know how to build on ARM,  what I mentioned is proposing to publish wildfly-openssl artifact to maven central repo, that other projects can directly use.

@liusheng It's time to introduce Kunpeng Maven repository which contains lots of aarch64 jar.
Step1: Go to https://mirrors.huaweicloud.com/ and search for "华为鲲鹏 - Maven"
Step2: Use Kunpeng Maven url directly - https://repo.huaweicloud.com/kunpeng/maven/


Heltec WiFi LoRa 32 V2 - compile fail

Hello,
i try to compile this app by Ardoino IDE but i still get some errors. I am not sure where is problem. Please could you help me ?
ESP-sc-gway:403:22: error: 'WlanConnect' was not declared in this scope
while (WlanConnect(0) <= 0) {
^
ESP-sc-gway:508:25: error: 'msg_lLED' was not declared in this scope
msg_lLED("GET TIME",".");
^
ESP-sc-gway:509:44: error: 'resolveHost' was not declared in this scope
ntpServer = resolveHost(NTP_TIMESERVER, 15);
^
ESP-sc-gway:559:41: error: 'writeGwayCfg' was not declared in this scope
writeGwayCfg(_CONFIGFILE, &gwayConfig );
^
ESP-sc-gway:594:30: error: 'readSeen' was not declared in this scope
readSeen(_SEENFILE, listSeen);       // read the seenFile records
^
ESP-sc-gway:631:38: error: 'writeConfig' was not declared in this scope
writeConfig(_CONFIGFILE, &gwayConfig);     // Write config
^
/Users/peter/Documents/Arduino/ESP-sc-gway/ESP-sc-gway.ino: In function 'void loop()':
ESP-sc-gway:671:19: error: 'WlanConnect' was not declared in this scope
if (WlanConnect(1) < 0) {
^
ESP-sc-gway:844:31: error: 'printInt' was not declared in this scope
printInt(micros(), response);
^
ESP-sc-gway:864:31: error: 'printInt' was not declared in this scope
printInt(micros(), response);

It is solved.

how?

Same compile errors here ! @bibibo-77 would be great if you share with us how you sorted this out !
Thanks,
GS.

Ok my Bad ! I did not read the README completely :
Arduino IDE
Create a place on you filesystem to work on the files. In this directory create the source directory "ESP-sc-gway" and the libraries directory "libraries". When unpacking the source at github: Copy the content of the "src" directory to the Aruino IDE "ESP-sc-gway" directory and copy the contents of the "lib" directory to the Arduino IDE "libraries" directory;
In case someone finds this post through a google search


Leverage SvelteKit's stuff?

Hi, thanks for sharing some great ideas in Svemix! metadata support is something we've long wanted to add to SvelteKit and we've now enhanced stuff such that it can be used for those purposes. Would it make sense for Svemix to leverage it?
E.g. there's an example in the Svemix docs:
<script context="module" lang="ts" ssr>
	export const loader: Loader<Props, Locals> = async function ({ params }) {
		try {
			const post = await db.post.findUnique({
				where: { slug: params.slug },
				rejectOnNotFound: false
			});

			if (!post) {
				return {
					status: 404,
					error: 'Post not found'
				};
			}

			return {
				props: {
					post
				}
			};
		} catch (error) {
			return {
				status: 500,
				error
			};
		}
	};

	export const metadata: MetaFunction<Props> = (props) => ({
		title: props?.post.title,
		description: props?.post?.content
	});
</script>

This could be written using SvelteKit's stuff as:
<script context="module" lang="ts" ssr>
	export const loader: Loader<Props, Locals> = async function ({ params }) {
		try {
			const post = await db.post.findUnique({
				where: { slug: params.slug },
				rejectOnNotFound: false
			});

			if (!post) {
				return {
					status: 404,
					error: 'Post not found'
				};
			}

			return {
				props: {
					post
				},
				stuff: {
					metadata: {
						title: post.title,
						description: post.content
					}
				}
			};
		} catch (error) {
			return {
				status: 500,
				error
			};
		}
	};
</script>

Hey @benmccann, i think it makes sense to leverage SvelteKit's stuff here, at the time writing the metadata feature i think it wasn't possible accessing $page.stuff. This would also simplify some Svemix internals a lot.

Svemix now leverages shadow endpoints and the implementation of metadata has changed, you can now return it inside your loader and no need for an extra metadata function,


Binding to close current node

Say that I am in a node like this:

Being able to press a key and change the tree to this:

(so close the node that the cursor is currently inside of) would be a nice feature to have, similar to how nvim-tree.lua has close_node.

Interesting. That is easy enough to add.

@levouh Question: If a directory is currently focused, should it collapse that currently focused directory, or it's parent?
In your example, what happens when you execute close_node in the pack directory in your second screenshot?

Apologies for the delay; it would close the focused node if it was open, otherwise close the parent of the current node.

@cseickel thanks for the addition!
Messing with what you pushed on main and is works great, however I sometimes run into this issue where closing a node changes the directory of the window and goes to the wrong parent:
https://user-images.githubusercontent.com/31262046/148656119-370545bd-33a7-40f1-9327-9546ff47ba54.mp4
Note that the starting directory (and the one that contains the file) is ~/dots, then after closing a node within ~/dots my directory (both global and tab-local) is changed to ~/

I just opened up a bug that I think is the real cause of this issue: #22
Basically, it is not using your custom mappings, and backspace is still running the default command of navigating up. Upper case C should give you the behavior you are looking for right now.

Actually, I already figured it out! change your mapping to lower case. My default config merging is case sensitive.
<bs> instead of <BS>
I'll fix that of course, but this will get you working immediately.

Awesome, I will give it a try. Thanks for the notes.


feat: add rapid begin/end command and a --files-only flag

The commands should signal the begin and end of groups.
Groups are sets of rapid component generations.
A single generation might come with some flutter pub get, melos bs --scope or a flutter pub run build_runner build
which take long to complete. This can lead to flutter pub get, melos bs --scope or a flutter pub run build_runner build beeing run multiple times on the same packages.
When grouping multiple component generation commands together and using --files-only flag Rapid CLI should track which packages need runs of flutter pub get, melos bs --scope or a flutter pub run build_runner build and perform them a single time when rapid end is called.
This way the generation speed should be increased by a large factor.
These commands allow to write:
rapid begin
rapid create hello_world --ios --o cool
cd cool
rapid domain sub_domain add value_object EmailAddress --files-only
rapid domain sub_domain add value_object Username --files-only
rapid ios add feature cool_page --routing --files-only
rapid ios add feature other_page --routing --files-only
rapid end

files-only flag wont be implemented because the commands instead will by default check wheter they are part of a grouped run and will then internally just gen files and not run any long taking tasks.

Atm the commands use plain text files in .rapid_tool. Make it use json files


Now the aliens are cmg continously wihtout stopping

This PR introduces several key updates and improvements:
Feature: Added functionality to spawn aliens dynamically in batches based on the current game level, ensuring smoother pacing and increasing difficulty over time.
Bug Fix: Fixed an issue where no new aliens were spawned after the first wave, causing the game to freeze.
Improvement: Enhanced game-over logic and refactored the reset function to allow seamless replay after a game-over scenario.
Issue Fix:
This PR fixes the issue where alien spawning would stop after the first wave, preventing further gameplay progress.
Fixes #151

before
https://github.com/user-attachments/assets/3011b23e-f56e-47ac-9b9b-8e2d85689c14
after
https://github.com/user-attachments/assets/82dfdcfd-4f37-4e08-ba5d-49fe0f49d46a
and updated the highscore

assign the level 3 tag as i worked so much for this

Bug fix (non-breaking change which fixes an issue)

New feature (non-breaking change which adds functionality)

Breaking change (fix or feature that would cause existing functionality to not work as expected)

How should this be tested?

[x ] Test A
[ x] Test B

Mandatory Tasks

[x ] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Could you please assign Level 3 for my hard work, as I've made a lot of changes to the project? Thank you!

can u review the pr


Build break: Windows: no-engine

Configure no-engine VC-WIN32 breaks the build because the following functions are still exported in libeay32.def:
TS_CONF_set_crypto_device
TS_CONF_set_default_engine
linker error:
LIBEAY32.def : error LNK2001: unresolved external symbol TS_CONF_set_crypto_device
LIBEAY32.def : error LNK2001: unresolved external symbol TS_CONF_set_default_engine

fixed with https://github.com/openssl/openssl/commit/8e237299b0357091dae8e7175cbfa11f4fbc98c7

A fix has been pushed just now, so this ticket can be closed.

And this page didn't update before I sent my comment...  ah well ;)


[WIP] Adds a Helm check for a new version of Helm

There are a few things this needs to do before it can be merged.

Get a real releases URL and a process documented to update it
Question, should the notification happen on first run?
Does the opt-out work ok?

The design of this was so that it could be leveraged from within another client that pulls helm in and with a helper to make it easy for helm operating locally. Is the design layout ok?

FYI, CircleCI is passing for this... https://circleci.com/gh/kubernetes/helm/tree/pull%2F4353

Get a real releases URL and a process documented to update it

Hmm, assuming we publish this file via the existing release process, we could just point to the cloud storage endpoint hosting the Helm releases. However, if CI's gated to only upload on official releases, that would mean that there's a small point in time between the latest release and when this file is updated. WDYT?

Question, should the notification happen on first run?

I think so, yes!

Does the opt-out work ok?

Is there a way to persist the opt-out check? From a cursory glance it appears that the user has to constantly supply the feature flag to disable it. Should we check for the presence of a file in $HELM_HOME?

Hmm, assuming we publish this file via the existing release process, we could just point to the cloud storage endpoint hosting the Helm releases.

When it comes to Helm 3 are we going to host releases in the same place? That is, a Google Cloud object storage container with Google in the name rather than some DNS name we've put in front of that.
I would prefer the update URL be hosted behind the helm.sh DNS somewhere so we can change the implementation later.

However, if CI's gated to only upload on official releases, that would mean that there's a small point in time between the latest release and when this file is updated. WDYT?

I would keep the current CI process. Update this separately. Then we can control when the release goes out. For example, we might tag a release and have it generated but have a window while we finish the release notes before telling people. We can choose when we tell people.

Is there a way to persist the opt-out check?

I can add something
I was also thinking of adding a command to check

It seems like the best place to fetch release info is from the releases page on GitHub. I know there is an API endpoint for releases. Could we use that?
I am fairly certain that we will be moving the releases off of the current GCS location simply because that is part of the Kubernetes project.

It seems like the best place to fetch release info is from the releases page on GitHub. I know there is an API endpoint for releases. Could we use that?

ref: https://github.com/technosophos/helm-template/blob/c96a3c60ccc2b44e64aaddb43edb09a8802948bc/install-binary.sh#L66-L75

That snippet actually was borrowed from the get script in this repo, which does approximately the same thing.
And I just realized that this is a 100% Matts thread.

@technosophos There were a few reasons I didn't want to go with the GitHub releases. Curious to know what you think of them...

You'll notice in the release data is the checksums. Since we don't control the releases on GitHub there is no way to inject checksums. I had a tangential idea to host the checksums in a separate location from the downloads.
Anything we release, whether pre-release or alpha, is in the release list. I wasn't thinking that would be in the update information for which we check against.
Decoupling notifications from releases. For example, some projects do notifications the day after a release.
Portability... what if we someday want to move releases elsewhere?
The GitHub API v3 has a rate limit of 60 per hour when anonymous (graphql v4 api cannot be hit anonymously). We could run into problems within CI systems like TravisCI. I've experienced this in the past.

So, this is why I was thinking of doing it outside of GitHub releases. Thoughts?

Oh, I was reading the patch as using GitHub for release info anyway. Yeah, I can see how actually having a dedicated URL with checksums will make things a little more secure (in the sense that the person building it can generate the checksum). So I am okay with that. Where, though, would we put this information? helm.sh?

ping. As per the announcement on the mailing list, Helm 2.15.0 is the last release where we will be merging new features for Helm 2. Are you still interested in getting this one in before the 2.15 release, @mattfarina?
If you don't have the time right now but you're still interested in pushing this along the finish line, would you mind re-targeting this against Helm 3?
Thanks!

Closing as it needs massive rework before going in. If someone else what's to do this they should feel free to. Otherwise, I'll rework this in a future PR.


Fixed link to std repository

I think the standard library repository has moved to deno_std. This pr fixes that link.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Require with version

This changes the require decorator so you can skipping the required test only after a particular version. So, imagine:

A commit is merged to 2.2 and all greater versions, causing a test to fail or flap.
File Jira ticket number 42 to request the bug be fixed.
We want to run the test on versions before 2.2, but skip it on later versions 2.2.

The changes in this PR allow us to use @require(42, broken_in='2.2') to tag the test's failure as dependent on CASSANDRA-42 and skips the test on all versions after 2.2.
This also changes the since decorator to use a more standard design. This allows a class to be sinced multiple times, which is more likely to come up now because the new require feature uses since internally.
My testing of this basically consisted of playing with it, mostly using the tests in validation.py as a testbed. It :tada: :balloon: works on my machine :balloon: :tada:, but I'd appreciate it if whoever reviews this could run it locally and confirm it behaves as they expect.
@aboudreault and/or @shawnkumar, can you review?
This also adds some uses of the new require feature, superceding #374 -- see the 3rd commit.

+1. Ran it locally as well, and it is working for me.

awesome, thank you @ptnapoleon. merging.


update roadmap

@max-sixty take a look
#301

Merging and we can continue iterating, if that's OK @aljazerzen !


Get off ramp and back on instead of staying on highway

This issue is very asocial and in many regions/countries even illegal. It's important for our scenario. Let's track this issue here to see when can we have it.
Original discussion in https://github.com/Project-OSRM/osrm-backend/issues/5244

We met this issue a lot after live traffic injected.
Divebombfree traffic updates from https://github.com/Project-OSRM/osrm-backend/issues/5244 provides a very good sense on how to solve this issue. If we want to solve this problem like this, firstly we need to identify all the Divebomb from road network in preproessing. Maybe we can do it like this:

Find all highways in map data
For each highway(same name), figure out any on/off points, every on/off in typical distance could be a case to check
Query routes for every cases with alternatives
Perform on/off highway checking to identify Divebomb

Does it make sense? any better idea?

In non rush hour, we can increase weight for ramp (or motorway_link) when applying traffic. (We can query edge attributes by way id in traffic.csv)

Offline discussed with @CodeBear801 for another possible solution:

Setup two deployments: 1 with traffic and 1 without traffic
Query route from the with traffic deployment
Check whether it has the on/off highway issue
If yes, query again from the without traffic deployment

The challenage might be how to check whether it has the on/off highway issue or not:

requires some attributes: whether highway, whether ramp/connection road, road name, etc.
need to post scan the route, either in osrm-routed or another service that can get these attributes


Recurring Donation Batch Error "List index out of bounds: 1"

Create Household Contact
Add Recurring Donation (open)
Delete Contact (with override button)
Result:
In my org, I received 2 identical emails:
Errors:
Error #1:
Error Type: Other
Error Date: 2016-12-21 12:59:22
Message: "entity is deleted"
https://npsp.na35.visual.force.com/a0941000001mbvyAAA
Stack Trace:
null
Error #2:
Error Type: System.ListException
Error Date: 2016-12-21 12:59:22
Message: "List index out of bounds: 1"
Stack Trace:
Stacktrace available at the time of saving the record - (npsp)

Included in beta release 3.88 (Beta 10)

Included in production release rel/3.88


Pupeteer fast in remote desktop, slow in SSH (headless: false)

Hi,
When I run visually pupeteer inside a remote desktop, everything works fine (I use headless:false)
When I run it in SSH, it is 20 times slower.

browser = await puppeteer.launch()

takes more than 15 seconds in SSH and 1 second is remote desktop
when headless:true, it works fine both in remote desktop and ssh
Any clue ?

Assume you're using X forwarding... that's slow. Network can also have a big impact.
Running a puppeteer script w/ ssh -X, connecting to a machine under my desk  yields a ~5x slow down launching headless vs. headful chrome:
HEADLESS=true node pptr_x11.js
-> launch headless: true: 1186.032ms
HEADLESS=false node pptr_x11.js
-> launch headless: false: 5683.967ms

Running the same script directly on the machine:
HEADLESS=true node pptr_x11.js
-> launch headless: true: 211ms
HEADLESS=false node pptr_x11.js
-> launch headless: false: 864.ms

Going to close since this isn't an issue related to the Puppeteer library itself.


Requesting to change the settings on iPhone devices for mac-26 & mac-10.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
Requesting to change the settings on iPhone devices for mac-26 & mac-10.
Turn off Wifi and Bluetooth and then turn on Airplane mode on iPhone devices for both for mac-26 & mac-10
Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Works completed.


Java Plugin uses "Unsafe" classes of a 3rd-party library and in turn of JDK

My Environment Information -----------
darwin, 0.9.9
html-report (4.0.4), java (0.6.7), screenshot (0.0.1)
Expected behavior
I expected this output on a simple, first time usage, as suggested in the docs:
# Specification Heading
  ## Vowel counts in single word	 ✔ ✔
  ## Vowel counts in multiple word	 ✔ ✔

Successfully generated html-report to => /Users/prafulll/reports/html-report/index.html
Specifications:	1 executed	1 passed	0 failed	0 skipped
Scenarios:	2 executed	2 passed	0 failed	0 skipped

Total time taken: 64ms

Actual behavior
I just started using gauge, and ran following two commands after brew install gauge
gauge init java
gauge run specs
I first got permission denied error trying to run second command.
Compatible version of plugin html-report not found. Installing plugin html-report...
........................
Successfully installed plugin 'html-report'.
Installing required plugins.
.....................
Failed to start /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/docs/api/com/sun/tools/javac. fork/exec /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/docs/api/com/sun/tools/javac: permission denied
Error ----------------------------------

Failed to start gauge API: Runner with pid 67606 quit unexpectedly(exit status 1).

Get Support ----------------------------
	Docs:          https://docs.gauge.org
	Bugs:          https://github.com/getgauge/gauge/issues
	Chat:          https://gitter.im/getgauge/chat

Your Environment Information -----------
	darwin, 0.9.9
	html-report (4.0.4), java (0.6.7), screenshot (0.0.1)

So, I ran it with sudo, after which it worked, but with these warnings
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/Users/prafulll/.gauge/plugins/java/0.6.7/libs/protobuf-java-3.3.1.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Steps to reproduce

brew install gauge on MacOS with JDK9 (build 9+181)
gauge init java
gauge run specs

Gauge version
0.9.9

Can you try running any java application and confirm if you were able to run it without sudo ?
Gauge by default doesn't require any sudo permission, since you were also able to run
gauge init java
without any problem it could be an issue with java installation.
And regarding the warning,  we are working on it to fix.

Closing this as an old issue. This may be fixed in the newer releases.
Will reopen if it still needs fixing.


Element.clonePosition on chrome/android

Since upgrading from 1.7.0 to 1.7.3, I notice that Element.clonePosition when used to position absolute elements, does not give expected behavior for Chrome/Android mobile  - the absolute position depends on the viewport position, so for instance a dropdown results menu whose position is set using clonePosition based on its search box  (cf scriptaculous' Ajax.Autocompleter) could be positioned in error offset by X to the right of the box, if the view is scrolled to the right by that much when clonePosition is called.

I've investigated further, this looks like a bug in the browser - not returning a correct result for getBoundingClientRect. I've patched my version up locally, the changes required hunks 1,5 below, to basically force using the default Element.viewportOffset for this browser case. This latter incidentally didn't work without hunk 2  - seems like a prototype issue for the manual calculation of viewport offset? The required scrollLeft/Top values were found in the docBody element's scrollLeft/Top attributes.
Hunks 3 and 4 are what I consider a genuine issue in prototype - when cloning the position of source element "source", the element to be positioned "element" should not consider the page scroll if its offset parent is not the doc body. I confirmed this with a test case I had on my site.
--- prototype.js
+++ prototype.js
@@ -17,6 +17,7 @@
IE:             !!window.attachEvent && !isOpera,
Opera:          isOpera,
WebKit:         ua.indexOf('AppleWebKit/') > -1,

 MobileChrome:   /Android.*Chrome\/[.0-9]* Mobile/.test(ua), // see here for more: https://developer.chrome.com/multidevice/user-agent
 Gecko:          ua.indexOf('Gecko') > -1 && ua.indexOf('KHTML') === -1,
 MobileSafari:   /Apple.*Mobile/.test(ua)

}
@@ -4136,10 +4137,8 @@
element = forElement;
do {

 if (element != docBody) {
   valueT -= element.scrollTop  || 0;
   valueL -= element.scrollLeft || 0;

 }

} while (element = element.parentNode);
return new Element.Offset(valueL, valueT);
}
@@ -4277,11 +4276,12 @@
element = $(element);
var p, delta, layout, styles = {};

var parent = Element.getOffsetParent(element);
if (options.setLeft || options.setTop) {
p = Element.viewportOffset(source);
delta = [0, 0];
if (Element.getStyle(element, 'position') === 'absolute') {

   var parent = Element.getOffsetParent(element);
   if (parent !== document.body) delta = Element.viewportOffset(parent);
 }

}
@@ -4301,8 +4301,7 @@
return { x: x, y: y };
}

var pageXY = pageScrollXY();

var pageXY = (parent === document.body) ? pageScrollXY() : { x: 0, y: 0 };
if (options.setWidth || options.setHeight) {
layout = Element.getLayout(source);
@@ -4416,18 +4415,22 @@
!Element.descendantOf(element, document.body);
}

if ('getBoundingClientRect' in document.documentElement) {
Element.addMethods({

 viewportOffset: function(element) {

   element = $(element);

   if (isDetached(element)) return new Element.Offset(0, 0);

   var rect = element.getBoundingClientRect(),

    docEl = document.documentElement;

   return new Element.Offset(rect.left - docEl.clientLeft,

    rect.top - docEl.clientTop);

 }

});

// getBoundingClientRect seems broken for certain versions of chrome/mobile
// applying a blanket for now across all versions
if (!Prototype.Browser.MobileChrome) {
if ('getBoundingClientRect' in document.documentElement) {

 Element.addMethods({

   viewportOffset: function(element) {

     element = $(element);

     if (isDetached(element)) return new Element.Offset(0, 0);

     var rect = element.getBoundingClientRect(),

      docEl = document.documentElement;

     return new Element.Offset(rect.left - docEl.clientLeft,

      rect.top - docEl.clientTop);

   }

 });

}
}

I can confirm the issue that is fixed by hunks 3 and 4. Thanks for this report. Fix incoming.
If you can give me a reduced test case that demonstrates the issue that is fixed by hunk 2, I can try to address that too, but right now I don't have enough to go on.


Getting other people's PR's in my gifts?

Only the PR on the 7th is mine. The others I've never been involved in (not even watched the repo), example:
https://github.com/angular/angular.js/pull/10564

Yeah this is definitely a problem, first reported here: https://github.com/24pullrequests/24pullrequests/issues/1005


Mac OSX Java Version

Is there a specific Java version need to run this on OSX 10.10?
Ran nodeunit test and was asked to install java, however I have 1.8.0_45-b14 installed.
$ nodeunit test/test.js

test.js
✔ configuration - ambiguous xslt
✔ configuration - ambiguous source
✔ configuration - source missing
✔ configuration - result missing
No Java runtime present, requesting install.

$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

I have this java version installed in OSX 10.10:
    $ java -version
   java version "1.8.0_25"
   Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
   Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

And it works fine:
   $ nodeunit test/test.js

   test.js
  ✔ configuration - ambiguous xslt
  ✔ configuration - ambiguous source
  ✔ configuration - source missing
  ✔ configuration - result missing
  ✔ transformation - with file - transformation ok
  ✔ transformation - with string - transformation ok
  ✔ transformation - with buffer - transformation ok

Unfortunately this requires legacy support on Mac for deprecated runtimes.
Java for OS X 2015-001
Java for OS X 2015-001 installs the legacy Java 6 runtime for OS X 10.11 El Capitan, OS X 10.10 Yosemite, OS X 10.9 Mavericks, OS X 10.8 Mountain Lion, and OS X 10.7 Lion.
This package is exclusively intended for support of legacy software and installs the same deprecated version of Java 6 included in the 2014-001 and 2013-005 releases.

FYI, this addresses the issue too:
https://github.com/joeferner/node-java/issues/223
To fix this I manually enabled JNI by editing
/Library/Java/JavaVirtualMachines/<version>.jdk/Contents/Info.plist and adding JNI as an option in JVMCapabilities:
<key>JVMCapabilities</key>
<array>
    ...
    <string>JNI</string>
</array>

Worked for me @cicorias ... Thanks!


⚠ Bofrost.fr has degraded performance

In 8a22a18, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 850 ms

Resolved: Bofrost.fr performance has improved in 3f7cae5 after 20 minutes.


Ark backup in AWS rotating access keys daily

@jvaibhav123 Could you provide some more context? Are you trying to use Ark in an environment that's rotating its AWS keys daily?

@jvaibhav123 could you please provide more information for your issue/feature request?

closing as unresponsive, reopen with further information if needed!


Inventory and Container Tweaks

More efficient update routine
Abstracted repeated getNumSlots
Improved layout of inventory and containers.

This change might be rendered partially unnecessary with the fix to the number of inventory slots a player has (the inventory size should only be 40 cells with 10 on the toolbar).

That said, as long as the layout looks fine with the correct number of cells and adapts nicely to different resolutions, I'm happy with the changes.

Apologies for the style issues, I tried to replicate the existing standard but obviously have some habits I missed. Should be fixed now.
The new layout should fit better on a variety of screens. I use 1280x720, so I had issues seeing the old one; the horizontal cell limit caused the number of vertical cells to exceed my screen dimensions, causing all sorts of terrible problems accessing items and overlapping other UI elements like the toolbar.

Thanks for the tweaks! :-)
Unsure if this was just sort of a random tweak or if you're interested in GUI stuff in general. Seeing the inventory-chest display horizontal reminded me of a couple old threads talking about GUI placements and use in different cases
http://forum.terasology.org/threads/gui-where-to-put-what.623/
http://forum.terasology.org/threads/miniions.292/page-5#post-2849 (just a post with some mockups - main thing I was remembering: a split screen for trading with local player on bottom, remote player on top)
Both are pretty old and outdated at a technical level, but it is more about the design ideas. Also a bit related is http://forum.terasology.org/threads/mouse-button-behavior.704/
Just wanted to throw that in here in case of interest :D
Also a quick GitHub protip: Avoid merging into topic branches, as you get excess merge commits like here, and in worse cases may end up reintroducing old commits as new, muddying up history - in this case it worked out fine though! Instead you can either leave the topic branch a little old as we'll do the merge to main develop, or try your hand at git rebase - although that can be tricky itself :-)


Resolve issue with Azure subscription icon.

Resolves missing Azure subscription icon in the tree view by ensuring the underlying Azure UI extension logic always ignores "bundling" (which this extension does not yet do), rather than ignoring it only when debugging locally.
Resolves #11.

Looks good to me! Thank you for investigating and finding the root cause.


🐛 BUG: "Failed to register worker in local service registry" on wrangler pages dev if wrangler.toml exists

Which Cloudflare product(s) does this pertain to?
Pages
What version(s) of the tool(s) are you using?
wrangler 3.62.0
What version of Node are you using?
22.1.0
What operating system and version are you using?
Mac Sonoma 14.5
Describe the Bug
Observed behavior
wrangler dev pages . runs but content not accessible via browser when wrangler.toml exists.
Expected behavior
Expect to be able to view content, even when wrangler.toml exists.
Steps to reproduce

pnpm add -D<EMAIL_ADDRESS>echo hello > index.html
pnpm wrangler pages dev .
Command-click the URL in the console and see "hello" in the default browser
[ctrl]+[c] to end the wrangler process
echo 'name = "foo"' > wrangler.toml
pnpm wrangler pages dev .
Command-click the URL in the console and see that the default browser fails to return the page

Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

Actually, this could be a misunderstanding on my part...
The Pages docs do indicate that wrangler configuration is for Functions and that "Configuration via wrangler.toml is in open beta."
That said, when I first ran into this problem, I was specifying a port in wrangler.toml, which was being applied successfully in a wrangler pages dev command. It also logged "No functions. Shimming..."
Is the observed behaviour unexpected so far as the team's concerned?

Turns out I just needed to ps aux | grep wrangler to find the spare wrangler processes running on non-standard ports and kill them off. Problem solved.


Will imports be introduced as in Java?

There are a huge number of types of imports in JavaScript (I counted 3 of them), is it possible to support such imports as in Java? Java imports are developing and the specification is very good and time-tested.
In terms of convenience (absolute paths, not relative), you immediately write the import of the package you want, not the class that you need to import, but only then the path to the file, which is not convenient when typing in from the keyboard.
Due to the fact that developers encounter problems in the development, you have to write all sorts of resolving paths (webpack.config, tsconfig).

We will stick to JavaScript's imports. See the design goals.

Duplicate of #17814


feat: Control propagation of the ASG Name tag to instances

Closes #148

v4.4.0 has been just released.


Fix CI tests

multi_scan does not pick the scheme default testplan as Xcode does.
As a consequence CI was running the Standalone plan introduced
recently, only 78 of 722 tests... ¯\_(ツ)_/¯

Yay, I was fearing more broken tests 😎


What are the results of your KPConv on the Semantickitti dataset?

What are the results of your algorithm on the Semantickitti dataset?

The ones under my name hugues.thomas (21st on single scan and 1st on multiple scans)


TypeError on page load, "more" dropdown always visible & not dismissable

Extension version: 19.8.20
URL: any page where the tab menu is displayed (e.g. https://github.com/sindresorhus/refined-github)
I tried disabling the extension and the problem goes away (both the TypeError and the stuck dropdown)

Error that appears in the console:

Stuck "more" dropdown:

It's not just the "More" dropdown that this affects:

I am also experiencing this. I have to disable the extension for now.

@pedrosimao, FIY: you can disable just more-dropdown options, not the entire extension:

For the error message please see #2334
For the dropdown see #2357
@anowlcalledjosh hzoo/contributors-on-github#28

aha, cheers – I forget which extensions I have installed :P

Duplicate of #2357.


Investigate staging for the website

Just to add an update here:
I've looked into using Netlify for doing the staging however there do seem to be some limitations with the free tier.
I need to explore these limitations to verify wether this will remain a viable solution.

Terms of service here: https://www.netlify.com/tos/  ... perhaps a legal review required.


Option to tell esformatter to keep short inlined if-statements

Usually, I prefer
if (foo) {
  // …
}

instead of
if (foo) { /* ... */ }

However, I sometimes like to use the second form for verifying parameters and throwing errors / calling callbacks with an error object.
How could one deal with this?

Hello.
It doesn't seem to work with if statements without the opening and closing braces.
if (something) somethingElse();

it always gets converted to
if (something)
    somethingElse();

Is there anyway config not to touch this?


Update to swift 4.2

Update to swift 4.2

Thanks for reminding, just published 1.0.0, check it out.

@muyexi thanks, but for some reason after the update StaticTableViewController folder contains only LICENSE & README files so it doesn't work of course. I use cocoapods.

Updated this late in night and force-pushed an invalid podspec 🤦. Please try 1.0.1.


Feature request: add verbose logging option

Hi, thanks for maintaining this addon!
Today I ran into a problem and wanted to increase verbosity of the logs. I had to install the xirixiz docker image to be able to do that. Could you please make this a configurable option for the addon? The code seems to be already there:
https://github.com/sanderdw/hassio-addons/blob/6ec213f45673dfa4de4e55cdfc1aa459247a4a84/dsmr_reader/run.sh#L151-L153

Hi @balk77, just wanted to let you now that i missed some Github notifications but i will add this feature for sure. Hopefully somewhere this week.

Hi @balk77, just released 0.7.3 which has some debug options.


PlaybackPro Plus clip ID

Companion v1.3.0(d8b8589-1309)
Describe the bug
I cannot recall clips in PlaybackPro pro using companion.  Other commands work.  I have sent the commands using packet sender and they execute successfully.
To Reproduce
Steps to reproduce the behavior:

Add PBP module
select 'Load clip ID into PVW'
Execute
Nothing happens

Screenshots

Desktop (please complete the following information):

Win10
Chrome
Version Companion v1.3.0(d8b8589-1309)

Many thanks

Jeffrey,
I am back in the office now and have a mac running playback pro.
I am using Companion v1.3.0(9ba8221-1382)
I have named clips
001
01
1
11
010
100
All clips are recalling correctly although leading zeros are being ignored.
If I send '001' then '1' is triggered.
I usually use three digits to maintain uniformity.  It also means file browsers keep the correct order.  It works perfectly well ignoring the leading zeros but maybe that could be added in the notes section for the module?
Thank you
Matthew

Add ""+ in front of the clip to cast it to a string, jeffrey :)

Thanks for testing! @willosof I'll check that, tnx


fix: CommandView don't need to unmount itself

When you destroy command with toDestroy[i].destroy();, CommandHistoryView's props will
change and render its child(CommandView)
In my opinion, we don't need to unmount it(react do it)
and pass this error

Great! Yeah tbh this was probably just vestigial code that made sense in a backbone+jQuery world (where we had to manage the DOM much more manually) but doesn't apply to a react version.
Great to see another high quality PR from you 😇 merging!


Paratext: Author should be an object field

This field which you just added should function as an object field just like Title Page : Author Filter.
Maybe change its name to have Filter on the end for clarity?

On the user side, a new Filter should be added to the drop-down list, just below "Author (Title Page)" and it should be called "Author (Paratext)" and should search on this new field. Nothing needs to change in display of records since this is already handled by the way paratexts display.


Improved load_acs

Improved loading function using pandas read_csv only instead of StrinIO

Thanks for your contribution!

Hi, I just noticed that this pull request also remove the usage of the density parameter. This seems to be a parameter to take a sample from the data. Can this be added back?

Hi, I just noticed that this pull request also remove the usage of the density parameter. This seems to be a parameter to take a sample from the data. Can this be added back?

Hi, I restored that feature in this pull request.
Sorry for the mistake.


version 0.5.0

Description

feat: add flake8 ignore setting
fix: catch exception gently
cicd: add dependabot
doc: add workflow
feat: add github workflows
fix: uncatch exception when unknown error

Type of change
Please delete options that are not relevant.

[x] Bug fix
[x] New feature
[x] Document
[x] CI/CD

How has this been tested

[x] Unittest

Checklist:

[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Let's make the world better✨😋🐍🌎

Codecov Report

Merging #6 (2ae8b34) into main (0aa66a4) will increase coverage by 0.19%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   91.47%   91.66%   +0.19%
==========================================
  Files          18       18
  Lines         469      480      +11
  Branches       29       29
==========================================
+ Hits          429      440      +11
  Misses         26       26
  Partials       14       14

Impacted Files
Coverage Δ

pypj/setting.py
92.10% <ø> (ø)

pypj/file_path.py
95.65% <100.00%> (+0.41%)
:arrow_up:

pypj/main.py
97.61% <100.00%> (+0.11%)
:arrow_up:

pypj/task/githubactions.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Communication Request

Hello,
I am interested in becoming a sponsor for your project on GitHub. Could you please provide your contact information such as Discord or email where we can discuss this further?
My email address is<EMAIL_ADDRESS>and my Discord handle is @ultrazett.
Thank you!

Did you miss the readme migration notice? https://github.com/Stability-AI/StableSwarmUI?tab=readme-ov-file#migration-notice
https://github.com/mcmonkeyprojects/SwarmUI/discussions/2


Fix for #526: try get the resource in the ancestor loop first

For my use case, i need to try the get resource in the loop to find the first existing ancestor.
This works for me.
Please check, if it break another use case.

Coverage decreased (-0.01%) to 40.902% when pulling b98706e6e0c138b81b9f547a660c8dc1473d2a04 on jochen314:master into e461d9c1dd6742de49e88ddbbbe0cb2e6d8537ef on Adobe-Consulting-Services:master.


Don't calc_data_range on uint8 data

Description
We've had a few issues with calc_data_range being too brittle. In some cases, for example with bad chunking, even on lazy arrays it is too slow (see e.g. this image.sc post, while, in other cases, e.g. #624, sampling a few planes does not result in correct estimation of the min and max.
Doing the right thing in all cases is tricky, but for uint8 images (both of the above cases), I think that 0-255 is a sufficiently narrow range that we can just set it to that.
As a bonus I've added a test to ensure that we don't instantiate big dask arrays when using calc_data_range.
The one case where I see this failing is if someone has a uint8 image with values 0 and 1, when you will have an image that is completely black. I think this is less critical and should be solved in a future PR.

@jni having the special case for uint8 is fine. Your tests are failing on windows though. Can you investigate and we can then merge

@sofroniewn
assert<PHONE_NUMBER>.0555258 -<PHONE_NUMBER>.0057974) < 1

(it's ~1.05)
Sheesh. LOL I guess our Windows machines are pretty slow! I'll change it to 2.

I wonder @jni if there isn't a better way to test the instantiation of the dask array instead of doing a time test? Would we start adding other time tests like this for our benchmarking suite? Should this be in our benchmarking suite and should we just run that during our tests? I get that this is a slightly different usage, but curious to get your take

@sofroniewn possibly. I was thinking about something like making a dask "bomb": using dask.from_delayed such that one of the delayed functions actually raises an error. However, I couldn't decide which slice to use for this (since currently we use the top, middle, and last slice, and that could change), and anyway the thing we really want to test here is that calc data range doesn't take too long. How we achieve this could change so I didn't want to hard-code too much about the specifics.
Benchmarks can and should take a long time to run, so I don't want to make them specifically part of our test suite. They are a different thing and as this test proves, it's hard to do benchmarking on VMs, so I don't think we should go overboard with this sort of test. It's useful for quick sanity testing, not for real benchmarking.


Performance dip when using ForwardDiff compared to Turing

I've noticed that there's a performance dip when using ForwardDiff with a model defined in TuringGLM, compared to defining the model directly in Turing. I've set up a MWE to show this.
First I set up 4 models, two in TuringGLM (with and without custom priors), and two in Turing, with the default and custom priors given to the TuringGLM models.
using Turing, TuringGLM, TuringBenchmarking, BenchmarkTools
using ReverseDiff: ReverseDiff
using CSV, DataFrames, LinearAlgebra

hibbs_df = CSV.read(
    download("https://raw.githubusercontent.com/avehtari/ROS-Examples/master/ElectionsEconomy/data/hibbs.dat"),
    DataFrame
);

# TuringGLM model
f = @formula(vote ~ growth)
m_glm = turing_model(f, hibbs_df)

# TuringGLM model with custom priors
priors = CustomPrior(Normal(0, 10), Normal(52, 14), nothing)
m_glm_custom = turing_model(f, hibbs_df; priors=priors)

# extract data for Turing models
y = TuringGLM.data_response(f, hibbs_df)
X = TuringGLM.data_fixed_effects(f, hibbs_df)

# model with default priors
@model function regression_default(X, y; residual=std(y))
    α ~ 50.755 + TDist(3.0)*6.071256084780443
    β ~ filldist(TDist(3.0), size(X,2))
    σ ~ Exponential(residual)

    y ~ MvNormal(α .+ X*β, σ^2*I)
end

m_turing = regression_default(X, y; residual=std(y))

# model with custom priors
@model function regression_custom(X, y; residual=std(y))
    α ~ Normal(52, 14)
    β ~ filldist(Normal(0, 10), size(X,2))
    σ ~ Exponential(residual)

    y ~ MvNormal(α .+ X*β, σ^2*I)
end

m_turing_custom = regression_custom(X, y; residual=std(y))

Then using TuringBenchmarking.jl, I benchmark each of the four models with both Forward and Reverse diff backends:
The results of the benchmark are shown in the table below. You can see that for Reversediff the benchmarks are the same, but with ForwardDiff TuringGLM is ~20-30% slower than Turing (I've included the full results below).

Model
ForwardDiff, linked (time, μs)
ReverseDiff, linked (time, μs)
ForwardDiff, not linked (time, μs)
ReverseDiff, not linked (time, μs)

TuringGLM (default prior)
3.967
2.772
3.976
1.990

Turing (default prior)
3.046
2.676
3.059
1.931

TuringGLM (custom prior)
4.013
2.102
3.905
1.868

Turing (custom prior
2.776
1.986
2.827
1.829

Click here for in detail output

TuringGLM model 1 (default priors)
suite_glm = TuringBenchmarking.make_turing_suite(
    m_glm,
    adbackends = [TuringBenchmarking.ForwardDiffAD{40}(), TuringBenchmarking.ReverseDiffAD{true}()]
)
run(suite_glm)

Output:
2-element BenchmarkTools.BenchmarkGroup:
  tags: []
  "linked" => 3-element BenchmarkTools.BenchmarkGroup:
          tags: []
          "evaluation" => Trial(2.882 μs)
          "Turing.Essential.ReverseDiffAD{true}()" => Trial(2.772 μs)
          "Turing.Essential.ForwardDiffAD{40, true}()" => Trial(3.967 μs)
  "not_linked" => 3-element BenchmarkTools.BenchmarkGroup:
          tags: []
          "evaluation" => Trial(2.836 μs)
          "Turing.Essential.ReverseDiffAD{true}()" => Trial(1.990 μs)
          "Turing.Essential.ForwardDiffAD{40, true}()" => Trial(3.976 μs)

Turing model 1 (default priors)
suite_turing = TuringBenchmarking.make_turing_suite(
    m_turing,
    adbackends = [TuringBenchmarking.ForwardDiffAD{40}(), TuringBenchmarking.ReverseDiffAD{true}()]
)
run(suite_turing)

Output:
2-element BenchmarkTools.BenchmarkGroup:
  tags: []
  "linked" => 3-element BenchmarkTools.BenchmarkGroup:
          tags: []
          "evaluation" => Trial(1.256 μs)
          "Turing.Essential.ReverseDiffAD{true}()" => Trial(2.676 μs)
          "Turing.Essential.ForwardDiffAD{40, true}()" => Trial(3.046 μs)
  "not_linked" => 3-element BenchmarkTools.BenchmarkGroup:
          tags: []
          "evaluation" => Trial(1.207 μs)
          "Turing.Essential.ReverseDiffAD{true}()" => Trial(1.931 μs)
          "Turing.Essential.ForwardDiffAD{40, true}()" => Trial(3.059 μs)

TuringGLM model 2 (custom priors)
suite_glm_custom = TuringBenchmarking.make_turing_suite(
    m_glm_custom,
    adbackends = [TuringBenchmarking.ForwardDiffAD{40}(), TuringBenchmarking.ReverseDiffAD{true}()]
)
run(suite_glm_custom)

Output:
2-element BenchmarkTools.BenchmarkGroup:
  tags: []
  "linked" => 3-element BenchmarkTools.BenchmarkGroup:
          tags: []
          "evaluation" => Trial(2.724 μs)
          "Turing.Essential.ReverseDiffAD{true}()" => Trial(2.102 μs)
          "Turing.Essential.ForwardDiffAD{40, true}()" => Trial(4.013 μs)
  "not_linked" => 3-element BenchmarkTools.BenchmarkGroup:
          tags: []
          "evaluation" => Trial(2.737 μs)
          "Turing.Essential.ReverseDiffAD{true}()" => Trial(1.868 μs)
          "Turing.Essential.ForwardDiffAD{40, true}()" => Trial(3.905 μs)

Turing model 2 (custom priors)
suite_turing_custom = TuringBenchmarking.make_turing_suite(
    m_turing_custom,
    adbackends = [TuringBenchmarking.ForwardDiffAD{40}(), TuringBenchmarking.ReverseDiffAD{true}()]
)
run(suite_turing_custom)

Output:
2-element BenchmarkTools.BenchmarkGroup:
  tags: []
  "linked" => 3-element BenchmarkTools.BenchmarkGroup:
          tags: []
          "evaluation" => Trial(1.176 μs)
          "Turing.Essential.ReverseDiffAD{true}()" => Trial(1.986 μs)
          "Turing.Essential.ForwardDiffAD{40, true}()" => Trial(2.776 μs)
  "not_linked" => 3-element BenchmarkTools.BenchmarkGroup:
          tags: []
          "evaluation" => Trial(1.160 μs)
          "Turing.Essential.ReverseDiffAD{true}()" => Trial(1.829 μs)
          "Turing.Essential.ForwardDiffAD{40, true}()" => Trial(2.827 μs)

This is really strange. Any hints why the degraded performance?
TuringGLM only creates the model and the data to you.
Everything else is delegated to Turing itself.

The only difference that I could think of was that TuringGLM uses the CustomPrior struct, so I tried to emulate this by defining my own and using that in a Turing model:
abstract type TuringPrior end

struct CustomTuringPrior <: TuringPrior
    predictors
    intercept
    auxiliary
end

@model function regression_custom_prior(X, y, priors; residual=std(y))
    α ~ priors.intercept
    β ~ filldist(priors.predictors, size(X,2))
    σ ~ Exponential(residual)

    y ~ MvNormal(α .+ X*β, σ^2*I)
end

turing_prior = CustomTuringPrior(Normal(0, 10), Normal(52, 14), nothing)

m_turing_prior = regression_custom_prior(X, y, turing_prior; residual=std(y))

suite_turing_prior = TuringBenchmarking.make_turing_suite(
    m_turing_prior,
    adbackends = [TuringBenchmarking.ForwardDiffAD{40}(), TuringBenchmarking.ReverseDiffAD{true}()]
)
run(suite_turing_prior)

The results from this are

Model
ForwardDiff, linked (time, μs)
ReverseDiff, linked (time, μs)
ForwardDiff, not linked (time, μs)
ReverseDiff, not linked (time, μs)

Turing model 3 (custom prior struct)
4.203
1.942
4.173
1.710

which shows the same slowdown as the TuringGLM model benchmarks. So it looks like it's to do with this, but I don't know how.
Click here for in detail output

Turing model 3 (custom prior struct)
2-element BenchmarkTools.BenchmarkGroup:
  tags: []
  "linked" => 3-element BenchmarkTools.BenchmarkGroup:
          tags: []
          "evaluation" => Trial(2.953 μs)
          "Turing.Essential.ReverseDiffAD{true}()" => Trial(1.942 μs)
          "Turing.Essential.ForwardDiffAD{40, true}()" => Trial(4.203 μs)
  "not_linked" => 3-element BenchmarkTools.BenchmarkGroup:
          tags: []
          "evaluation" => Trial(2.975 μs)
          "Turing.Essential.ReverseDiffAD{true}()" => Trial(1.710 μs)
          "Turing.Essential.ForwardDiffAD{40, true}()" => Trial(4.173 μs)

Yeah that might a little bit of overhead.


Root node config: “Administrator Commissioning Cluster” is not by default enabled.

When creating a root node in the ZAP tool the “Administrator Commissioning Cluster” is not enabled by default.

That's for this device:
        <name>MA-rootdevice</name>
        <domain>CHIP</domain>
        <typeName>Matter Root Node</typeName>
        <profileId editable="false">0x0103</profileId>
        <deviceId editable="false">0x0016</deviceId>

I just did the following and see that "Administrator Commissioning" cluster is enabled on the server side:

From the chip repo ran: ./scripts/tools/zap/run_zaptool.sh
Created an endpoint with "Matter Root Node"
See "Administrator Commissioning" cluster is enabled on the server side


docs(new): migrate ConsoleMessage docs to TSDoc

Includes a fix on the console message type to be more restrictive than just string, since according to the current docs there's a fixed number of types it can be.


dbm_antsignal is buggy

Hi,
I observed that the dbm_antsignal is returning the same value (160) every time which is impossible. Adding 4 to its offset seems to fix it for me and returns correct value. Sorry, I didn't have time to find out what the real cause is.
As far as I can see; I don't have the "fhss" flag set but your library is pretending that it is set. There might be something wrong with the flag checking.

Do you have a sample pcap file I can test with?  You could just export a couple of packets that show the issue.

I couldn't reproduce this with a pcap file. I was using live capture with pcappy when it happened. Live capture must have been causing some corruption in the packets.


emul: Fuel gauge tests direct access to emul_sbs

The fuel gauge tests have to enable CONFIG_SENSOR in order to get access to the sbs gauge emulator.
Allow fuel_gauge sbs_gauge direct access to emul_sbs_gauge.c

@MaureenHelm Could you re-review this one?


User adds article to his magazine S29

@omarelhariry @omaressameldin @MohammedAnsary @bassemmagdy

Please tag reviewers

Please Fix Style issues in controllers

@AndrewMagdy  indentation fixed in magazine controller, kindly re-check


"Unsupported major.minor version 52.0"

When attempting to process a ditamap that references a markdown file, I get the following error during the gen-list task:
gen-list:
 [gen-list] Using Xerces grammar pool for DTD and schema caching.
 [gen-list] Processing file:/hdrs/goss/SVN/dita-based/test.ditamap
 [gen-list] Processing file:/hdrs/goss/SVN/dita-based/content.md
Error: java.lang.UnsupportedClassVersionError: com/elovirta/dita/markdown/MarkdownReader : Unsupported major.minor version 52.0

Unsupported version of what?
Using DITA OT 2.3.3 with Java 7 (Java 8 is not available here).
There's nothing fishy in the markdown file or the ditamap:
# Test topic
This is a test

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map id="test-map">
    <title>Test Map</title>
    <topicref href="content.md" format="markdown"/>
</map>

The DITA-OT Markdown has been compiled on Java 8. It may be compatible with Java 7, but you'll have to compile it yourself.


SQLITE_ERROR: too many SQL variables

Environment
Knex version: 0.20.3
Database + version: SQLite3
OS: Windows 10
Bug

Explain what kind of behavior you are getting and how you think it should do:

I develop the desktop application using Electron, Angular, SQLite3, and Knes. I faced the issue during inserting more than ~180 elements.

Error message
[Error: SQLITE_ERROR: too many SQL variables] {  errno: 1,  code: 'SQLITE_ERROR' }

Reduced test code, for example in https://npm.runkit.com/knex or if it needs real
database connection to MySQL or PostgreSQL, then single file example which initializes
needed data and demonstrates the problem.

The code I use:
    const trx = await this.connection.transaction();
    try {
      const account = event.company;
      const conditions = event.conditions;
      // some work with variables

      await trx('events').insert(event);
      await trx('accounts').insert(account);
      await trx('conditions').insert(conditions);
      trx.commit();

    } catch (e) {
      trx.rollback();
    }

Feature discussion / request

Explain what is your use case

I have the conditions array and its length might be more than 100 elements. I expected according to the Knex documentation that it would be easy to save the array using one insert operation.
As I know there is a limit for SQLlite3 for max numbers of host parameters and it is 999 but I got the error when I had only 189 conditions.
Is that issue of Knex?

@TillDeathCoder Could you please try performing same query using SQLite3 driver directly, without Knex? If it works correctly, that would indeed confirm that problem is on Knex side. However, considering the error message that you are getting, that seems unlikely.

Doesn't seem to have anything to do with knex. Number of parameters in query is around conditionRows * columnsInConditionsTable also you can check number of bindings by calling trx('conditions').insert(conditions).toSQL().

So, I came into this issue when trying to insert more than 100k items using knex.batchInsert:
knexClient
			.batchInsert('files', files, 500)
			.then(trace('inserted'))
			.then(resolve)
			.catch((e) => {
				console.error({ e })
				console.log('INSERTING', files.length)

				reject(e)
			})


Update zio, zio-test-sbt to 1.0.12

Updates

dev.zio:zio
dev.zio:zio-test-sbt

from 1.0.10 to 1.0.12.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: library-update, semver-patch

Superseded by #97.


[Request] Add visible proguard rules to Gtihub pages

Similar to Retrofit's page, can we add OkHTTP's page as well from here https://github.com/square/okhttp/issues/2230?

As OkHttp doesn’t really use reflection I think our ProGuard configuration would be trivial. But we could call that out.

We can add proguard section saying that proguard won't be neccessary in Readme.
But I don't think extra proguard rules will be needed.

https://github.com/square/okhttp/commit/87b86a53c4a5c591b8e1c5ec94b4d81edece00a8


where is the marketplace contract?

In the video you mentioned the marketplace contract (solidity code) is in the description but I can't find it?

the contract is actually renamed, you can find it in this path :
ethereum-nft-marketplace-boilerplate\src\contracts\marketplaceBoilerplate.sol


updated packages

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
44 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-1.2%) to 78.899%

Files with Coverage Reduction
New Missed Lines
%

src/DevOpsMetrics.Core/Models/Common/Build.cs
3
90.77%

src/DevOpsMetrics.Core/DataAccess/LeadTimeForChangesDA.cs
12
74.75%

src/DevOpsMetrics.Core/DataAccess/DeploymentFrequencyDA.cs
29
87.57%

Totals

Change from base Build<PHONE_NUMBER>:
-1.2%

Covered Lines:
2657

Relevant Lines:
3321

💛  - Coveralls


bug

hi, when i run the code, i find that it will stop because logprobs is the same as old_logprobs in agent.py

Hi, I reviewed the code, and I don't think so. The algorithm is implemented accurately.

Hi, I reviewed the code, and I don't think so. The algorithm is implemented accurately. But I'd like to hear more to understand the issue.

thanks, maybe it is the carla version, i use 0.9.13, i want to retrain the vae, could you tell me how to train it.

Simply call the vae.py file in autoencoder directory. It will start training.


Fonts are not loading

Hi,
I am trying to look into this, could you let me know more about the issue?


remove init_on_cpu and force_init_on_cpu API doc

init_on_cpu和force_init_on_cpu接口将被弃用，因此移除相关文档

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhangting2020 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


LNK2019  *.ipp are not getting included into compilation

try to execture cpp17_intro.cpp and I am getting LNK2019  for missing defintion of impl functions,
I had to add the following headers to make it compile with visual studio
#include <boost/redis/resp3/impl/serialization.ipp>
#include <boost/redis/resp3/impl/parser.ipp>
#include <boost/redis/impl/request.ipp>
#include <boost/redis/impl/connection.ipp>
#include <boost/redis/impl/logger.ipp>
#include <boost/redis/impl/error.ipp>

there is a better way to solve this issue?
note:
this is my CMakeLists.txt
cmake_minimum_required(VERSION 3.14.0 )
project(myredis LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED On)
set(CMAKE_CXX_EXTENSIONS Off)

## DEPENDECIES

set(BOOST_ROOT "C:/lib/boost_1_82_0")
set(BOOST_LIBRARYDIR ${BOOST_ROOT}/stage/lib/)
set(Boost_USE_STATIC_LIBS ON)

find_package(Boost REQUIRED COMPONENTS thread)
find_package(OpenSSL REQUIRED)

set(boost_redis "C:/dev/C++/Project/redis/include")
include_directories(${Boost_INCLUDE_DIR})
include_directories(${boost_redis})

# Set Source Header_Files
SET(PROJECT_SOURCE_FILES
main.cc
)

# Set Header_Files
SET(PROJECT_HEADER_FILES
)

ADD_EXECUTABLE(myredis ${PROJECT_SOURCE_FILES} ${PROJECT_HEADER_FILES} ${boost_redis})

target_link_libraries(
    myredis PRIVATE
    OpenSSL::SSL OpenSSL::Crypto
    ${Boost_LIBRARIES}
    ${boost_redis}
)

Hi, you have to include #include <boost/redis/src.hpp> in one of your .cpp files, or create a new file e.g. boost_redis.cpp that includes it. Then compile this file normally with the rest of your code. The src.hpp contains all *.ipp files. For an example see
https://github.com/boostorg/redis/blob/46525371b9247a1ec208a6157880ec77f5ddadc4/examples/boost_redis.cpp


Added documentation in makefile

The Makefile is the first step in setting up the code base for development, thus as we progress further in the project, updating the installation commands may vary, and it is important that they are well documented; I have gone through all the commands in the makefile and properly documented the functionality of each line with added notes as well.
Also this PR, extends the same changes as in  #343

Happy to merge if we fix conflicts! (should be easy, I think one commend was removed from makefile)


Dockerfile

Hi Kai
I made a Dockerfile for lazy people.
We have a cluster setup where it is often easier to have a complete docker-image instead of managing updates, installs and dependencies manually.
With this docker-image, running the latest version of your software on any system is now as easy as writing singularity run docker://cmkobel/covid-spike-classification covid-spike-classification --help or
docker run cmkobel/covid-spike-classification covid-spike-classification --help
Of course you're welcome to clone the docker repo, so it shows your name instead of mine.
If you are interested, you're very welcome to pull my fork.
Kind regards, Carl from KMA AUH.

I've made a few changes to the Dockerfile, so I will make an updated pull request.


Feature request

It may be too early, but I'd like to ask you to create a tab where app users can see the skins they have.
I'm sorry compared to other apps, but the following is an example of an app called Statistics.
You can click on each gun, and when you click on each gun, it shows the skin that it has.
(Statics can even install skin, but bugs often occur and it seems to be a little useless feature.)

Plus Statics are not aligned.

Hi @scottjsh ,
Thank you for your suggestion! I will be adding this new feature in the next update and am already working on it.
Thanks again for your feedback!

Hey @scottjsh,
Thanks for your feedback and request for a player loadout management feature!
It's now available in our latest version!


create debug trackers

register file Tracker displays all content of the rf for every cycle
memory transaction Tracker, inst fetch, and load-store tracker
opcode cycle tracker


version.view.$() undefined in goStatic

I'm getting an error on 0.19.3: Cannot read property 'css' of undefined
// liquid-container.js
function goStatic(version) {
  if (version.view) {
    version.view.$().css({width: '', height: '', position: ''});
  }
}

Because the version.view._state === "destroying". Perhaps it needs a _state === "inDOM" check?

same issue here

Me too, anyone knows where to look to fix this? I only get this error message in chrome by the way. LF version 20.4

Also to add: This only happens to me in the production environment, not in development or test.


Flow control v1.10.x

Backport of #14747

****************************************************************

libgrpc.so

     VM SIZE                                                                   FILE SIZE
 ++++++++++++++ GROWING                                                     ++++++++++++++
  +0.0%     +16 [None]                                                         +224  +0.0%
  +0.2%     +80 src/core/ext/transport/chttp2/transport/chttp2_transport.cc     +80  +0.2%
      +1.6%     +56 perform_stream_op_locked                                        +56  +1.6%
      +2.9%     +27 grpc_chttp2_maybe_complete_recv_message                         +27  +2.9%

  +0.0%     +96 TOTAL                                                          +304  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] Performance differences noted:
Benchmark                                                                                cpu_time    real_time
----------------------------------------------------------------------------------------  ----------  -----------
BM_PumpStreamServerToClient<InProcess>/32768                                              -6%         -6%
BM_StreamingPingPong<InProcess, NoOpMutator, NoOpMutator>/262144/1                        -7%         -7%
BM_StreamingPingPong<InProcess, NoOpMutator, NoOpMutator>/262144/2                        -7%         -7%
BM_StreamingPingPong<InProcess, NoOpMutator, NoOpMutator>/32768/2                         -5%         -5%
BM_StreamingPingPong<MinInProcess, NoOpMutator, NoOpMutator>/262144/1                     -8%         -8%
BM_StreamingPingPong<MinInProcess, NoOpMutator, NoOpMutator>/262144/2                     -4%         -4%
BM_StreamingPingPongMsgs<InProcess, NoOpMutator, NoOpMutator>/262144                      -5%         -5%
BM_StreamingPingPongMsgs<MinInProcess, NoOpMutator, NoOpMutator>/32768                    -5%         -5%
BM_StreamingPingPongWithCoalescingApi<InProcess, NoOpMutator, NoOpMutator>/262144/1/1     -4%         -4%
BM_StreamingPingPongWithCoalescingApi<InProcess, NoOpMutator, NoOpMutator>/262144/2/0     -8%         -8%
BM_StreamingPingPongWithCoalescingApi<MinInProcess, NoOpMutator, NoOpMutator>/262144/1/0  -4%         -4%
BM_UnaryPingPong<InProcess, NoOpMutator, NoOpMutator>/262144/262144                       +9%         +9%

Mac failures are pip related
Bazel failures are infra
The windows failure is #14471
Interop failure is Java deps issue


Sembako WBW getting Blank

Description
https://sembako.wargabantuwarga.com/ is getting blank page
Expected Behaviour
Should accessible

Apparently, the URL is updated to https://petakebaikan.kitabisa.com/
We have to update the URL from our website, then.

Move to the constant, so we can update it in a single place in the future.

The same subdomain would go live again actually but in a static page form.
But yeah, for now, we have to update the URL not to go to a blank page. 😅

At least for technical part, we need to make it simpler to be updated.

Move to single place - quick fix
Think to move it to CMS in the future


[T5A2][F09-B2]Peh Xian Bin, Eugene

Ready for review

Some comments added. Please close the PR after reading comments.


Documentation parser fixes

Fixes #4783 and #4816, plus disables links with javascript

@blowdart Can you have a look?

LGTM


Enhanced metadata preview for DQ dataflows

Hi, has this restriction been lifted?
DirectQuery for dataflows does not work with the enhanced metadata preview feature enabled. This exclusion is expected to be removed in an upcoming monthly release of Power BI Desktop.
Thanks.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4696f74d-bce4-3808-008a-4375afdb71c5
Version Independent ID: 339f52a6-9d08-4634-76f4-5195c3b475ec
Content: Use DirectQuery with dataflows in Power BI (preview) - Power BI
Content Source: powerbi-docs/transform-model/service-dataflows-directquery.md
Service: powerbi
Sub-service: powerbi-service
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @asocorro.
I've assigned this issue to the doc author for review.
In the meantime, you might find an answer in the Power BI Community.

We've updated all the dataflows documentation to address issues.


Feature: CUDA C++ boundary conditions implementation

Features double-buffering on the ua and va arrays to avoid any possible data races related to the Flather boundary condition applications.

Ditto, all these PRs getting confusing so consolidating into single PR.


Timer trigger should start a flow immediately for past date

If start date is predated, trigger should start a flow immediately.

Fixed in https://github.com/TIBCOSoftware/flogo-contrib/pull/237


Commit listener to handle blob tx updates

The commit listener should now, besides receiving contract events, also subscribe/poll for the status of all submitted transactions in which we try to store transactions into eth blobs.

Resolved.


[ci skip] remove @rnkuhns as feedstock maintainer

removes @rnkuhns as feedstock maintainer.
@rnkuhns has been disengaged for a while and has expressly stated that he wants to transfer maintenance responsibility.
Please comment if you would like to be restored, but I understand our most recent exchange as a request for transferring responsibilities.

merged into https://github.com/conda-forge/skbase-suite-feedstock/pull/66


draft: move Mathlib to nightly-2024-04-30

We won't actually merge as is, but hopefully something near nightly-2024-05-01 may become v4.8.0-rc1, and I would like to start the double-checking process. We've diverged from master for two months, and now have the moment of truth: how many bad merges have occurred? :-)
In principle, everything here has already been reviewed, but I think it would be good to have some skeptical eyes on it.

!bench

Benchmarking results are pretty discouraging.

Benchmarking results are pretty discouraging.

Is it pre-existing defeq abuse that is causing the slowdown?

Benchmarking results are pretty discouraging.

Is it pre-existing defeq abuse that is causing the slowdown?

Yes. It's just got worse in many cases.

bors p=10


graph doesn't show in picture element?

Hi, In normal mode, I try this code, everything shows good.
         cards:
          - entity: weather.stclair_hourly
            show_main: true
            show_attributes: false
            type: custom:weather-chart-card

But when I put this in a picture-element, the graph doesn't showed, I can only see the attributes.
     cards:
      - type: picture-elements
        image: /local/ui/weather.png
        elements:
          - entity: weather.stclair_hourly
            show_main: true
            show_attributes: true
            style: |
              :host {
                left: 58.5%;
                top:  76%;
                width: 70%;
                height: 100%;
              }

              ha-card {
                height: 100%;
                border-radius: 1vw;
                font-size: 1.2vw !important;
              }
            type: custom:weather-chart-card

anyone can help?

Same here, did you find a solution?

No, I haven’t, still waiting someone can help

Hi Slalamander,
Thanks for replying, I've tried put a config-template-card before weather-chart-card, like this :
views:
  - theme:
    title: weather
    path: weather
    icon: mdi:weather-cloudy
    type: panel
    badges: []
    cards:
      - type: picture-elements
        image: /local/ui/天气预报.png
        elements:
          - type: custom:config-template-card
            view_layout:
              grid-area: graph
              padding: '0px 0px 0px 0px'
            entities:
              - weather.stclair_hourly
            variables:
              COND: states['weather.stclair_hourly']
              TEMP: states['weather.stclair_hourly'].attributes.temperature
            card:
              type: 'custom:weather-chart-card'
              entity: weather.stclair_hourly
              show_main: true
              show_attributes: false
              forecast:
                temperature1_color: rgba(181, 52, 58, 1)```

But I still can't see the graph in my dashboard.

I've tried copy all of your code, then just replace the weather entity, I got an errors say :
Unable to parse YAML: YAMLException: bad indentation of a mapping entry (28:21) 25 | "icon agenda weer" 26 | width: 100vw 27 | height: 100vh 28 | - type: custom:layout-card --------------------------^ 29 | card_margin: '-50px 0px 0px 0px' 30 | view_layout:

I'm not good at coding actually, not sure what's wrong in that.

Hi Slalamander,
sorry to the late reply.
Thanks so much, it works !
I'm so happy with the result, but still don't know why 😂
Anyway, it finally works.


Implemented feature #34: Added support for AgrumentList to Carbon_Service DSC resource

Trying with a new PR to merge into feature/pr-builds as the previous PR I had for this was failing the build.

The build seems to be running now in the original PR. I will fix the pending issues there


Note that all sensitivity runs are now loaded on google site (models 55-70)

mcmc folder for 55_2016base is uploaded. The comparison for 2016 forecasted catch is a little more different than the MLE, but still not much different. See attached pdf for mcmc comparisons.
compare_39.55_mcmc.pdf


[Telemetry Manager] E2E trace test based on new setup having no dependency to jaeger

Instead of refactoring the old "fast-inetgration" tests in the kyma repo we want to build up a new test suite based on ginko/golang in the telemetry-manager repo. A first step was done already by bringing basic tests for the manager itself. Now it is time to extend it to test the tracing functionality. Hereby, the focus is on having a backend for trace consumption in place not dependent on a 3party backend, but more optimized for testing and verification.
Acceptance Criteria

Have at least one new test case assuring that trace collection is working as expected

Verify that a TracePipeline results in a new otel-collector deployment which comes up proper, incl metrics and pprof endpoint
Verify that a sample span gets processed successful

Have a Ginkgo helper to search by trace-id and potentially a span-id
Have a mock backend used with some nice documentation on how to use it
The code lies in the new telemetry manager repository

Reference:

https://github.tools.sap/huskies/knowledge-hub/tree/master/docs/observability/mock-trace-backend-poc
https://github.com/kyma-project/telemetry-manager/pull/44
https://github.tools.sap/huskies/otel-load-generator

All acceptance criteria are fulfilled except a pprof endpoint test since pprof is not enabled for the otelcollector.


[question] extend a module through another module

I was wondering but having a feeling that you can't but anyways,
Is there any to extend a module based on another module?
For example, adding relationships: You start of with a typical user model but then decide to split out the blog functionality into it's own module. But you are left with the issue of adding the relationship back to the blog within the user module.

I believe what you want are polymorphic relationships.

Thanks, I'll look into them.


Way to get new changelog entry?

Is there a way to get the newly added changelog entry?  I want to use it for a release description (like this project does with What's Changed, etc.)

@pcurrivan Why do you mean by "get the newly added changelog entry"? Where do you need this information, what is the context? For example, with post targets, you can obtain the release notes.

I'm not sure that I want to do this anymore. I'm now thinking that maybe the release notes should link to the CHANGELOG.md file, so that information is not duplicated (ideally they should be able to link to a specific entry in the changelog - is that possible?), but here's an example of what I meant anyway:
Before running nx version, let's say CHANGELOG.md looks like this:
# Changelog

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

## [0.1.1]

### Bug Fixes

- My bug fix 1
- My bug fix 2

# [0.1.0]

- initial release

Then, after running nx version, it looks like this:
# Changelog

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

## [0.1.2]

### Bug Fixes

- My bug fix 3
- My bug fix 4

## [0.1.1]

### Bug Fixes

- My bug fix 1
- My bug fix 2

# [0.1.0]

- initial release

I would like to get the following string so I can add it to my release notes automatically:
## [0.1.2]

### Bug Fixes

- My bug fix 3
- My bug fix 4


Would using treesitter help here?

A large collection of language parsers, generates rust bindings, good performance and error recovery

Yeah, I think it's worth exploring. Treesitter seems to have sufficient structure for my needs (e.g. including comments in the AST). Also, I'm already getting bored of parser fixes in syntax.toml :P
I want to focus on getting the tree diffing logic solid at this point. Computing the changes and printing them in a coherent way is already non-trivial, and there's more work to do here.
I will look at treesitter in future though. It would be a matter of converting the treesitter AST to difftastic's AST, and it should hopefully just work.

FWIW difftastic now uses tree-sitter parsing by default :)


merge from template-kronos-app

pkg/tmpfiles.conf

chore: add D {{run.dir}} 0755 {{name}} {{name}} - ()
chore: add D {{run.dir}}http 2775 {{name}} {{socket.http.user}} - ()

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

v1.10.80
GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Pointer Widget not rendering well the first time

When I create a pointer widget for the first time, it is rendered as in the picture (the first widget), then I create another one and everything is ok... Does anybody has the same problem?
I have just downloaded freeboard so I haven't done any change to it.

I'm receiving this error when I do it with my local version of freeboard, but I tested it on their site (freeboard.io), and it worked flawlessly. I would recommend updating your local files so that you have the most recent fixes and see if the issue persists.

I am experiencing the same issue

I solved it by changing:
height = $(element).height();
to:
height = this.getHeight()*60;
I don't know if this is the best solution but it works.

Acknowledged that height = this.getHeight()*60; seems to work. Can you justify the magic number 60?

 If I wait to draw the path until afterward, it will render with the given $(element).height(). Let me see where this rabbit hole goes.

Can't seem to break it with this.getHeight() * 60. Will open a PR.

https://github.com/Freeboard/freeboard/pull/120

Still have this issue, with the master branch (2016-01-24).
I can't find "height = $(element).height();" in the .min.js files. Are the uncompressed and minimized files unsynced ?

+1

Complete necro-post, but it seems this is still an issue on a local server install I've been testing.
Have tried changing the "height = $(element).height();" in freeboard.plugins.js and freeboard_plugins.js but still no change.
Was there anything else done on the problem at all?


[FEATURE REQUEST] {{VALUE}} Support for "Folder path" when creating templates

I have a macro that creates multiple notes in a folder. I don't know if I overlooked something, but I could not manage to make the workflow as seamless as I would have liked because it doesn't seem that I can use variables to set where all the notes should go. For now, for each note that gets created in the macro, I have to manually put in the same directory. It's a bit tedious.
If "Folder path" for template creation could extend support for variables, it would automate this a lot better.
Great plugin by the way!

I have same trouble too.
And I insert blow codes before line 15525 in .obsidian\plugins\quickadd\main.js
for(let i = 0; i < folders.length; i++) {
  let folderElements = folders[i].split('/');
  for(let j = 0; j < folderElements.length; j++) {
    folderElements[j] = await this.formatter.format(folderElements[j]);
  }
  folders[i] = folderElements.join("/");
}

It seems work for me.


Write article about contributors culture in KodaDot

Seems time to do refresh on devto, medium and in various developer circles mention about KodaDot and contributing culture.
I would mention how our process works in some sense starting research, designs, intern talks about feature, laying out frontend and doing backend stuff plus whole release cycle where magic happens with rewards for contributions.
I would mention our culture and internal jokes

https://github.com/kodadot/nft-gallery/pull/6128#issuecomment-1566206112

I can probably drop more about it, DM me more about wisdom for this article https://t.me/yangwao
hint, our research repo
Ref

https://twitter.com/bedehomender/status/1662811455903739904

Please ping me when this done, I want to copy you!

👋

👋

how much is reward would like to do.

tops 150usd if writing is good, preferably dev.to writing

Yes, it's available, but probably a lower bounty, <100

https://dev.to/imac/contributor-culture-at-kodadot-a-developers-perspective-j4a-temp-slug-4854065?preview=fcbc0e0f4b1974d6d92c7c9602d1a7b628835eb0ee0ccc4eb1b8eaf93b7ca26e7b24928c0da59aa168b31fb6bc6d467eadbad523279af71ded0252a1


Errors not displayed for phpmd

Neomake configuration in nvim:
" Neomake - replacement for sytastic
let g:neomake_php_phpcs_extra_args = '--standard=~/phpcs/ruleset.xml'
let g:neomake_php_phpmd_maker = {
    \ 'args': ['%:p', 'text', '~/phpmd/ruleset.xml'],
    \ 'append_file' : 0,
    \ 'errorformat': '%W%f:%l%\s%\s%#%m',
    \ }
let g:neomake_verbose = 3
" let g:neomake_php_enabled_makers = ['php', 'phpmd', 'phpcs']
let g:neomake_php_enabled_makers = ['php', 'phpmd']

Expected behavior
There is one error in the file that I'm running Neomake on. But the error doesn't get displayed in either the status line or airline.
Note: phpcs works as expected.
Steps to reproduce

use the above configuration
run :Neomake in a php file with phpmd errors.

Output from (verbose) NeomakeInfo
Output from :messages:
Neomake [     ]: Not processing output for mode t
"includes/apis/internal/reviews/LocalReviews.php" 1051L, 39449C
Neomake [+6.54]: [1] Running makers: php, phpmd
Neomake [     ]: [1] Starting async job: ['php', '-l', '-d', 'display_errors=1', '-d', 'log_errors=0', '-d', 'xdebug.cli_color=0', 'somefile.php']
Neomake [     ]: [1] Starting async job: ['phpmd', 'somefile.php', 'text', '~/phpmd/ruleset.xml']
Neomake [+0.79]: [1.4] stdout: php: ['No syntax errors detected in somefile.php', '']
Neomake [     ]: [1.5] stdout: phpmd: ['somefile.php^I-^IUnexpected token: ..., line: 894, col: 66, file:somefile.php.', '']
Neomake [     ]: [1.4] exit: php: 0
Neomake [     ]: [1.4] php: processing 1 lines of output.
Neomake [     ]: [1.4] php: completed with exit code 0.
Neomake [     ]: [1.4] Cleaning jobinfo
Neomake [     ]: Skipping User autocmd NeomakeJobFinished: no hooks.
Neomake [     ]: [1.5] exit: phpmd: 0
Neomake [     ]: [1.5] phpmd: processing 1 lines of output.
Neomake [     ]: Skipping User autocmd NeomakeCountsChanged: no hooks.
Neomake [     ]: [1.5] phpmd: completed with exit code 0.
Neomake [     ]: [1.5] Cleaning jobinfo
Neomake [     ]: Skipping User autocmd NeomakeJobFinished: no hooks.
Neomake [     ]: File-level errors cleaned in buffer 1
Neomake [     ]: Skipping User autocmd NeomakeFinished: no hooks.

As you can see above, there is an error in somefile.php. however, none of this gets displayed.

Looks like the output does not match the errorformat ('%W%f:%l%\s%\s%#%m').
Can you provide the output from phpmd on that file?  (or some other samples)

/cc @codeinabox

If you could create a PHP file that recreates that error I could update the tests.

The output from the issue, but not sure how much it's edited (^I being Tab probably):
somefile.php^I-^IUnexpected token: ..., line: 894, col: 66, file:somefile.php.

I've experienced unexpected token errors in the past but I am having trouble recreating one as all the past examples have been fixed in recent versions. @esniper are you using a recent version of phpmd?

I'm using phpmd version 2.5.0 (which is one older than the latest)
The below code for instance causes an error:
<?php

function test($a, $b) {
    error_log("$a -> $b");
}

$x = [1, 2];

test(...$x);

On line #8, the ... is a PHP 7.0 operator.
The error I get if I run the phpmd on command line is:
/src/myprojects/website/test.php -   Unexpected token: ..., line: 9, col: 6, file: /src/myprojects/website/test.php.
As @blueyed mentioned I think I have the wrong errorfomat.

Ahhh, I've got version 2.6.0 which doesn't give a token error.

Has the errorformat changed between those versions, too?
Seems to be quite different..

@esniper
The errorformat is configured on the maker, so it would be Neomake having it wrong.
Or is it customized on your side?
Then Neomake should use an expected one by itself probably.

The "unexpected token" error also depends on the PHP version you're using probably?!

Not quite. PHP mess detector uses PDepend, which needs to be updated when new language features are introduced for example https://github.com/phpmd/phpmd/issues/347

From the issue linked, it looks like the merge happened for version 2.5.1.
However, I'm still curious as to why the error message (regardless of the root cause of the error) doesn't get processed.

@esniper
Do other errors match the errorformat ('%W%f:%l%\s%\s%#%m') after all?
It would really help to have some examples here.
Maybe it's just an issue that the old version (or phpmd in general) uses an inconsistent error format?
FWIW, Syntastic uses '%E%f:%l%\s%#%m' - which also does not match /src/myprojects/website/test.php - Unexpected token: ..., line: 9, col: 6, file: /src/myprojects/website/test.php..
I think it's an issue with phpmd, and you should file it there - after verifying it with the latest version.

Closing this due to missing feedback - and assuming it might be fixed by updates.


Error handling improvements

👋 . Been using libbpfgo recently and found some problems with the way errors are being handled. Would love to hear your opinion and comments on this subject 😄 .
Context
While helping @kakkoyun debug https://github.com/aquasecurity/libbpfgo/issues/147 to make our map retrieval and deletion path more efficient, we were puzzled as the kernel did not seem to return -EPERM in the code path we were executing.
This can be seen with this bpftrace script:
$ sudo ./bpfsnoop_delete_batch.sh `pidof parca-agent`
Attaching 4 probes...

return from BPF syscall
        syscall+40
        0xfffffffff000
        runtime.asmcgocall.abi0+124
 with -2
return from libbpf
        _cgo_3f570fc81fe2_C2func_bpf_map_lookup_and_delete_batch+1196
        runtime.asmcgocall.abi0+124
 with -1

As we can see here, the "raw" (without any massaging of the return code by libc) BPF syscall is returning -2 (ENOENT), while libbpf is seeing -1 (EPERM). Why is this happening?
libc's syscall(2), which libbpf calls here changes the return code to -1 on error, and sets errno to the actual return value of the "raw" syscall.
The syscall(2) manpage:

The return value is defined by the system call being invoked.  In
general, a 0 return value indicates success.  A -1 return value
indicates an error, and an error number is stored in errno.

🤔  So it seems we thought we were getting EPERM when in reality, it was "just" -1 indicating that the function failed (*) and that we had to check errno to see what the actual error is. Interpreting the return value as errno is not correct here.
As far as I understand, cgo calls have two return values, the return code, and errno (https://pkg.go.dev/cmd/cgo). In several of libbpfgo's calls to libbpf, only one return value is checked, which if I am not mistaken, it would be the return code of the function.
How this is affecting libbpfs APIs right now
Besides the batch APIs not returning the data correctly, even though we might have processed it just fine, this is also affecting some other APIs.
Let's take a look at this fragment extracted from our codebase. We want to delete keys from a map, but ignore if the key is non-existent. After taking a look at the bpf manpage we saw that ENOENT means exactly this, so let's ignore it and fail otherwise.
err := m.stacks.DeleteKey(unsafe.Pointer(&stackId))
if err != nil {
  if !errors.Is(err, syscall.ENOENT) {
    return fmt.Errorf("failed to delete stack trace: %w", err)
  }
}

Unfortunately, this code isn't correct and will return with an error, not just when the key doesn't exist. As DeleteKey is just returning one argument, the return value is -1 which indicates a generic failure. We are interpreting it as if it were an errno value (EPERM), which is not correct.
By reading errno and passing it to the callee, we would know which error this is and be able to handle it accordingly. A possible fix for DeleteKey could be:
func (b *BPFMap) DeleteKey(key unsafe.Pointer) error {
	ret, errC := C.bpf_map_delete_elem(b.fd, key)
	if ret != -1 {
		return fmt.Errorf("failed to get lookup key %d from map %s: %w", key, b.name, errC)
	}
	return nil
}

The road to Libbpf 1.0
Another possibility to fix this is to turn on LIBBPF_STRICT_DIRECT_ERRS (https://github.com/libbpf/libbpf/blob/b69f8ee93ef6aa3518f8fbfd9d1df6c2c84fd08f/src/libbpf_internal.h#L492) with libbpf_set_strict_mode as described in https://github.com/libbpf/libbpf/wiki/Libbpf-1.0-migration-guide.
While this might fix the problems we are experiencing, perhaps it would be a bit of a big change that could potentially break things, so careful testing should be done. For example, if we are currently checking for -1 for errors, we should check for negative values instead.
At the same time, at some point, the v1.0 migration will happen, so maybe it could be a good excuse to start migrating to the new behavior?
Related issues / PRs

https://github.com/aquasecurity/libbpfgo/issues/147
https://github.com/aquasecurity/libbpfgo/pull/101
https://github.com/aquasecurity/libbpfgo/pull/112
https://github.com/aquasecurity/libbpfgo/pull/100

Thanks!! Looking forward to your thoughts!
cc/ @kakkoyun @v-thakkar @Sylfrena
(*) There's one exception that I am aware of, batch APIs, which might return -1, but depending on the errno value we might have achieved a partial success. More context on https://github.com/aquasecurity/libbpfgo/pull/157.

Unfortunately, this code isn't correct and will return with an error, not just when the key doesn't exist. As DeleteKey is just returning one argument, the return value is -1 which indicates a generic failure. We are interpreting it as if it were an errno value (EPERM), which is not correct.

@javierhonduco on my last efforts I've faced that when using GetMapInfoByFD():
https://github.com/aquasecurity/libbpfgo/blob/99b7ef705655ed7b4e9a2722e792916f4a430f63/libbpfgo.go#L418-L426
As it was not the focus, I left it to analyse later. @josedonizetti I think we need to standardize all cgo returns by getting the errno value directly (avoiding re-converting the libbpf ret value). WDYT @javierhonduco?

Actually the EPERM that I faced is real. It was solved by raising capabilities. I'm going to fix that comment above.
Regarding the error handling, we're based on libbpf 1.0 API already and it enforced the strict mode since https://github.com/libbpf/libbpf/pull/523/commits/c2611318a2c05c5e8db8d7bdb8155a8e7f664baf.
The current behaviour is:
https://github.com/libbpf/libbpf/blob/5a46421ad837e876197295844696884c8587852a/src/libbpf_internal.h#L490-L513
err number always being returned as the main CGO return but from libbpf_err_ptr() when we need to access the second value (exported errno) if first is NULL.

I've been trying to standardize that by multiple dependent PRs:

https://github.com/aquasecurity/libbpfgo/pull/356 (avoided to touch in batch operations error handling)
https://github.com/aquasecurity/libbpfgo/pull/366
https://github.com/aquasecurity/libbpfgo/pull/367

If they get merged, let's close this.