Overlay network creation error

I have two ubuntu VMs in VirtualBox. Running etcd inside docker containers in each of these VMs. I am trying to setup overlay network. I have seen this problem a few times now. When I try to create an overlay network, it gives the following error but creates the network, creating another network succeeds without any error.
root@ubuntu:~# docker network create -d overlay multi
Error response from daemon: pool configuration failed because of 100: Key not found (/newroot3/docker/network/v1.0/ipam) [99]
root@ubuntu:~# docker network create -d overlay multi1
fcf782c73314cce813ed8bcf3b79499cb31f2e440583fbd774a248b44c996846
root@ubuntu:~# docker info
Containers: 14
Images: 6
Server Version: 1.9.0
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 34
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.16.0-30-generic
Operating System: Ubuntu 14.04.3 LTS
CPUs: 1
Total Memory: 993.7 MiB
Name: ubuntu
ID: 4SPX:46UV:JWS7:6UM4:2W4T:33EI:MN2Y:ONGL:3JJO:M5EP:OQTB:APBI
Username: prateekgogia
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Cluster store: etcd://<IP_ADDRESS>:4001/newroot3
Cluster advertise: <IP_ADDRESS>:0

@prateekgogia This is probably because the etcd running in the container is not fully up yet. As part of the network create some of the IPAM data gets written to the store. Does this happen if you try to create the network right after launching the etcd container ?

Hi @sanimej, etcd was running and was stable much before. This time I was just trying to create a new network. Are there any logs I can collect ?

met the same error. Any suggestion about it?

I am restart etcd,and delete data,then met the same error.
How can create IPMA data

Hi,
Any suggestions with this issue?
For me only re-creating entire vagrant machine helps..

I am reaching the same issue, but my environment is a rack of about 20 or so physical nodes running CoreOS. This worked about two months ago, I left it alone, came back, and now it does not work. We did refresh the cluster in this time, but we had done that several times before with no issues. I can't create any overlay networks in the swarm. Has there been any movement on this particular issue?

met the same error too.
kiongf@youruncloud:~/appsoar$ sudo docker network create -d overlay test1
Error response from daemon: pool configuration failed because of 100: Key not found (/docker/network/v1.0/ipam) [16]
I can get /docker/network and /docker/node key from etcd cluster inside and outside the container.

root@3ca46eb4367c:/# etcdctl ls /docker/network/v1.0
/docker/network/v1.0/network
/docker/network/v1.0/endpoint

This is my environment.

kiongf@youruncloud:~/appsoar$ sudo docker info
Containers: 16
Running: 1
Paused: 0
Stopped: 15
Images: 61
Server Version: 1.11.2
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 108
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: host bridge null
Kernel Version: 4.4.0-24-generic
Operating System: Ubuntu 16.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.756 GiB
Name: youruncloud
ID: JX2L:QY7S:7GTK:QOGL:Y6PM:JIXV:4OI6:CYGK:JYBV:SO5P:CDQR:YIMS
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): true
File Descriptors: 19
Goroutines: 61
System Time: 2016-07-01T11:35:29.515400071+08:00
EventsListeners: 0
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Cluster store: etcd://<IP_ADDRESS>:12379
Cluster advertise: <IP_ADDRESS>:2376

@prateekgogia It has been detected that this issue has not received any activity in over 6 months. Can you please let us know if it is still relevant:

For a bug: do you still experience the issue with the latest version?
For a feature request: was your request appropriately answered in a later version?

Thank you!
This issue will be automatically closed in 1 week unless it is commented on.
For more information please refer to https://github.com/docker/libnetwork/issues/1926


Don't throw away module resolution information

In the process of compiling the typescript sources, tsc performs full module resolution of all internal and external imports. While the transpiled JavaScript is formulated in a way where all internal imports can be located in a standard way, the information on how to resolve external imports (via noderesolution) is tossed, and a 2nd library must be used to resolve those dependencies (node, SystemJS, etc.).
Can this information be preserved and saved in a machine-readable format so that given the import name (e.g. @aspnet/signalr), the exact path that tsc resolved it to can be obtained?
It seems like a huge waste to have tsc go through all this effort to track down down and resolve all these imports and then have to rely on another library to do that all over again at runtime.

Can you elaborate on how that information would be used? by what tool? do you have an existing scenario that would benefit from this?

I know TypeScript is not intended to be an end-to-end system, but exposing that information would make it possible to create a "lite" distribution creation utility that could extract dependencies from the local fs to wwwroot and resolve the the imports at runtime.
This wouldn't involve TS compromising on its design goals (it's still a 3rd party utility doing the external dependency management), but TS would provide some hints that would allow packaging/bundling to be significantly faster (no second pass and module resolution via another tool) and simpler (no need TS or JS parsing required).

The list would not be complete. TS does not look for .css or .html imports for instance, nor does it understand loaders , e.g. json!./file.json, also typescript allows for ambient module declarations to describe the shape of some of these modules, not sure how that would map here.. At the end of the day i think you need another tool to put your "bundle" together.
on any rate, if you have a specific usecase in mind, we would be happy to help. you can get the resolution information today in two ways, either --traceResolution or using the compiler API.


Feature: AbortSignal support

This is a flag in the ground for adding support for AbortSignal to RxJS.
This is a non-breaking change that adds support for passing AbortSignal to both subscribe and forEach calls of Observable. See commits.
Related #5545 and #3122

NOTE: This does not yet add passing of an AbortSignal as an argument to the initialization function of Observable. That would definitely be planned, as it would improve fetch support and support for other APIs using AbortSignal, but I didn't add it at this time, as I was going for the minimal change to get cancellation working.

We really need to get the circle CI build stuff off of here. As it's no longer relevant. haha

Related #5649


When the front-end uses ue5.3, PixelStreaming error occurs: chunk-4J4RTFCF.js? v=9d130ef5:472 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'split')

UE Version:
E.g. UE 5.3
Frontend Version:
E.g. UE5.3
Problem component
click to start and you'll get an error: 6chunk-4J4RTFCF.js? v=9d130ef5:472 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'split')!
Description
A clear and concise description of what the bug is.
Steps to Reproduce:
Open the PixelStreamingI plugin in ue and open the use remote signaling server to implement streaming in the web browser, but click to strat at one point will report an error and will not display the streaming screen! You need to keep the ue editor open to display the screen, have you encountered this problem?

I have experienced the same behaviour

I encountered the same problem, so I used F12 to trace the cause of the issue. I found that PreferredCodec was undefined, which made me suspect that my gpu  does not support the default video encoding method. Therefore, I changed the encoding method to VP8 via the command line, and the problem was resolved by using -PixelStreamingEncoderCodec=VP8.

@AmbitionGan @callyoura


[BLE Mesh]: Multiple elements in a node

Hello,
I'm trying to add multiple elements to mesh sample application as pasted the snippet below. I've used the location descriptors from 1 to 4 for demo. The issue is that the SiLabs apps fails to read the DCD and quits. I might be missing something.
static struct bt_mesh_elem elements[] = {
#if 0
	BT_MESH_ELEM(0, root_models, vnd_models),
#else
	BT_MESH_ELEM(1, root_models, vnd_models),
	BT_MESH_ELEM(2, root_models, vnd_models),
	BT_MESH_ELEM(3, root_models, vnd_models),
	BT_MESH_ELEM(4, root_models, vnd_models),
#endif
};

The models that you give to BT_MESH_ELEM need to be unique instances, since they track unique runtime states. So you can only give a model array once to a BT_MESH_ELEM macro.

Also note that as you create a more complex device composition, the composition data will likely no-longer fit in the max three transport layer segments that the current sample configurations support. So you might need to increase that. For outgoing segments, the number is directly dependent on the number of mesh advertising buffers, so you'll want to set CONFIG_BT_MESH_ADV_BUF_COUNT to some higher value than the default 6 (hint: the code uses 'count - 3' as the max number of transport layer segments).

As an example of a node with multiple elements (2) you can use the following code. The configuration server model (cfg_srv) is only allowed in the first element.
static struct bt_mesh_model root_models[] = {
BT_MESH_MODEL_CFG_SRV(&cfg_srv),
BT_MESH_MODEL_HEALTH_SRV(&health_srv),
BT_MESH_MODEL(BT_MESH_MODEL_ID_GEN_ONOFF_SRV, gen_onoff_srv_op,
&gen_onoff_srv_pub, NULL),
BT_MESH_MODEL(BT_MESH_MODEL_ID_GEN_ONOFF_CLI, gen_onoff_cli_op,
&gen_onoff_cli_pub, NULL),
};
static struct bt_mesh_model root_models1[] = {
BT_MESH_MODEL_HEALTH_SRV(&health_srv),
BT_MESH_MODEL(BT_MESH_MODEL_ID_GEN_ONOFF_SRV, gen_onoff_srv_op,
&gen_onoff_srv_pub, NULL),
BT_MESH_MODEL(BT_MESH_MODEL_ID_GEN_ONOFF_CLI, gen_onoff_cli_op,
&gen_onoff_cli_pub, NULL),
};
static struct bt_mesh_model vnd_models[] = {};
static struct bt_mesh_elem elements[] = {
BT_MESH_ELEM(0, root_models, vnd_models),
BT_MESH_ELEM(1, root_models1, vnd_models),
};

Hi Laczen,
I tried the same thing, it didn't work. Could be a bug on the SiLabs app, always fails to read "DCD".
Did you test the multiple elements scenario?
Thanks,
Sharan

Hi SharanIoT,
I just tried and indeed it does not work with the SiLabs app. Maybe there is no support for multiple elements in the app. It does work with meshctl.
Kind regards,
Jehudi

Hi Jehudi,
Thats a useful info! I think I need to setup a linux machine for Mesh Testing :)
Thanks & Regards,
Sharan

Hi Sharan,
I've been trying to provision and configure /Bluetooth/mesh with Android app by silabs. After disabling the OOB feature, it successfully provision the node, but configuration page never appears as shown in the video. If you've made it work, would you please share hacks you did to configure it ?

Hi Ashish,
How did you disable the OOB feature? how did you initialize bt_mesh_prov and bt_mesh_cfg initialize?
Thanks & Regards,
Sharan


Fix Test run_tvm_mt_ap_verify_test

Currently this test has hardcoded Merkle roots and Merkle siblings and (probably?) also hardcoded leafs. We want this test to be property-based: generate a random Merkle tree, choose a random leaf, and verify its authentication path. And perhaps also verify that the other validation tasks (with different root, different authentication paths, etc) actually fail.

Test fixed and made property-based in 0bfcd45.
No fail-validation though.


Formatter messes up indentation (even its own)

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

VS Code Version: 1.95.3
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0

Steps to Reproduce:

Open the attached TypeScript file in VS Code. Or not, since this site inexplicably won't let me attach the source file. So put the code below in a .ts file and open it in VS Code.
Set the default formatter to the built-in JavaScript/TypeScript one.
Select a full if statement and right-click, then say "format selection." Note that the resulting indentation is correct.
Put the insertion point in front of the brace on the first line of the if statement and press Return. Note incorrect indentation.
Undo that and highlight a whole if statement, and then cut it.
Paste. Note incorrect indentation of the braces and body.

Screen grab attached.https://github.com/user-attachments/assets/b52f28cd-4163-4921-97c0-40e8a88ab7a3
I'm not using any third-party formatter. Also, the JavaScript/TypeScript formatting options are being ignored. Screen shot of those options attached too.
This page won't let me attach the source file (fix that), so I'll paste its contents here:
class CommManager
{
	public sendOTP(OTP: string, EMail: string, phoneNbr: string): void
	{
        	if (!OTP || (!EMail && !phoneNbr))
        	{
			console.error("Missing OTP or E-mail & phone number for user verification.");
			return;
        	}

        	// This doesn't preclude sending to both, if we want to someday.

        	if(EMail)
       		{
			console.log(`Sending OTP to ${EMail}.`);
		}

		if(phoneNbr)
		{
			console.log(`Sending OTP to ${phoneNbr}.`);
		}
	}
}

export const commMgr = new CommManager();

settings.json
Settings attached.


error on get assistants

when i try to access the assistants list  // Access the assistant
$entities = $asstservice->list();
i get this error:
"error" => array:4 [▼
"message" => "Invalid type for 'metadata': expected a metadata object, but got an array instead."
"type" => "invalid_request_error"
"param" => "metadata"
"code" => "invalid_type"

This should be fixed in v1.0.7 -- looks like openai got more picky about empty metadata.


Single Entry

What are you trying to do?
Hi, now that the entrification of categories etc. is taking place, a single relation plugin would be nice!
I kinda love the simplicity and I think even craft should do it like single cat, if there's only one value that can be chosen.
What's your proposed solution?
single relation plugin, or single entry only, since all will be entries..
Additional context
No response

An interesting idea for sure, but might be spun off into its own plugin!


Missing gemspec?

I just generated a new gem and noticed that it didn't have a gemspec file. Is that on purpose? It looks like the README is recommending that that be placed in the Rakefile? I don't think that is customary.

Juwelier generates a gemspec file for you.


Added Sweet Alert CDN

Kindly add a description to your PR and send one PR for one fix, please.
Please read the contribution guide, thank you.


exif orientation tag not being respected

When seeing thumbnails and pictures in portrait that haven't been rotated (but have the exif orientation tag to rotate).
As you can see in the attached printscreen, two of the pictures should be rotated because they've been taken in portrait mode.

From the first picture I have the following on the exif data:
exiftran -d 2016-07-28\ 09.34.32.jpg
2016-07-28 09.34.32.jpg
ifd 0
0x0112  Orientation                    Right-top
0x011a  X-Resolution                   72
0x011b  Y-Resolution                   72
0x0128  Resolution Unit                Inch
0x0213  YCbCr Positioning              Centered
When I use exiftran to process the picture with the "-a" option to apply automatic rotation according to the orientation tag, the pictures start appearing in the correct orientation (if I change their name because I'm assuming that since the thumbnail has been created before the change, pigallery2 woun't recreate the thumbnail and the thumbnail still appears in landscape).

Hi,
Thank you the valuable feedback. As far as i understand there are 2 bugs. I shall fix both of them.
I got a bit busy lately (and also there is some other feature in progress) so it might take a long time (like months), sorry for that.
Patrik

Thanks for the prompt feedback and for the great project.
I won’t be able to help much on fixing but I’ll try to help on testing and suggesting new features ;-)

sure, thats ok. It should not take much time to fix them and its good enough that you made a nice bug report. :)

Hi,
It turns out that this issue is relatively complex.
According to this: https://stackoverflow.com/a/36593389/10506897, and the official css specification: https://www.w3.org/TR/css-images-4/#the-image-orientation : browsers should support the auto image rotation based on exif data, but only firefox implements it.
Unfortunately, there isn't any nice solution to the problem currently.
I've made an update to the page, that it rotates the photos on client side with these commit: 92fca05 - 205f98e. It will be part of the next release.
Since the rotation happens on the client side, it might take a while. The page might not respond to any click during the process that might take up a 1-2s /photo.
If most of your photos need to be rotated it might be noticeable. If you have only a small fraction of your photos need to be rotated, it should be fine.
I can suggest you to use a 3rd party apps (like photoshop lightroom) to batch rotate your photos based on their exif tags. (Converting your photos also saves you some storage too.)


Design a new way to go from species view to obs view in explore.

Right now, the "x observations" on species card on explore/species view is not very accessible as a button. design and come up with a better way for a user to get from species view to obs view from a species card.

Done: https://github.com/inaturalist/iNaturalistReactNative/issues/2323


It should be possible to update an asset if its replacement has been deleted

This stems from https://github.com/alphagov/asset-manager/issues/525#issuecomment-375037308.
You can use this rspec example to see the problem:
it 'should be updateable if the replacement has been deleted' do
  asset = FactoryBot.create(:asset)
  replacement = FactoryBot.create(:asset)
  asset.replacement = replacement
  asset.save!

  replacement.delete!

  asset.reload.save!
end

The error is:
Failure/Error: asset.reload.save!

Mongoid::Errors::Validations:

  message:
    Validation of Asset failed.
  summary:
    The following errors were found: Replacement not found
  resolution:
    Try persisting the document with valid data or remove the validations.

We've addressed this in https://github.com/alphagov/asset-manager/pull/535.


Changing of navigationOptions of tab does not show in the Android app

It is a fresh install of react-navigation. First, I copy the tab example and change the image to uri. I cannot change the tab label and the image does not show. I have changed the showIcon to true. I am using the build https://github.com/react-community/react-navigation.git#7edd9a7 because another did not work.

I figured out I can use
tabBar:{       label: 'House',       icon: ({ tintColor }) => (         <Image           source={uri='https://upload.wikimedia.org/wikipedia/commons/d/de/Bananavarieties.jpg'}           style={[styles.icon, {tintColor: tintColor}]}         />       ),     }
The label is changed but the icon still does not show.

I followed the example in NavigationPlayground. Finally the icon appears, but the image is dead.

Using https://github.com/oblador/react-native-vector-icons solves the problem.


Fixed express deprecation warning

"express deprecated req.host: Use req.hostname instead" has been fixed

Raised into https://github.com/getsentry/raven-node/issues/96#issuecomment-354112329


NetBird SSH

If an agent has been upgraded from any version without SSH support, all others won't receive an update indicating that SSH is now possible to this peer.
Should be fixed


Empty redirect_uri and not working redirectUrl parameter when using OIDC provider

Issue
UAA does not take login.oauth.providers.<alias>.redirectUrl configuration into consideration as it is supposed to.
When redirectUrl is set to https://login.example.com/uaa the redirect_uri query parameter in the URL for our external provider (Google) is https://login/callback/google. The domain part is blank, as if an empty string was passed to the getCompleteAuthorizationURI method.
Expected Result
Google would require you to log in and then redirect back to the CF UAA. The redirect URI passed to Google should be https://login.example.com/login/callback/google.
Actual Result

Versions
UAA releases/3.9.3 565bfebb000034c84d7853d4f9d387a8fc84c4bb
UAA releases/3.12.0 011e1b86340db0b9e098e7d1eeaf4b0af8797360

Here the API doesn't have this key!
Possibly the http://localhost:8080/uaa came from other place!

@jm4rc05 how does an external provider, such as Google, know where to redirect the user to after authentication?

This is a bug in GetBaseURL
When it's called from https://login.example.com/login, getRequestPath == "/login" so it returns https:/.

I have a commit that I think fixes this in a branch. I've not been able to test this when deployed in a CF environment though.

@bleach Thanks, fix the white spaces in your commit (there are tabs), and submit a PR, we can merge it right away.

I opened #575 to fix this


[Feature][UI Next] Update card component props.

Purpose of the pull request
close #7605

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Codecov Report

Merging #7635 (e44fef1) into dev (2d73083) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #7635      +/-   ##
============================================
- Coverage     41.15%   41.13%   -0.02%
+ Complexity     3665     3662       -3
============================================
  Files           641      641
  Lines         26539    26539
  Branches       2967     2967
============================================
- Hits          10921    10917       -4
- Misses        14590    14595       +5
+ Partials       1028     1027       -1

Impacted Files
Coverage Δ

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...org/apache/dolphinscheduler/remote/utils/Host.java
37.77% <0.00%> (-2.23%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
52.11% <0.00%> (-1.41%)
:arrow_down:

Continue to review full report at Codecov.

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


README updates for v3.0

Deprecates the references to TPRs, some formatting fixes. With an eye towards what's available in 3.0

@dougbtv Can we check the rebase of this dev branch. The test.sh is failing in this case.


Deploy your Docker image to Kubernetes

FROM python:3.9-slim
Create working folder and install dependencies
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
Copy the application contents
COPY service/ ./service/
Switch to a non-root user
RUN useradd --uid 1000 theia && chown -R theia /app
USER theia
Run the service
EXPOSE 8080
CMD ["gunicorn", "--bind=<IP_ADDRESS>:8080", "--log-level=info", "service:app"]


Update: Albion.Online version<PHONE_NUMBER>1021

- [X] Have you signed the Contributor License Agreement?

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.5 schema?

Microsoft Reviewers: Open in CodeFlow

Possible duplicate package entry.
Similar installer SHA256 hash found in manifest:

InstallerSha256: bf869124c48b2e5254d19b1caffb4beacd8a0c393714022b6739cdec46f5821c

manifests\a\Albion\Online\2023101810281

It appears that the developer might have rolled back to a previous version.


docs(Breadcrumbs): use compound component <Breadcrumbs.Root>

https://github.com/kobaltedev/kobalte/blob/9abd5d0d85adb08e1a6ba9be3544ee5c38ff76d4/apps/docs/src/examples/breadcrumbs.tsx#L8
This line appears to need <Breadcrumbs.Root> instead of <Breadcrumbs>.

<Breadcrumbs> is equivalent to <Breadcrumbs.Root> https://kobalte.netlify.app/docs/core/components/breadcrumbs#breadcrumbs-1


[⚡] Fix Clock

Fixes the clock to make it actually work, uses Date first and British/Military time

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Improve Screen Tracking by Implementing NavigatorObserver-Based CustomerIORouteObserver

Problem
The current approach to screen/route tracking relies on manual listener attachment for each route change in our app. The existing strategy is non-idiomatic for Flutter and potentially less efficient:
_router.addListener(() => _onRouteChanged());

void _onRouteChanged() {
  if (_customerIOSDK.sdkConfig?.screenTrackingEnabled == true) {
    final Screen? screen = _router.location.toAppScreen();
    if (screen != null) {
      CustomerIO.screen(name: screen.name);
    }
  }
}

Proposed Solution
To solve this, I propose implementing CustomerIORouteObserver that leverages Flutter's NavigatorObserver. This approach aligns better with Flutter best practices and allows for more efficient and reliable route tracking. The GoRouter package supports route observers, allowing this new class to integrate seamlessly.
Integration with GoRouter
GoRouter provides a way to attach observers to your routes, enabling cleaner and more idiomatic tracking of screen views. You can easily add the CustomerIORouteObserver to the GoRouter setup like this:
GoRouter(
  observers: [CustomerIORouteObserver()],
  // ... other configurations
)

By adding the observer directly into GoRouter's observers array, we can automatically and efficiently handle route tracking without requiring any manual intervention for each route change.
Integration with MaterialApp
MaterialApp(
  home: MyAppHome(),
  navigatorObservers: [
    CustomerIORouteObserver(),
  ],
)

With this new setup, every time a route change occurs, the CustomerIORouteObserver will automatically fire and send the necessary tracking information to CustomerIO.

Great suggestions and I really hope they implement them! I've been really struggling to get screen tracking working with GoRouter and I'm in desperate need of some help.

There is such code for observer in official documentation which can be copy-pasted https://customer.io/docs/sdk/flutter/track-events/#auto-screenview
I agree though that it would be nice to have it out of the box)


add a button for delete a warn or a ban

All in the title :)

its the revoke button, its already in there

Not at the player modal, but at the players page.
Also, I will probably take away the revoke button for the warns.

@tabarra No, i want to clear completly ! Delete of database.

Like to revert the warn if you failed?
Without any existing traces of an old warn?


Stop sequence numbers for unordered stops

The current spec adds a new field to stop_times to flag unordered stops. According to the examples, within blocks of unordered stops the stop_sequence field is still present with unique, increasing integers.
Observations:

It seems contradictory for unordered stops to have increasing sequence numbers.
It seems unnecessary to extend stop_times with a new boolean field when we already have a mechanism for expressing ordering or lack thereof (the sequence number).
The new unordered field will be ignored by legacy software, which will silently misinterpret the unordered trip as an ordered one.

Proposal:
Indicate unordered stops with repeating sequence numbers, and without additional flags. This convention would make the data appear invalid to legacy systems, raise red flags and prevent older consumers from misinterpreting it and misinforming customers.
A partially unordered trip (leaving regularly from checkpoint stop0) would then have stop times like this:
trip_id,arrival_time,departure_time,stop_id,stop_sequence
trip0,00:00:00,00:00:30,stop0,0
trip0,,,stop1,1
trip0,,,stop2,1
trip0,00:15:00,00:15:00,stop0,2

A completely unordered trip (i.e. a completely on-demand service using fixed stops as in the Dutch OVFlex, not really a single trip) would then have stop times like this:
trip_id,arrival_time,departure_time,stop_id,stop_sequence
trip0,,,stop0,0
trip0,,,stop1,0
trip0,,,stop2,0
trip1,,,stop3,0

Of course we might want some (technically redundant) flag at the trip or route level to confirm that this is not bad data, and that repeating sequence numbers are expected. A route flag indicating that a particular route is using the gtfs-flex extensions might be sufficient.
We could also attempt to limit the rejection of flex trips by legacy systems to a single route or trip, so the rest of the classic scheduled service in the feed would still be used. This could possibly be achieved by leaving the trip_ids for flex trips out of trips.txt. But this is assuming lots of things about how consumers validate and use data.

I agree that we need to somehow flag flex data in existing tables so it's not consumed as "normal" service by legacy systems.
One down-side I see to repeating stop_sequence values is that stop_sequence is often used as a unique index to a stop in a trip (you can't use stop_id because you can have loop routes, etc. that visit a stop more than once).
A similar idea to flag stops but not use repeating stop_sequence values would be to use negative values for stop_sequence.
So this:
trip_id,arrival_time,departure_time,stop_id,stop_sequence
trip0,00:00:00,00:00:30,stop0,0
trip0,,,stop1,1
trip0,,,stop2,1
trip0,00:15:00,00:15:00,stop0,2

...would become:
trip_id,arrival_time,departure_time,stop_id,stop_sequence
trip0,00:00:00,00:00:30,stop0,0
trip0,,,stop1,-1
trip0,,,stop2,-2
trip0,00:15:00,00:15:00,stop0,3

I don't think negative values can work, because then we lose the position of the unordered block within the overall ordered trip.
The use of stop_sequence as a unique index (you could also say, use of (trip_id, stop_index) as a compound key) is an internal implementation detail specific to some systems and arguably shouldn't be a concern for a data exchange specification. Also, the fact that an existing system using such keys would break when consuming the new data is actually a desirable outcome from one point of view.
A system that is genuinely able to handle unordered trips will need to rethink its mechanisms for storing such trips anyway, grouping some of the stops together in mutually reachable sets that are themselves optionally situated in an ordered sequence. In some cases the routing will need to be completely different because there are not known travel times between these stops. For all these reasons I still tend to lean toward repeating sequence numbers for unordered blocks of stops.

I don't think negative values can work, because then we lose the position of the unordered block within the overall ordered trip.

In my example above, you could just take the absolute value of the stop_sequence values and that would allow you to retain order of the overall trip.  The negative value is just an indicator that those stops are unordered.

Another solution we've considered is to make the unordered stops a multipoint geometry. Previously, I'd been concerned about how then to deal with unordered stop names, but @LeoFrachet has been thinking up some great solutions.
Just so you're not surprised @abyrd I'll note that MobilityData has been engaging with me through conversation the last week and we're thinking up a few tweaks to the GTFS-flex. They'll be proposed on this repository and we can discuss.
Thanks so much for your engagement the last few weeks here. Your comments have been very insightful and driven home some of the core needs of the GTFS-flex project.

I think the best option here is to repeat the stop_sequence as @abyrd has purposed.
An alternativ would be to reference a FlexibleArea in the stop_id field or better add a new column flexibleArea_id. Then each row must have a stop_id or flexibleArea_id, not both or none. This might be similar to "multipoint geometry", but I borrowed the terminology from the Transmodel, and by using flexibleArea_id we keep it open to what a flexible area is, group of unordered stops, deviation from a given path, any where inside a polygone...
The flexible area should then be defined else where.

By the way - here is an example of the NeTEx (Norwegian) profile:
https://rutebanken.atlassian.net/wiki/spaces/PUBLIC/pages/41811978/Bestillingstransport
I am sorry we don´t have a english translation, but I hope Google translate works well enough that you get the picture. Types are in english.

flexibleArea_id. Then each row must have a stop_id or flexibleArea_id, not both or none. This might be similar to "multipoint geometry", but I borrowed the terminology from the Transmodel, and by using flexibleArea_id we keep it open to what a flexible area is,

I think that's spot on and pretty similar to what we've come to in the proposed GTFS-flex v2
In the draft, we've maintained everything in the stop_id column, but provided a flexible location location_type value.

@thomastrillium thank you for the link to the v2, I was not aware of it. I will read trough it.

sorry about that @t2gran ! we'll have the docs linked up better soon. :)


Laraspace admin login page not loading css and js files through mix

Laraspace admin login page not loading css and js files through mix.

Hey there! Please add more information about the issue that you are having like :
Screenshots? or Error message that you are getting?


[3.0.0] Update FAQ section

Purpose
This PR updates FAQ section with toml configurations and remove outdated content.
Related issue - #907

ATM the configuration file XMLInputFactory.properties is not templated. Hence, we can't update the configuration in docs. That's why the section - "### How can I preserve the CDATA element tag in API responses?" is not updated. We can change once it is fixed in 3.0.0


No space between paragraphs in excerpt

Issue Summary
It occurs in Ghost 2.15.0 with default Casper theme.
To Reproduce

Create a post with two paragraphs that would produce html similar to:

Testing.

Space before this text.
'

Publish the post.
Go to blog's main page and check the excerpt of the newly published post.

The text of the excerpt reads: Testing.Space before this text. but should be Testing. Space before this text.
Technical details:

Ghost Version: 2.15.0
Node Version: v10.15.1
Browser/OS: Ubuntu 18.04
Database: MySQL

Is that a critical bug?

Not critical, just something @JohnONolan asked about today.

Okay if not critical, it has no priority for today 👍

If somebody picks this up, here is a PR with a test case that describes the issue -https://github.com/TryGhost/Ghost/pull/10532 :wink:

I want to do this but can anyone guide me where I can solve this issue?

Hey @Hassanraja447 :wave: Would start with looking at the test case in the PR I mentioned above and work your way into the place where it's most suitable to do the change. From a very quick glance seems like https://github.com/TryGhost/Ghost/blob/master/core/server/data/meta/excerpt.js is a good candidate :wink:

Hey @Hassanraja447 👋 Would start with looking at the test case in the PR I mentioned above and work your way into the place where it's most suitable to do the change. From a very quick glance seems like https://github.com/TryGhost/Ghost/blob/master/core/server/data/meta/excerpt.js is a good candidate 😉

Thank you I will give it a shot

Hello @gargol you are right the issue was on the  https://github.com/TryGhost/Ghost/blob/master/core/server/data/meta/excerpt.js file line 9 - 10
excerpt = excerpt.replace(/<\/?[^>]+>/gi, ' ');    <--- I added a space.
excerpt = excerpt.replace(/(\r\n|\n|\r)+/gm, ' ');

Now after the restart there is a space betweed
Testing. Space before this text.

@NCHydr4 this regexp catches all of html tags, and would produce extra spaces in places we don't really want, e.g. link  would give you extra space. We probably want to be very specific about the type of tags that are transformed into additional space,

 would be a good start :+1: Alternatively, could substitute all tags with space, and dedup double spaces :thinking:  Think this case needs some playing around to find the best approach :wink:

@gargol Thx for your reply, I guess adding something like excerpt = excerpt.replace(/<\/p>/g," ");  before the two excerpt could be a good start (I've tried it and it works).
I dont know if it is neccesary to add a replace rule for the .
    excerpt = excerpt.replace(/<\/p>/g,' ');
    excerpt = excerpt.replace(/<\/?[^>]+>/gi, '');
    excerpt = excerpt.replace(/(\r\n|\n|\r)+/gm, ' ');

I dont know if that could be a real solution, I keep looking for something more suitable.

@nchydr4. defensive code is good. A unit test helps here if possible. @gargol

Not stale.
@gargol would you be able to choose an approach and get this closed?

@gargol @JohnONolan  How about using an array of the regex for which we want to introduce a whitespace?
Somewhat like this:
const whiteSpaceExcerptRegex = new Array(/<\/p>/g);
for (const regex of whiteSpaceExcerptRegex) {
    excerpt = excerpt.replace(regex, ' ');
}

I tried this approach. Seems to work fine. Let me know your thoughts on this.

@lunaticmonk in #11053, took the most simplistic approach to the issue and added a single substitution rule for closing
 tag and line break
 - that's the case that covers 99% of HTML that comes out of internal mobiledoc format. In case there are more cases surfacing in the future more cases can be added to the grouping in the RegExp: /(<\/p>|
|other_cases...)/


Feature request: A TestCase that automatically finds and tests PageFactory subclasses

Imagine a test case that magically find all of the PageFactory subclasses within a project, and for each class found, test that:

It can successfully create an instance of that page type
The created page doesn't error when viewed normally
The created page doesn't error when viewed in 'preview' mode

I think this could easily be achieved by keeping a 'reference' dict that gets populated via a metaclass when subclasses are defined (a bit like what Wagtail does with wagtail.core.models.PAGE_MODEL_CLASSES)
We could ignore any factories that do not specify a model value in their Meta class. And maybe even introduce a new/optional Meta option that could be used to explicitly opt-out of testing for a specific factory class.

@danthedeckie We often find ourselves doing something quite similar to that, only where you have custom assertions, we just have separate tests for e.g.:
class BasicPageTypeTestsMixin:
    factory_class = None

    def setUp(self):
        self.basic_obj = self.factory_class()
        super().setUp()

    def test_can_render(self):
        ...

    def test_can_render_edit_view(self):
        ...

    def text_can_render_preview(self):
        ...

Certainly not difficult to do, but with both solutions, you still need to import this and use it in the right places. Whereas, if we had a way to easily identify the factories of interest, we could do this once, and we'd be covered forever.
class BasicPageTests(TestCase):

    def setUpClass(cls):
        self.page_factories = get_page_factories()

    def test_can_render(self):
        for factory in self.page_factories:
            with self.subTest(factory.__name__):
                obj = factory()
                ...

    def test_can_render_edit_view(self):
        for factory in self.page_factories:
            with self.subTest(factory.__name__):
                obj = factory()
                ...

    def text_can_render_preview(self):
        for factory in self.page_factories:
            with self.subTest(factory.__name__):
                obj = factory()


Proposal for TCP server at all layers (core, transport & rxjava1)

Based on various discussions around different issues, I am proposing a fresh design for a TCP server in this PR.
I have implemented a TCP server at all layers in reactive-ipc, i.e. core, transport(netty) and rxjava1. I have also removed all code which isn't related to the implementation. We can discuss those utilities in isolation as and when required to be added. Although, not used, I have kept the Buffer and related classes as that aspect is not yet discussed to conclusion.
There are two samples each for netty transport and rxjava1 layer available to see how will a typical interaction look like in modules ripc-transport-netty4-examples and ripc-rxjava1-examples
Backpressure has not been implemented yet.

@NiteshKant Can you rebase this for consideration to merge?

@jbrisbin @smaldini This feels like a good first step towards getting a protocol working end-to-end with all the layers (transport, core, adaptor) and example code.
There is a lot to discuss and this is far from production worth, and the APIs are most definitely not all correct, but I propose we merge this and use it to start iterating with further pull requests and discussion.

BTW, once we have a good approach we can migrate the tcp protocol code to its own project as per https://github.com/reactive-ipc/reactive-ipc-jvm/issues/18

@benjchristensen the code seems to be on the latest from upstream and is ready to be merged.

:+1:

@NiteshKant The question about rebasing was whether we should retain the 7 commits for this, or squash to 1 commit.

Ideally they should be squashed to 1.

Looks like my attempt to squash across merge commits rendered this PR unusable :(
Lemme try to fix it

You shouldn't need the merge commit. You can just rebase on top of the master branch.

FWIW @rstoyanchev @smaldini and I are going to be going over this in a more comprehensive way today as we individually evaluate some of these approaches and then get together to discuss them to offer more comprehensive feedback than is possible in line comments.

How would we handle connection close events and reconnects?

FWIW @rstoyanchev @smaldini and I are going to be going over this in a more comprehensive way today as we individually evaluate some of these approaches and then get together to discuss them to offer more comprehensive feedback than is possible in line comments.

All great questions @jbrisbin . I will reply to them so that you guys have more context on these when you discuss them.

FWIW We talked about this for 3 hours yesterday and have several concrete thoughts about some of these issues. I'm putting together some code to illustrate our thoughts and I'll try and create a summary of our discussion to point out the things we think are important. I'm just trying to figure out how the concepts and suggestions encoded in this PR converge with some of the other things we talked about and how we could bring them closer together.
TL;DR we don't think this PR is all that far away from where we probably need to be to do the kinds of things we need to do in the varied use cases we have (many of which vary quite radically from one another). That said, we do find a few things problematic and I'll try and explain why and demonstrate with code in a separate PR, which we can hopefully use as discussion points to iterate again on something that meets both needs.

we don't think this PR is all that far away from where we probably need to be to do the kinds of things we need to do in the varied use cases we have

Great! Eager to hear your opinions.

That said, we do find a few things problematic and I'll try and explain why and demonstrate with code in a separate PR

Would it help if this is merged or your PR would be orthogonal to these changes?

I think these changes will be too different to do much in the way of a merge. What I hope will happen is that we discuss the pros and cons of both PRs on their own merits and then prepare another PR that iterates on those ideas. That PR would then be merged to provide the next round, etc...

@jbrisbin sounds great!

I have removed interception and flush semantics from this PR.

Currently experimenting with this too with reactor, will update asap but looks nice, although the backpressure thing is not simple, not because of the value but because when requesting from inside netty thread it might clash with the onNext written data (some from a different thread, some from the same than netty which then applies the write directly).
I've aligned the reactor-net GA with the semantics in order to move forward easily in the future.

@smaldini I did not implement backpressure in this PR to focus discussion on the API and we can discuss backpressure separately.
Backpressure isn't straight forward and just like you are solving it for reactor, I have solved it for RxNetty, it will be great to discuss the details of the same.
For now, I will merge this PR so that we can iterate upon specifics from here.


Black line appears in DRM page in EBP UI

Describe the bug
When in a DRM enabled collection that you have not accepted the terms for, in the new UI with new search turned off, a black bar appears across the previous and next buttons.
To Reproduce
Steps to reproduce the behavior:

Turn on the new UI, but turn off the new search page.
As a user that hasn't accepted the DRM (for a collection that requires accepting before viewing the item summary), visit the item summary, which should open a DRM terms of use accept dialog.
Note the black horizontal rule across the previous and next buttons.

Expected behavior
The black bar should not appear.
Screenshots

Platform:

OpenEquella Version: 2021.1
OS: Agnostic
Browser: Agnostic

.itemsummary-layout #col2 hr {
        display: none;
        }

This snippet of CSS seems to fix the issue.

This still happens on the head of develop, and the fix still works too.
Very minor graphical issue, but considering the fix commented above still works, potentially worth fixing.

Performed test and verified black line is not appearing for DRM page in EBP UI.


multipart body lost during redirect

Hi,
currently i suspect that reqwest might loose the body during a redirect.
In local environment (without redirect) everything works fine but on deployed instance (with redirect) the endpoint claims to receive an empty body.

More exactly this is lost when being redirected from http to https enpoint

What sort of redirect is used? One will redirect and force dropping from a POST to a GET, and another will allow resubmitting the same request.
Also, enabling logs for reqwest and/or hyper may help debug.

Hi. I actually tried to get env_logger output to tracing-subscriber but somehow it did not print. But i will check

Anyway this can be closed. We solved it be not triggering the redirect and will look into the redirect mechanism. Thanks


Add controlnet

This PR:

adds controlnet
for now, only the Canny edges variant.
adds cli for new code

I have tried to keep the rest of the code and this new section separated. This means that there are quite a lot of repetitions, but I think we can live with that. I hope I will be able to add other controlnets soon.

Thanks for this contribution @Xuzzo! I have not played around with control-net for Flux so this will be really interesting to try out!  I'll go over the PR soon.

Driving by as an user/observer of this repo to help test and review this change.

Left some suggestions in inline comments. Easy stuff.
Withholding nitpicks on style/linting - deferring to @filipstrand on aesthetic guidelines. @filipstrand may I suggest adding a README section on what commands to run to validate/process a file before PR, e.g. ruff check and alike.

I've been testing on dev model with steps=16 and getting some reasonable results. I'm not expert eyed enough to spot what might be missing, which is to say - it's generating scenes consistent with the control image and I'm happy with the state of this PR. Thanks @Xuzzo for spearheading this work!

@anthonywu It is a great suggestion that we should add a style guide with some tooling like ruff to help us enforce that. Up to now, I have mostly relied on the built-in defaults of PyCharm to set the standard, but for a nicer development experience for all, we should use something that works well across other editors too). Will look into this a bit more soon.

@filipstrand @anthonywu thanks for the reviews! Regarding styling: I agree we should have some enforced guidelines. I would recommend using pre-commit with the ruff and black hooks. Here is a pre-commit config I normally use
default_install_hook_types: [commit-msg, pre-commit]
default_stages: [commit, manual]
fail_fast: false
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.0
    hooks:
      - id: check-added-large-files
        args: ["--maxkb=15000"]
  - repo: local
    hooks:
      - id: ruff
        name: ruff
        entry: poetry run ruff check
        require_serial: true
        language: system
        types: [python]
      - id: black
        name: black
        entry: poetry run black
        require_serial: true
        language: system
        types: [python]

@Xuzzo Will do some more testing and playing around with this later today and just curious, do you know if this works with both schnell and dev or just the latter?

It was trained with dev, so performance with schnell is not guaranteed. Anyway, the tests I did were quite good with both

@Xuzzo Just wanted to say really great job with this one! I have tried it out on a few examples (first got some bad results, but turned out the strength was too high, then after tuning that a bit I got really good results.) and I think we can merge this after the comments are fixed and make a new release. Just had a few smaller comments above.
Also out of interest: I have not followed the controlnet space closely, but it sounded like there are more kinds to be supported? Would be interesting to hear your opinions on what some other candidates are here and if we should keep track of them in a table like we do with the LoRA adapters for example.

@anthonywu Thanks once again for your review efforts and for highlighting the UX with the default step sizes for the models. I remember reading that some other user also accidentally ran the dev model with 4 steps and got bad results. In the worst case, I guess users assume something is broken and move on...
Small things like good defaults makes the user experience so much nicer but this is so easy to overlook, especially if already familiar with the project, so thanks for pointing this out :)

@filipstrand thanks! a control strength below 1 should more or less always give decent results. If not let me know! Regarding the other controlnet types: they all depend on what is used to extract the control features. For now the features are extracted with canny edges detector, which is a relatively simple technique (and does not require a model), but there are others (like depth mapping) that require some (simple) neural nets. I would like to bring this model next, which has a bunch of controlnet types altogether. The standard way would be to accompany it with this dependency, but I am not sure how well it works on Macs and will need to do a few tests

@Xuzzo I pushed some additional commits, mostly minor changes, moving some things around and some renaming. The biggest thing which I have wanted to do even before this PR was to separate out the model saving logic a bit from the main Flux file (since those are big enough already). With this addition of controlnet, I think it warrants that change even more so I went ahead and did it here.
I'd like to merge this to main today, but won't have the time before work, so will have to do it later today. I also want to do a bit more manual testing to make sure everything works as expected (which reminds me of the need for some automatic tests we need to add in future). If any of my changes here seem weird or unintuitive, please comment and continue in this PR :)

@Xuzzo Forgot to mention before, but I will upload some examples of the controlnet  to the readme and then publish this in a new release this weekend.


VSTS Build failure in the build MAchine

I am doing a VSTS build.It is running perfectly in my machine but when we try to run it in the build server it is getting struck into one step:"deleting .manifest.pregam" and after that build will get terminated after the buffer time.We are suspecting that this maybe the problem because of the certificate installation in the build machine as in log files it showing that the build is waiting for the "Signfile".Can anyone here suggest me how to overcome this hurdle?your suggestions will be appreciated.

Maybe it is just a problem of rights on the server. The account witch is running the TFS service have sufficient rights to delete this file ?

yes...the account have all the rights that are needed ..what i got from my analysis is that there must be some codesigning certificate issue as in the logfile it shows waiting for Signfile...and it is at that moment that our build hangs...we had already installed in the certificate in the build machine but then also this error is coming...so is there any other way by this certificate error may arise?

It's unclear on what task you're using, how you're using it and what's happening.  This issue just states you're having some issue with signing.  Typically means a file in use (typically intermittent) or you're calling a tool that needs an interactive UI (typically repos every time)

Closing for now due to lack of details.


Relative path for CSS URL within

Hi,
I'm trying to get part 1 (see #356) to work as I have the exact same problem: displaying images relative to the module.
        const bgSvgUrl = new URL('./static/bg.svg', import.meta.url).toString();
        html`<my-element style="--background-svg: url(${bgSvgUrl})"/>`;

The following code fails with the following error:
html-tag.js:64 Uncaught Error: non-template value passed to Polymer's html function: http://<IP_ADDRESS>:8081/static/bg.svg
    at htmlValue (html-tag.js:64)
    at template.innerHTML.values.reduce (html-tag.js:107)
    at Array.reduce (<anonymous>)
    at html (html-tag.js:107)
    at Function.get template [as template] (smsservice.js:9)
    at Function._finalizeClass (element-mixin.js:318)
    at Function.finalize (properties-mixin.js:142)
    at HTMLElement._initializeProperties (element-mixin.js:494)
    at new PropertiesChanged (properties-changed.js:180)
    at new PropertyAccessors (property-accessors.js:116)

If I try this with htmlLiteral, I get another error:
Uncaught Error: non-literal value passed to Polymer's htmlLiteral function: http://<IP_ADDRESS>:8081/static/bg.svg
    at literalValue (html-tag.js:46)
    at values.reduce (html-tag.js:136)
    at Array.reduce (<anonymous>)
    at htmlLiteral (html-tag.js:136)
    at Function.get template [as template] (smsservice.js:9)
    at Function._finalizeClass (element-mixin.js:318)
    at Function.finalize (properties-mixin.js:142)
    at HTMLElement._initializeProperties (element-mixin.js:494)
    at new PropertiesChanged (properties-changed.js:180)
    at new PropertyAccessors (property-accessors.js:116)

Also, standard polymer databinding does not work in css styles (which I thought was already a hacky solution as it is not a property).
Any idea's?

Never mind, I'm indeed using PolymerElement...


Add GitHub Repository Stats to README.md

Description:
The issue involves adding a table to display repository statistics, such as the number of stars, forks, issues, and pull requests, directly in the README.md file. This will help contributors and users track the activity and contributions in the repository at a glance.
Steps to Implement:

Create a table in the README.md file displaying the following repository statistics:

Stars
Forks
Open Issues
Open Pull Requests
Closed Pull Requests

Use markdown syntax to include badges or icons for each statistic, along with dynamic links to the corresponding sections of the repository.

Expected Behavior:
The README.md file will contain a neatly formatted table that displays real-time repository statistics, making the repository's activity more visible and engaging for contributors and users.
Additional Information:

This enhancement will make the repository more user-friendly by providing visibility into its overall activity.
The table can be dynamically updated by using GitHub shields or other badge services to fetch real-time stats.

Screenshot (for reference):

Checklist:

[x] I have checked the existing issues.
[x] I have read the Contributing Guidelines.
[x] I want to work on this issue.

@Manishkr1007 could you please assign this to me, if @Ganeshmoorthii is not working on this issue. I will create PR  till tonight.


afl: 2.56b -> 2.57b

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/google/afl/releases.
meta.description for afl is: "Powerful fuzzer via genetic algorithms and instrumentation"
meta.homepage for afl is: "https://lcamtuf.coredump.cx/afl/"
meta.changelog for afl is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

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

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

found 2.57b with grep in /nix/store/0bp60dwk9dkqbx6yayv6d5nq46j428m0-afl-2.57b

directory tree listing: https://gist.github.com/77136299812c4889c6dbc138b5aa7fbd

du listing: https://gist.github.com/032b13642ba1ca9b68d5fc9717e34673

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

3 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
afl
libdislocator

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0bp60dwk9dkqbx6yayv6d5nq46j428m0-afl-2.57b \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's 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 afl https://github.com/r-ryantm/nixpkgs/archive/e9062ea2389751f1f0d9e3f46cb2d037ea498b9b.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/0bp60dwk9dkqbx6yayv6d5nq46j428m0-afl-2.57b
ls -la /nix/store/0bp60dwk9dkqbx6yayv6d5nq46j428m0-afl-2.57b/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.
Result of nixpkgs-review 1

2 packages built:
- afl
- libdislocator

Maintainer pings
cc @thoughtpolice @risicle for testing.

WFM though I noticed it hasn't updated its own internal VERSION (https://github.com/google/AFL/issues/104) so a little confusing to test.


GLFW error 65543: GLX: Failed to create context: BadValue (integer parameter out of range for operation)

Generated my_scenic_app app
GLFW error 65543: GLX: Failed to create context: BadValue (integer parameter out of range for operation)
12:12:11.458 [error] dirty close
Versions and Environment
Elixir:
Elixir 1.7.2 (compiled with Erlang/OTP 19)

Erlang:
Erlang/OTP 21 [erts-10.0.5] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe]

Eshell V10.0.5  (abort with ^G)

Scenic:
* parse_trans 3.2.0 (Hex package) (rebar3)
  locked at 3.2.0 (parse_trans) 2adfa4da
  ok
* mimerl 1.0.2 (Hex package) (rebar3)
  locked at 1.0.2 (mimerl) 993f9b0e
  ok
* metrics 1.0.1 (Hex package) (rebar3)
  locked at 1.0.1 (metrics) 25f094de
  ok
* unicode_util_compat 0.3.1 (Hex package) (rebar3)
  locked at 0.3.1 (unicode_util_compat) a1f612a7
  ok
* idna 5.1.2 (Hex package) (rebar3)
  locked at 5.1.2 (idna) e21cb58a
  ok
* gettext 0.16.0 (Hex package) (mix)
  locked at 0.16.0 (gettext) 4a7e9040
  ok
* ssl_verify_fun 1.1.1 (Hex package) (rebar)
  locked at 1.1.1 (ssl_verify_fun) 28a4d65b
  ok
* scenic_sensor 0.7.0 (Hex package) (mix)
  locked at 0.7.0 (scenic_sensor) a12aed75
  ok
* combine 0.10.0 (Hex package) (mix)
  locked at 0.10.0 (combine) eff8224e
  ok
* elixir_make 0.4.2 (Hex package) (mix)
  locked at 0.4.2 (elixir_make) 332c649d
  ok
* certifi 2.3.1 (Hex package) (rebar3)
  locked at 2.3.1 (certifi) d0f42423
  ok
* hackney 1.13.0 (Hex package) (rebar3)
  locked at 1.13.0 (hackney) 24edc8cd
  ok
* tzdata 0.5.19 (Hex package) (mix)
  locked at 0.5.19 (tzdata) 7962a399
  ok
* timex 3.3.0 (Hex package) (mix)
  locked at 3.3.0 (timex) e0695aa0
  ok
* scenic_math 0.7.1 (Hex package) (mix)
  locked at 0.7.1 (scenic_math) 131ef7cf
  ok
* scenic 0.7.0 (Hex package) (mix)
  locked at 0.7.0 (scenic) fa93041f
  ok
* scenic_driver_glfw 0.7.0 (Hex package) (mix)
  locked at 0.7.0 (scenic_driver_glfw) e9051384
  ok
* scenic_clock 0.7.0 (Hex package) (mix)
  locked at 0.7.0 (scenic_clock) 645bfd0f
  ok

OS:
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

Linux olafura-GS73-Stealth-8RF 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Steps to reproduce
sudo apt-get install pkgconf libglfw3 libglfw3-dev libglew2.0 libglew-dev
mix archive.install hex scenic_new
mix scenic.new my_scenic_app
cd my_scenic_app
mix scenic.run

This is a good issue, but lets move it to the scenic_driver_glfw project.
When you re-open the issue there, I'll need to know exactly which video card you have and any data on it you can find.
I'm pretty sure this issue is because the scenic_driver_glfw code is requesting a video capability that your card doesn't support. Or maybe it's your video card driver. Probably the card tho.
So the goal here is to figure out if there is a different set of capabilities that still let Scenic do its thing and work on the card.
We may need to play around with it a bit to figure this out and I will definitely need your help because I don't have the same hardware setup you do. We can talk back-and-forth on the other project to figure it out...

Please close this issue after you open it up on the scenic_driver_glfw repo.

No problem ;)


I have path map which I want to convert into

I have a map which can have json path as key with its value for example:- Student/name/firstName—> Vishal Student/name/lastName—> Gupta Student/addresses[0]/city —> CityName Student/addresses[0]/state —> state_name Student/addresses[1]/city —> CityName Student/addresses[1]/state —> state_name
Now I want a dynamic functionality which can convert this map to json like this
Student:{

name:{
firstName:”Vishal”,
lastName:”Gupta”
},
addresses:[{
city:”cityName”,
State:”StateName”},
{
city:”cityName”,
State:”StateName”}]
}

i will do it bro


Popover strange behaviour

Version of the template : 8
Nebular issue : https://github.com/akveo/nebular/issues/3025

@nnixaa @yggg This problem is also the same with the class="user-action" on the Menu.
After so much test, it is related to the cache. (after a clean of the cache, problem is solved.. but only for few minutes..)
The problem reappears again and again.
If you have any idea, please let me know, it is very problematic not to be able to disconnect because the text is on the side of the screen or to display an item.

Problems have been caused by an extension of my browser.


Fixed SyntaxHighlighter example in readme.md not rendering inline code

See https://github.com/remarkjs/react-markdown/pull/587

Wrong project.


Sql

Database chack point
[Enter feedback here]

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

ID: 89bca058-bde3-c76a-793a-dc344751d853
Version Independent ID: 1f682f41-3a2d-66d6-47f1-bd5c2b4ca873
Content: Database Checkpoints (SQL Server) - SQL Server
Content Source: docs/relational-databases/logs/database-checkpoints-sql-server.md
Service: sql
Sub-service: supportability
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

Chack point issues passed away.

@abusalehcs -- Abu, thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


Invalid lease revoke endpoint

Describe the bug
Please check following document:
https://www.vaultproject.io/api-docs/system/leases
https://www.vaultproject.io/api-docs/system/leases#revoke-lease
The /sys/leases endpoints are used to view and manage leases in Vault.
And the /sys/leases/revoke endpoint used for leases revoke

But when we test using Spring Cloud Vault, we can find Spring Cloud Vault will use /sys/revoke endpoint to revoke the lease.
Spring Cloud Version is:
dependencyManagement {
    imports {
        mavenBom "org.springframework.cloud:spring-cloud-dependencies:Hoxton.SR8"
    }
}

2020-09-09 13:56:52.252 DEBUG 9642 --- [extShutdownHook] cretLeaseContainer$LeaseRenewalScheduler : Canceling previously registered schedule for lease database/creds/a94a8fe_my-database/4klN7vgL6ZNiaHMl2TMK8kup
2020-09-09 13:56:52.259 DEBUG 9642 --- [extShutdownHook] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-09-09 13:56:52.259 DEBUG 9642 --- [extShutdownHook] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-09-09 13:56:52.259 DEBUG 9642 --- [extShutdownHook] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {s}->https://vault-stage.vault.coupang.net:443][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]
2020-09-09 13:56:52.259 DEBUG 9642 --- [extShutdownHook] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 0][route: {s}->https://vault-stage.vault.coupang.net:443][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20]
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-0: set socket timeout to 0
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-0: set socket timeout to 15000
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] o.a.http.impl.execchain.MainClientExec   : Executing request PUT /v1/sys/revoke HTTP/1.1
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] o.a.http.impl.execchain.MainClientExec   : Target auth state: UNCHALLENGED
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] org.apache.http.headers                  : http-outgoing-0 >> PUT /v1/sys/revoke HTTP/1.1
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] org.apache.http.headers                  : http-outgoing-0 >> Accept: application/json, application/*+json
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] org.apache.http.headers                  : http-outgoing-0 >> Content-Type: application/json
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] org.apache.http.headers                  : http-outgoing-0 >> X-Vault-Token: s.xxxxxxxx
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] org.apache.http.headers                  : http-outgoing-0 >> Content-Length: 74
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] org.apache.http.headers                  : http-outgoing-0 >> Host: vault-stage.vault.coupang.net:443
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] org.apache.http.headers                  : http-outgoing-0 >> Connection: Keep-Alive
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] org.apache.http.headers                  : http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_265)
2020-09-09 13:56:52.267 DEBUG 9642 --- [extShutdownHook] org.apache.http.headers                  : http-outgoing-0 >> Accept-Encoding: gzip,deflate
2020-09-09 13:56:52.269 DEBUG 9642 --- [extShutdownHook] org.apache.http.wire                     : http-outgoing-0 >> "[\r][\n]"
2020-09-09 13:56:52.269 DEBUG 9642 --- [extShutdownHook] org.apache.http.wire                     : http-outgoing-0 >> "{"lease_id":"database/creds/a94a8fe_my-database/xxxxxxxx"}"
2020-09-09 13:56:52.525 DEBUG 9642 --- [extShutdownHook] org.apache.http.wire                     : http-outgoing-0 << "HTTP/1.1 204 No Content[\r][\n]"

Spring Cloud Vault defaults to use the legacy endpoints for lifecycle management. Since version 2.2 you can use the Spring.cloud.vault.config.lifecycle.lease-endpoints property to configure which endpoints to use.
For version 3, we should change the default as the replacement API is in place since quite a while.

Hi @mp911de
I see. Thank you very much for your reply.
https://github.com/spring-cloud/spring-cloud-vault/pull/334


Kodi notification

Description:
Kodi notification component
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#
Example entry for configuration.yaml (if applicable):
# Example configuration.yaml entry
notify:
  platform: kodi
  name: kodi
  host: http://<IP_ADDRESS>
  port: 8080
  username: USERNAME
  password: PASSWORD

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io.  #927

If code communicates with devices, web services, or a:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

A suggestion. Make the host optional with the default of localhost? I imagine there's quite a few running HA and kodi on the same rpi.

@chrom3 the PR looks good, but you'll have to get rid of the conflicts so that CI will run and then I can merge it.
git fetch --all
git rebase upstream/dev
git push origin HEAD -f

If the rebase step complains about conflicts - see here

@Landrash, to keep it consistent with other platforms, let's not add host defaults here
@chrom3 just the one pylint move and it's good to go :dolphin: - thank you!


Jane's pipeline gets setup automatically

I think this issue is malformed.  Jane doesn't have pipelines in Kabanero.  Jane leverages pipelines that are provided by Champ/Todd.  @ralanlittle

According to Ian, the issue can be closed.


Add public FIRAnalyticsConfiguration tests.

This class should eventually be moved outside of Core, but for now let's make the tests self-reliant and open source.

Will merge on Travis green.


reading the old value of the file?

I tried to demo how to use file-lock by running several threads trying to increment a counter in a file. The following example is already with locking, but to my surprise the counter did not reach the expected value.
The command
cargo run 10 2

should count to 10 in 2 threads reaching 20, but on every run I get different results between 12-20.
It seems as if one thread was reading the value before the other thread flushed to the disk. I assume it is a misunderstanding on my part. I'd appreciate your help.
extern crate file_lock;

use std::io::Seek;
use std::io::SeekFrom;
use std::path::PathBuf;
use std::error::Error;
use std::fs::read_to_string;
use std::env;
use std::process::exit;
use std::fs::File;
use std::io::Write;
use std::io::Read;
use std::thread;
use file_lock::{FileLock, FileOptions};

fn main() -> Result<(), Box<dyn Error>> {
    let args = env::args().collect::<Vec<String>>();
    if args.len() != 3 {
        eprintln!("Usage: {} COUNT  THREADS", args[0]);
        exit(1);
    }

    let count = args[1].parse::<u32>()?;
    let threads = args[2].parse::<u32>()?;

    let filename = PathBuf::from("counter.txt");
    start_file(&filename)?;

    let mut handles = vec![];
    for _ in 1..=threads {
        let fname = filename.clone();

        handles.push(thread::spawn(move || {
            counter_with_lock(count, fname).unwrap();
        }));
    }
    for handle in handles {
        handle.join().unwrap();
    }

    println!("Total from the file: {}", read_to_string(&filename)?);

    Ok(())
}

fn start_file(filename: &PathBuf) -> Result<(), Box<dyn Error>> {
    let mut file = File::create(filename)?;
    write!(&mut file, "0")?;

    Ok(())
}

fn counter_with_lock(count: u32, filename: PathBuf)  -> Result<(), Box<dyn Error>> {
    println!("Starting to count till {count}");
    for _ in 0..count {
        let mut buffer = [0; 100];

        let is_blocking = true;
        let options = FileOptions::new().read(true).write(true);

        let mut filelock = FileLock::lock(&filename, is_blocking, options)?;
        let res = filelock.file.read(&mut buffer)?;

        //println!("c: {:?} size: {res}", buffer);
        let content = String::from_utf8(buffer[0..res].to_vec())?;
        println!("c: {content:?}");

        let value = content.parse::<u32>()?;
        filelock.file.seek(SeekFrom::Start(0))?;

        filelock.file.write_all(format!("{}", value + 1).as_bytes())?;
    }
    Ok(())
}

Environment
$ rustc -vV
rustc 1.77.2 (25ef9e3d8 2024-04-09)
binary: rustc
commit-hash: 25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04
commit-date: 2024-04-09
host: x86_64-unknown-linux-gnu
release: 1.77.2
LLVM version: 17.0.6

file-lock = "2.1.11"

Hey Gabor!
Sorry I've got a million things going on at once right now. Give me a day or so and I'll try and help you out.

Hi Alfie!
Sure, it is not urgent. In the meantime I found another crate that does the trick see this example but I'd be happy to understand what's going on with flle-lock and write an example with that too.


Fix decoding ERC20/721 Transfer events

If a not standard event was used, like Transfer(address indexed, address, uint256 indexed), decoding was broken

Coverage decreased (-0.7%) to 90.707% when pulling 30b878994f49c0198d75fd7e9829edaae5b44428 on fix-decode-transfer-logs into d2a5912547b7d1b576c826909f4c1d0155db536f on master.

Looks good! I wonder if it makes more sense if we see a DecodingError to propagate that from decode_logs

That will change the current logic. Currently if something cannot be decoded None is returned and an warning is logged. Btw I used logging.error by mistake, I switched it to logging.warning


vite local issue

thanks
your probably install vite globaly so you have no error !.
But for local instal your should change nodedemon configu like this.
{
  "watch": [
    "src",
    "utils",
    "vite.config.ts"
  ],
  "ext": "tsx,css,html,ts",
  "ignore": [
    "src/**/*.spec.ts"
  ],
  "exec": "node_modules/.bin/vite build"
}

I applied it with the commit below.

https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/commit/ecb1834fb28c43be0aaeb56149e42ded1e974949

Thanks for your contribution!

@all-contributors please add @djmisterjon for bug

https://github.com/all-contributors please add @djmisterjon for bug

@all-contributors please add @djmisterjon for bug


Use dynamic versioning (#155)

Randomly spotted this open issue and figured I'd have a go at it. Hope there are no objections to using setuptools-scm.

Thanks @nkoep. I have to say that I'm strongly against setuptools-scm. I wanted to use it to get the version automatically from git tags but its main problem is that it assumes that the files you want to package are all the files that are tracked by version control. This includes:

.github/workflow
docs
causalpy/tests
All the files in the root folder like codecov, readthedocs, .gitignore, etc

In practice, setuptools-scm completely ignores the arguments of the [tool.setuptools.packages.find] section of pyproject.toml and does whatever it wants. From reading a bit of issues, this was documented back in 2017 and flagged as wont-fix because they say it's setuptools fault to opt to include all files from git. Until there is a sane solution to this problem, I will remain strongly against setuptools-scm.

Definitely appreciate the effort @nkoep, but as @lucianopaz points out, setuptools-scm looks to have some problems, so I'll close this PR for now. Don't let that put you off making any other contributions if you like :)


✨ migrate assets store

PR Type

[x] Refactoring

Context

[x] related link #4755

Screenshot 📸
⏳

🤖 Generated by Copilot at 8e8f487

We used to rely on Vuex
To manage our assets and use
But now we have Pinia
Which makes our code cleaner
And gives us more features to choose

@roiLeo what's status on this? I've seen it here for while.

@roiLeo what's status on this? I've seen it here for while.

I need #5400 to be done before

Canary

THis PR;

Looks like assets have disappeared 👨🏫

wfm

@brano-hozza can I ask you for a review? 🥺

Deploy failed?

https://github.com/kodadot/nft-gallery/pull/6070 my suggestion to refactor useApollo so we can remove unnecessary any from the code

looking for this boi 👀

for Deepsource issue see #6070
but for test maybe #6101?
Tested on /snek/gallery/2773267381-1

@roiLeo it doesnt fix the issue with missing Apollo dependency in the useNuxtApp. This is just workaround

maybe it will be fixed when updating to Nuxt3 and @nuxtjs/apollo@next

This is just workaround

I'll just ask by meme


Remove some dead code when writing

The file version is set to 2 above for writing files, so it is impossible to take the first branch and write version 1 style. If people are interested in how older versions wrote they can always delve into the git history or look at the read code.

Just to make sure I understand here... this code is specific to DWA compression, which is only a file version 2 feature, so that's why we can eliminate all the "version 1" clauses?

@lgritz it's not the version of OpenEXR library, or the general file format version. It's related to #119, where the internal DWA structure was changed and a version field bumped. The uncompress code supports the old DWAv1 compression format, but the unreachable code to write version 1 seems unnecessary. If anyone needed to write a DWAv1 file they could still change one line in the C++ library and use that.
@meshula I believe the sLegacyChannelRules is still required if a DWAv1 file needs to be read, as it looks like it's also used by the uncompress code

Oh, maybe I didn't grep outside of the OpenEXRCore folder.

@lgritz This is purely localized reasoning. The code is unreachable because the conditional is a constant value.

@kingsawyer Yes, but the subtext of my question was "are we satisfied that the assignment of that constant is not itself a bug."

@meshula Can you please reconsider your request as it would break v1 support?

@meshula Hello Nick?

Ah, I should have marked the question as resolved, since it was answered in the following discussion. @lgritz @peterhillman Any further comment?

Fine with me. My understanding is that this code only comes into play with DWA compression, and therefore MUST be a v2 file.

Well, it's v2 of DWA, not the OpenEXR file version, so the modification to the comment is rather misleading.
Some DWAv1 files (created before #119 was merged) might still exist in the wild. The decompression code will still handle those files after this change. The C++ implementation can still be trivially modified to generate DWAv1 compression, but that code is likely to disappear when the C++ library switches to decompressing using OpenEXRCore.
I'm fine with this too, but I would suggest leaving a comment in the code stating that DWAv1 set me->_channelRules to sLegacyChannelRules. That would satisfy any code archeologists wanting to unpick the history. It would also help anybody wanting to modify the code to generate a new DWAv1 file for testing the decompressor.

Updated to say DWA v2, but I don't think current code should talk much or at all about how obsolete code worked (or didn't). Easy enough to go back in the file history to see what it did. The vast majority will not care about implementation details of bygone days.

Thanks for contributing the original PR and for this update. That's a clearer comment now. An extra few words in that comment block noting how to generate DWAv1 would be useful because the code still supports decompressing DWAv1 files, which means  it's not quite obsolete. It may be confusing that the compressor has no trace of how to generate a file that would trigger the v1 branch in the decompressor.  The full history of DWA compression isn't in this file, it's in ImfDwaCompressor.cpp (which I'd forgotten might be removed later), so git blame doesn't really help.

I think that's good, thanks


Improvement Request: OVN integration

Does the author have any plans to integrate OVN into CloudStack?

@wangwei0537
Currently their is  ovs intergration with cloudstack
https://docs.cloudstack.apache.org/en/latest/plugins/ovs-plugin.html
https://www.shapeblue.com/networking-kvm-for-cloudstack/

thanks


Add apr-util-dbm_db package to the Alpine variant

 mod_dav requires setting DavLockDB directive, which depends on apr-util-dbm_db on Alpine. Without it, the server returns status code 500 when a client uploads a file and logs the error like this:
[Sat Dec 28 13:11:12.463663 2019] [dav_fs:crit] [pid 9:tid<PHONE_NUMBER>82528] (20019)DSO load failed: AH00576: The DBM driver could not be loaded
[Sat Dec 28 13:11:12.463682 2019] [dav:error] [pid 9:tid<PHONE_NUMBER>82528] [client <IP_ADDRESS>:40280] The locks could not be queried for verification against a possible "If:" header.  [500, #0]
[Sat Dec 28 13:11:12.463689 2019] [dav:error] [pid 9:tid<PHONE_NUMBER>82528] [client <IP_ADDRESS>:40280] Could not open the lock database.  [500, #400]
[Sat Dec 28 13:11:12.463693 2019] [dav:error] [pid 9:tid<PHONE_NUMBER>82528] (20019)DSO load failed: [client <IP_ADDRESS>:40280] Could not open property database.  [500, #1]

Installing apr-util-dbm_db fixes the problem.

For those arriving via google, the error handling is fixed in apr-util here:
http://svn.apache.org/viewvc?rev=1891018&view=rev
and for httpd here:
http://svn.apache.org/viewvc?rev=1891019&view=rev


create update module for boot partition

requirements TBD

needs to unlock TPM. Not sure if those state scripts will be pulled in automatically?
Look into:
 --script value, -s value Full path to the state script(s). You can specify multiple scripts providing this parameter multiple times.


added pie charts

Hi Leslie
i added some pie charts to our code and also made changes to a few other things

Hi Leslie
i added some pie charts to our code and also made changes to a few other things


book_info unhandled exception

hi there,
I have noticied that in some cases, the book_info dictionary is not complete.
As an example, this book
https://learning.oreilly.com/library/view/ubuntu-linux-unleashed/9780136685395/
generates an exception unhandled as the rights key is not existing
[#] Unhandled Exception: 'rights' (type: KeyError)
I have already created a fix for it.
if you want I can create a pull request or paste the fix here
let me know in case this might help to improve this incredible tool
thnx
Antonio

I think this is the same issue as issue #237.  I've put forth a PR#239 to fix this if you'd like try.

I think this is the same issue as #237. I've put forth PR#239 to fix this if you'd like to try.

Indeed you are right. I beg your pardon for my issue #240. I should have pay more attention to previous issues.
thnx

No worries.  Just want to let you know there is a fix if you find it acceptable. Ai

I had the same issue with the Rights exception, but I just download the fixed script and it works!! https://raw.githubusercontent.com/jacabreragt/safaribooks/250d1c611b970d53ce93ee6fe630cd582928370c/safaribooks.py

Try to pull new commit (thanks to @nhonaitran with PR #239 and @avineshwar with PR #245)

Perfect! It solves the issue. thnx


highlight selected button

When a button is pushed, highlight the selected button (and undo the selection of the other buttons).

Hi @dustinlarimer
Thanks for merging. Since I created this pull request I created a more generic class to highlight the buttons (and more : keep track of the value of the pressed button, attach an event to be executed on keypress) : https://github.com/buildtimetrend/dashboard/blob/master/assets/js/ButtonClass.js
If you're interested, this class could be added to your example dashboard, but because I'm also using it in the dashboard of my project, I was wondering what would be the best way to include this class in this and my project. I could create a seperate repo for it and include it like a library/dependency? Or would it be easiest just to copy the file manually every time there would be un update or improvement?


Progressive Resize Runs Twice during Fine Tune Step

Specifying ProgressiveResize() in the callbacks list and calling learn.fine_tune leads to ProgressiveResize being run for two separate training runs.
If I manually call all of the fine_tune steps, I can add the callback to only the unfrozen epochs, but fine_tune will run at the Resize size rather than the initial size.
My hypothesis is that we would see better training performance if the frozen epochs were run at the initial size. What's the simplest way to accomplish this with the callback?

Unfortunately, in fastai there isn't a built-in way for a callback to know what context it's being called, other than checking if another callback exists. ProgressiveResize can tell if you are predicting or using LRFinder via this code in ProgressiveResize.before_fit and prevent itself from running:
if hasattr(self.learn, 'lr_finder') or hasattr(self.learn, "gather_preds"):
    self.run = False
    return

but it cannot tell if fine_tune is calling it or fit_one_cycle (or other fit method). Neither can it tell if the frozen part of fine_tune is calling it or the unfrozen part.
The solution is to either manually run all of the fine_tune steps as you are doing except with two dataloaders: an initial size and full size dataloader for frozen and unfrozen, respectively, or create your own custom fine_tune method which takes the initial and full size dataloaders and a list of unfrozen callbacks.

Makes sense. Have you experimented with this at all? Any recommendations on how best to mix progressive resizing with transfer learning?
For context, I'm using CutMixUpAugment and ProgressiveResize together, but it's weird that the accuracy is obliterated for the first couple of epochs

I have not. The best resources on progressive resizing are the fastai course and MosiacML's documentation, both which I link to in the fastxtend ProgressiveResize documentation.
My guess is CutMixUpAugment is the primary culprit. Usually, MixUp and CutMix achieve best results on longer training runs. Around 60-80 epochs on Imagenette sized dataset. I would try not applying CutMixUpAugment to the frozen training, as there you're adapting a random new head to the existing network. I'd also try only apply CutMixUpAugment if training longer, or use augment_finetune to delay when CutMixUp is applied.

@warner-benjamin Based on some basic experimentation, it does seem like CutMixUpAugment is the culprit. I'll try incorporating your suggestions. I appreciate the resources and support!

Idk if it's a bug in the callback, but running CutMixUpAugment with element=False dramatically improved the early epoch performance.

You can look at the documentation to see examples of element=False and element=True. True mixes MixUp, CutMix, and additional Augmentations within the same batch, while False selects one of the three per batch.


Fix: Logo spacing and sizing

It will improve spacing and now its going to look like this:

Yeah, that's looks better


How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://www.swisslogforwindows.com/download.html
Publisher: swisslogforwindows.com
Package Name: Swisslog
Description: Logging software for the most demanding radio amateur.
Package Version: 5.107
Installer URL: https://www.swisslogforwindows.com/Download/SwisslogSetupv5107.exe

I am gonna create @asciiWolf


name 'KAN' is not defined

`import matplotlib.pyplot as plt
from sklearn.datasets import make_moons
import torch
import numpy as np
from sklearn.model_selection import train_test_split
from kan import *
model = KAN(width=[2,2], grid=3, k=3)`
**

**

help help

How did you solved the error?
I am new to this library


Fix windows tests (git security update)

3 git tests are currently failing on the Windows CI with error:
fatal: active post-checkout hook found during git clone:

I seems to be due to a recent git security update that is not yet handled by git+lfs. See:

https://github.com/git-lfs/git-lfs/issues/5749
https://github.com/git-lfs/git-lfs/issues/5754

In the meantime a solution is to disable this new security feature by setting GIT_CLONE_PROTECTION_ACTIVE=false in the Windows test env. This only affects the CI, not the package itself.
Expectation
CI should be green :)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Merging it now since CI is green + it only affects tests.


Cannot navigate through folders using keyboard arrows

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.26.1
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20221018.5
Platform
Windows
OS Version
Windows 11 Enterprise
Bug Description
I cannot scroll through the folders using keyboard arrows. The arrows navigate through the folders, but the screen doesn't follow the current folder. I have to scroll using my mouse to find the selected folder.
Steps to Reproduce

Launch storage explorer
Open a blob container with many folders (so that they don't fit on the screen)
Try to scroll down using keyboard arrows.

Actual Experience

You can see on the picture that the screen doesn't follow the selected folder. If I scroll further down, I won't see which folder is selected.
Expected Experience
I expect the screen to follow the selected folder, just like in the regular Windows File Explorer.
Additional Context
No response

I made the change for 1.28.0 release to make the scroll location update when you navigate using the up/down arrow keys.


Not able to identify the missed path variables

Hi,
It's showing a valid JSON though the path variables are missed to declare. We can find the error, if we keep the same JSON in editor.swagger.io.
Please find the below sample JSON:
{
  "swagger": "2.0",
  "info": {
    "description": "Pets Reference Data",
    "version": "1.0",
    "title": "Pets Reference Data"
  },
  "host": "localhost:8080",
  "basePath": "/api/pets/referencedata/v1.0",
  "tags": [
    {
      "name": "Pets Reference Data Operations",
      "description": "Pets Reference Data Controller"
    }
  ],
  "paths": {
    "/{tenantId}/categories/{categoryCode}": {
      "get": {
        "tags": [
          "Dynamic Codces Operations"
        ],
        "summary": "Reference Data Service",
        "description": "Retrieves the ReferenceData for a given tenant id, category and sub category with language code as english",
        "operationId": "Reference Data Service_2",
        "produces": [
          "*/*"
        ],
        "parameters": [
          {
            "name": "categoryCode",
            "in": "path",
            "description": "categoryCode",
            "required": true,
            "type": "string"
          },
          {
            "name": "subCategoryCode",
            "in": "query",
            "description": "subCategoryCode",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/petsDataResponse"
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    }
  },
  "definitions": {
    "Domain": {
      "type": "object",
      "properties": {
        "b2X": {
          "type": "string"
        },
        "documentation": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "memberValue": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "verbalization": {
          "type": "string"
        }
      },
      "title": "Domain"
    },
    "Error": {
      "type": "object",
      "properties": {
        "errorCode": {
          "type": "string"
        },
        "errorDescription": {
          "type": "string"
        }
      },
      "title": "Error"
    },
    "petsDataResponse": {
      "type": "object",
      "properties": {
        "messageElements": {
          "$ref": "#/definitions/messageElements"
        },
        "tenant": {
          "$ref": "#/definitions/tenant"
        },
        "codeReferences": {
          "type": "array",
          "description": "List of Pet Code References based on input.",
          "items": {
            "$ref": "#/definitions/PetsReferenecData"
          }
        }
      },
      "title": "petsDataResponse",
      "description": "A data transfer object to send a response."
    },
    "messageElements": {
      "type": "object",
      "properties": {
        "businessCorrelationId": {
          "type": "string"
        },
        "errorList": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Error"
          }
        },
        "messageStatus": {
          "type": "string"
        }
      },
      "title": "messageElements",
      "description": "A data transfer object, that holds transaction result codes and descriptions."
    },
    "tenant": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "number"
        },
        "tenantName": {
          "type": "string"
        },
        "timezone": {
          "type": "string"
        }
      },
      "title": "tenant",
      "description": "Holds Tenant's information."
    },
    "PetsReferenecData": {
      "type": "object",
      "properties": {
        "category": {
          "type": "string"
        },
        "languageCode": {
          "type": "string"
        },
        "subCategory": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "title": "PetsReferenecData"
    }
  }
}

To become a valid swagger json, we need to have the below in parameters list.
{
	"name": "tenantId",
	"in": "path",
	"description": "tenantId",
	"required": true,
	"type": "string"
  }

Swagger editor will report the below issue.

But, this library not able to identify this issue.

Hi @parameshjava,
Spec says as below:
If in is "path", the name field MUST correspond to the associated path segment from the path field in the Paths Object.
Spec doesn't specify about the reverse.
Let's wait for others view and decide on this issue.
Thanks,
Mohammed

In such case, if we forgot to declare path parameter in resource path, still swagger-parser certifies that the json is well formed. But, when we keep this in swagger editor, it complains. I am not sure the difference in schema referred by online editor and swagger parser. It would be a great help, if we can achieve the validation same as online editor.

@parameshjava
Makes sense and I have raised a PR to fix this issue.
Thanks,
Mohammed

Hi, @gracekarina @parameshjava @ymohdriz
Unfortunately this PR does not take into account parameters references defined with $ref.
paths:
  /users/{id}"
    get:
      parameters:
        - $ref: "#/components/parameters/userId"
components:
  parameters:
    userId:
      name: id
      in: path
      required: true

io.swagger.v3.parser.OpenAPIV3Parser#readLocation this method first calls result = readWithInfo(url,auth); where your patch happens.
The patch analyses parameters and sees only $ref, so new warning appears.
Then resolver works and all references become resolved, and the OpenAPI entity becomes valid, but the warning is kept.
Probably the analysis should happen after the resolver works.
I think that this issue should be reopened or another one should be created. What's better?


Implement "inline banner" component

Specs: https://www.figma.com/design/GbO2FXPZ40Sdr0UFYmNprv/Int-UI-Kit-(Community)?node-id=3346-81444&node-type=canvas&t=1flKN3HrzvthA7Ty-0

Small update related to this and the new Banner component, based on my conversation with the IntelliJ UX teаm: the action overflow does exist in the platform now, and for non-inline banners, there is a way to show a popup when clicking an action (see "Project SDK not defined" banner).

Thanks @c5inco! Both behaviours are already possible in Jewel by using LinkDropdown. The only thing we don't offer yet is the automatic collapsing of overflowing actions into a "more" menu, but that is a P2 imo


double clicking in rename input now commits instead of selects word

Version: 1.33.0-insider
Commit: d77d8d561143cc021a82664efc056755c075d070
Date: 2019-03-11T08:47:23.627Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

Steps to Reproduce:

Press F2 in explorer to enter renaming mode
Double click in the input box

Expected Result:

The word under cursor is selected.

Actual Result:

Exited renaming mode.

Last known working version:

1.30.2

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

@yume-chan good catch. Tomorrow's vscode insiders will contain the fix, so let us know if it behaves as expected for you.

Fixed via 900f10077c