Fix for media_min_width Bug!

Hey! Thanks for this great social-feed!
The media_min_width didn't work for me in your code, because when you checked if the width is bigger than the minimum width, the image was already resized by CSS.
I fixed this by creating a new image, applying the "old" image-src to this, taking it's dimensions and deleting it again...
// preload the image
var height, width = '';
var img = new Image();
var imgSrc = image.attr("src");

$(img).load(function () {
if (img.width < options.media_min_width) {
        image.hide();
    }
    // garbage collect img
    delete img;
}).error(function () {
img.hide();
// image couldnt be loaded
console.log('An error occurred and your image could not be loaded.  Please try again.');
}).attr({ src: imgSrc });

Found this code snippet here (which was the first one to work after trying a lot of methods before)
http://stackoverflow.com/a/1833000/3754201

Great. Could you create a pull-request, so I accept it to the main branch?


Query Objects

I've been thinking about adding a nice way to deal with database queries. Here is my thinking at the moment but I'm looking for feedback and ideas in this area.
At the moment with Rectify users are encouraged to place there database queries within their ActiveRecord models. That's ok because Rectify tries to help developers find a home for their code and so as the models are just for persistence it makes sense.
However, there are problems with this approach:

As a project matures, the number of queries will increase and so there is a danger that models will end up having high churn and continue to grow as the number of queries grow.
As a project increases in complexity, the queries may well increase in complexity as well. By that I mean that sometimes developers will want to build a query using a SQL string so they can leverage database specific features.

I'd like to think of a nice way to allow developers to use Query Objects which will help reduce the size of their models and also improve the experience when working with plain (potentially large) SQL queries strings. At the same time I don't what to stop or prohibit the use of the ActiveRecord DSL. So we need a nice way to create and use Query Objects where it makes sense.
Maybe the guidance should be that small ActiveRecord DSL style queries and scopes are added to the model and more complex queries should use Query Objects. Not sure what the API should be for this so I'm creating this issue to gather ideas and feedback.
For large SQL strings I was thinking about allowing SQL to be written in a *.sql file and allow parameter placeholders in the style that ActiveRecord has already:
select * from users where username = :username

Then we can use existing ActiveRecord APIs to execute the sql file with safe parameter inclusion (dealing with SQL injection). We might be able to use conventions to find the SQL file based on the Query Object name and the SQL filename. For example, use find_by_sql, here is the example from the docs (http://api.rubyonrails.org/classes/ActiveRecord/Querying.html#method-i-find_by_sql):
Post.find_by_sql([
  "SELECT body FROM comments WHERE author = :user_id OR approved_by = :user_id",
  { :user_id => user_id }
])

So I'm imagining the Query Object would be able to take parameters, contain logic (if required) to manipulate those parameters for the query, load the sql file and execute it via find_by_sql.

Not looked into this fully yet but I personally think it would be better to also allow simple scopes in this query object too if it's possible.
Otherwise you'd be guessing if authorised users query was a scope in the model or found in the query object.
It would also be like placing some validations in the model and some others a form object, would it not?
I might have the wrong end of the stick though so I'll look more into this as well.

class Video < ActiveRecord::Base
  scope :featured_and_popular, Videos::FeaturedAndPopularQuery
end

As described in Delegating to Query Objects through ActiveRecord Scopes. That's a possible implementation?
I assume you can add parameters with:
scope :featured_and_popular, -> category { Videos::FeaturedAndPopularQuery.new(category) }

After taking some time to think about how Query Objects might work, I started experimenting in the example project. There is a PR over there with some initial ideas. Probably needs more explanation but it's a start. Checkout https://github.com/andypike/smarty_pants/pull/3

Merged in #8 which covers this issue.


Crash on start with every directx9 game on a RX 480

Software information
every directx9 game
System information

GPU: RX 480
Driver: mesa-tkg-git 20.3.0 devel
Wine version: wine-5.7.r0.gc44e0cf60a ( TkG Plain Esync )
DXVK version: 1.7.1
Linux 5.7.15-28-tkg-bmq  on Manjaro

FEAR_d3d9.log
I cant manage to run any d3d9 game on my current setup. I have switched from an nvidia 1060 to a RX 480. Before that, all my games just run pretty well with dxvk.
All i did after changing the cards was to move /etc/X11/xorg.conf to another place to make Xstart and installing mesa-tkg-git 20.3.0 as well as the lib32 version.
All my d3d11 games are working! But every single directx9 game crashes on startup. With a clean WINEPREFIX the d9d3 games are running with opengl. But when I install dxvk into it, they crash. For an example i added the log of FEAR and in the terminal it always crashes like this:
info:    Exclusive FS: 0
info:  Setting display mode: 1920x1080@0
warn:  D3D9DeviceEx::SetRenderState: Unhandled render state D3DRS_DITHERENABLE
wine: Unhandled page fault on read access to 00000014 at address E3F36B9A (thread 0041), starting debugger...
Unhandled exception: page fault on read access to 0x00000014 in 32-bit code (0xe3f36b9a).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:e3f36b9a ESP:02f2bf20 EBP:0000000d EFLAGS:00010246(  R- --  I  Z- -P- )
EAX:da8645dc EBX:e72ae6c0 ECX:00000000 EDX:da8646a0
ESI:da81f870 EDI:da8645dc
Stack dump:
0x02f2bf20:  da863c50 00000009 02f2bf54 00000006
0x02f2bf30:  02f2bf48 da8655b8 da8760e4 00000000

Seems like a setup issue on your end:

Please make sure to update your Mesa, there was a bug recently.

Please make sure to update your Mesa, there was a bug recently.

I've tested these mesa versions (all also with lib32) today with the same Issue:

mesa 20.1.5. Manjaro
mesa-aco-git 20.1.0_rc4.20200527.648768b32a6-10 chaotic-aur
mesa-tkg-git 20.3.0_devel.127111.493298528a8-1 chaotic-aur
mesa-git 20.3.0_devel.127126.92f65e28fee-1 compiled myself from aur

Could it be, that my old NVIDIA GPU left some caches, which break theese d3d9 games? But why would run all d3d11 games...

info:    Driver version   : 2.0.153
Seems like you're using amdvlk and not mesa radv, this driver is currently broken with d3d9 DXVK.

My MangoHud shows, that radv/aco is used in Rocket League. So radv should be working.

Rocket League defaults to the 64bit client, FEAR is a 32bit game so i guess there is still some 32bit amdvlk leftover on your system.

Rocket League defaults to the 64bit client, FEAR is a 32bit game so i guess there is still some 32bit amdvlk leftover on your system.

Yes you are right, Crysis3 32but runs with amdvlk. How do i change this behaviour?


Update dependency docs in light of #3994

Closes #4038.

Ping @clone1018 @mattbk.

looks good to me


flutter doctor says to install Android SDK, but Flutter expects full Android Studio

Flutter doctor says this:
 Android SDK not found. Download from https://developer.android.com/sdk/
However, Flutter actually wants Android Studio.
Could we update the error message from flutter doctor?

@bkonyi

A related case that we saw in a study, participant:

Had downloaded and installed Android Studio
Had not run Android Studio, so it had never installed the SDK
Flutter Doctor told them that the Android SDK wasn't found, but the download link took them to the place where they got Android Studio from, which they knew they had installed.

I think the error message needs to say something like 'download and run Android Studio'

Had downloaded and installed Android Studio

How did they install? Was this windows, mac, or linux?

Sorry, yeah, this was OS X.
The installed by going to https://developer.android.com/studio/index.html, downloading the file, decompressing and copying into the applications folder.


TFLite GPU delegate: Broadcast output incorrect

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
Nightly at 09cf1b2a39023e617e003a51be39d419702c2d36
Custom code
Yes
OS platform and distribution
Android 12 2023-03-01
Mobile device
Vivo X80
Python version
No response
Bazel version
CMake 3.19.0
GCC/compiler version
Android NDK r25
CUDA/cuDNN version
No response
GPU model and memory
Mali-G710 MC10
Current behavior?
TFLite model file:  model.tflite.zip
The provided TFLite model contains a single broadcast operation, which when executed by the provided C++ program, should produce the following output:
1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1
2  2  2  2  2  2  2  2  2  2  2  2  2  2  2  2
3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4
5  5  5  5  5  5  5  5  5  5  5  5  5  5  5  5
6  6  6  6  6  6  6  6  6  6  6  6  6  6  6  6
7  7  7  7  7  7  7  7  7  7  7  7  7  7  7  7
8  8  8  8  8  8  8  8  8  8  8  8  8  8  8  8

However, when using the GPU delegate the following output is produced:
1  0  0  1  1  0  0  1  1  0  0  1  1  0  0  1
2  0  0  1  2  0  0  1  2  0  0  1  2  0  0  1
3  0  0  1  3  0  0  1  3  0  0  1  3  0  0  1
4  0  0  1  4  0  0  1  4  0  0  1  4  0  0  1
5  0  0  1  5  0  0  1  5  0  0  1  5  0  0  1
6  0  0  1  6  0  0  1  6  0  0  1  6  0  0  1
7  0  0  1  7  0  0  1  7  0  0  1  7  0  0  1
8  0  0  1  8  0  0  1  8  0  0  1  8  0  0  1

The correct output is produced when using the CPU and not the GPU delegate.  We are concerned that this could be a security issue if memory is being accessed incorrectly.
Content of model.tflite:
Your TFLite model has '1' subgraph(s). In the subgraph description below,
T# represents the Tensor numbers. For example, in Subgraph#0, the MUL op takes
tensor #0 and tensor #1 as input and produces tensor #2 as output.

Subgraph#0 main(T#0) -> [T#2]
  Op#0 MUL(T#0, T#1) -> [T#2]

Tensors of Subgraph#0
  T#0(serving_default_input:0) shape:[8, 1], type:FLOAT32
  T#1(BroadcastTo) shape:[8, 16], type:FLOAT32 RO 512 bytes, buffer: 2, data:[1, 1, 1, 1, 1, ...]
  T#2(PartitionedCall:0) shape:[8, 16], type:FLOAT32

---------------------------------------------------------------
Your TFLite model has '1' signature_def(s).

Signature#0 key: 'serving_default'
- Subgraph: Subgraph#0
- Inputs:
    'input' : T#0
- Outputs:
    'output' : T#2

---------------------------------------------------------------
              Model size:       1400 bytes
    Non-data buffer size:        780 bytes (55.71 %)
  Total data buffer size:        620 bytes (44.29 %)
    (Zero value buffers):          0 bytes (00.00 %)

Standalone code to reproduce the issue
#include <memory>
#include <stdio.h>

#include "tensorflow/lite/kernels/register.h"
#include "tensorflow/lite/model.h"
#include "tensorflow/lite/delegates/gpu/delegate.h"

int main() {
    std::unique_ptr<tflite::FlatBufferModel> model =
        tflite::FlatBufferModel::BuildFromFile("model.tflite");

    tflite::ops::builtin::BuiltinOpResolver resolver;
    tflite::InterpreterBuilder builder(*model, resolver);
    std::unique_ptr<tflite::Interpreter> interpreter;
    builder(&interpreter);

    TfLiteGpuDelegateOptionsV2 options = TfLiteGpuDelegateOptionsV2Default();
    auto* delegate = TfLiteGpuDelegateV2Create(&options);
    if (interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) return 1;

    const TfLiteTensor *inTensor = interpreter->input_tensor(0);
    const TfLiteIntArray *inShape = inTensor->dims;
    float *input = inTensor->data.f;

    for (int i = 0; i < inShape->data[0]; i++) {
        input[i] = i + 1;
    }

    if (interpreter->Invoke() != kTfLiteOk) return 1;

    std::vector<unsigned long> outShapeVec;
    const TfLiteTensor *outTensor = interpreter->output_tensor(0);
    const TfLiteIntArray *outShape = outTensor->dims;
    const float *output = outTensor->data.f;

    const float *outPtr = output;
    for (size_t i = 0; i < outShape->data[0]; i++) {
        for (size_t j = 0; j < outShape->data[1]; j++) {
            printf("%.2g  ", *(outPtr++));
        }
        printf("\n");
    }
}

Relevant log output
No response

Hi @MichaelTylerArm
As per this comment, for broadcasting the values on GPU delegate, we need to be more explicit by restructuring the data.
Please check this similar issue #60043 and let us know if it helps.
Thanks.

Hi @pjpratik ,
I've tried swapping the inputs to MUL so that the LHS tensor is the larger one as per that issue, but I get the same result.  Both tensors have 2 dimensions, and I believe the problem is well formed (the non-broadcast dimensions are equal and the smaller tensor has size 1 along the broadcast dimension).  That issue suggests avoiding GPU broadcast altogether, although I am unclear as to what an appropriate replacement would be.  I've tried replacing the multiply by 1 with add 0, but get the same result.

Hi @sirakiin, can you please take a look? Thanks.

I've found the issue, on line 813 of tensorflow/lite/delegates/gpu/common/selectors/operation_selector.cc:
Value* output = inputs[0];  // Should be outputs[0]
If I make this change, my test case starts working.

@sirakiin
This issue should be resolved by changing that one line, would someone on the TensorFlow team be able to implement this please?

Hi @MichaelTylerArm, we are actively working on it, it will take some time to past all tests/regressions/review. Thanks for your help! In the future please feel free to submit your own PR to contribute! We will review the changes.

Hi @pkgoogle it appears to be working on master now, thanks for your help!


Build(deps-dev): Bump @typescript-eslint/eslint-plugin from 5.38.1 to 5.39.0 (#4152)

Pull request opened by the merge tool on behalf of #4152

Merged in a38826ec09e81e0a0c94176b73f7b8ac228f4037


Not all IPoE clients are established if the outstanding value is set to a value equal to the number of clients

Describe the bug
Not all IPoE clients are established if the outstanding value is set to a value equal to the number of clients.
To Reproduce
Version (bngblaster -v):
Version: DEV
Compiler: GNU (11.3.0)
IO Modes: packet_mmap_raw (default), packet_mmap, raw, dpdk

JSON configuration:
{
    "interfaces": {
        "tx-interval": 0.1,
        "rx-interval": 0.1,
        "links": [
            {
                "interface": "0000:81:00.0",
                "io-mode": "dpdk",
                "rx-threads": 4,
                "rx-cpuset": [1,2,3,4],
                "tx-threads": 4,
                "tx-cpuset": [5,6,7,8]
            },
            {
                "interface": "0000:81:00.1",
                "io-mode": "dpdk",
                "rx-threads": 4,
                "rx-cpuset": [9,10,11,12],
                "tx-threads": 4,
                "tx-cpuset": [13,14,15,16]
            }
        ],
        "access": [
            {
                "__comment__": "DHCP Client",
                 "interface": "0000:81:00.0",
                "type": "ipoe",
                "ipv6": false,
                "outer-vlan-min": 1100,
                "outer-vlan-max": 1113,
                "outer-vlan-step": 1,
                "inner-vlan-min": 1,
                "inner-vlan-max": 600,
                "inner-vlan-step": 1,
                "stream-group-id": 1
            },
            {
                "__comment__": "DHCP Client2",
                 "interface": "0000:81:00.1",
                "type": "ipoe",
                "ipv6": false,
                "outer-vlan-min": 1114,
                "outer-vlan-max": 1133,
                "outer-vlan-step": 1,
                "inner-vlan-min": 1,
                "inner-vlan-max": 600,
                "inner-vlan-step": 1,
                "stream-group-id": 1
            }
        ]
    },
    "sessions": {
        "count": 50,
        "max-outstanding": 5,
        "start-rate": 3200,
        "stop-rate": 3200,
        "iterate-vlan-outer": true,
        "autostart": true,
        "reconnect": false
    }
}

Steps to reproduce the behavior:

Generate IPoE clients
When max-outstanding is set to 5, clients are generated 5 by 5. It takes ~10s for current configuration
When max-outstanding is set to 50 for current configuration (or equal to clients number), clients are generated so fast (3k per ~2s), but established ~60-70% only (All DHCP clients are passed DORA (check a screenshot))

Screenshots

Additional context
Add any other context about the problem here.

For example 5k clients take 4s, but half of clients are established only ("max-outstanding": 5000)

UPD:
Number of established clients can be increased when DHCP clients send another DHCP Request.

Why did you select such a high start-rate? The start- and stop-rate should be typically around 200-400 sessions per second (default is 400). Ideally you would set the start-rate to twice the expected session setup rate and outstanding to twice the start-rate.
A typical BNG is able to handle up to 200 sessions per second, so default 400 should be fine.

I stress tested, and some thousands rps is correct value for BNG.
This behavior is the same if start-rate is equal to clients number. Doesn't matter: 50/50,100/100,10000/10000. ~70% are established after first DORA cycle, and increase in next DHCP Rrequests. And 100% are established after 4 requests cycle (2*lease-time).
It looks like last ACK packets dont analyzed to mark as established (all emulated clients received ACK).

And I suppose, that blaster does not send requests more than the number of clients. 50 only in my example

I guess it's not a DHCP issue in your case. You can see in the DHCPv4 progress bar that all your DHCPv4 sessions are established. But for a session to become established, the initial ARP requests must be successful as well. As soon as DHCP has finished, the emulated client tries to resolve the learned gateway via ARP request. The session is marked es established only if this has been successfully, because this is the state from where on the session is actually usable for the clients.

I guess it's not a DHCP issue in your case. You can see in the DHCPv4 progress bar that all your DHCPv4 sessions are established. But for a session to become established, the initial ARP requests must be successful as well. As soon as DHCP has finished, the emulated client tries to resolve the learned gateway via ARP request. The session is marked es established only if this has been successfully, because this is the state from where on the session is actually usable for the clients.
You can press F1 to see protocol timeout stats, here ARP might be increasing.

Yes, thank you for help. One more question: can blaster generate TCP flow? Or UDP only?

Currently UDP only but TCP is already planned. Generic TCP support using lwIP (https://savannah.nongnu.org/projects/lwip/) is already included as required for protocols like BGP or LDP but currently not exposed to streams.

Okay, thank you so much! You can close this ticket.


Request: Option to hide the torrent list

It would be nice to be able to hide the torrent list, I currently have a card set up to add magnet links and show the up and down speeds but would like to not have the torrent list keep changing the size of the card.

Newly pushed version (0.15.0) adds a parameter to hide the list of torrents.
Please update the card and get back to me with results.

@Deathbot64 do you have any update on this issue?

No issues from what I have seen. Thank you so much for adding this.
On Fri., Aug. 25, 2023, 6:02 a.m. Atticus Maximus, @.***>
wrote:

@Deathbot64 https://github.com/Deathbot64 do you have any update on
this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/amaximus/transmission-card/issues/42#issuecomment-1693112366,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXKWV5UKSRA5WX5VWYP2M3XXBZ43ANCNFSM6AAAAAA3SYMBUM
.
You are receiving this because you were mentioned.Message ID:
@.***>


nixos/zfs: add missing dependendy nettools

Fix #87823
Motivation for this change
Things done

[x] Tested using NixOps
Built on platform(s)

[x] NixOS

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

backport:
[detached HEAD ad96acbc09e] nixos/zfs: add missing dependendy nettools
Author: datafoo<EMAIL_ADDRESS>Date: Mon May 18 11:25:00 2020 +0200
1 file changed, 10 insertions(+), 1 deletion(-)


feat: localities shape - add admin and country

Describe your changes

[ ] Adding country and amin_level to autocomplete types

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


playSong not emitted

Please describe your problem in as much detail as possible:
Scenario:
emitNewSongOnly = true
loop = RepeatMode.SONG

Is it intended that playSong is not emitted when skipping to the next song via distube.skip?
I would think it should emit playSong because technically a new song is being played and the emitNewSongOnly option should only not trigger the event if the same song is played again.
Further information:

DisTube version: 3.0.0-beta.38
discord.js version: 13.1.0
Node.js version: 16.9.1
Operating system: Arch Linux

Are you using slash Commands?
If so ,make sure to use distube.playVoiceChannel() and add the textChannel option

Sorry for the unexpected behavior.
I used to use the returned song from #skip() to show the next song instead. That's why it doesn't emit playSong event. I made it emits playSong on #skip() but forgot the emitNewSongOnly case.
Will fix it on the next version.


Add Conditional Exports in Popper v2

Fixes #1465.
This pull request is similar to https://github.com/floating-ui/floating-ui/pull/1502, but for the v2.x branch.
I've left all existing distributions in place and have added 2 new files to use in the development and production conditional exports:

Exports Entry
File Name
Notes

import.development
dist/esm/index.development.js
New un-minified ESM build with debugging on.

import.production
dist/esm/index.min.js
New minified ESM build with debugging off.

import.default
lib/index.js
Existing ESM build.  Same as module.

require
dist/cjs/popper.js
Existing CJS build.  Same as main.

I copied the entire "exports" format from the current version which means I also brought back the update from https://github.com/floating-ui/floating-ui/pull/1462.  I can leave that out if you'd prefer.
Please let me know if I'm doing anything wrong here or if there's a different approach you would recommend.

this was added before https://github.com/floating-ui/floating-ui/pull/1342 and rolled back https://github.com/floating-ui/floating-ui/pull/1362  due to it being a breaking change. (adding an exports map always is)
I think it is worth supporting esm with export maps but it would have to be in a new major release.

Based on Rich's comment here: https://github.com/sveltejs/kit/issues/4504#issuecomment-1135338008
Would it be enough to create a new mjs folder build? esm used to have .mjs as the extension name, but it changed to .js in v2.0.4 for some reason — at this point, it's probably too major of a breaking change to revert that back to .mjs, right? I don't think we can add an export map at all though.
But we could add a new folder using that extension. Libraries could then import from that folder instead of /esm, which would basically be the same as a new major.


Is this repo maintained?

Anyone who maintained this org, please, message me here 🥺
@indocker @antoineco @deviantony

The original (maintained) repository is https://github.com/deviantony/docker-elk

Oh, @antoineco thank you for your answer!
I'm here to ask a strange question, but anyway. I'm a developer of a project https://indocker.app/, and I wish to have a Github org with the same name (I mean indocker). Is there any way to contact the current org owner? I wish to ask him (her) to gift (or sell) this org (indocker) name

Based on the commit history, probably https://github.com/widyamedia (there is a web page and an email address).

I tried to contact them, but without success. That's why I'm here 😞
Maybe you know someone else who has maintainer access?

No sorry, I have no affiliation whatsoever with this org.

Thanks for your answer anyway, I have tried... Have a nice day!


Shift count in error

Running latest version on today's ride. After 15-20 miles I changed from my main page to a page with a Ki2 shift count field. The shiftcount was very low (maybe 0), but then over the remainder of the ride it seemed to be recording shifts. When I look at the Hammerhead dashboard, the graph for "shifts" seems to have captured all the changes. Is this something you know about? Do I need to do something at startup to help Ki2 maintain the shiftcount field?

This will be fixed by the new version using Karoo Extensions.


[WIP] [fix #832] update Google Guava dependency to v24.0

This is a first attempt to updating Google Guava dependency to v24.0 as suggested by @rdeltour in #832.
However, there seem to be compile issues with Maven, despite Eclipse doesn't report any errors.

I just can't figure out where the compile issue is thrown and why! Can anyone help here?

@tofi86 Darn.  I was going to ask YOU that. :-)  I am going to close the PR and re-open to trigger the build again.

@tofi86  @rdeltour
OK. Looked at this a bit (bear in mind I haven't worked on EPUBCheck in 10 years. Last used it to build epubcrude several years ago).
I see the error here:
/home/travis/build/IDPF/epubcheck/src/main/java/com/adobe/epubcheck/opf/ValidationContext.java
:[247,7] <anonymous com.adobe.epubcheck.opf.ValidationContext$ValidationContextPredicates$1> is not abstract and does not override abstract method test(com.adobe.epubcheck.opf.ValidationContext) in java.util.function.Predicate

Looking at the docs for guava and Oracle's java, it kind of looks like Travis is somehow pulling in the wrong library for Predicate since it is complaining about test() in java.util.Predicate and not  com.google.common.base.Predicate.
Perhaps you could try editing the PR, backing out v24, just as a test and see if the PR still fails?

Probably 24.0-jre is the wrong version?
The alternative is 24.0-android when looking at maven central, but I didn’t test it to be honest...

Indeed, the version  24.0-android seems to compile well.
See Guava Readme:
Guava comes in two flavors.
* The JRE flavor requires JDK 1.8 or higher.
* If you need support for JDK 1.7 or Android, use the Android flavor.

We still support Java 1.7, so we should use the android flavor.
Tests were successfull on my machine. Let's see what travis says.

Ready for review. Travis is all green.
@rdeltour @rkwright it's all yours! :)
@rkwright I think it's easier to trigger a travis rebuild by going to the linked travis page (hidden behind "show all checks" -> https://travis-ci.org/IDPF/epubcheck/builds/344044977) ;-)

@tofi86 @rdeltour   LGTM also.

@rkwright can you also approve with the GitHub Approval Feature? (below this comment or top right of the PullRequest)

Sorry, didn¹t see this request in time.  Next time
Ric
From:  AnFengDe<EMAIL_ADDRESS>Reply-To:  IDPF/epubcheck
<reply+002e2bc8c96c153bd981b24334c20c90d8f6db7fab9447cc92cf0000000116a546029
<EMAIL_ADDRESS>Date:  Wednesday, February 21, 2018 at 8:36 AM
To:  IDPF/epubcheck<EMAIL_ADDRESS>Cc:  Ric Wright<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject:  Re: [IDPF/epubcheck] [fix #832] update Google Guava dependency to
v24.0 (#833)
@rkwright https://github.com/rkwright  can you also approve with the
GitHub Approval Feature? (below this comment or top right of the
PullRequest)

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IDPF/epubcheck/pull/833#issuecomment-367345855 , or
mute the thread
<https://github.com/notifications/unsubscribe-auth/AC4ryPT7w120PMn1zYBjQGl3G
8GpKi4-ks5tXCoCgaJpZM4SJXTQ> .
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4b
b","name":"GitHub"},"entity":{"external_key":"github/IDPF/epubcheck","title"
:"IDPF/epubcheck","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/143
418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"h
ttps://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6
-9aed-b52498112777.png","action":{"name":"Open in
GitHub","url":"https://github.com/IDPF/epubcheck"}},"updates":{"snippets":[{
"icon":"PERSON","message":"@tofi86 in #833: @rkwright can you also approve
with the GitHub Approval Feature? (below this comment or top right of the
PullRequest)"}],"action":{"name":"View Pull
Request","url":"https://github.com/IDPF/epubcheck/pull/833#issuecomment-3673
45855"}}}


feat: add doc links, remove guides

Removed giudes link from navbar and added new section Docs in footer.

Hey @samyak-max,

Agree to Alex of the first point.
Secondly I am not sure if I am able to see the changes in the footer of the website. This pr has been deployed here. Can you verify that you have pushed your whole code. I thin you have missed something.

@uniqueg Guides & Contributors are connected for the logic of getting the contributor for the each of the guide (as they are connected by the _id in the notiondb). It will not affect the functionality here. But if we are removing the guides entirely from of website & is linking it to the external link I will suggest that we should remove the unused logic & code for the same here.

Good catch with the footer, @git-anurag-hub.
And yes, as we are going to remove the guides entirely (in favor of the new Documentation Hub), I think the unused logic/code should be removed.

Hey @samyak-max,

Agree to Alex of the first point.
Secondly I am not sure if I am able to see the changes in the footer of the website. This pr has been deployed here. Can you verify that you have pushed your whole code. I think you have missed something.

@uniqueg Guides & Contributors are connected for the logic of getting the contributor for the each of the guide (as they are connected by the _id in the notiondb). It will not affect the functionality here. But if we are removing the guides entirely from of website & is linking it to the external link I will suggest that we should remove the unused logic & code for the same here.

Okay, I'll create a new PR based on the dev branch with the required changes. 👍


Do not start Dapr Watchdog runnable unless it's enabled

Currently, the Dapr Watchdog runnable is added to the manager whether the watchdog is enabled or not. This forces the Dapr Operator service to request leadership election in all cases, even if the disable-leader-election flag is set.
This follows reports from a user on Discord who's having issues with the Operator crashing due to failed leadership election. Although we cannot reproduce that error (and there's a change it may be due to an issue with their K8s setup), this PR should help with those situations too.

Potentially 1.9.X hotfix?

@berndverst Potentially 1.9.X hotfix?

I would not consider it for a hotfix, personally.

Not a hotfix.


Does it work with react-native-web

Hello everyone, I am new to react-native and started to build my first app with expo sdk 36.
I am not able to view the demo as the snack is broken but I strongly believe 2.x will help me achieve what I want.
One prerequisite I have is to do a web view, for that expo does it by default. Since I am not seing an compatibility for web, I assume it does not work for the web.
As anybody tested it on the web?
Thanks and best wishes for 2020, happy new year!

Hey @kopax, sadly I have not tested this with react-native-web, would be interested to know what you find though, thanks!

@kopax, I am not sure about 100% compatibility, but in my simple case it is work as expected on web platform with react-native-web (not Expo).

Excellent @proof666 , I will have a try. I must pop an item when I swipe left (like remove it, and scroll the list up). I only say this in case you already if that is impossible.

I am currently testing and it seems to work fine. So I am closing it and if necessary will reopen.


Broader DBMS support for SMUI (e.g. MySQL<5.7 , MS SQL)

As PR #67 indicates , there is a demand for a broader DBMS support of SMUI. MySQL<5.7 (5.6) and MS SQL are currently discussed.
To make SMUI's database evolution compatible with other DBMSs adjustment to the database model must be made (see https://github.com/querqy/smui/pull/67/files).
In order to stay compatible with previous SMUI installations , there needs to be a way to migrate existing search management data (best case: automatically), see https://github.com/querqy/smui/pull/67#issuecomment-801289687.

How about using an embedded database (like Apache Derby?) and become completely independent from SMUI users' preferences and skills?

I think, you describe the SQLite option for SMUI that is already in place. Anyway, persistence with a suitable SLA would need to be established around this database file. From a DevOps perspective that might be a even larger burden than starting an already managed DBMS (like Postgres), in k8s setups like AWS?!

Ideation with @mkr :

Goal: create a (breaking) new SMUI major with a reset for the DB structure (beginning with a new 1.sql)
Step forward - options:
Create a read/write API for the data structure of SMUI (current version --> new breaking version)
Create an automated database level migration routine (old data structure --> new breaking data structure)

This issue would also enable the feature requested with PR #66. #66 will be closed for now (for the same reasons #67 was closed).
fyi: @epugh

This all makes a lot of sense to me.  Thanks for taking the time to come up with a plan.


blank laravel filemanager after integration

In the above image you can see the error is showing. I am getting the blank folder of the laravel file manager. I have integrated it with TinyMCE. Please help me to solve the error.
This is the code used for tinyMCE.
project path is  : http://localhost/laraveladmin/public/

@sanketr43 thanks for showing console errors.
We fixed this in https://github.com/UniSharp/laravel-filemanager/commit/707a1fb6a32a8968a9ef02d24db89f6c03ff7fd2, please update to dev-master to if the issue still exists.

Please update to v1.6 to check if the issue still exists.


Messages "transition control" in homebridge Log

Hi Erik,
I keep getting following messages in my homebridge log every few seconds:
[27/02/2021, 18:22:32] [Hue] Bodenleuchte: set homekit transition control to "" [27/02/2021, 18:22:42] [Hue] Terrassenleuchte: set homekit transition control to "" [27/02/2021, 18:22:42] [Hue] Bodenleuchte: set homekit transition control to "" [27/02/2021, 18:23:21] [Hue] Terrassenleuchte: set homekit transition control to "" [27/02/2021, 18:23:21] [Hue] Bodenleuchte: set homekit transition control to "" [27/02/2021, 18:23:30] [Hue] Terrassenleuchte: set homekit transition control to "" [27/02/2021, 18:23:30] [Hue] Bodenleuchte: set homekit transition control to "" [27/02/2021, 18:23:51] [Hue] Terrassenleuchte: set homekit transition control to "" [27/02/2021, 18:23:51] [Hue] Bodenleuchte: set homekit transition control to "" [27/02/2021, 18:24:16] [Hue] Terrassenleuchte: set homekit transition control to "" [27/02/2021, 18:24:16] [Hue] Bodenleuchte: set homekit transition control to "" [27/02/2021, 18:24:32] [Hue] Terrassenleuchte: set homekit transition control to "" [27/02/2021, 18:24:32] [Hue] Bodenleuchte: set homekit transition control to "" [27/02/2021, 18:24:45] [Hue] Terrassenleuchte: set homekit transition control to "" [27/02/2021, 18:24:45] [Hue] Bodenleuchte: set homekit transition control to "" [27/02/2021, 18:24:54] [Hue] Terrassenleuchte: set homekit transition control to "" [27/02/2021, 18:24:54] [Hue] Bodenleuchte: set homekit transition control to ""
No problem as such, everything is running, but it does clutter the log and as I am not using adaptive lighting: Is there any way of turning these messages of?
Thanks

I also see all these messages
Plus devices log every single change (like a change in outdoor temperature of 0.1 degrees), which also produces a lot of (less relevant) log records.
Is there a way to configure log level, e.g. Between Info, Warning, and Errorr?
If not, that would be very helpful
otherwise thanks for a great plugin, I enjoy being able to control my non-hue bulbs from Siri.

Most of my other plugins support setting the log level dynamically (at run time) per accessory or group of accessories.  This is implemented largely in homebridge-lib.  Homebridge Hue will support setting the log level per bridge/gateway, once I refactor it to the dynamic platform accessory model, fully utilising homebridge-lib (see #4).  I won't be retrofitting that functionality to the current design of homebridge-hue.
The set homekit ... to ... log messages indicate a call from HomeKit to Homebridge, see README.  I'm only seeing these for "transition control" shortly after restarting Homebridge or starting Home.  Indeed, setting the value to "" means adaptive lighting is disabled.

This issue keeps popping up.  I'll suppress the log message when adaptive lighting is not active in the next version.


The code is the same from #778 with shallow changed to mount.
The test is:
it('should enable TextField on click', () => {
       const props = {
           ongoingApi: false
       };
       const wrapper = mount(<TestComponent {...props}/>, testContext);
       wrapper.find('FloatingActionButton').simulate('click');
       assert.equal(wrapper.find('LockOpen').nodes.length, 1);
       assert.isFalse(wrapper.find('TextField').nodes.props.disabled);
   });

I checked and the onClick method of the FloatingActionButton is never called.
Thank you for your time

simulate does not work on "not a DOM node", so I wouldn't expect this to work unless FloatingActionButton renders a DOM node that has onClick={this.props.onClick}. What's the implementation of FloatingActionButton?
If you want to test FloatingActionButton, then shallow-render <FloatingActionButton />. If you're testing TestComponent, then all you need to assert is that it renders a FloatingActionButton with the right props.
In other words, I think you're trying to test too much in one file.

I am sorry I didn't explain. FloatingActionButton, TexField are material-ui component. The only component I try to test is InputLocker. The TestComponent is just a wrapper to be able to render the TextField as InputLocker's child.
FloatingActionButton has a "onClick" prop. Here is it's implementation material-ui/FloatingActionButton
I will take a closer look inside it also. I was hoping some other issue was related to mine and this could be solved with a quick fix that someone in the enzyme crew might now about.
Thank you again.

You don't need to test material-ui's components, that's material-ui's job. All you need to test is that you're rendering its components with the correct props.

The props are definitely correct as long as rendered in the browser the component works perfect.

So, for everyone having problems with enzyme's simulate method on material-ui FloatingActionButtons components: simulate('click') does not work probably because the component is wrapped in a div which doesn't respond to an onClick event.
But if you do wrapper.find('FloatingActionButton').find('button').simulate('click') it does.

I was able to simulate on click on a material-ui component using the following code. I hope it can help others.
  it('should simulate click event on material-ui FlatButton', () => {
    const onSearchClick = sinon.spy()
    const wrapper = shallow(<LocationFinderSearch onSearchClick={onSearchClick} />)
    wrapper.find(FlatButton).simulate('click')
    expect(onSearchClick.called).toEqual(true)
  })


Batch_size=4

I use two 2080ti run upernet_hornet_tiny_7x7_512_160k_ade20k.py, miou just 45.11, how to reduce the gap with the paper

Hi @StepherMaker, thanks for your interest in our work.  Segmentation experiments usually fix the number of iterations, so it is necessary to use the same batch size if you want to reproduce our results. If you want to run the experiments using only 2 GPUs (which might not be a good setting to reproduce our results), you may need to 1) enlarge the training iterations to make batch_size * iterations match our settings 2) lower the learning rate, or use gradient accumulation to stabilize the training process as a much smaller batch size is used.

Thank you for your answer, I benefited a lot.


⚠ Bofrost.at has degraded performance

In 40991b1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2613 ms

Resolved: Bofrost.at performance has improved in e9daf53 after 14 minutes.


Bump codecov version to fix build

(And maybe don't ignore failures? Not sure about this one and why it was enabled in the first place at some point.)

https://github.com/woodpecker-ci/plugin-codecov/pull/15/files

https://ci.woodpecker-ci.org/repos/3780/pipeline/9023/27

Finally!


fix: Streaming bug

two tests were added to verify if the stream and streamAllMessages methods run correctly. Pointing to the local environment the tests pass whereas in the dev environment, they fail

Local
Dev
Dev

Fixes: https://github.com/xmtp/xmtp-react-native/issues/306


Add uploading of directories or multiple files

Many disc based games use bin/cue or other formats with multiple files. Also want to support multi-disc games.

Can you recommend a tool for linux to convert the format?
off-topic regarding, bios I need to upload e.g. scph5501.bin as an extra entry named scph5501 and set it to hide?

Closing for the following reasons:

.chd files or even .zip files with bin/cue now work
multi-disc games can be uploaded one disc at a time
cemu (wii u emulator) now supports a new format that stores games in a single file


Documents having their own document ID need to be grouped

For documents which have their own document ID and which can change over time (like CSAF documents), there must be a way to get that latest document by its document ID. When searching, only the latest document must be searched and returned (unless we want an additional API to search through the history).

Still relevant?

No this was actually fixed by https://github.com/trustification/trustify/pull/845 for CSAF docs. And for SBOMs, we need a better definition of what "latest" means.


Add migration docs for the QuerierWrapper custom query types

https://discord.com/channels/737637324434833438/737640672680607764/897107609696501821
Error reported when integrating to v1.0.0-soon2:
   --> packages/cyber-std/src/querier.rs:191:72
    |
191 |         let res: NeuronBandwidthResponse = self.querier.query(&request.into())?;
    |                                                                        ^^^^ the trait `From<CyberQueryWrapper>` is not implemented for `QueryRequest<cosmwasm_std::Empty>`
    = help: the following implementations were found:
              <QueryRequest<C> as From<BankQuery>>
              <QueryRequest<C> as From<C>>
              <QueryRequest<C> as From<WasmQuery>>
    = note: required because of the requirements on the impl of `Into<QueryRequest<cosmwasm_std::Empty>>` for `CyberQueryWrapper`

My response (https://discord.com/channels/737637324434833438/737640672680607764/897407511030812712):
Okay, I got this to compile with 4 lines of changes... QuerierWrapper now needs the CustomQuery type as an optional parameter (defaults to Empty). This also bubbles up to Deps and DepsMut.
We should document this in https://github.com/CosmWasm/cosmwasm/blob/main/MIGRATING.md but it was only affecting people writing these CustomQueriers, which was not the majority and it slipped.
Anyway, the following changes will get your code to compile:
In packages/cyber-std/src/querier.rs:
 pub struct CyberQuerier<'a> {
-    querier: &'a QuerierWrapper<'a>,
+    querier: &'a QuerierWrapper<'a, CyberQueryWrapper>,
 }

 impl<'a> CyberQuerier<'a> {
-    pub fn new(querier: &'a QuerierWrapper) -> Self {
+    pub fn new(querier: &'a QuerierWrapper<'a, CyberQueryWrapper>) -> Self {
         CyberQuerier { querier }
     }
 }

In contracts/std-test/src/contract.rs:
+type Deps<'a> = cosmwasm_std::Deps<'a, CyberQueryWrapper>;
+type DepsMut<'a> = cosmwasm_std::DepsMut<'a, CyberQueryWrapper>;

👍 okay. Have some more items pending here: https://github.com/CosmWasm/cosmwasm/pull/1131


update Dockerfile for openshift-ci testing

What type of PR is this?
/kind enhancement
What does this PR do / why we need it:
Updating Dockerfile with pre-requisites for 1.7 kuttl tests
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[ ] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #?
Test acceptance criteria:

[ ] Unit Test
[ ] E2E Test

How to test changes / Special notes to the reviewer:

/lgtm

/lgtm


Cannot create qtree with same name on 2 different volume

It seems that it's not possible to create a qtree with the same name on 2 different volume on the same SVM using this module.
Normally it's possible to do this on a NetApp.
I'm trying to define the resource with different title using the resource name to define the qtree but it don't work.
This is the code (line 18 and 23 are the 2 netapp_qtree definition:
    netapp_export_policy { "nfs":
      ensure => present,
      }

    netapp_export_rule { "nfs:1":
      ensure            => present,
      clientmatch       => "<IP_ADDRESS>/8",
      protocol          => ["nfs"],
      superusersecurity => "none",
      rorule            => ["sys","none"],
      rwrule            => ["sys","none"],
    }

    netapp_qtree {"voltst11_pippo1":
      volume       => 'voltst11',
      name         => 'pippo1',
      exportpolicy => "nfs",
    }

    netapp_qtree {"voltst12_pippo1":
      volume       => 'voltst12',
      name         => 'pippo1',
      exportpolicy => "nfs",
    }

This is the error i get

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Cannot alias Netapp_qtree[voltst12_pippo1] to ["pippo1"] at /etc/puppetlabs/code/environments/development/site/profile/manifests/storage/netapp.pp:23; resource ["Netapp_qtree", "pippo1"] already declared at /etc/puppetlabs/code/environments/development/site/profile/manifests/storage/netapp.pp:18 at /etc/puppetlabs/code/environments/development/site/profile/manifests/storage/netapp.pp:23:5 on node itnapsvmtest01.q8int.com

No one have this issue? It's not possible with this module to create qtree with the same name on different volumes. Using normal commandline or gui on netapp storage you can create them without problem.

Just an update on this one - this is expected behavior for Puppet sadly.  Redefining a new resource with the same name is interpreted by Puppet as a collision and it thinks there is an error.  This module may need to be refactored to use a different unique ID for name while maintaining the NetApp attributes.


created test for create user

Fixes #98
created a test for creating user and update the current create user test as should find all users.

Looks Good to me


contributors data added

I have fixed this issue here - https://github.com/Clueless-Community/Spectrum-UI/issues/151

Hey @Debajyoti14  i have resolved the conflict, thankyou.


Add .flutterflowignore support

This file allows for users to create a list of files to be ignored when exporting the project code (works a bit like .gitignore).
Files matching the globbing rules listed at .flutterflowignore are going to be ignored. This might break the project if changes in these files are needed to compile the project, so it should be used with extreme caution.
This functionality was previously achieved with:
https://github.com/krabhishek/flutterflow-filtered-pull

cc @aemelyanovff

cc @aemelyanovff

I'll review it hopefully by the end of the week. I'm a bit swamped right now, sorry.

Thanks @aemelyanovff for the review. Addressed your concerns and added more tests and comments support. Also made the path being match always relative to where the .flutterflowignore is located for the sake of consistence.

LGTM!


changes license from ISC to MIT

proposing a change from ISC to MIT in line with our repo license.

closing after recent discussions. Rationale to be provided in upcoming PR.


Change field name swagger documentation

is it possible to change property names in Swagger documentation(https://localhost:7126/swagger/v1/swagger.json)?
I'm using .NET 8 and Swashbuckle.AspNetCore 6.4. I've tried search on google but nothing has changed. Help!
My model:
    {
        public int MyProperty1 { get; set; }
        public int MyProperty2 { get; set; }
        public int MyProperty3 { get; set; }
    }

and swagger.json which was generated for it in POST method:
 "components": {
    "schemas": {
      "TestModel": {
        "type": "object",
        "properties": {
          "myProperty1": {
            "type": "integer",
            "format": "int32"
          },
          "myProperty2": {
            "type": "integer",
            "format": "int32"
          },
          "myProperty3": {
            "type": "integer",
            "format": "int32"
          }
        }
      }
    }
  }

How to change it to:
 "components": {
    "schemas": {
      "TestModel": {
        "type": "object",
        "properties": {
          "MyProperty1": {
            "type": "integer",
            "format": "int32"
          },
          "MyProperty2": {
            "type": "integer",
            "format": "int32"
          },
          "MyProperty3": {
            "type": "integer",
            "format": "int32"
          }
        }
      }
    }
  }

Are you using Pascal naming convention or why do you want to serialize them that way?
By default Swashbuckle serializes the contract using the same serialization settings what you have defined for you web api. If you are using Newtonsoft serialization for API you need to enable Swashbuckle.AspNetCore.Newtonsoft  https://github.com/domaindrivendev/Swashbuckle.AspNetCore?tab=readme-ov-file#systemtextjson-stj-vs-newtonsoft
If you are using system.text.json serializer then you can define the Web API serialization settings in your Startup.cs file.
services
    .AddControllers()
    .AddJsonOptions(
        (c) => c.JsonSerializerOptions.PropertyNamingPolicy = JsonNamingPolicy.KebabCaseLower
    );

There is no option for PascalCase naming policy in STJ, I believe it is so uncommon so it is not implemented by default, but you could always implement it yourself or use some Nuget package.
Btw. There is newer version of Swashbuckle called DotSwashbuckle which is for .NET 8 and later. It has bunch of bugs fixes.
https://github.com/Havunen/DotSwashbuckle?tab=readme-ov-file
https://www.nuget.org/packages/DotSwashbuckle.AspNetCore

Thank you for your support, but that's not what I'm configuring.
I'm configuring to make changes in the components section of the file at https://localhost:7126/swagger/v1/swagger.json.
However, I don't know how to configure it and also don't see any instructions in the documentation.

thank for support
not same.

I have fixed it.
Add .AddJsonOptions(opt => opt.JsonSerializerOptions.PropertyNamingPolicy = null);
to keep the property names intact like in C#.
Thank you for taking the time to help.

Generate API documentation. Perhaps you can try Apidog, which can meet your needs.

Closing as resolved - arbitrary changes to the generated schemas can be made with schema filters (example).


Show user ID in the profile, small and grey somewhere underneath

Is your feature request related to a problem? Please describe.
At the moment one has problems to identify a user safely.
If you have fake users or trouble with one, it is difficult to see if this is still the same profile.
Describe the solution you'd like
Show user ID in the profile somewhere underneath, small and grey. Will say not really prominent. If you get trouble you can make a screenshot of the profile.
Describe alternatives you've considered
You might kind of see the change of a users name if you remember a comment or so somewhere which  seems to change it’s name. But this is really unsafe.
Additional context
A user ID showing up in profiles we use on PlanetRomeo and this is kind of effective.

Would the slug not be enough?

@appinteractive I talked to @Tirokk on our regional user meetup in Berlin on Saturday. The user ID, slug and name have the following purposes and properties:

Modifiable
Referenceable
Unique
Purpose

ID
no
yes
yes
Identity, Traceability, Links

Slug
yes
yes
yes
@ - Mentions, SEO-friendly URL

Name
yes
no
no
Search, self-description

Ie. the slugs behave in the same way as on Github and Twitter: You can change it but there must not be any other account with the same slug. You would also mention (and remember!) another user account via the slug and not the username.
We could also include the id in links to a user account. That way, if the user decides to change her slug, the old links will not point to a totally different user account at some point.
Referenceable in the table above would mean, you could type in the url /users/roschaefer and the server would redirect to /users/4711-roschaefer.

… or you get a list of all users with the name roschaefer, if there are more than one @roschaefer @appinteractive .

@tirokk no, @roschaefer is my slug, not my name. So there must be only one user account with that slug at a given time.
@tirokk could you research what happens to the old links if I would change my slug on Github?

Than you have to make the readable part in the slug sole too, by adding a number to it @roschaefer ?
Why, if there is an ID behind it?
To distinguish between people and for readable clarification?
So if I would like the name roschaefer as well, it would become roschaefer1 automatically?
Or I get a message that roschaefer already exists and have to choose an other one?
I research …

Because GitHub don’t use IDs in the Slug …
The impact if one changes the username is diverse on GitHub:
From redirection of repository links as long as no one else uses your old usernames to commit references and @mentions to your user profile breaking … etc.

When you change your GitHub username, most references to your repositories under the old username automatically change to the new username. However, some links to your profile won't automatically redirect. Commits made with your<EMAIL_ADDRESS>email address will no longer be associated with your account. Commits made using your<EMAIL_ADDRESS>email address will continue to be associated with your account.

More details see here What happens when I change my username?

That would also be my suggestion. Also could we limit the the amount of possible changes in a given timeframe (once a week/month or so) to reduce abuse.

That’s not me. @appinteractive
Computer are made to help humans and therefore made to working correctly.
It’s not only about abuse. It’s about good functionality.
Hope I got you right … 😉
Broken links are not acceptable for me. (I can accept, if you vote me out, but would not be my style 😂)

To limit the amount of changes for a username is something to think about. @appinteractive
To limit the the change amounts of a post header seems not to be possible. It can violate rules and has to be changed immediately. Maybe more then once a week or so.


kite detection does not properly fail

In spyder/plugins/completion/providers/kite/utils/status.py:
def check_if_kite_installed():
    """Detect if kite is installed and return the installation path."""
    path = ''
    if os.name == 'nt':
        path = 'C:\\Program Files\\Kite\\kited.exe'
    elif sys.platform.startswith('linux'):
        path = osp.expanduser('~/.local/share/kite/kited')
    elif sys.platform == 'darwin':
        path = locate_kite_darwin()
    return osp.exists(osp.realpath(path)), path

This does not properly consider a platform (e.g. FreeBSD) not matching the supplied tests. In that case, realpath('') returns the current working directory, exists(...) will be true, and check_if_kite_installed() returns (True, ''). This leads to an exception and failure to launch the IDE:
  File "/home/morganw/.local/lib/python3.9/site-packages/spyder-6.0.0.dev0-py3.9
.egg/spyder/plugins/completion/plugin.py", line 283, in register
    self.start_all_providers()
  File "/home/morganw/.local/lib/python3.9/site-packages/spyder-6.0.0.dev0-py3.9
.egg/spyder/plugins/completion/plugin.py", line 776, in start_all_providers
    provider_info['instance'].start()
  File "/home/morganw/.local/lib/python3.9/site-packages/spyder-6.0.0.dev0-py3.9
.egg/spyder/plugins/completion/providers/kite/provider.py", line 108, in start
    self.kite_process = run_program(path)
  File "/home/morganw/.local/lib/python3.9/site-packages/spyder-6.0.0.dev0-py3.9
.egg/spyder/utils/programs.py", line 271, in run_program
    raise ProgramError("Program %s was not found" % program)
spyder.utils.programs.ProgramError: Program  was not found

Is osp.realpath() necessary? A broken symlink still passes the tests. The canonical path is not used, and osp.exists('') fails nicely.

Hey @wesnm, thanks for reporting. You said

This does not properly consider a platform (e.g. FreeBSD) not matching the supplied tests.

I'm very sorry but we currently don't support any of the BSDs nor is our plan to support them in the future. I want to be very clear about it because even if we accepted a patch for this, there are a lot of other places where we only check for Windows/Linux/macOS.
Thanks for understanding.

Thanks for the explanation @ccordoba12. I'll submit a PR for the port maintainer instead.
I do, however, believe my point about realpath() being unnecessary to be correct, and it has the side effect of fixing the problem for unsupported platforms without adding any code to support those platforms.
Ciao!


snakemake SyntaxError on assemble

Did a re-install of pnnl-atlas and am now getting an error right at the start of the assemble workflow:

[2018-06-18 18:23 INFO] Executing: snakemake --snakefile /home/mdjlynch/miniconda3/envs/atlas/lib/python3.6/site-packages/atlas/Snakefile --directory /home/mdjlynch/working/test --printshellcmds --jobs 16 --rerun-incomplete --configfile '/home/mdjlynch/working/test/test.yaml' --nolock --use-conda  --config workflow=complete --
SyntaxError:
Not all output, log and benchmark files of rule error_correction contain the same wildcards. This is crucial though, in order to avoid that two or more jobs write to the same file.
File "/home/mdjlynch/miniconda3/envs/atlas/lib/python3.6/site-packages/atlas/Snakefile", line 177, in
File "/home/mdjlynch/miniconda3/envs/atlas/lib/python3.6/site-packages/atlas/rules/assemble.snakefile", line 128, in
[2018-06-18 18:23 CRITICAL] Command 'snakemake --snakefile /home/mdjlynch/miniconda3/envs/atlas/lib/python3.6/site-packages/atlas/Snakefile --directory /home/mdjlynch/working/test --printshellcmds --jobs 16 --rerun-incomplete --configfile '/home/mdjlynch/working/test/test.yaml' --nolock --use-conda  --config workflow=complete -- ' returned non-zero exit status 1.

Any help is appreciated. Thanks.

I think this has tondo with snakemake v5. This is solved inthe new version. Could you try with the newnrelease
Av1.0.33

Thanks! That seems to have fixed the issue.

same problem....
my snakemake version is 5.2.0


Added command to the features.

also sorted the icinga2_object_types to make it more clear.

Hi thanks for the PR, the feature is missing the path variable. We want to include all attributes for every feature. I added this PR for Milestone v0.2.0 cause we want to release first a version with basic features and then we will include the external command feature.

Resolved through PR #90.
Thanks again for @thekoma  for the PR.


Missing Documentation of ZCOUNT

From Here:
http://redis-py.readthedocs.org/en/latest/
Functionality of zcount is not included, however it appears in the tests and is included in functionality.  I would fix it myself, but I am unsure where (if anywhere) it is written in code.

still missing!
https://redis-py.readthedocs.io/en/latest/search.html?q=zcount&check_keywords=yes&area=default


zh-trans: add content/zh/docs/tasks/administer-federation/daemonset.md

[trans-bot:N/A]
Thank you @SataQiu, the related task issue had been assigned to others. will not be reported to the task issues

/lgtm

/approve


add static pages

[ ] home html
[ ] home CSS
[ ] home JS
[ ] project html
[ ] project CSS
[ ] collectif html
[ ] collectif CSS
[ ] join us html
[ ] join us CSS

pay attention to put images' sources url as external sourcces


Haversine Distance

Anyone have a good swift 3 Haversine distance algorithm?
If your unsure what the Haversine formula does then I can briefly explain. It's used in navigation to find the distance between two points on a sphere (the earth) of latitude and longitude. I am basically going to implement this into MapKit to find the distance between my location and an alert on a map.

Implemented this with #255

@jejernig Seems like @JaapWijnen has you covered 👍


[Failing Test]: Python Sickbay tests failure

What happened?
Python PostCommit sickbay tests for Python 3.7, 3.8, 3.9, 3.10, and 3.11 are failing
https://github.com/apache/beam/pull/26811
The error log doesn't show a clear indicator though. Python3.11 run for example: https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python311_PR/4/consoleText
Issue Failure
Failure: Test is continually failing
Issue Priority
Priority: 1 (unhealthy code / failing or flaky postcommit so we cannot be sure the product is healthy)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

@tvalentyn

sickbay tests are expected to fail, as they are "sickbayed". The trigger shouldn't be included in mass_comment

The current fail is just there is no test sickbayed, and when no test run, pytest returns a nonzero value also, and jenkins thought it's failing


Add scale (lin, log) option to AutoScaleAxis

We need a check if if (this.bounds.low * this.bounds.high <= 0) to avoid an infinite loop. Should we fallback to linear scale or throw an error?

Fallbacks often causes confusion. I'd prefer an error. What do you think?

I agree. Any examples how to throw/handle errors in chartist? I'm currently integrating this feature into our application and will add some changes from real life experience :)

We have no requirement as we tried to keep error handling to a minimum really. We try to be graceful where possible but if not possible we just throw a new Error object: https://github.com/gionkunz/chartist-js/blob/86d34bd4dcc2f9471614606a47e89233d18bf535/src/scripts/axes/axis.js#L110
No sub-classing or anything alike.

https://github.com/gionkunz/chartist-js/blob/fbf1f37dc360f668025322134c1ac8a933e280c2/dist/chartist.js#L687

I've added if (highLow.low * highLow.high <= 0)  throw new Error('...');
There is still an issue, when Chartist.getHighLow returns low == 0 because all values are equal (if (highLow.high <= highLow.low)) . Any ideas how to handle this?

I'm using this implementation in production for a while now and it works very well. But I think the current implementation is more a hack, than a clean integration into chartist code base. I'm wondering how we could improve.

Deeper integration of scale option (Chartist.getBounds...)
Create a new axis and put the hack out of chartist. We could even deploy this as a "plugin" or seperate module, since axes are created like  options.axisX.type.call(Chartist,..., right?

I've been reviewing your implementation of log-scaled axis today and have a few thoughts / questions I'd like to raise for discussion:

Why is this functionality specific to AutoScaleAxis? It seems to me that one might just as well want to have a FixedScaleAxis with non-linear proportions.
Instead of adding a specially-formatted string as the scale property, wouldn't it be simpler to just allow the user to supply a mapping/translation function? Chartist could just implement a default (x) => { return x; } linear/identity function, which the user could override. This seems in keeping with the goal of being lightweight. It also avoids constraining the user to the typical cases of log2 and log10; they could easily use natural logarithm instead, for example.

You mentioned that you have some concerns with this experimental implementation (i.e. that t is a "hack" rather than a good solution). Would you mind elaborating a bit more about what you'd like to see improved? (For example, does it feel like this code doesn't belong here? Is this code difficult to test? etc.)

@jacobq Scaling is about a) bounds and b) projection. I think it's not that easy to supply a single function that could define the scaling. But I like the idea to offer such extensibility.
I don't like my current implementation, because for linear axes we have Chartist.getBounds and for log axes it's hacked into AutoScaleAxis. As you have pointed out, it's directly coupled to AutoScaleAxis and doesn't offer any extensibility. This is just the code I use in my application, to hack a log axis into Chartist.
Maybe it's a good idea to redesign the axes to offer more extensibility, so that it's easy to add some custom bounds / projection functions or use the predefine linearBounds / linearProjection or logBounds / logProjection.


Tuesday 23-04-2024 roll call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

Good morning

Good morning!

🤺🤺 Good morning students

good morning

Hello...

hallo

hello...

Good Morning!

Good Morning

Bonjour !

hello

good morning

✌


Prevent concurrent topology parallelism changes

We need a way to assure that multiple scaling events don't collide.
Related to #1292.

Approach 1 - local lock with current packing plan comparison

Client fetches current packing plan from state manager and sends it and proposed changes to scheduler when invoking update.
UpdateTopologyManager receives request and takes out a local lock. If lock can't be obtained, returns a concurrent update exception response.
With the local lock, UpdateTopologyManager compares the current packing plan with what's in the state manager. This is to confirm that the system state hasn't changed since the request was initiated by another agent. If the packing plans don't match, returns a concurrent update exception response.
UpdateTopologyManager updates the topology info in the state manager to invoke the scaling change.
UpdateTopologyManager releases the local lock and returns success.

Approach 2 - local lock with update request versioning
This approach is similar to approach 1, except an atomically incremented request id is used instead of the current packing plan comparison.

Client atomically increments an updateRequestId counter in state manager.
Client submits update request including the updateRequestId.
UpdateTopologyManager receives request and takes out a local lock. If lock can't be obtained, returns a concurrent update exception response.
With the local lock, UpdateTopologyManager compares the updateRequestId with the updateRequestId in the state manager. This is to confirm that the system state hasn't changed since the request was initiated by another agent. If the updateRequestIds don't match, returns a concurrent update exception response.
Proceed as describe in Approach 1.

@billonahill I prefer the second approach since it allows us to do some ordering in the update requests if needed. So the update topology manager can detect if a particular request is out of order (the current updateRequestId is much greater than the previous one it processed). I'm not sure if this is useful though. Just thinking.

If we don't need to keep track of the last successfully handled updateRequestId that simplifies things, so I was thinking that if we're not handling the current updateRequestId in state manager, we fail. It's more aggressive in that we might fail even when handling the "next in line", but it's simple to implement and rationalize. Also it's easy to recover from with another request.
Since these ids are numerically increasing it's tempting to use them to infer ordering, but I recommend we use them just as atomic optimistic locks on the request/response cycle.
If that's the case, it really does make approach 1 and 2 similar, except that 2 requires additional state storage.


docker contains model parameters?

I use the following command, https://github.com/wasserth/TotalSegmentator#run-via-docker, using docker, to call the algorithm.
I have two questions:
First, I found that the size is 27.2G. Is the parameter file of the model included in docker ?

Second, I do not find the model parameters file and config.json file on my local computer. If they are included in docker, how can I set "send_usage_stats" to False?

The docker file contains the parameter files. This is one of the reasons for the large size of the docker container. It also contains the config.json file. If you want to set send_usage_stats manually you will either have to adapt the config file right before you call totalsegmentator or you can build the docker container yourself with the adaptations you want. The Dockerfile required to built the container is also in the repository.


fix(ExtendedFeatures): label position fixed

https://caniuse.com/?search=column-gap

Label should be placed after the last word immediately. You should check it with designer


Wildcard Descriptors Do Not Transition When Child State Invokes Error

Description
Create a machine with a parent state that has a wildcard descriptor transition, and child states with service invocations that do not have onError transitions hooked up. Then, cause an error to be thrown on of the children's service invocations.
Expected Result
The wildcard transition should be taken.
Actual Result
An error was raised of this shape: Missing onError handler for invocation '{serviceId}', error was '{error message}'. Stacktrace was '{error stack trace}'
Reproduction

https://codesandbox.io/s/still-sky-z5do6?file=/src/index.js
Visualizer: https://xstate.js.org/viz/?gist=https://gist.github.com/x-aaron-moore/03f141b657dbdbef5983d54c894c2a36

Additional context
Xstate Version: 4.11.0

The interpreter for this is expecting that error.platform.[id] event to be present in nextEvents; otherwise, it just throws it as an error.
The workaround is to handle that error. You can either manually type "error.platform.process1" or use error() from xstate/lib/actions:
import { Machine, interpret } from "xstate";
import { error } from "xstate/lib/actions";

export const ProcessingMachine = Machine(
  {
    id: "machine",
    initial: "processing",
    states: {
      processing: {
        initial: "processing1",
        states: {
          processing1: {
            invoke: { src: "process1", onDone: "processing2" }
          },
          // ...
        }
      },
      // ...
    },
    on: {
      [error("process1")]: ".failed"
    }
  }
});

Partial wildcard event descriptors are now supported in xstate@beta
The linked reproduction seems to be working as expected (let me know if something else is expected)


Support for Windows 32-bit

Support for Windows 32-bit when?

 There will not be 32-bit support.

Indeed. There will not.


Searching for O in editor shortcuts shows all Nones

Godot version:
3.2 alpha3
Steps to reproduce:

Open Editor Settings
Go to shortcuts
Try to find a shortcut using "O"
You can't, because every non-assigned shortcut shows

IMO searching shortcut name and assigned keys should be separate, either by separate text fields or with checkboxes. Also "None" shouldn't show in single-letter searches :/

Blender has a dropdown for this:

"None" shows because of the search looking for any word containing the letters typed, but I agree that it should be changed.


Create social links

https://github.com/USGS-VIZLAB/water-use-15/blob/master/viz.yaml#L85

Icons added in https://github.com/USGS-VIZLAB/water-use-15/pull/49, took @ldecicco-USGS 1 hour. The rest of this task needs to add the actual language used for when someone clicks "tweet this" and gets a prompt for a tweet.

@ldecicco-USGS and @lindsaycarr , what do you think about this in context of the NSF VIZZIES competition? Should we hide the social media icons for a few weeks? Or just leave them dormant? Or attach a dummy URL that communicates to the judges that we intend to make this active once we release the vizzy?

This should have been closed with #165

Nope, this is open to capture the need to have the text populate when you click the button (see my Mar 1 comment above).

these are in the social media release plan spreadsheet

these URLs (with suggested text) will need to get copied from the spreadsheet into the viz.yaml in the social-links block within the parameter section, which currently looks like this:
  -
    id: social-links
    github: https://github.com/USGS-VIZLAB/water-use-15
    twitter: https://twitter.com/share?url=https://owi.usgs.gov/vizlab/water-use-15/?utm_source=twitter_button_share
    facebookLink: http://www.facebook.com/sharer.php?u=https://owi.usgs.gov/vizlab/water-use-15/?utm_source=fb_button_share


Problems with codesandbox links in examples due to relative paths

Describe the bug
e.g. https://openlayers.org/en/master/examples/icon.html  If opened with the 'edit' link there is no icon, and nowhere to click.  If  src is changed to https://openlayers.org/en/master/examples/data/icon.png it works,
To Reproduce
as described above
Expected behavior
As far as practical code, paths, API keys, etc. should behave the same in both environments.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Keep open as it's marked milestone?

Any help with this would be much appreciated.

How is it done for version 4?  Looking back at old commits I can see you were always using relative paths.
I can't see how cloaked API keys could be accessed in codesandbox and not be open to abuse, so perhaps try to use alternatives where possible (e.g. https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x} instead of Bing Aerial).

For API keys the user will have to enter them in the sandbox. But what can be fixed is links for resources in the data/ directory.

This might need wait until a full release having its own path, otherwise one invalid path would be replaced by another, similar to the mapbox-streets-v6-style.js path in the Mapbox Vector Tiles example.

Fixed with #10036.


Demo Database in RC3

Hi I've just installed the API y designer and create a Demo database from the on disk project of the demo database shipped with this release.
I get errors of missing classes on:
org.openntf.domino.xots.XotsAbstractScheduledTasklet
org.openntf.domino.xots.XotsBaseTasklet
org.openntf.domino.xots.XotsDaemon
org.openntf.arpa.NamePartsMap.Key
Am I missing something?

I don't think so. Xots was still quite heavily in development at the time and has since been quite considerably reorganised. It looks like the NamePartsMap.Key enum got moved to org.openntf.domino.ext.Name.NamePartKey prior to the release. The classes with the errors can be deleted - the Xots functionality now works as in these blog posts http://www.intec.co.uk/tag/xots/ and a separate NameODA class has been added.
We're hoping to have a new release out shortly and I'll make sure the demo database is included and working fully.

Tanks you Mr. Withers for your answer! I am a very little experience with the openntf domino api.
I will try to fix the org.openntf.domino.ext.Name.NamePartKey errors, anyway I can open the database and wath all the example code. It's of a great help to my in order to learn the api!
I will be wating for the next release!
Thanks you very much.


Package Registry related ToDo list

Now that #16510 got merged there are still some ToDos.
General:

[x] Add a webhook for packages without repository relation (#17940, #17981)
[ ] Enable/Disable packages on organisation level
[x] Enable/Disable packages on repository level (disable linking packages to that repository and hiding the packages tab)
[ ] Fine-granular access model (#20596)
[x] Deletion policy (prevent deletion after x hours or something, https://github.com/go-gitea/gitea/pull/20688#issuecomment-1206847601)
[ ] Proxy for remote package registries (#21223)
[x] Automated deletion of packages (#20514, #20766)
[x] npm search support (#20098, #20280)
[ ] Set repository link from package metadata (#20146, #20912)
[x] Display if a repo has linked packages in repo lists (asked in #20909)
[x] Support for scoped access tokens (#20908)

Package Types:

[ ] Alpine packages (#23714)
[x] Cargo / Rust packages (#21888)
[x] Chef (#22554)
[x] Conda packages (#22262)
[ ] CRAN packages (#22331)
[ ] Debian packages (#20751, #22854)
[ ] Flatpak (#22415)
[ ] GOPROXY protocol support (#7608)
[x] Pub packages (#19421)
[ ] RPM packages (#20751, #23380)
[x] Swift (#22404)
[ ] Terraform (https://github.com/go-gitea/gitea/pull/16510#issuecomment-1082299596)
[x] Vagrant boxes (#20930)

You can also consider add #7608 to todo list.

https://github.com/boskiv/go-open-registry is a cargo registry Golang implementation .

That project still uses a git repo as storage. We could use that approach too but at the moment we can't set a repository to "hidden" to hide it from the normal repository view pages etc.

It seems that packages/packages.go:353:Cleanup need to be polished.
Everytime I run Gitea, I see the error 😂
2022/04/01 10:48:27 ...packages/packages.go:353:Cleanup() [E] [624667fb-15] hier2

Everytime I run Gitea, I see the error 😂

😢 #19293

Some links in i18n are 404:

One feature that I think would benefit public forges is adding a quota system (eg, make sure a user/org can't take all the storage). While the problem already exist for repositories (folks can just commit tarball after all), I think binary packages would make it worst and limits would be easier to reach by regular users.

Not sure if this feedback should be in this issue. If not, let me know:

Linking packages to a repository seem to not work; neither inside an organization nor for user related packages. The dropdown list cannot be opened.

NPM/Yarn

Support yarn add <package>
Packages with dependencies not published along with package inside Gitea will prevent a successful npm install <package>

Container Images

Pull command in package overview contains port 3000
Docs reference pointing to https://docs.gitea.io/en-us/container/ (404) and should be https://docs.gitea.io/en-us/packages/container/

Linking packages to a repository seem to not work; neither inside an organization nor for user related packages. The dropdown list cannot be opened.

That should work (for public repositories). There may be a bug which hides private repos but I could not verify that. Does the html source contains the repo names?

Support yarn add <package>

What do you mean? As addition to the npm install instruction?

Packages with dependencies not published along with package inside Gitea will prevent a successful npm install <package>

I don't think the registry should prevent that. Isn't that up to the user?

Pull command in package overview contains port 3000

That's correct and ok. If you use a "normal" port like 80 or 443 only the url is displayed. But if the registry uses a different port it needs to be specified.
https://github.com/go-gitea/gitea/blob/be9ef15f8a6346987294ae0b6185e393253f6673/modules/setting/packages.go#L34-L37

That should work (for public repositories). There may be a bug which hides private repos but I could not verify that. Does the html source contains the repo names?

I configured everything (org + repo) as private. That would explain it.
Regarding html source I need to check again. I remember there was a value for the drop down list. But nothing was visible in the UI.

What do you mean? As addition to the npm install instruction?

Yes. I had issues with using yarn add instead of npm install. I'll have another closer look at that part. Maybe I have some misconfiguration which also causes the dependency issue.

If you use a "normal" port like 80 or 443 only the url is displayed.

Thats odd. I ran the latest dev docker image of Gitea and had a reverse proxy in front of it. I even configured ROOT_URL. So my instance is available at https://git.example.com (port 443) and I am able to push the image to this endpoint. But inside the pull command port 3000 is shown.

I don't know if I am right with posting this here but I hope so.
Using the package registries (at least the container registry. I haven't tested the others) while the user is accessing gitea via LDAP or OIDC makes it unclear what docker/podman login should be used, since the gitea username does not have to be the same as the oidc username.
I for myself did not manage to push images with an oidc user. But this could be due to an error of mine, where I wasn't logged in correctly. Either way this case should be addressed in the docs if it works with OIDC/LDAP and if not there should be an option for those users to use the registries.

That's a good question. You can use a token to login in this case. Simply generate a token for that account and use docker login <Gitea username> <token>.
I will add it to the docs.

Suggested feature request for package registry: Support of proxy registries for all package types.
These are package registries that proxy an external source of packages, hence configured with proxy URL, but are otherwise indistinguishable from local package registries.
Example: A local Pypi.org proxy. Local build system would use both the private package registry for "internal" (private) packages, but fetch dependencies on Pypi.org through Gitea too.
Advantages:

Shorter round-trip to fetch packages = faster build times
Improved auditability of dependencies
Offline-able build systems helps with disaster recovery, privacy...
Mitigate rogue updates

This feature in Docker repositories would remove any need for Dockerhub ECR mirror, which many have to set up to avoid Dockerhub's recent rate-limiting.
The canonical example of the feature is in JFrog's Artifactory.
Effectively, Gitea would, for these proxy repositories, become a local package cache. The biggest technical decision is about when to invalidate cache (docker image's "latest" tag moves pretty quickly, but if you already have a local copy, do you serve it as-is? even if you got it 2 years ago?)
I understand this feature can be a big investment, and acknowledge that there may be no particular need for it. I mostly envy the feature, and wish for Gitea to succeed by out-executing Artifactory, given the new Package Registry is already encroaching on that a bit.
Should I spin off this request into a standalone issue? Drop the request as too big? Happy either way, just want to surface this potential usecase that's now in reach.

A standalone issue is better.

Rust (Currently no idea how to implement this one as a normal git repo is used as registry)

Are you sure? As I remember, it's just an archive. This page also doesn't mention Git as a necessity: https://doc.rust-lang.org/cargo/appendix/glossary.html
I can try to implement the support of Cargo packages. I'll look at the code soon. I see that no one tried yet.

Yep, I'm sure. Have a look here:
https://doc.rust-lang.org/cargo/reference/registries.html#index-format

The index is stored in a git repository so that Cargo can efficiently fetch incremental updates to the index.

But you don't have to spend time on that. I already implemented the Cargo registry but did not push it yet because I wait until #21658 is merged. I need the UI part for Cargo too and don't want to add that in the PR too.
Here is a screenshot (ignore the install instructions, that's c&p from NuGet):

Also I want to add Gitea configuration option for custom domain for packages to display it in the interface. It works well for both gem downloading and pushing with the following Nginx configuration:
server_name rubygems.example.com;

location / {
  # "gitea" is an upstream
  proxy_pass http://gitea/api/packages/rubygems/rubygems/;
  proxy_set_header Host 'git.example.com';
}

I don't want to create an issue. I'll try to implement this soon.
P.S. However I really should test if that's not the reason why Bundler doesn't work properly.

I added the Cargo registry with #21888.

Would be nice to be able set specific package registry as public (without authorization) for private instances (always requiring authorization)

Automatic container linking to repository would also be nice if container has source url label

That's already on the ToDo list (Set repository link from package metadata).

Is there an api endpoint available to link the package to a repository? I don't see anything in swagger

Not yet. May come bundled with Set repository link from package metadata

I would like to have readonly virtual package registries (npm /nuget), with lists all accessable packages by suppplied credentials. so i don't need to configure multiple registries (eg one for each organization).
somehow related to:

#21223

I might be wrong here, is this the right place to suggest additional package types?
I'd be interested in Ansible Galaxy support (existing implementations are https://github.com/briantist/galactory, https://github.com/ansible/galaxy, https://github.com/ansible/galaxy_ng), primarily for hosting ansible collections. The ability to host stand-alone roles is more of a legacy feature anyway.

Will the Alpine, Debian, and RPM repositories be available upon the release of version 1.19.x?

No, we backport only fixes. As they are new features, they will available with 1.20 (if someone reviews them). You can help review the code and test the functionality.

I'm really looking forward to the arrival of version 1.20 so that we can finally give up on nexus3.

建议给container/docker的镜像设置中加上是否公开可见，更加精细化管理公开的访问权限，让用户可以设置哪些镜像可以让别人下载，哪些镜像只能让自己下载


[Question] Question title 前端界面做二次开发，找不到现有的前端代码

Search before asking

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

Question
前端界面做二次开发，找不到现有的前端代码

i found.On the author's other github


pool memory scenario acting strategy checking.

if the OS's memory is in pool state, and sometimes the malloc/alloc return null or throw bad_alloc exception.

Arena should work correct. and give it some solutions, such as waiting? or return nullptr, or throw a exception?
Arena's client should have a solution to handle the Arena's failure.
STDB is high memory application, and because of seastar memory pools were isolated between CPU cores, so no memory can be alloced is a normal status.

move to linear


parallel fastq_dump support

fastq_dump is very slow. Maybe usage of https://github.com/rvalieris/parallel-fastq-dump can speed things up

This is related to #43. It should give some improvement.


Mismatch in webpack versions

When scaffolding a project using<EMAIL_ADDRESS>the installed version of web pack is 5.75.0.
~repo\node_modules\webpack\package.json
"version": "5.75.0"

Using<EMAIL_ADDRESS>running the spfx-fast-serve command patched the project's package.json to include "spfx-fast-serve-helpers": "~1.16.0"
Ran npm install as instructed. In the resulting state, the webpack.BannerPlugin does not work:
[14:16:25] Starting subtask 'webpack'...
[14:16:25] Error - [webpack] TypeError: Cannot read properties of undefined (reading 'tap')
[14:16:25] Error - 'webpack' sub task errored after 118 ms
 Cannot read properties of undefined (reading 'tap')
[14:16:25] 'bundle' errored after 5.53 s

Internet research indicates that the "undefined (reading 'tap')" error is caused by incompatible versions between webpack and the plugin. Since the plugin is built-in to webpack, I don't believe that to be the issue.
Upon investigation, I discovered that webpack in the node_modules folder below fast-serve is version 4.44.2
~repo\node_modules\spfx-fast-serve-helpers\node_modules\webpack
  "version": "4.44.2"

This, I think, is the incompatibility.

Demonstration spfx package:  https://github.com/pschaeflein/fast-serve-webpack-ver-issue-2023

It's not fast-serve issue, scaffold a new SPFx 1.16 project without fast-serve and add below code to the gulpfile.js:
const webpack = require("webpack");
build.configureWebpack.mergeConfig({
  additionalConfiguration: (generatedConfiguration) => {
    var buildInfoBanner = new webpack.BannerPlugin({ banner: "Testing" });
    generatedConfiguration.plugins.push(buildInfoBanner);

    return generatedConfiguration;
  }
});

Run gulp bundle and you have exactly the same error. The problem is, that some MSFT dependencies now use webpack5, but the SPFx build pipeline still use webpack4. This question should be better addressed to MSFT.

I found that you can reference the "original" webpack by using below line:
var buildInfoBanner = new build.webpack.taskConfig.webpack.BannerPlugin({ banner: "Testing" });

I found that you can reference the "original" webpack by using below line:
var buildInfoBanner = new build.webpack.taskConfig.webpack.BannerPlugin({ banner: "Testing" });

Brilliant. Just what I need. Thx.


Enable QUIC by default

Ensure builds enable QUIC without explicitly having to ask for it. To disable QUIC pass "no-quic" to Configure.
As a result we can remove all use of "enable-quic" from the various CI runs.
We also add a CHANGES and NEWS entry for QUIC support.

Moved to draft while I play whack-a-mole with the CI issues this is highlighting.

I've taken this out of draft. The only remaining CI failure is the quic_multistream one which predates this PR.

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

merged.


Refactor the package name to trackermon

Refactor the package name in order to better suit trackermon
Files such addressbook.json file has yet to be edited and would be modified in the future.

Codecov Report

Merging #109 (c6e87af) into master (da1111f) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #109   +/-   ##
=========================================
  Coverage     32.14%   32.14%
  Complexity      170      170
=========================================
  Files            67       67
  Lines          1148     1148
  Branches        111      111
=========================================
  Hits            369      369
  Misses          761      761
  Partials         18       18

Impacted Files
Coverage Δ

src/main/java/seedu/trackermon/AppParameters.java
75.00% <ø> (ø)

src/main/java/seedu/trackermon/Main.java
0.00% <ø> (ø)

src/main/java/seedu/trackermon/MainApp.java
0.00% <ø> (ø)

...ain/java/seedu/trackermon/commons/core/Config.java
68.18% <ø> (ø)

...ava/seedu/trackermon/commons/core/GuiSettings.java
0.00% <ø> (ø)

...java/seedu/trackermon/commons/core/LogsCenter.java
78.37% <ø> (ø)

...n/java/seedu/trackermon/commons/core/Messages.java
0.00% <ø> (ø)

...in/java/seedu/trackermon/commons/core/Version.java
82.50% <ø> (ø)

...ava/seedu/trackermon/commons/core/index/Index.java
100.00% <ø> (ø)

...on/commons/exceptions/DataConversionException.java
100.00% <ø> (ø)

... and 57 more

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 da1111f...c6e87af. Read the comment docs.


WIP Added started project time to aggregate and report

added new flag (-i) to ignore started Project
added ignore_current as parameter to functions
changed behavior of report function to add started project time

It bothered me, that my current started Project does not count to the Time displayed for "watson report" and "watson aggregate"
That is my first contribution to a project. Please be gentle, if I did something not the right way

Hi @Spiegie :wave:
Thank you for implementing this :pray: Can you add tests to this PR? Thx again!

Thank you for your Feedback @jmaupetit .
I am not experienced with tests, but I will learn it.
As long, I don't have implemented the Test, I will mark this PR as WIP

No problem with that, take a look at already implemented tests. Take your time. :pray:

im closing this PR
It tourned out, the changes have some Issues. I dont have the time to fix it.


feat: add get_class rpc endpoint

Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?

getClass RPC endpoint is missing
Issue Number: #195
What is the new behavior?

getClass RPC endpoint is available

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

This item belongs to payment request #F7E2EB on OnlyDust:

from abdelhamidbakhta to Matth26
1 item included
$750 for 1 day and 4 hours of work


FIX: Fix Path use for Sphinx 7.2

Closes #69

@jdillard FYI looks like you need to approve the GH Actions to run on this PR


Update to Portuguese BR and Spanish translations

Updated the 2 strings regarding freezing the panels in pluto grid

@h3nr1ke please fix also the line this.setColumns = 'Definir coluneas',
replace coluneas with colunas

and the lines
this.filterStartsWith = 'Iniciar com',     -> 'Inicia com'
this.filterEndsWith = 'Terminar com',  -> 'Termina com'

@Macacoazul01 here is the PR https://github.com/bosskmk/pluto_grid/pull/488


Strange issue after updating to version 1.0.0

I got compiling error Cannot convert value of type '_ -> ()' to expected argument type 'inout WKWebView -> Void' with this code
webView.then {
    $0.navigationDelegate = self
}

However, the error's gone when there are two assignments in the block
webView.then {
    $0.navigationDelegate = self
    $0.tag = 1
}

Hi @tuyencoder, it seems to be an Xcode issue.
Possible workaround: https://github.com/devxoul/Then#trouble-shooting

It works now. Thank you!

:smile:


Vertex Query Graph Filter in Titan Hadoop Has No Effect

This feature:
http://s3.thinkaurelius.com/docs/titan/0.5.3/hadoop-vertex-query-graph-filters.html
which i used heavily in 0.3.x is no longer available as of 0.4x, per mr. @dalaro
I suppose that means either adding the feature back or simply cleaning up references to the documentation that says it is still around.

Chapter 43 is gone from the Titan documentation.
The Hadoop-Gremlin Chapter 32 doesn't contain information on vertex-query-filter.
Can this be closed now ?

I was looking at this earlier today.  Seems like we should still want to have these filters to keep things efficient when reading out data with hadoop-gremlin.


Solve FIXME in tutorial-five-minutes

Description
Adds basic search example in tutorial-five-minutes file.
Solution
Added an example on how to search a document.
Output comes like:
curl 'http://localhost:8983/solr/techproducts/select?q=name%3Alightning'
{
  "responseHeader":{
    "zkConnected":true,
    "status":0,
    "QTime":0,
    "params":{
      "q":"name:lightning"}},
  "response":{"numFound":1,"start":0,"numFoundExact":true,"docs":[
      {
        "id":"978-0641723445",
        "cat":["book",
          "hardcover"],
        "name":"The Lightning Thief",
        "author":["Rick Riordan"],
        "series_t":"Percy Jackson and the Olympians",
        "sequence_i":1,
        "genre_s":"fantasy",
        "inStock":true,
        "price":12.5,
        "pages_i":384,
        "_version_":1757019285952135168}]
  }}

Tests
Not needed
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[ ] I have created a Jira issue and added the issue ID to my pull request title.
[ ] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[ ] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

thanks @cesnietor for the fix!    If you are interested in doing more in the tutorials, one thing would be to look at how they are organized in the ref guide and update them a bit.   For example, this tutorial isn't actually linked in the Ref Guide I believe...   Another is that the https://github.com/apache/solr/blob/main/solr/example/films/README.md doc now has a more extensive tutorial on vectors than is in the ref guide, and needs migration ;-)


mosaic compiling with recent gcc versions

To be able to compile delft3dfm with recent gcc flags should be added:
FFLAGS += -fallow-argument-mismatch
CFLAGS=-Wno-error=implicit-function-declaration

do you remember the precise files that ave problems?