Configure workload identity

Use 7a126c25-gs1 image tag. This tag is custom built from our fork.
It contains updated dependencies which make using workload identity
possible. This tag should be replaced when there is a new image of
gcp-compute-persistent-disk-csi-driver
Allow projected volume in PSP. The workload identity webhook mounts
a projected volume with the JSON credentials and Kubernetes
ServiceAccount token.
Add workload-identity annotations and helm values

Checklist

[x] Update changelog in CHANGELOG.md.

Are we merging this or waiting for the webhook that adds these annotations to be finished?

This is broken currently. Did it work before with using the node service account? If so we can keep this open and revert the initial change that enabled workload identity and use that for now

I think it worked


Support lead variables

Should work the same as #142 but for leading data points. select value, lead(value, 1) from some_series

As mentioned in my post to the mailing list we are experimenting with simplifying our open GitHub Issues. This feature request has been rolled into an aggregate issue for all function requests, so that we can close this issue until we are ready to work on it.
You may continue to make comments here. Closing the issue does not mean we are rejecting this idea.


@conda-forge-admin, please add user @bmatthieu3

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @bmatthieu3 in conda-forge/ipyaladin-feedstock#5.


Upgrade to clap 4.0

https://epage.github.io/blog/2022/09/clap4/
https://github.com/clap-rs/clap/blob/master/CHANGELOG.md#400---2022-09-28

Not that it's incredibly problematic, but FYI - I believe this (as released in xwin v0.2.9) may have caused a semi-backwards-compatibility issue, in that an environment that was previously accepted by the xwin binary is no longer accepted:
  xwin --manifest-version 16 download && xwin --manifest-version 16 splat
  shell: /usr/bin/bash -e {0}
  env:
    XWIN_ACCEPT_LICENSE: 1
error: '1' isn't a valid value for '--accept-license'
  [possible values: true, false]

For more information try '--help'
Error: Process completed with exit code 2.

Ugh, sorry about that, I think the error is clear enough what has happened and it's an easy fix for users so I think I'll just leave this as is, but thanks for posting about this issue.

No worries, yes setting the environment variable to "true" works as expected 😊


Calendar module not loading out of no where

The following is the code that is put in for the defualt module "calendar".
When I turned on my pi this morning my calendar is just stuck on loading...
It worked fine the night before.
Any suggestions?
{
module: "calendar",
header: "My Calendar",
position: "top_left",
config: {
maximumEntries: 6,
timeFormat: "absolute",
getRelative: 1,
dateEndFormat: "h:mm A",
fullDayEventDateFormat: "MMMM Do",
showEnd: true,
dateFormat: "MMMM Do",
wrapEvents: true,
urgency: 1,
colored: true,
coloredSymbolOnly: true,
calendars: [
{
symbol: "futbol",
url: "https://calendar.google.com/calendar/ical/xxxxxxxxx/public/basic.ics",
color: "#3aff00",
maximumEntries: 1
},
{
symbol: "calendar-alt",
url: "https://calendar.google.com/calendar/ical/xxxxxxxxx/public/basic.ics",
color: "#ff9300"
},
{
symbol: "calendar-alt",
url: "https://calendar.google.com/calendar/ical/xxxxxxxxx/public/basic.ics",
color: "#00ffd4"
},
]
}
},

Please refer to http://forum.magicmirror.builders for support and troubleshooting.
I'm closing this issue for now. If you feel this issue should remain open, please let me know.


secure websocket wss

Hi
I am trying to use wss websockets but javalin does not seem to like wss:// links
I can connect using ws:// but only on http port
http and https is working as expected.
So my question is. Am i doing something wrong or are wss websockets not implemented in Javalin ?
If it is implemented i would really like a small example since all i tried sofar is not working.
If it is not implemented then consider this to e a feature request.
I am using Kotlin if that matters.
Best regards and thanks for a great library with syntax that fits my thinking.
Mats Olsson

@hemfridsvagen25 you need to configure jetty to use https. There is an example in the examples dir in the test dir.
Wss/https can't work 'out of the box' because you need to include your own certificate.

Hi
I think that https is setup (i can access using https://localhost:8443/test)
But obviously I am doing something wrong.
Connecting and sending messages to ws://localhost:8480/SocketTest works
but not wss://localhost:8443/SocketTest
My javalin setup
val webSocketController = WebSocketController()
val app = Javalin.create().apply {
	accessManager(Auth::accessManager)
	enableCorsForAllOrigins()
	enableCaseSensitiveUrls()
	val serverTemp = Server()

	val sslConnector = ServerConnector(serverTemp, getSslContextFactory())
	sslConnector.port = 8443
	serverTemp.addConnector(sslConnector)
	val connector = ServerConnector(serverTemp)
	connector.port = 8480
	serverTemp.addConnector(connector)
	server { serverTemp }
}.start()

webSocketController.setupJavalinWebSocket(app)

app.get("Test") { ctx -> ctx.result("testok")}
private fun getSslContextFactory(): SslContextFactory? {
val keystore = Resource.newClassPathResource("/keystore")
if (keystore != null && keystore.exists()) {
	val sslContextFactory = SslContextFactory()
	sslContextFactory.keyStoreResource = keystore
	sslContextFactory.setKeyStorePassword("secret")
	sslContextFactory.setKeyManagerPassword("secret2")
	return sslContextFactory
}
return null

}
My websocketCotroller class  (stripped)
class WebSocketController {
fun setupJavalinWebSocket(app: Javalin) {

	app.ws("/SocketTest") {ws ->

		ws.onConnect {session ->
			wsConnect(session )
		}
		ws.onMessage { session, message ->
			println("Received: $message")
			wsMessage(session, message)
		}
		ws.onClose {
			session, statusCode, reason ->
			println("Closed $statusCode $reason")
			wsDisconnect(session)
		}
		ws.onError { session, throwable -> println("Websocket Errored $session ${throwable?.message}  ${throwable?.stackTrace}") }
	}

}

private fun wsConnect(wsSession: WsSession) {
	logger.debug("Websocket connect")
	logger.debug(wsSession.toString())
	wsSession.idleTimeout = socketIdleTimeout
}

--more functions here
}

hmm maybe it is because the cert is selfsigned.  I always allowed it in browsers so i forgot about that.
have to check out the app connecting if it is picky.

No worries, happy you got it working!


Make a create-typed-factorio package

I would like to be able to easily create a new mod by just typing yarn create typed-factorio
So I would have a set-up directory with

package.json scripts (watch, build)
all the basic lua scripts (data, data-fixes, runtime)
a simple readme
a simple changelog
without bothering with configuration

Seems like someone did

Seems like someone did.

Yes, indeed I did lol. If you need any support with it open an issue.

Nice! :-)


allow upload to subdirectories

Creates subdirs if necessary on /files/<filepath>/<filename>
Closes #26
Closes #18
and probably
Closes #12

Would love to use this feature. Any chance of getting it merged soon @mayth? :)

@mayth hi. Could you please find a time to review this PR?

Would love to use this feature. Any chance of getting it merged soon @mayth? :)

while its not merged, you can use my build
docker pull execmd/go-simple-upload-server

This is exactly what I am looking for. Thanks.

@execmd  Thanks for your contribution.
Now v2, which is completely rewritten, supports this feature. You can upload to & get from sub directories.
I no longer maintain v1 branch except for serious security issues so close this PR.


User avatar & file view

The user avatar size (in navigation drawer) should be 48dp for better visibility and username align to 72dp padding of list items

and in file view toolbar, between avatar and text should be at least 4dp.

If you agree with me i'll make a pull request.

I certainly agree with the padding between the avatar and text in the toolbar, but I'm not terribly impacted by the sizing of the user icon.

@danielFerecatu for navigation drawer please refer to http://www.google.com/design/spec/patterns/navigation-drawer.html
Whatever you find that's not aligned to MD spec, then your PR is welcome.

@fadils at first i wanted to implement the navigation drawer from material design but i've found that not all the dimensions were matching the 4dp grid so i thought to leave them as they were.
If this app is going to have a material design theme then i am glad to help implementing it. And one more thing, i looked for that file view toolbar and wasn't able to find it, maybe you can help me.

@danielFerecatu please take a look at #713, as it covers some of what you mention
Also, I don't think there's anything we can do about the toolbar icon/text spacing unless someone feels like implementing a subclass that does this. Icons in the actionbar are discouraged in material design, and they kind of kick you for doing it with this ugly UI

Closed via #713


Update filename from 'MicrosoftWebDriver.exe' to 'msedgedriver'

It looks in the time since this service was created, MS has changed the name of the driver from MicrosoftWebDriver.exe to msedgedriver.exe

https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

Is it also possible to add a check for the OS used

command = process.platform === 'win32' ? 'msedgedriver.exe' : 'msedgedriver';

This will help if/when https://github.com/sitespeedio/edgedriver/issues/1 is also resolved

I can raise a PR if it helps

Please check if it works now for you, then I'll release a new npm package.


Let zetajs return unwrapped ANY representations

...instead of wrapped ones, which should simplify client code that interacts with such ANY values (witness the corresponding simplifications made here throughout the examples/ and test/ trees).  For special situations where wrapped representations are asked for, a $precise property is invented through which wrapped ANY representations are returned.

@stbergmann Rebased the commit for you.
https://github.com/allotropia/zetajs/commits/34517f8e1a47bed4dc38c9e6aff0f0c36d0d5483/

@stbergmann Rebased the commit for you. https://github.com/allotropia/zetajs/commits/34517f8e1a47bed4dc38c9e6aff0f0c36d0d5483/

thanks, but I'd already done that locally, anyway


Execution order is incorrect with async afterEach() and async test()

In one project, I write a fixtures for many tests and clear they must clear cleared. Felt like afterEach() should handle this.
Here is a dummy code:
import { afterEach, log, test } from "poku";

const clearFixture = () => new Promise((resolve) => { setTimeout(resolve, 250) })
const writeFixture = () => new Promise((resolve) => { setTimeout(resolve, 500) })

afterEach(async () => {
  log("before clearFixture");

  await clearFixture();

  log("after clearFixture");
});

await test("first test", async () => {
  log("before first test");

  await writeFixture();

  // test logic

  // await clearFixture();

  log("after first test");
});

await test("second test", async () => {
  log("before second test");

  await writeFixture();

  // test logic

  // await clearFixture();

  log("after second test");
});

The log() output is:
before first test
after first test
before clearFixture
before second test
after clearFixture // !!! this is too late, fixture of the second test gets deleted
after second test
before clearFixture
after clearFixture

Moving clearFixture() at the end of each test works as expected. This is what I would expect from afterEach(). Did I misunderstood something?

The current tests in beforeEach and afterEach look for its values/changes, but don't consider the order in which they were executed.
Thanks for the minimal repro. I will include an E2E test based on your reproduction and comparing the output 🙋🏻♂

Looks like beforeEach() and afterEach() work as expected, when they are defined as sync functions. If async test()s are awaited all goes well.
Execution order goes wrong when beforeEach() and afterEach() are async. In this case, even having sync test()s does not help:
import { afterEach, beforeEach, log, test } from "poku";

const clearFixture = () => new Promise((resolve) => { setTimeout(resolve, 250) });
const prepareFixture = () => new Promise((resolve) => { setTimeout(resolve, 150) });
const writeFixture = () => null;

beforeEach(async () => {
  log("before prepareFixture");

  await prepareFixture();

  log("after prepareFixture");
});

afterEach(async () => {
  log("before clearFixture");

  await clearFixture();

  log("after clearFixture");
});

test("first test", () => {
  log("before first test");

  writeFixture();

  log("after first test");
});

test("second test", () => {
  log("before second test");

  writeFixture();

  log("after second test");
});

Give this log() output:
before prepareFixture
before first test
after first test
before clearFixture
before prepareFixture
before second test
after second test
before clearFixture
after prepareFixture // first `beforeEach()` is ending after all tests
after prepareFixture
after clearFixture // first `afterEach()` is ending after all tests too
after clearFixture

Interesting. I'm preparing the tests for these scenarios now.
The idea of these tests is to validate:

All beforeEach , afterEach and tests must emit an output.
Then the terminal output is compared.

Then, duplicate the same test adapting for async methods.

I'm not sure if I've documented this, but when either beforeEach or afterEach are asynchronous, test/it must always be asynchronous too.

The issue was in each core:
https://github.com/wellwelwel/poku/blob/0db34238e4c1de6099fdafbfc4d06390cd6ecd8e/src/modules/helpers/each.ts#L68-L72
By never returning the method, it's trying to check if undefined is an instance of Promise:
https://github.com/wellwelwel/poku/blob/0db34238e4c1de6099fdafbfc4d06390cd6ecd8e/src/modules/helpers/test.ts#L65-L69
To fix this, it's just adding return:
 each.after.cb = () => {
   if (each.after.status) {
     return callback();
   }
 };

Same for beforeEach.

I'll fix that soon 🙋🏻♂

Fixed in v2.2.1.
@mrazauskas, can you test it? 🙋🏻♂

Thanks. I will give it a try as soon as I can (;

Nope. Can’t reproduce it in smaller example. So this can be my mistake too.
Really hard to debug larger tests files without .only / .skip modifiers (;

@mrazauskas, I created a test creating a dir, a file, then removing both of them, but it works fie for me:
import { readFile, writeFile, rm, mkdir } from 'node:fs/promises';
import {
  beforeEach,
  afterEach,
  log,
  test,
  describe,
  assert,
} from '../../src/modules/index.js';

const testDir = '../../.temp';
const testFile = `${testDir}/each-hook`;

const clearFixture = async () => {
  await rm(testFile);
  await rm(testDir, { recursive: true, force: true });
  log('  - Cleaning');
};

const writeFixture = async () => {
  await mkdir(testDir);
  await writeFile(testFile, 'test', 'utf-8');
  log('  - Writing');
};

const toTest = async (message: string) => {
  await readFile(testFile, 'utf-8');
  return message;
};

beforeEach(async () => {
  log('- before beforeEach writeFixture');

  await writeFixture();

  log('- after beforeEach writeFixture');
});

afterEach(async () => {
  log('- before afterEach clearFixture');

  await clearFixture();

  log('- after afterEach clearFixture');
});

describe(async () => {
  await test('first test', async () => {
    log('  before first test');

    assert(true, await toTest('first test'));

    log('  after first test');
  });

  await test('second test', async () => {
    log('  before second test');

    assert(true, await toTest('second test'));

    log('  after second test');
  });
});

Really hard to debug larger tests files without .only / .skip modifiers (;

The .only is new to me, I'll take a look at some test runner with this functionality to understand how it works.

Found it! If a test fails, afterEach() is not called and fixture is not removed. Next test run finds that fixture and fails again. And so on ;D
Sorry about false alarm. The fix for as expected.
Seems like I have to find a way to clear the fixture directory after / before each test run.


Update idle-session-timeout-web-apps.md

Added Microsoft Fabric
Fixes https://github.com/MicrosoftDocs/microsoft-365-docs/issues/12580

@JohanFreelancer9 Please copy review

@JohanFreelancer9 Thanks, not sure how to check if there is a PR already for an issue. Btw, the Issue cannot be closed as the document is not up to date.


Added --load option to load file, added logger

Hello @lightos.
Awesome project! :smile:
I made a few changes to the code:

option to load list in format USERNAME/EMAIL:PASSWORD.
by default credmap will log the usernames and passwords he found.
(Log file format: output_DATE.log)

-- Hypsurus

Thank you very much for your contribution! :+1:


[incubator-kie-issues#1534] Remove less.jar from errai-ui

Closes https://github.com/apache/incubator-kie-issues/issues/1534

@jomarko Please notice that the build didn't start for this PR

@yesamer ok, thank you for spottting, so, can we start it manually?

@jomarko Yes

Thanks @mcruzdev. CI :: Build jobs are running.


fix paths in RubyMine-EAP zap

Sorry, I will fix commit soon.

@yurikoles Is the commit fixed?

@fanquake,
I had forgot to run brew up before previous commit and there was merge conflict.

The paths in stable Cask zap is also outdated (e.g. '70' vs '80'), but I don't want spent time on this issue since new stable release with new version scheme is expected soon.
@fanquake could you advice me better way of version extraction than I had used in this cask?

@vitorgalvao thanks for corrections, all is fixed, please merge

Is there any API docs for cask?

Docs.

Closing in favour of https://github.com/caskroom/homebrew-versions/pull/1873/files.


Minor spelling

Not entirely sure whether you find this irritating or helpful.

both

Well, it could be worse. I Could be creating pull requests for tiny changes. Oh wait...

Remember if you want to check all my spelling you also need to check this branch gh-pages.
The two files index.html and module.html


backends.ldap: add timeout and paginated results

I propose to add two options:

DATABASES['ldap']['CONNECTION_OPTIONS']['TIMEOUT'] = 2
which allows to define the database connection timeout
(not a big deal).
DATABASES['ldap']['CONNECTION_OPTIONS']['BATCH_SIZE'] = 500
which allows to split requests to the LDAP, thus allowing
to fetch more data in a single request.

This second option uses search_ext_s if defined, and continues
to use previous search_s if not. That's why I renamed
DatabaseWrapper.search_s with batched_search_s.

I might need some help to write few tests :)


Remove broken packages

Remove the following broken packages...
Error: packer has been disabled because it will change its license to BUSL on the next release! It was disabled on 2024-09-27.
Installing packer has failed!

Warning: Cask 'corretto17' is unavailable: No Cask with this name exists.
==> Searching for similarly named casks...
==> Casks
corretto
corretto@11
corretto@17
corretto@21
corretto@8

To install corretto, run:
  brew install --cask corretto
Installing corretto17 has failed!

Done.


Could not deserialize object to XML

Hi, I opened sorz/TinyKeePass#9 and then realized that TinyKeePass relies on this library, which is actually throwing the error.
I have a KeePass file that openkeepass cannot parse. It says "Could not deserialize object to XML." I wish I could provide the kdbx, but it contains real passwords.
The same kdbx can be opened properly with KeeWeb, KeePassDroid, and KeePass Tusk. It's possible the file is corrupted and these other tools are just very lenient when parsing the XML. I'm not sure how to check.

I opened the kdbx file with KeePass2 on Ubuntu and saved the file without making changes. This allowed the file to be parsed by openkeepass successfully.
This could be an issue with KeeWeb, which I used to create the file initially, although if the XML parser here were as lenient as the others that would be nice.

I've managed to replicate the error, see attached file.
The issue is due to Property, KeeWeb saves a null Value (ie <Value/>) but the field is not nullable.
Can you make Property.propertyValue nullable?
Thanks.

Thank you for the investigation. I will have a look at it.

Anyway I've also opened a ticket on keeweb and indeed KeePass opens file with null values.

I think I've found the issue. The problem was that keeweb rearranged the XML tags and that messed up my decryption. I've tested with the attached database file and it seems to work now.


Added yii\bootstrap\ButtonDropdown::iconOptions to customize button icon

Closed in favor of more generic issue #5207


⚠ PrivateHD has degraded performance

In 8eef3e0, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2571 ms

Resolved: PrivateHD performance has improved in 1b36768.


RBAC: proposal to implement aliases for some conditional policies parameters

What Would You Like to Improve?
While implementing support for conditional policies, we encountered a challenge related to the dynamic nature of policy parameters. Originally, when conditions were defined in code, developers could easily provide dynamic values within the code itself. However, we're now working on a code-less flow, where policy administrators can specify parameter values using a REST API. The issue is that administrators can only provide a predefined set of values, and they cannot input dynamic values, which may limit the effectiveness of certain permission policy parameters.
Example:
Consider the following JSON representing a policy:
{
  "result": "CONDITIONAL",
  "pluginId": "catalog",
  "resourceType": "catalog-entity",
  "conditions": {
    "rule": "IS_ENTITY_OWNER",
    "resourceType": "catalog-entity",
    "params": {
      "claims": ["user:default/andrienkoaleksandr", "group:default/team-a"]
    }
  }
}

In this example, we've specified claims to allow users to see their own catalogs or catalogs within the "group:default/team-a." Ideally, it would be beneficial if the plugin could provide user entity references for the currently logged-in user, along with a list of their corresponding parent groups.
Current Behavior
Currently, permission administrators can only specify conditional parameter values using the REST API.
New Behavior
We propose the introduction of aliases. Our RBAC backend plugin could support a predefined set of such aliases. When the plugin detects these aliases in the provided parameters, it would automatically replace them with the appropriate dynamic values, enhancing the flexibility and power of permission policy parameters.

Feature was implemented: https://github.com/janus-idp/backstage-plugins/pull/1847


puglSetTransientFor()

From what I understand the function puglSetTransientFor() exposed in pugl.h is implemented only in x11.c.
Obviously programs running on platforms other than Linux will fail to call this function.
I don't know if Windows and/or OSX know a similar concept, at least it would not hurt to have dummy implementations for other platforms or even better add similar functionality.
On Linux, it allows to sort of tell that a window is a child of another window, so that eg. minimize/maximize will consider both windows.
Does that make sense?

53d8fe0c19408a54165f6422319be8139758a5b2


scheduler test coverage

I have the worst test coverage on the project and need to redeem myself.  The ancient test bits I'd written in fake_agent.go and fake_controller.go need morphed into a go test cases which exercise the successful and failed flow of workloads through the scheduling algorithm.

I've just merged some test code (and fixes) bringing scheduler up from 0% to 50%+.


732 notif collab resolve

Collaborations now update the collab request notifications with is_resolved=True when those requests are accepted/denied. It keeps track of a couple notification guids in the collab model to facilitate that. The updating logic is in Collaboration._notify_users. A new test in test_collaboration_notification checks that this gets updated.
Collaboration.init has been updated to automatically send the request notification via Collaboration.notify_pending_users(), which previously had to be called manually by the code wherever the collab was made. This auto-send can be disabled by passing in notify_users=False. Doing this automatically during collab init is a good idea because there were a few tests / places in code where we had mixed up who is the sender vs. recipient of both the Collab and the Notif; putting both in one call means we can't mix them up.

\rebase

/rebase


python38Packages.ftfy: 5.9 -> 6.0.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.ftfy is: "Given Unicode text, make its representation consistent and possibly less broken"
meta.homepage for python38Packages.ftfy is: "https://github.com/LuminosoInsight/python-ftfy"
meta.changelog for python38Packages.ftfy is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

/nix/store/m6qwj7bn0k8sk6ah9f5rfw2f27lfqqg1-python3.8-ftfy-6.0.3/bin/ftfy passed the binary check.

/nix/store/m6qwj7bn0k8sk6ah9f5rfw2f27lfqqg1-python3.8-ftfy-6.0.3/bin/.ftfy-wrapped passed the binary check.

2 of 2 passed binary check by having a zero exit code.

2 of 2 passed binary check by having the new version present in output.

found 6.0.3 with grep in /nix/store/m6qwj7bn0k8sk6ah9f5rfw2f27lfqqg1-python3.8-ftfy-6.0.3

found 6.0.3 in filename of file in /nix/store/m6qwj7bn0k8sk6ah9f5rfw2f27lfqqg1-python3.8-ftfy-6.0.3

directory tree listing: https://gist.github.com/867e3c9c0511f49d5b590c25b06ee311

du listing: https://gist.github.com/51647f214d5d0324a7f07332ceba8e22

Rebuild report (if merged into master) (click to expand)

24 total rebuild path(s)

6 package rebuild(s)

6 x86_64-linux rebuild(s)
6 i686-linux rebuild(s)
6 x86_64-darwin rebuild(s)
6 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.ftfy
python38Packages.scancode-toolkit
python38Packages.wordfreq
python39Packages.ftfy
python39Packages.scancode-toolkit
python39Packages.wordfreq

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m6qwj7bn0k8sk6ah9f5rfw2f27lfqqg1-python3.8-ftfy-6.0.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.ftfy https://github.com/r-ryantm/nixpkgs/archive/057b31cf4b0eeb413ea657ea0e527e361e35b600.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m6qwj7bn0k8sk6ah9f5rfw2f27lfqqg1-python3.8-ftfy-6.0.3
ls -la /nix/store/m6qwj7bn0k8sk6ah9f5rfw2f27lfqqg1-python3.8-ftfy-6.0.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @sdll @aborsu for testing.

Result of nixpkgs-review pr 134659 at 057b31cf run on aarch64-linux 1

2 packages failed to build:

python38Packages.scancode-toolkit
python39Packages.scancode-toolkit

4 packages built successfully:

python38Packages.ftfy
python38Packages.wordfreq
python39Packages.ftfy
python39Packages.wordfreq

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.


CCCP-387, system test

Description

add system test of BTC relayer

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Something else (simple changes that are not related to existing functionality or others)

Checklist

[ ] I have selected the correct base branch.
[ ] I have performed a self-review of my own code.
[ ] I have made corresponding changes to the documentation.
[ ] I have made new test codes regarding to my changes.
[ ] I have no personal secrets or credentials described on my changes.
[ ] I have run cargo-clippy  and linted my code.
[ ] My changes generate no new warnings.
[ ] My changes passed the existing test codes.
[ ] My changes are able to compile.

마지막 commit 만 봐주시면 될것 같습니다.
(feature add syste_test)

혹시 이전 커밋들 깔끔하게 정리 가능할까요?


CSVConverter fails on biomes.

CSVConverter fails with "The conversion cannot be performed" on biome text "Swamp".
line 46 of CsvReaderExtensions.cs

Fixed in 3359be6.
Surprisingly, the code was fine — it was a problem with the data files.


Fix link format in the netCDF lesson

One of the resources links used [...][...) by mistake so the link didn't render properly.

👍 my pleasure


What is the linux password?

Since I'm on a mac, it would be great if I should ssh to one of the linux nodes, but I can't figure out what the password is for the linux VMs.
BTW, this is wicked cool!

You can use 'vagrant ssh mdm1' to open a ssh session without needing a password. Replace mdm1 with 'tb' or 'mdm2' to get to the other two defined VMs.
Btw Default root password is 'vagrant' which work as well.

Sweet! Can you add that info the Readme?

Hi osaddict! That is standard behaviour for all Vagrant setups, but I'll add it to the readme for more clarity.
Thanks!


[fix][broker] fix No such ledger exception

Motivation
In the log we found No such ledger exception:

The reasons are as follows:
1. Frequent Full GC occurs on the broker, causing zk to time out：
22:29:06.119 [main-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!
2.When the create leadger is completed, the ledger will be put into ledgers and update currentLedger，the updateLedgersListAfterRollover method is executed, and the metadata to zookeeper fails to write：

https://github.com/apache/pulsar/blob/4c958a9a1a0468656e37851293cf1930041d2c93/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java#L1484-L1489
3.In the failure callback method operationFailed, the corresponding ledger will be removed from the ledgers, but the currentLedger still points to the ledger that failed to create, but the ledger will be deleted here through bookKeeper.asyncDeleteLedger. When reading data, it will be read through the currentLedger. Since the ledger has been deleted, the final error is reported: No such ledger
https://github.com/apache/pulsar/blob/4c958a9a1a0468656e37851293cf1930041d2c93/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java#L1509-L1522
Modifications
After the create ledger is created and the metadata is written to the zookeeper successfully, the currentLedger is updated.
Documentation
Check the box below or label this PR directly.
Need to update docs?

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

@hangc0276 PTAL，thanks!

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@codelipenghui PTAL,thanks!


KeePassXC-Browser extension doesn't works

KeePassXC-Browser doesn't launch properly and can't detect openned database KeePassXC.
Steps to reproduce the behavior:

Go to https://github.com/keepassxreboot/keepassxc-browser/releases
Download v1.3.2 archive and open it
Extract keepassxc-browser folder (inside keepassxc-browser-1.3.2)...
...and copy in ~(Chromium location)/extensions/(HERE)
Open Chromium and go to chrome://extensions/
Check if KeePassXC-Browser is activated

Expected behavior:
You can see error on KeePassXC-Browser extension card...

Environment:

Windows 7 SP1
ungoogled-chromium 72.0.3626.121 (64 bits)
KeePassXC-Browser 1.32 (as unpacked extension)

Additional context:
ChromiumCommandLine=--user-data-dir=..\profile --no-default-browser-check --allow-outdated-plugins --disable-logging --disable-breakpad --disable-component-update --disable-gpu --disable-accelerated-video --disable-3d-apis
This extension works with "stable-codecs-nosync" release, version 67.0.3396.99 (latest): https://github.com/henrypp/chromium/releases
Thanks.

It works for me. At least under windows...

I'm not sure if this is a Windows-specific issue, so I'm going to leave this open for now. If it is Windows-specific, I will close this since we don't support customized versions of ungoogled-chromium (because Windows support isn't updated yet).

@fujitsuDev I'm running the extension on 71.0.3578.98-2 without issues.

@fujitsuDev you can't download directly from the store, you need to follow this procedure: https://ungoogled-software.github.io/ungoogled-chromium-wiki/faq#can-i-install-extensions-or-themes-from-the-chrome-webstore. I did that and I was able to use the extension.

@TCB13 I downloaded CRX file from Web Store by following the procedure, but impossible to install CRX within developer mod anyway under Windows 7 or 10: can't drag and drop file (see 2nd screenshot above).

If youn change the flag, chrome://flags/#extension-mime-request-handling to Always prompt for install. You don’t even need to drag and drop. Opening the link of the file would ask you to install right away.

Ok, thats works now! Thanks!
Obviously KeePassXC-Browser don't allow unpacked installation, but only CRX from Web Store.
I don't understand why, but the most important thing, is that works.

Obviously KeePassXC-Browser don't allow unpacked installation

Did you experience this with other extensions? If not, this can be closed.

Obviously KeePassXC-Browser don't allow unpacked installation

Have you experienced this with other extensions? If not, I guess this can be closed. @Eloston

Only KeePassXC at this time. Works with others extensions tested.

Obviously KeePassXC-Browser don't allow unpacked installation, but only CRX from Web Store.

Interesting. Didn't know that extensions had the ability to determine that.

If not, I guess this can be closed.
Only KeePassXC at this time. Works with others extensions tested.

Sounds fine with me.


Simpler PCWSTR from Rust str

Suggestion
Currently I'm using PCWSTR::from_raw(HSTRING::from(settings.entry_point).as_ptr())

This is intentionally verbose since you're dealing with a dangling pointer. You should carefully track the lifetime of the HSTRING in this case:
use windows::core::*;

fn main() {
    unsafe {
        let s = "Hello";

        let h = HSTRING::from(s);
        let w = PCWSTR(h.as_ptr());

        println!("{}", w.display());
    }
}

Thanks for pointing out the dangling pointer. Just to confirm, HSTRING is like Rust String, and PCWSTR is like Rust &str?

Almost. HSTRING is an owned strings like the Rust Standard Library's String.
But PCWSTR is just a pointer without ownership or lifetime. This is unlike &str which does include lifetime tracking. This is why no implicit or trait-based conversions are provided for PCWSTR and friends - there's no lifetime to ensure that it will be safe.


Adds support for the WSGI server to read from a different registry

This is just a quick fix to let the bulit-in WSGI server serve a non-default registry

Can you squash your commits?

@brian-brazil Done :D

Thanks!


#2208 OSDs not automatically started when adding nodes to existing cluster

Fix for #2208
Signed-off-by: Stefan Haas<EMAIL_ADDRESS>
Description of your changes:
Which issue is resolved by this Pull Request:
Resolves #
Checklist:

[ ] Documentation has been updated, if necessary.
[ ] Pending release notes updated with breaking and/or notable changes, if necessary.
[ ] Upgrade from previous release is tested and upgrade user guide is updated, if necessary.
[ ] Code generation (make codegen) has been run to update object specifications, if necessary.
[ ] Comments have been added or updated based on the standards set in CONTRIBUTING.md

Opened a PR upstream for that.


run train.py meets ValueError: Dataloader returned 0 length.

Hello!
I am studying the recipe of /asteroid-master/egs/dns_challenge/ and trying to run it for practice.
But I met error and I failed to train the model.
I run it in my laptop in Linux, I installed pytorch_lightning version 0.9.0 from PyPI.
But when I run /asteroid-master/egs/dns_challenge/baseline/run.sh at Stage 3 : Train, it will throw error at pytorch_lightning.
The error is as shown below.
Train_error_log.txt
For more detail please find the attached Train_error_log.txt.

Traceback (most recent call last):
File "train.py", line 121, in
main(arg_dic)
File "train.py", line 94, in main
trainer.fit(system)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.1rc4-py3.8.egg/pytorch_lightning/trainer/states.py", line 48, in wrapped_fn
result = fn(self, *args, **kwargs)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.1rc4-py3.8.egg/pytorch_lightning/trainer/trainer.py", line 1084, in fit
results = self.accelerator_backend.train(model)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.1rc4-py3.8.egg/pytorch_lightning/accelerators/cpu_backend.py", line 39, in train
results = self.trainer.run_pretrain_routine(model)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.1rc4-py3.8.egg/pytorch_lightning/trainer/trainer.py", line 1224, in run_pretrain_routine
self._run_sanity_check(ref_model, model)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.1rc4-py3.8.egg/pytorch_lightning/trainer/trainer.py", line 1249, in _run_sanity_check
self.reset_val_dataloader(ref_model)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.1rc4-py3.8.egg/pytorch_lightning/trainer/data_loading.py", line 337, in reset_val_dataloader
self.num_val_batches, self.val_dataloaders = self._reset_eval_dataloader(model, 'val')
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.1rc4-py3.8.egg/pytorch_lightning/trainer/data_loading.py", line 299, in _reset_eval_dataloader
num_batches = len(dataloader) if _has_len(dataloader) else float('inf')
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.1rc4-py3.8.egg/pytorch_lightning/trainer/data_loading.py", line 70, in _has_len
raise ValueError('Dataloader returned 0 length.'
ValueError: Dataloader returned 0 length. Please make sure that your Dataloader at least returns 1 batch

I have successfully run it for Stage 1 and 2, and the file_infos.json already created at location ./data.
I don't know what cause this Dataloader to return 0 length.
Can you help me to point out what maybe the cause?
How can I solve this problem?
Thanks in advance!
Best Regards,
Elen

Can you attest the data is present on your disk?

file_infos.json.txt
Hi Mpariente,
I did not download all the datasets wav files from https://github.com/microsoft/DNS-Challenge.
I only downloaded a few wav files from that github.
Please find the screenshot I attached that you can know what data is present on my disk.
I also attached my file_infos.json file.
Please check if I missed something?
Thanks,
Elen

Hi Mpariente,
The default batch_size from the original conf.yml is 64. I did not change it.
Can you tell me why my batch size cannot be larger than 3?
Thanks,
Elen

Hi Mpariente,
I try to change the batch_size in the /local/conf.yml from 64 to 2. Then when I run Stage 3 I got below error:

'elen printing: batch_size=2, num_workers=32'
Validation sanity check: 0it [00:00, ?it/s]Traceback (most recent call last):
File "train.py", line 123, in
main(arg_dic)
File "train.py", line 96, in main
trainer.fit(system)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.0-py3.8.egg/pytorch_lightning/trainer/states.py", line 48, in wrapped_fn
result = fn(self, *args, **kwargs)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.0-py3.8.egg/pytorch_lightning/trainer/trainer.py", line 1084, in fit
results = self.accelerator_backend.train(model)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.0-py3.8.egg/pytorch_lightning/accelerators/cpu_backend.py", line 39, in train
results = self.trainer.run_pretrain_routine(model)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.0-py3.8.egg/pytorch_lightning/trainer/trainer.py", line 1224, in run_pretrain_routine
self._run_sanity_check(ref_model, model)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.0-py3.8.egg/pytorch_lightning/trainer/trainer.py", line 1257, in _run_sanity_check
eval_results = self._evaluate(model, self.val_dataloaders, max_batches, False)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.0-py3.8.egg/pytorch_lightning/trainer/evaluation_loop.py", line 333, in _evaluate
output = self.evaluation_forward(model, batch, batch_idx, dataloader_idx, test_mode)
File "/home/elen/anaconda3/lib/python3.8/site-packages/pytorch_lightning-0.9.0-py3.8.egg/pytorch_lightning/trainer/evaluation_loop.py", line 687, in evaluation_forward
output = model.validation_step(*args)
File "/home/elen/lstm_rnn/asteroid-master/asteroid/engine/system.py", line 139, in validation_step
loss = self.common_step(batch, batch_nb, train=False)
TypeError: common_step() got an unexpected keyword argument 'train'
(base) root@elen-VirtualBox:/home/elen/lstm_rnn/asteroid-master/egs/dns_challenge/baseline#

Can you kindly check again what maybe the cause?
Thanks a lot.

Because you don't have many examples.
What is your asteroid version?

Please, try debugging before posting the issue, if you solve your problems, you'll be better after it.

I downloaded the default master Branch code just last week.
From the Changelog I found its version is [0.3.3] - 2020-08-25.
Now after removing the argument 'train' from common_step() in the code of /asteroid/engine/system.py,  I can successfully run the Stage 3 to train the model.


Please merge https://codereview.chromium.org/1645423002/

@iposva-google @whesse

This fixes issue #25602.

Shall we do a patch release with just this fix, or wait to see if we get more fixes coming in?

Let's patch stable now. CL is https://github.com/dart-lang/sdk/commit/ce650790a1446f205a49714b717b844eed6196fd

This CL is merged into version 1.14.1.

How about:

Fixed VM crash when a debugger attempts to set a break point during
script loading.

On Wed, Feb 3, 2016 at 12:03 PM William Hesse<EMAIL_ADDRESS>wrote:

This CL is merged into version 1.14.1.
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/sdk/issues/25618#issuecomment-179431160.


Unable to send email using "docker.for.mac.localhost" - x509 cert error

I'm running a mail server on the same machine as my docker instance; in most scenarios I can connect to this using the "docker.for.mac.localhost" hostname but this is failing using watchtower. The domain name is not matching that of the letsencrypt cert that I'm using.
Is there any way to disable SSL for SMTP messaging? As it's localhost, it's not really required here.

You can now use the flag --notification-email-server-tls-skip-verify introduced with v0.2.2

Still having issues using 'docker.for.mac.localhost'.  Logs are now showing the following error:
Helo command rejected: need fully-qualified hostname.
Any ideas?

That's a message from your mail server, you need to disable that check on your mail server or change the mail server address used by watchtower to something that your mail sever accepts.

Fair enough. Thanks for the help.
I'll dig around through the Postfix stuff, see if I can find an option somewhere.


Is it useful to report the classes that exist in both Jade and CSS?

Thinking about this, this report could be generated by specifying the same patterns for both options.cssBlacklist and options.jadeWhitelist and comparing the list returned by results.report by eye


enable dirty-scheduler on default erlang image

I just found a comment on the docker hub page https://hub.docker.com/_/erlang/

radupopescu   18 days ago
Hello,
Would it be possible to enable dirty schedulers for 19, 19.1, latest images?

and researched somewhat for benefits why need dirty scheduler and how to do that
https://news.ycombinator.com/item?id=11064763
https://hamidreza-s.github.io/erlang/scheduling/real-time/preemptive/migration/2016/02/09/erlang-scheduler-details.html
http://erlang.org/doc/installation_guide/INSTALL.html#Advanced-configuration-and-build-of-ErlangOTP_Configuring

--enable-dirty-schedulers - Enable the experimental dirty schedulers functionality.  This functionality will be subject to backward incompatible changes. Note that you should not enable the dirty scheduler functionality on production systems. It is only provided for testing. This switch also imply --enable-new-purge-strategy (see below).

the good news is this feature would be an easy one https://github.com/c0b/docker-erlang-otp/blob/master/19/Dockerfile#L24 just need some sanity check before releasing in the new way of building 19+ images
(generally a github issue for feature request is preferred over docker hub comment, because hub.docker.com doesn't have comments notification and many other features as a discussion board should have)

another good one: https://medium.com/@jlouis666/erlang-dirty-scheduler-overhead-6e1219dcc7

Thanks for the links and for updating the image. Waiting for #29.
About the dockerhub comments, understood.

Hi there,
I was wondering if you know when this will be merged? Having dirty schedulers enabled in the Erlang 19 image would greatly simplify my other image(s).
Thanks!

sorry didn't have a chance to update, while doing #32 I did some local test of enabled dirty scheduler, it works without too much effort; so another PR to enable dirty scheduler should be there shortly

Hi!
This is great to hear. Looking forward to trying out the new image.
Thanks!


[CM3/7] status flags influence on "branch predictor"

If true, then the last compressed processing instruction can leak secret data.

was false positive for both


adoptopenjdk: add version 12

Motivation for this change
Add AdoptOpenJDK 12.  We keep 11 since it is LTS version.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

This will conflict with #59951. When #59951 is merged, I will update the branch.

Updated

This again conflicts with #60224. I will update when it is merged.

This again conflicts with #60224. I will update when it is merged.

Good to go :+1:

adoptopenjdk 13 is now in Nixpkgs. Is there any reason we still need/want 12?

I also think this PR can be retired. @taku0 any reasons to keep?

Closing this.


Selection Sort in array with code (Video Explanation)

Description
To explain Selection Sort in array with code through video.
Domain
DSA
Type of Contribution
Video
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Add warning in :LushRunTutorial to avoid loss of work with naive :w's

Hi !
Well first of all I need to say that the tutorial is really well made. The problem is that it's too well made, so it does encourage tinkering around and creating a theme.
The problem that happened to me is that I did :w file to save the progress I was making, and then regularly :w to save it. Well you see where this is going, only the first write wrote to file, the rest of them were writing on the temporary buffer that got discarded as soon as I exited nvim, and with it, my beautiful draft of a theme.
After reading vim help about :w, I see that the mistake comes from my own inexperience, as I should have used :sav file instead.
However, and this is why I'm filing this issue, I think this is an issue that is likely to happen again to people that are not that experienced with vim, since working with temporary buffer is really rare to me (only other instance I can think of is vimtutor)
So, to avoid other frustrating experiences, I'm proposing to add a warning in the comments, something like "if you want to save the modifications you've made in this buffer, prefer :sav <path> to :w <path>, since :w <path> creates an alternate file and subsequent :ws will NOT save your progress"
I don't know if it's a good suggestion, maybe everyone knows that, but I figured I would share that thought.
Thanks for reading and congrats on this project, it's really cool and I think I'm gonna have a lot of fun with it.

Sorry you ran into that. I updated the tutorial to have a warning :+1:


how to add text to nodes and edges?

I'm working on a project about social network, so I'm wondering is there any way to add text to the nodes and edges?

There's an example here (and code) that shows how to add text on hover. It uses jQuery to overlay a div with a label. If you want to have all text boxes showing all the time, you can extend the example to recalculate div positions when the mouse is dragged.
Hope this helps!

Hi!!! I would like to ask for the same feature as well. I am really a newbie to js and have been trying for days..  I would like to display the node name by default if its value is over some threshold, and meanwhile keep the hovering function.
Originally I want to change the onNodeHover function in js, but it did not work out :-(
And I give it another try on the following but still not showing up.

Could u please explain more explicitly on how to achieve the feature?
Thanks a lot in advance!!! I love your version of implementing 3d d3 force-directed graph.

Thanks!
I'm not planning on adding built-in node labels in the near future, because there are multiple ways to do so and the "right" way depends on use case. This documentation is a good overview.
You've been following the jgraph example that edits the DOM, which only has one label (shown on hover). If you want multiple labels, you'll need to create a div for each label you want to show and then position the div over the node or edge.
Hope this helps!

Hi,
How would you add names to nodes using the python jgraph package?

Unfortunately, there's no clean API for that right now, and I haven't been maintaining this project.
If you're feeling ambitious, however, it's probably not hard to implement. I'd look at this code to see the node drawing part, then reference three.js' text manual to either add webGL text or make HTML overlays.


Validate Controls on Button Not on Form Load

I tried to validate using IdataError Info. Controls gets validated at the Time of form load
Need to Validate on Buttonclick Event

same as here #2251


Properties: Kotlin Enum in a Serializable Class is not found with WorkerExecutor.noIsolation

Expected Behavior
No error
Current Behavior
Build failure to due ClassNotFoundException:
Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing app.softwork.github.dependencies.upload.UploadAction
Caused by: org.gradle.internal.snapshot.ValueSnapshottingException: Couldn't populate class kotlin.Pair
Caused by: java.lang.ClassNotFoundException: app.softwork.github.dependencies.upload.UploadAction$UploadActionParameters$Scope

Context (optional)
I want to use a custom class containing an Kotlin enum as member. This class is the input to my worker action, which is executed in workerExecutor.noIsolation().

abstract class GitHubDependenciesUpload : DefaultTask() {
    @get:Input
    abstract val notPossible: MapProperty<String, Pair<String, Scope>>

    @get:Inject
    internal abstract val workerExecutor: WorkerExecutor

    @TaskAction
    fun submit() {
        workerExecutor.noIsolation().submit(UploadAction::class.java) {
<EMAIL_ADDRESS>        }
    }
}

abstract class UploadAction : WorkAction<UploadAction.UploadActionParameters> {
    interface UploadActionParameters : WorkParameters {
        val notPossible: MapProperty<String, Pair<String, Scope>>

        enum class Scope {
            Runtime, Development
        }
    }

    override fun execute() {
        println(parameters.notPossible.get())
    }
}

Steps to Reproduce
./gradlew uploadCompileToGitHub
kobol Kopie.zip
Gradle version
8.1.1
Build scan URL (optional)
https://gradle.com/s/bvssdswtp53r6
Your Environment (optional)
No response

Thank you for providing a valid reproducer.
The issue is in the backlog of the relevant team, but this area of Gradle is currently not a focus one, so it might take a while before a fix is made.


errors.IsCorrupted not "wide" enough?

I'm using errors.IsCorrupted at database open time to decide whether an error is something we should try recover on (in worst case dropping the database and reinitializing if the recover doesn't work), or if it is something like the database already being locked. However, there seems to be corruption related errors that aren't covered by that convenience function. For example this gets returned verbatim and ErrMissingFiles looks like it may not trigger IsCorrupted as well? Is this intentional in that those types of corruption are per definition unrecoverable or something? As is it seems I need to to string matching on the returned error even in the presence of the useful-sounding IsCorrupted. :)

You're right errors.IsCorrupted should also covering corruption due to missing files, as Recover is able to recover the db from this kind of corruption.

Oh, I just realized that ErrMissingFiles always wrapped with ErrCorrupted.


Auro API Guidelines

General Support Request
The scope of this issue is to come to a set of standards for how Auro component APIs are to be developed. This information will also be used to onboard new developers to the Auro team or any developer looking to contribute to Auro.
Support request
The Auro team and its core contributors need to have an open discussion as to what it means to have a set of standards for Auro component API development.
Areas to consider:

A growing consistency has been to use boolean attributes for theming and feature configuration
For complex content/data, e.g. auro-table, a property that accepts an array of data has been used
Slots should always be used for content, except for when data is content, e.g. auro-table or auro-swatch
There is debate over boolean versus string attributes, e.g. alignLeft or align="left" and when it's best to choose one over the other

Working with string attributes is tricky as the native HTML attributes can be confusing. In some cases, they are true booleans and in others, they require a string of true or false
There are times when boolean attributes work in combination with other attributes, e.g. auro-accordion
Ther are times when boolean attributes in combination may have side-effects, e.g. auro-alerts

side-note, auro-alerts should not have an s. A component is a single element, regardless of the number of variants within

Another thing that is open for discussion is the review process.
The challenge we find ourselves in is that as more users adopt Auro components, a changing API has consequences.
One thing that I feel is a solid direction is, if a new component is too difficult to nail down what a good API can be, this is perfect for AuroLabs. Users of AuroLabs components are knowingly using experimental components. Buyer beware.
Possible Solution
I'd like the group to submit ideas to discuss how to construct a guideline from which all future API decisions can be measured against. This will be managed with an internal doc, not as a thread to this issue.
Context
One of the issues that I am becoming more aware of is the bad habits that many developers will bring because of experience with past frameworks. Overly complex and inconsistent APIs are simply not acceptable. In the end, Auro's strength and core stability is its alignment with the official HTML spec.
We need to consider adopting IETF RFC 2119 for compliance.

Consider reading: https://www.smashingmagazine.com/2012/10/designing-javascript-apis-usability/

I did some reading on the HTML spec and it’s use of either Boolean or String attributes.
In HTML there is no concept of a Boolean, a true statement means that the string must evaluate to itself.
disabled=“disabled” is true, disabled=“true” is not.
https://stackoverflow.com/questions/4139786/what-does-it-mean-in-html-5-when-an-attribute-is-a-boolean-attribute/4140263
It’s aria attributes that made this confusing.
https://www.w3.org/TR/wai-aria-1.1/#aria-busy
So when building our own APIs, how do we want to manage this?
I feel like a lot of is a difference between state and everything else.
Disabled is a state. Active, checked, onDark, expanded, are states.
AlignLeft is not. Lg, alert, date, long, are not states.

TIL:
disabled=“disabled” is boolean.
https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes
aria-disabled=“true” is tristate
https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate
Talk amongst yourselves...


Webhook for merges as well as pushes?

Is there a way to modify the API call to create a webhook entry that fires on merge events as well as push events?
I'd be willing to submit a pull request if it's possible and not implemented, but I'm not quite sure where to look - your provider, the r10k module webhook itself, etc.  Is this something that you've ever investigated?

A bit more digging, and it's definitely possible:
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/api/projects.md
However, it looks like the type (definitely) and provider (possibly) would need to be updated - I'm assuming that the default is for the webhook to be created for pushes since nothing is specified now that I can see.
I can look into doing a pull request, but if someone who's better at ruby wants to make the change first, I won't object.

Please test the follow commit to see if it resolves this issue/request:
https://github.com/abrader/abrader-gms/commit/8230a8e0936d6f8674d028b20176e7e07060ad55
I also added coverage for 'Tag Push Events' and 'Issues Events' since they were similar in implementation.
If all is good, I make sure it's in the next release to the Puppet Forge.

I'm getting this:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter merge_request_events on Git_webhook[web_post_receive_webhook_control] at [...]
My hook:
git_webhook {'web_post_receive_webhook_control':
ensure               => 'present',
webhook_url              => "http://${::fqdn}:8088/payload",
token                        => hiera('gitlab_api_token'),
project_name             => 'puppet/puppet_control',
server_url                   => $gitlab_server,
provider                      => 'gitlab',
merge_request_events => true,
require                       => Git_deploy_key['add_deploy_key_to_control'],
}
I doublechecked in the environments/modules directory to make sure I'm getting the latest code.  It did get updated, i.e. contains:
newparam(:merge_request_events, :boolean => true, :parent => Puppet::Parameter::Boolean) do
  desc 'The URL in the webhook_url parameter will be triggered when a merge request is created. NOTE: GitLab only'

[etc.]

I have feeling you got the type but not the provider code.  I would suggest considering removing the module and performing a git clone from my aformentioned commit if you don't see the following lines in 'lib/puppet/provider/gitlab.rb':
https://github.com/abrader/abrader-gms/blob/master/lib/puppet/provider/git_webhook/gitlab.rb#L124L126
Look for the following code in your version of the gitlab.rb file:
if resource.merge_request_events?
  opts['merge_requests_events'] = resource[:merge_request_events]
end

To confirm, I completely removed the module and did a fresh clone.  Performed a test w/o issue.

Since I know this is working and well tested at this point, I will include this commit in my future Forge release.  Thanks for the feature request.

I had to restart pe-puppetserver.  Welcome to Puppet 3.7 for me - I beat my head against this all day.
It looks great - thanks for the quick update!

v0.0.6 (including these params) now available: https://forge.puppetlabs.com/abrader/gms


Parameter frequency is not correct, and also is not accurate

Thanks for creating this lovely library.
The frequency parameter is both not correct and also seems to have meaningful performance problems.
The documentation says:
frequency:50,					// ( How often the object sends the values - milliseconds )
There are a number of challenges here.

The frequency sampling is badly variable/inconsistent and also it appears to be impossible to generate good performance.  For example, on a recent device (Pixel 3) with little other JS processing going on, the time between samples with frequency:0 varies from about 30msec to about 70msec.  This is more than a two-fold range!  If a value is set, eg frequency=10, the same basic problem happens.  Also, the sampling interval isn't stable.  I graphed it over time, and (especially if there is meaningful JS processing going on) the time between intervals isn't stable over time... it creeps up, starting at about 51msec between samples, then 55msec, then 60msec, then 70msec...  This means that quantitative use of the time series data is problematic to say the least.  Not sure if the only option is to interpolate the data to estimate the 'correct' values at evenly-spaced times.  Is there is some better way to handle this to achieve actual more even sampling, rather than trying to correct the error after the data have been collected?  Is it possible for the library to sample from the accelerometer / gyro at even intervals and/or at shorter intervals/higher frequency?
Setting the value of frequency to 0 does not actually result in very fast sampling.  It appears that there is a minimum.  On the device I'm testing on (Pixel 3 using Android Chrome browser), this appears to be around 50msec per sample, 20Hz, but inconsisten.  I'd really like to be able to sample faster than this.  Is that possible?  Is it limited by the device, or something somewhere in some settings?
The parameter is called "frequency", but it is actually not a frequency but something more like an interval, or a delay.  A frequency is a rate (for example a frequency is 20 Hz = 20 times per second).  The value presented is more like an interval or delay between samples in milliseconds (for example delay 50 milliseconds between samples).  This means that users have to do their own experimenting, as I did, to understand what the result of this parameter actually is.  Better documentation would be very helpful.  At least, the parameter should be correctly named so its less confusing.

Thanks for your help, and thanks again for the library.

Hello,
Thanks for reaching out.
I wrote this library for an installation 5 years ago. JS is not my day-to-day programming language. And I have not worked with JS for more than 2 years now. So in this context I don't have the time to keep the library up to date for every new device unfortunately. I will add this disclaimer to the README file as well.
Having said that (and without any test on device) below is my remarks for your questions.
The library is build up on the native API from JS. And devices tend to be inconsistent how they handle the values (hence the library). It might be newer devices have a different interval to return values.
There might be a change in the native API which I am not aware of.
I agree with the naming; it should have been "rate" or something like this.
Please have a look at the source and share your findings here for others as well. And also please feel free to check other libraries. I think with on 5 years some one out there created something better. (hopefully :-) )
Cheers,
Doruk


Refactoring the store to use the data dictionary

This Epic tracks progress on implementing the required store methods (getters, actions, mutations, etc) to complete the ongoing store refactor.
We will do this in two phases:

Addressing all changes required by components on the index and categorization page. Once complete, we will confirm success by creating / running an integration test across the two pages
Addressing all remaining changes. Once complete, we will confirm success by running additional integration and complete end to end tests.

Resources:
Here is a great blog post by one of the cypress maintainers on how to unit-test, mock, stub, etc Vuex methods.
There are also some examples for these unit tests in our wiki now: https://github.com/neurobagel/documentation/wiki/Cypress-Test-Snippets
Completion checklist
Every implemented method should have:

the method implemented in the correct section (getter, mutation, ...) in the store
all necessary state variables that the method relies on are initialized in the state (i.e. defined, not assigned real data)
unit test(s) that test the core functionality of the method (required state variables in the store and any other needed inputs should be mocked)
any component that depends on this method existing (check miro board and codebase) is checked to make sure it is calling the new method by the correct name and is refactored (including its component tests) where necessary to do so

Phase 1 - up to Categorization page

[x] #259
[x] #252
[x] #265
[x] #253
[x] #281
[x] #254
[x] #255
[x] #260
[x] #261
[ ] #256
[ ] #257

Phase 2 - rest of the workflow

[ ] #274
[ ] #275
[ ] #270

Here's a list of the actions/getters/mutations currently listed in our Miro diagram:
actions:
revertColumnToOriginal
saveDataDictionary
saveDataTable
getters:
getActiveHeuristic
getAnnotationComponent
getCategories
getColumns
getDataDictionary
getDescription
getExplanation
getHarmonizedPreview
getMappedColumns
getOptions
getUniqueValues
missingValues
nextPage
pageAccessible
mutations:
alterColumnCategoryRelation
changeMissingStatus
createColumnToCategoryMap
selectAnOption
setCurrentPage
setHeuristic
setupAnnotationDetails
setupCategories

Linking discussion from UI should always reflect internal annotation state as our refactor of the store will move us toward being able to better keep track of annotations being made to the original data table/data dictionary.
Likely we will want to spin off a subtask for the UI portions of this enhancement.


I am having trouble making each cell have a different size

Do you have time to help me get that going?
Maybe a google hangouts or something.

Hi @webmagnets I don't have time for an hangout sorry, but I'm happy to answer you questions here, or via email if you prefer. I'll try to be as quick as I can.
Here something that might help, if you look at the example code you'll see that the way we set the cells to different sizes is by implementing the - collectionView:layout:sizeForItemAtIndexPath: method of UICollectionViewDelegate.
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath
{
    CGFloat randomWidth = (arc4random() % 120) + 60;
    return CGSizeMake(randomWidth, 60);
}

That works perfectly. However, I am having trouble getting the width of the subview of the cell. I want the cell to always be just 5 points or so bigger than the label it contains.
I have tried this...
func collectionView(collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAtIndexPath indexPath: NSIndexPath) -> CGSize {
    let wordCell = collectionView.cellForItemAtIndexPath(indexPath) as ReadArticleCollectionViewCell // ERROR on this line
    println("the word label width is \(wordCell.wordLabel.frame.size.width)")
    return CGSizeMake(wordCell.wordLabel.frame.size.width, 50)
}

... but I keep getting an error that says fatal error: unexpectedly found nil while unwrapping an Optional value. I don't see why it would be nil. Aren't all the cells non-nil?

I see... The reason you get nil cells is because the cells are actually nil. In fact collectionView(_:layout:sizeForItemAtIndexPath:) is called before collectionView(_:cellForRowAtIndexPath:), put two breakpoints to have a confirmation.
If I guess what you're trying to do is to have cells that contain a label and that are sized base on it. Is it correct?

That is correct.

Nathan Cain
501-463-6336www.jw.org

[+] Add me to your address book
On Mon, Feb 16, 2015 at 2:15 AM, Giovanni Lodi<EMAIL_ADDRESS>wrote:

I see... The reason you get nil cells is because the cells are actually nil. In fact collectionView(_:layout:sizeForItemAtIndexPath:) is called before collectionView(_:cellForRowAtIndexPath:), put two breakpoints to have a confirmation.
If I guess what you're trying to do is to have cells that contain a label and that are sized base on it. Is it correct?
Reply to this email directly or view it on GitHub:
https://github.com/mokagio/UICollectionViewLeftAlignedLayout/issues/2#issuecomment-74472585

Ok, the best solution to have dynamic sizing cells is to use Auto Layout. Unfortunately there is not a lot of documentation on how to do such thing nicely with UICollectionView. On the other hand there's plenty of documentation on how to do it with UITableView and adapting it shouldn't be too hard.
These are two good starting points:

http://devetc.org/code/2014/07/07/auto-layout-and-views-that-wrap.html
http://stackoverflow.com/questions/12789013/ios-multi-line-uilabel-in-auto-layout

@webmagnets I'm gonna close this issue, as it's not related with the library. Good luck.

I seem to be not understanding something. How would left aligned layout ever work if the cells are all the same width?

Nathan Cain
501-463-6336
www.jw.org
On Tue, Feb 17, 2015 at 2:42 PM, Giovanni Lodi<EMAIL_ADDRESS>wrote:

Ok, the best solution to have dynamic sizing cells is to use Auto Layout. Unfortunately there is not a lot of documentation on how to do such thing nicely with UICollectionView. On the other hand there's plenty of documentation on how to do it with UITableView and adapting it shouldn't be too hard.
These are two good starting points:

http://devetc.org/code/2014/07/07/auto-layout-and-views-that-wrap.html
http://stackoverflow.com/questions/12789013/ios-multi-line-uilabel-in-auto-layout

Reply to this email directly or view it on GitHub:
https://github.com/mokagio/UICollectionViewLeftAlignedLayout/issues/2#issuecomment-74749059


Production deployment package downtime

is there any change in downtime for package deployment in production?

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

ID: 50392961-60d5-ee55-613a-1128a25ef11a
Version Independent ID: c163ee84-669b-137a-a610-9e88c91709ad
Content: Prepare for go-live - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/fin-and-ops/imp-lifecycle/prepare-go-live.md
Service: dynamics-ax-platform
GitHub Login: @ClaudiaBetz-Haubold
Microsoft Alias: chaubold

Bug 263438 has been logged to track this issue.

Yes, we have made improvements to the time it takes to do package deployments. Generally, 95% of updates are applied in less than an hour. We still recommend to provide a downtime window of 4 hours in case a rollback is required for any reason. If the package deployment succeeds, which it does almost all of the time, the environment will be available as soon as the package deployment has finished, meaning that the longer downtime window does not have any negative effect on the availability of the system.
The Service Description document (https://go.microsoft.com/fwlink/?LinkId=867755&clcid=0x409) specifies the details such as duration and planed maintenance window for all services. It is updated regularly.


Make logs more consistent

Is your enhancement request related to a problem? Please describe.
Broker and bookkeeper logs do not include the date, only time
Describe the solution you'd like
I would like the logs from all services to include both date and time
Describe alternatives you've considered
A way to configure the logging format for kubernetes deployment of Pulsar. Or maybe there is a way but i missed it in docs?
Additional context
Example log missing date (the last entry here)
18:58:57.243 [pulsar-web-42-8] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [08/Oct/2020:18:58:57 +0000] "GET /admin/v2/persistent/perf-1/_system/_signals_ingest/stats HTTP/1.1" 200 5656 "-" "curl/7.64.0" 4 18:59:06.384 [pulsar-web-42-4] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [08/Oct/2020:18:59:06 +0000] "GET /status.html HTTP/1.1" 200 2 "-" "kube-probe/1.14+" 1 18:59:07.234 [pulsar-web-42-3] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [08/Oct/2020:18:59:07 +0000] "GET /admin/v2/persistent/perf-1/_system/_signals_ingest/stats HTTP/1.1" 200 5656 "-" "curl/7.64.0" 2 18:59:11.409 [pulsar-load-manager-3-1] INFO  org.apache.pulsar.broker.loadbalance.impl.ModularLoadManagerImpl - Only 1 broker available: no load shedding will be performed

@losiu97 We can change the default logging format. Are you interested in contributing a fix to this?

Hi, sorry i missed your reply. I found a way of fixing it for myself, but we could change the default format to
%d{YYYY-MM-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n

Hi @losiu97 @hangc0276 , this problem has been solved. Can we close the issue? Thanks.


pgadmin4 Install Issue | Jamf Pro

Hi,
the installation via self service in Jamf Pro of pgadmin 4 is not working. I receive the following error message:
...
2023-06-05 11:44:48.580 mdfind[3770:54154] Couldn't determine the mapping between prefab keywords and predicates.
2023-06-05 11:44:48 : WARN  : pgadmin4 : No previous app found
2023-06-05 11:44:48 : WARN  : pgadmin4 : could not find pgAdmin 4.app
2023-06-05 11:44:48 : INFO  : pgadmin4 : appversion:
2023-06-05 11:44:48 : INFO  : pgadmin4 : Label is not of type “updateronly”, and it’s set to use force to install or ignoring app store apps, so not using updateTool.
2023-06-05 11:44:48 : INFO  : pgadmin4 : Latest version of pgAdmin 4 is 7.2
2023-06-05 11:44:48 : REQ   : pgadmin4 : Downloading https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v7.2/macos/pgadmin4-7.2.dmg to pgAdmin 4.dmg
2023-06-05 11:44:48 : DEBUG : pgadmin4 : No Dialog connection, just download
2023-06-05 11:44:49 : ERROR : pgadmin4 : error downloading https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v7.2/macos/pgadmin4-7.2.dmg
ls: pgAdmin 4.dmg: No such file or directory
2023-06-05 11:44:49 : ERROR : pgadmin4 : File list:
2023-06-05 11:44:49 : ERROR : pgadmin4 : File type: pgAdmin 4.dmg: cannot open `pgAdmin 4.dmg' (No such file or directory)
...
How can I solve this?
Thank you!

can confirm, though the latest version of the script provides a more helpful 404 error. The download URL must have changed

They only added a suffix of "-x86_64" to the name of the download file, so an easy change. Submitted #1084 for this, since both this version (7.3) and last (7.2) include this change to the filename.


refacto/wasm: remove wasm

Problem:
michelson is compiled to wasm in deku
Solution
Only compile ligo to michelson

Can we instead add this as a separate endpoint or is it just removed from deku?


Fix #2587: Corner case in BigDecimal.multiply().

When multiplying two negative numbers for which the product should be -2^63 (which is -Long.MinValue), the sum of the bit lengths is 63, but the result is still not representable. This is now detected as a special case.
This PR based on #2588 with some tweaks to avoid 3 relatively costly calls to JLong.signum. Also, in the corner case, we precisely know the one possible result, so we return it directly instead of going through the big multiplication.
Supersedes #2588.

Review by @gzm0
/cc @non

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3532/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4651/
Test PASSed.


ValueError in scipy/cluster/hierarchy.py (line 3277)

The if statement join two statements without bracket which can not run in python 3.8 but able to run on python 3.6. Please see the attachment.

Hi. thank you for reporting.
Could you give us the reproducing codes for your issue?
And could you let us know which version of scipy you are using in python3.8 and python 3.6?

This was fixed, code now reads:
    if labels is not None and Z.shape[0] + 1 != len(labels):
        raise ValueError("Dimensions of Z and labels must be consistent.")

Thanks for the report @Cedricyf


Optimize AssetModel refresh time

Issue
There have been reports of the Asset Widget being slow to refresh on bigger projects. This resulted in slow launch times of the Loader and Project Manager for listing the assets.
*Where large project is defined as for example 2 seasons of 20 episodes, with each 30 shots. Resulting in 2 * 20 * 30 = 1200 assets and there have been reports of very slow load times
What has changed?
This is an optimization of the method that builds the hierarchy in the asset widget that is much faster for large projects. The way the assets are queried is now optimized to do less queries against the database, allowing it do more caching (as it will hit the same query more often) and have less problems with any delay in the connection with the database as there are much less calls to be made.
Funnily enough, it's also much faster for small projects. Win-win. 🚀
Indication of speed changes

Tested myself: 0.2790s -> 0.0055s
Reported by @iLLiCiTiT: 4.5s -> 0.01s
Reported by @tokejepsen: 10x speed improvement

Thanks to the team at pypeclub and @iLLiCiTiT to quickly separate out some commits related to the optimization.

Merging this. 👍


Replacing Vec with SmallVec causes CMBC's memory usage to grow unboundedly during post-processing

Hi all,
Over at Firecracker we recently had to make some changes to our virtio code (which is covered by kani harnesses). As part of this, we replaced a Vec with a SmallVec for performance reasons (as descriptor chains heuristically are "short", so by using a SmallVec we can avoid an allocation most of the time). However, the harnesses at https://github.com/firecracker-microvm/firecracker/blob/main/src/vmm/src/devices/virtio/iovec.rs#L714 started timing out in our CI after that. Investigating manually showed that after the Symex step, Kani seemingly gets stuck in its post-processing phase, where CMBC just slowly uses more and more RAM until the system locks up.
To reproduce, remove the cfg directives at https://github.com/firecracker-microvm/firecracker/blob/036d9906a09ed759597ee88bab6c1278e4fd7655/src/vmm/src/devices/virtio/iovec.rs#L28-L31 and try to run the iovec harnesses.
Command line invocation:
cargo kani --enable-unstable -Z stubbing -Z function-contracts --restrict-vtable -j --output-format terse --harness iovec

Kani version: 0.41.0

The symptoms point to a use of arrays of non-fixed size. It's not really obvious to me from SmallVec's documentation why we newly should end up with such, so I'll have to look at the intermediate representation that's being produced.


Duplicate key on schemas without VRF

A schema with "no" VRF defined (empty field in the web UI) is handled as having a VRF of "", an empty string. As there is a unique constraint on the vrf-column, we get a collision when adding two schemas without specifying a VRF.
Suggested solution: Convert empty strings to NULL/None and vice versa.

+1 on solution


Initial implementation for collapse / expand of groups

WIP
closes #290

Coverage increased (+0.008%) to 69.754% when pulling 28a6685c845cca60b7062a7c43792f72e40837fb on nested-layers-collapse-expand into 72910f63908d6f03da13572dd6259c366d2e258a on master.

Coverage increased (+0.1%) to 69.866% when pulling 78149ff52a0512013ad6cf736049fbc7ea29c9f1 on nested-layers-collapse-expand into 72910f63908d6f03da13572dd6259c366d2e258a on master.

Coverage increased (+0.1%) to 69.866% when pulling 8f7ab5ff84d4900964f704e143e2dc2ccf0e2c49 on nested-layers-collapse-expand into 72910f63908d6f03da13572dd6259c366d2e258a on master.


View scrolling for memory/disasm views

Added in ed0cd80ed4cbba4490508ebf83ed6277c0537e4f. Needs some cleaning up, maybe a visual cue that the view is scrolled etc.


mobile broadband connection

Does your ISO support mobile broadband connection out of the box? I know the official iso had problems with this some time .

Does your ISO support mobile broadband connection out of the box? I know the official iso had problems with this some time .

I never really thought about that. If you know what packages required for most devices, let me know and I will see about adding them to some o the builds. Thanks for the feedback!

For supporting mobile broadband connection iso should include such packages as usb-modeswitch, NetworkManager, mobile-broadband-provider-info.


⚠ Spryr has degraded performance

In 5d10195, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 8196 ms

Resolved: Spryr performance has improved in f856a52 after 7 minutes.


Fallback providers

Describe the feature here
Resolution fallback is already a thing. Why not provider fallback? If the anime is not on that proivider, go to the next one. It will basically be what I've shown before as a script, but now it would be a feature. This would be a setting in the config file.
  adlwrap() {
    declare -a provider=(animepahe anistream animeflix animefreak gogoanime itsaturday animeflv kissanime kisscartoon twist.moe)
    for k in $provider; do
        printf "\n\033[0;31m%s\n" "PROVIDER: $k"
        anime dl "$1" --episodes "$2" --provider "$k" --play mpv; done
  }

So if this is implemented then we don't need this: https://github.com/vn-ki/anime-downloader/issues/267 I will close that one in favor of this which seems to be a better implementation.

I think anime test would be enough for this? What do you think @RaitaroH ?

I guess? The idea was something different though, but I am glad you didn't abandon this project.

Trying it for every provider will be slow. With anime test you can see which provider have the anime and select the provider you like.

Do you think this is enough for this issue to be closed?

I suppose this will work out :)


switch to deep links

Deep links should open the app without a prompt. Additionally, on devices without the app or on computers, the link redirects to https://dpl.lp1.av5ja.srv.nintendo.net/

Looks great, thanks @phoebethewitch!


Stand this up as a docker image on dockerhub for others to use?

Would it be possible to create a docker image on DockerHub that members of the community could use in their docker-compose statements?

Hi @GullyBurns ,
Thank you for your feedback. We're definitely interested in exploring the benefits of publishing our images on DockerHub. While we've been using GitHub Registry (https://github.com/huridocs/pdf-document-layout-analysis/pkgs/container/pdf-document-layout-analysis), we agree that Docker Hub can enhance accessibility and discoverability.
I'll make sure to familiarize myself with the process next week so we can determine a timeline for the transition.
Thanks again for your input!

We have uploaded the docker image into DockerHub, can be found here: https://hub.docker.com/r/huridocs/pdf-document-layout-analysis/
Thanks for your input!


[Doc] What do you execute to get the query plan

File: /docs/administration/Query_planning.md
I see the results but not the command used to generate the query plan.

https://docs.starrocks.io/en-us/latest/sql-reference/sql-statements/Administration/EXPLAIN,  use explain to get the query plain

https://github.com/StarRocks/starrocks/discussions/29735


[Card] Add backgroundPosition: 'center' to CardMedia

I think that this could be a good default behavior.

@kripod Thanks 👍


brew service generating invalid systemd service

Seems like the systemd service generated by the brew service contains an unknown escape sequence, for example with victoriametrics package,  starting the service outputs that the service is successfully started:
==> Successfully started `victoriametrics` (label:homebrew.victoriametrics)

But checking at systemctl --user status  shows that there's invalid escape sequence:
× homebrew.victoriametrics.service - Homebrew generated unit for victoriametrics
     Loaded: loaded (/home/aws/.config/systemd/user/homebrew.victoriametrics.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Thu 2024-02-22 15:48:56 EST; 6min ago
   Duration: 13ms
   Main PID: 4177 (code=exited, status=2)
        CPU: 6ms

Feb 22 15:48:56 observer systemd[148]: Started Homebrew generated unit for victoriametrics.
Feb 22 15:48:56 observer systemd[148]: homebrew.victoriametrics.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Feb 22 15:48:56 observer systemd[148]: homebrew.victoriametrics.service: Failed with result 'exit-code'.
Feb 22 15:48:56 observer systemd[148]: /home/aws/.config/systemd/user/homebrew.victoriametrics.service:9: Ignoring unknown escape sequences: "-httpListenAddr\=<IP_ADDRESS>:8428"
Feb 22 15:48:56 observer systemd[148]: /home/aws/.config/systemd/user/homebrew.victoriametrics.service:9: Ignoring unknown escape sequences: "-promscrape.config\=/home/linuxbrew/.linuxbrew/etc/victoriametrics/scrape.yml"
Feb 22 15:48:56 observer systemd[148]: /home/aws/.config/systemd/user/homebrew.victoriametrics.service:9: Ignoring unknown escape sequences: "-storageDataPath\=/home/linuxbrew/.linuxbrew/var/victoriametrics-data"

Seems like not a formula issue as this also reproducible in grafana formula:
Created symlink /home/aws/.config/systemd/user/default.target.wants/homebrew.grafana.service → /home/aws/.config/systemd/user/homebrew.grafana.service.
==> Successfully started `grafana` (label: homebrew.grafana)

× homebrew.grafana.service - Homebrew generated unit for grafana
     Loaded: loaded (/home/aws/.config/systemd/user/homebrew.grafana.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Thu 2024-02-22 16:03:59 EST; 25s ago
   Duration: 177ms
    Process: 8155 ExecStart=/home/linuxbrew/.linuxbrew/opt/grafana/bin/grafana server --config /home/linuxbrew/.linuxbrew/etc/grafana/grafana.ini --homepath /home/linuxbrew/.linuxbrew/opt/grafana/share/grafana --packaging\=brew cfg:default.paths.logs\>
   Main PID: 8155 (code=exited, status=1/FAILURE)
        CPU: 167ms

Feb 22 16:03:59 observer systemd[148]: homebrew.grafana.service: Scheduled restart job, restart counter is at 5.
Feb 22 16:03:59 observer systemd[148]: homebrew.grafana.service: Start request repeated too quickly.
Feb 22 16:03:59 observer systemd[148]: homebrew.grafana.service: Failed with result 'exit-code'.
Feb 22 16:03:59 observer systemd[148]: Failed to start Homebrew generated unit for grafana.

Can you tell what the sequence is when opening the file?

Can you tell what the sequence is when opening the file?

I don't know about the sequence, but here's the generated unit file from homebrew:
homebrew.victoriametrics:
[Unit]
Description=Homebrew generated unit for victoriametrics

[Install]
WantedBy=default.target

[Service]
Type=simple
ExecStart=/home/linuxbrew/.linuxbrew/opt/victoriametrics/bin/victoria-metrics -httpListenAddr\=<IP_ADDRESS>:8428 -promscrape.config\=/home/linuxbrew/.linuxbrew/etc/victoriametrics/scrape.yml -storageDataPath\=/home/linuxbrew/.linuxbrew/var/victoriametric>StandardOutput=append:/home/linuxbrew/.linuxbrew/var/log/victoria-metrics.log
StandardError=append:/home/linuxbrew/.linuxbrew/var/log/victoria-metrics.err.log

homebrew.grafana:
  GNU nano 7.2                                                                                /home/aur/.config/systemd/user/homebrew.grafana.service                                                                                [Unit]
Description=Homebrew generated unit for grafana

[Install]
WantedBy=default.target

[Service]
Type=simple
ExecStart=/home/linuxbrew/.linuxbrew/opt/grafana/bin/grafana server --config /home/linuxbrew/.linuxbrew/etc/grafana/grafana.ini --homepath /home/linuxbrew/.linuxbrew/opt/grafana/share/grafana --packaging\=brew cfg:default.paths.logs\=/home/linuxbrew/.>Restart=always
WorkingDirectory=/home/linuxbrew/.linuxbrew/var/lib/grafana
StandardOutput=append:/home/linuxbrew/.linuxbrew/var/log/grafana-stdout.log
StandardError=append:/home/linuxbrew/.linuxbrew/var/log/grafana-stderr.log

There are unescaped slashes on the execstart


rm cv2 module

I think that there is no need to import cv2 module in labelfile.py to get the image shape.

Hi @lzx1413 ,
Currenetly, I used opencv to get the shape of image when creating pascal file. Do you have an alternative way to get shape of image?
libs/labelFile.py:
        img = cv2.imread(imagePath)
        imageShape = img.shape

``

in labelImg.py
image = QImage.fromData(self.imageData)
self.image_shape.append(image.width())
self.image_shape.append(image.height())
self.image_shape.append(3)//this is not good enough but I don not find a good function to meet it

If you only need shape of image, you could you PIL.
`
from PIL import Image
with Image.open(filename) as im:
width, height = im.size
`
It is easy to install, openCV is very heavy and hard to install. It comes up for non-IT person use your tools.

Hi ,
Sorry.  I am busy with other stuffs this month. I will remove Opencv next month. If possible, you can send a PR and test it, I will review and merge it.

Hi,
@ck196  yep,I just want to make the size of the software after packaged less :)
@tzutalin  I have make a lot of change on this project,so it may be not easy to create a pr to merge it to this branch.It's just a suggestion to rm the opencv

Fix it
4a3a47a


Feature/webhook admin

@Snugug @joshblack
This is the final PR for creating webhooks management in Punchcard. It sure is big! Good thing my tests didn't need changes except pulling out the skips ;-)

Resolves #115
DCO 1.1 Signed-off-by: Scott Nath<EMAIL_ADDRESS>

@scottnath Test are stalling at applications › Single application route

@Snugug so, I've finally got all my tests except one to pass, which I skipped. Literally the only diff with the one before it (that passes) and this one ('Save new application') is that knex does an insert and return. I think this test should be put on hold until we can come up with a mock of the database for testing.
Unfortunately, now tests for schedule are failing every time. It's either the schedule > push or schedule > pull test (not both.) One of them fails every time. Can you fix that please so I can complete this PR? Or should I skip them?

Skip them for now, they were passing (otherwise they wouldn't have found their way in) and we shouldn't block this PR on being able to track that down


Wrap table contents

Before:

After:

fixes https://github.com/rtfd/sphinx_rtd_theme/issues/315 and #292

This has been WIP for several years now, I'll close this for now. Feel free to reopen when it's ready to continue


Excessive string manipulation operations

Some functions, such as oriCreateState() make use of a lot of string manipulation in order to output a debug log message. A lot of the time, the resulting message is then filtered out and therefore discarded.
It may be less expensive to use if statements to check for whether or not the final message will be filtered out. However, it would definitely be best to use some sort of ORION_OPTIMISED preprocessor macro - the issue here is that debug output would be very limited when said macro is defined; this should be fine anyway - the user could set the macro to be defined in release builds but not in debug builds, for example.
Errors and warnings would still be output (there could be another macro to avoid computation of these too, though enabling this would probably be unwise).

Resolved in recent commit


fixed ui math

Related Issue

Change UI of math calculator

Fixes: #330
Describe the changes you've made
separate the example section from process and placed it in top of calculator
Checklist:

[ x] My code follows the style guidelines of this project.
[ x] I have performed a self-review of my own code.
[x ] I have commented my code, particularly in hard-to-understand areas.
[x ] I have made corresponding changes to the documentation.
[x ] My changes generate no new warnings.

Screenshots

Original
Updated

original screenshot
updated screenshot

@03amir u r almost there but I said to cover the entire row. The 'Example' heading is a side heading.

U can write in this manner also
Example:  This is an example to demonstrate...........................

ok now?

Can U send the screen shot of another calculator whose example is quite big sentence @03amir

But this fine as of now

@03amir What is this?

You showed some screen shot but the something else is in practical.


Implement distinctions between warning and error diagnostics

Related to #70

For more details, open the Copilot Workspace session.

Sorry, this observation may be off-topic. But we opened our PRs exactly to the minute 😲😄

Sorry, this observation may be off-topic. But we opened our PRs exactly to the minute 😲😄

That's what I thought too! Nice coincidence :)
Btw this PR is mostly me testing Copilot Workspace, the code isn't great

@illright
Got it. Yeah, I think Workspace is an interesting tool with potential. I envision open-source projects that partially develop themselves by delegating some tasks to AI in the future, but right now it's still raw. I saw a video about it but didn't have a chance to try it. I'm going to test it on my own project to see how it works


⚠ Bofrost.lu has degraded performance

In 387e9ff, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2555 ms

Resolved: Bofrost.lu performance has improved in 669c96b after 53 minutes.


Update google-cloud-pubsub to 1.124.1

About this PR
📦 Updates com.google.cloud:google-cloud-pubsub from 1.107.0 to 1.124.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
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!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-pubsub" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.cloud", artifactId = "google-cloud-pubsub" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #359.


Better logging when creating new pods

Currently after creating a new pod I get this result when I try to check its logs shortly after:
$ kubectl --server=https://<IP_ADDRESS> log cloud-api-stream

Internal Error: container not found ("cloud-api-stream")

Instad of Kubernetes returning me an error about container not found it should say that the "container" cloud-api-stream is in the process of being deployed
It should show me the deploy logs and make it clear that these are not application logs but deploy logs

By showing deploy logs I would better understand why its taking a long time to deploy (long time in "pending" state). Maybe the docker registry being pulled from is just a long download or maybe something has gone wrong.

Also why does the error say "container" instead of "pod". In other words should it not say this?
pod not found ("cloud-api-stream")

assign it to myself. Will take a look now.

@dchen1107  : any progress?

Closing with PR #4373 -- adds more detailedlogging

I think this issue is not fully resolved. I only fixed the logging part. I haven't looked at other parts of kubelet yet.

Closing this since separate issues exist for fixing other end points.


Is there a maxJobs or memoryLimit parameter ?

Hi, as the title, are those params available already for the temporal plugin ?

Yes, they are available via pool configuration:
temporal:
    activities:
        num_workers: 4
        # default 0 - no limit
        max_jobs: 0
        # default 1 minute
        allocate_timeout: 60s
        # default 1 minute
        destroy_timeout: 60s
        # supervisor used to control http workers
        supervisor:
          # watch_tick defines how often to check the state of the workers (seconds)
          watch_tick: 1s
          # ttl defines maximum time worker is allowed to live (seconds)
          ttl: 0
          # idle_ttl defines maximum duration worker can spend in idle mode after first use. Disabled when 0 (seconds)
          idle_ttl: 10s
          # exec_ttl defines maximum lifetime per job (seconds)
          exec_ttl: 10s
          # max_worker_memory limits memory usage per worker (MB)
          max_worker_memory: 100

You can use the same config as for HTTP pool.

See full reference: https://github.com/spiral/roadrunner/blob/master/.rr.yaml

@changwuf31 If the question was answered, feel free to close the issue :)