use MetadataFromTitle output in final file name

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

is there a way to use the metadata extracted from the title with the MetadataFromTitle postprocessor in the final file name? from what i can tell the final file name is being generated before the postprocessor is being run (this makes sense, it is a postprocessor after all) but that means when i try and format my files in a way plex likes i end up with NA - S0NAE0NA - NA.mkv. this isnt overly useful unfortunatly. i think i could make it work with the ExecAfterDownload postprocessor and some shell commands but that feels messy when this seems like something that should be possable directly with youtube-dl

What if you run yt-dl twice with different parameters, so that on pass one you generate the info JSON with the edited metadata and on pass 2 you actually d/l the media and name it using the previously generated info JSON?

thanks, ill have a look at doing that

so i have ended up writing my own post processor (see #32679) because i want to do the meta data extraction a bit differently too (the built in one cant handle extracting ints for season and episode numbers), and i realised it would be fairly easy to genrelise it to be a RenameFromMetadata post processor. is that something that would be worth me sticking in a PR?

My comment in #32679 applies here too.

see https://github.com/ytdl-org/youtube-dl/issues/32679#issuecomment-1870245917


Support for node@6 - second try

Closes: https://github.com/atlassian/yarn-deduplicate/issues/26

@scinos Sorry for the not working first try. I am used to GitLab CI and Travis CI, and they both run the CI also on MRs. Not very user friendly! It all boiled down to a config error. I have updated the circle ci config and you can see it running beautifully at: https://circleci.com/gh/leipert/yarn-deduplicate/tree/node-6-support-number-2
Here is the status badge for the current branch: https://circleci.com/gh/leipert/yarn-deduplicate/tree/node-6-support-number-2

@scinos Friendly nudge 👍


Associate NetworkingActions with Ports, not Nics.

Right now, the schema for NetworkignActions has a foreign key referencing the nic table. As a result, We can't do any port operations on ports that don't have an associated nic. This blocks #761.
It shouldn't be a huge change to have a port_id instead of a nic_id; we'd need to tweak a few other bits to match, but I don't think it would be that hard.
//cc @henn, @naved001

I made some quick changes to support this. I have associated NetworkingActions with Ports, in addition to Nics, that way I didn't have to modify all the other functions. so minimal changes. I can call revert port on a port that's not attached to a nic.
If this approach seems reasonable, then I can finish this up otherwise I am open to other suggestions.

I don't like having the redundancy, and I worry that allowing the nic to be null is going to introduce bugs.
We can probably spoof the old nic property with the @property decorator, and maybe even shove a deprecation warning in the getter/setter. This solves the redundancy issue, but not the null concern.
I'd also like to actually look and try to estimate how much work it would be to just update everything, and what the result would look like.

I'd also like to actually look and try to estimate how much work it would be to just update everything, and what the result would look like.

I tried to estimate how much work would it be but ended updating everything. I'll make a PR soon.

Should we close this issue if we are going for a more generic mechanism? See this comment

Yeah, good call. Closing.


CSUB-471: Proof of Stake

Description of proposed changes

Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[ ] The positive scenario is exercised
[ ] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

Rebased

Codecov Report

Merging #1031 (9b06dbd) into dev (8fb90a2) will decrease coverage by 2.50%.
The diff coverage is 6.82%.

:exclamation: Current head 9b06dbd differs from pull request most recent head c51c672. Consider uploading reports for the commit c51c672 to get more accurate results

@@            Coverage Diff             @@
##              dev    #1031      +/-   ##
==========================================
- Coverage   77.56%   75.06%   -2.50%
==========================================
  Files          74       75       +1
  Lines       10395    10657     +262
==========================================
- Hits         8063     8000      -63
- Misses       2332     2657     +325

Impacted Files
Coverage Δ

node/src/chain_spec.rs
0.00% <0.00%> (ø)

node/src/service.rs
0.00% <0.00%> (ø)

pallets/creditcoin/src/types.rs
92.78% <ø> (-0.02%)
:arrow_down:

runtime/src/version.rs
0.00% <ø> (ø)

runtime/src/lib.rs
16.29% <17.44%> (-6.46%)
:arrow_down:

pallets/pos-switch/src/lib.rs
33.33% <33.33%> (ø)

test/client/src/lib.rs
69.59% <78.12%> (+7.09%)
:arrow_up:

... and 22 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


When Tokens Include Spaces Using a Space in the Search Term Stops the Suggestions

I have spaces in my datums.  For instance:
{ value:"apple",tokens:["apple"] }, { value:"great ape",tokens:["great ape"] }
When typing "great" the suggestion returns "great ape".  But when typing "great " (with a space), no suggestions are returned.
The main issue here is that I WANT the token to HAVE a space.  I don't want this behavior of typing a search like "ap" and getting "great ape" in the results.

This seems like a basic issue with matching algorithm's ability to handle words with spaces. Could you please tag this for improvement.


[webpubsub] text content type fix

API changes have been detected in azure-messaging-webpubsubservice. You can review API changes here


Use webpack to load css stylesheet into modules

Use the Webpack build package in order to allow the import of CSS files into the react project

Closing this because I am gonna leave the style at the user's discretion.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1739 ms

Resolved: Bofrost.at performance has improved in 828722f.


Windows 11 Err(Os { code: 10022, kind: InvalidInput, message: "An invalid argument was supplied." }) recv_from

same issue as here https://github.com/libpnet/libpnet/issues/453
any workaround or idea?
Im using a send and receive socket. Receive is the one that errs. Works on linux && macos.

Can you share what you're doing? For example some code?

Something like this.. but I cant even use Type to test the min example.. any idea why? It works fine in the actual project but not here...
use socket2::{Domain, Protocol, SockAddr, Socket, Type};
use std::mem::MaybeUninit;
use std::net::SocketAddr;
fn main() -> std::io::Result<()> {
    let socket_type = Type::RAW;

    let receive = Socket::new(Domain::IPV4, socket_type, Some(Protocol::ICMPV4))?;
    let send = Socket::new(Domain::IPV4, socket_type, Some(Protocol::ICMPV4))?;

    send.send_to(
        &[0u8; 64],
        &SockAddr::from(SocketAddr::new([8, 8, 8, 8].into(), 0)),
    )
    .unwrap();

    let mut buf = [MaybeUninit::<u8>::uninit(); 64];

    receive.recv_from(&mut buf).unwrap();

    println!("{:?}", receive);

    Ok(())
}

Im building a simple trace app.
I tried binding both sockets to the same address which takes care of the error... but I get nothing back...
what am I missing here?

You can't send to port 0, in the line &SockAddr::from(SocketAddr::new([8, 8, 8, 8].into(), 0)).

is this a windows specific problem? because using 0 on mac or linux works fine

The real problem here is the sockets do not work the same way across all 3 platforms, though claim to.
If an ICMP socket requires a port # in windows thats a bug IMO as ports arent really a thing in ICMP.
The other problem is I can receive on a socket in macos and linux without calling bind directly. Calling recv_from yields "An invalid argument was supplied" in windows but not in linux or macos when bind is not called directly...

is this a windows specific problem? because using 0 on mac or linux works fine

I don't know. I don't use ICMP often, at least I don't program it.

The real problem here is the API does not work the same way across all 3 platforms.
If an ICMP socket requires a port # in windows thats a bug IMO, and needs to be handled under the API, or documented as ports arent really a thing in ICMP.
The other problem is I can receive on a socket in macos and linux without calling bind directly. Calling recv_from yields "An invalid argument was supplied" in windows but not in linux or macos when bind is not called directly...

Socket2 doesn't really provide too much in term of cross platform support. We just expose the libc/windows-sys functions in a (slightly) safer/ergonomic way. It still requires OS specific knowledge is many cases. I'm afraid the API surface of Socket2 is too large to document all platform differences.

problem was 2 fold 1) need to bind to <IP_ADDRESS>:0 in win 2) checksum. It appears windows has some enforcement mechanism over raw sockets....

@ns-blee can this be closed?


Can startsWith Function Be Optimized?

Use case
Let's say I have a table which has +- 500K rows and is ordered by keyword. Create table query is;
CREATE TABLE DEMO (keyword String) ENGINE = MergeTree() ORDER BY (keyword) SETTINGS index_granularity = 8192
When I query for a specific keyword, for instance
 select * from DEMO where keyword ='hastalık'
It processes 8K rows since it is ordered by keyword. But when I query with a 'startsWith' clause;
select count() from DEMO where startsWith(keyword, 'h')
It processes all 500K rows. It is already ordered so why does it process all the rows?

Duplicate #5310.


New issue on Google Chat

Hi there,
Since this morning I have an issue to connect to Google Chat, the message (in French) says : "Unfortunately, Google Chat is not compatible with your current browser" as you can see on the attached file.
I tried to delete the Google Chat service and recreate it but it did not change anything.
Do you have the same issue ? Do you know how to solve it ?
Thanks !

Duplicate of #575 and #1273 - please see the workarounds over there.

@juliepellerin - if the workarounds in the linked issues work for you - I would request you to close this issue and follow one/both of those. Please report back so that we can fix anything else that we are not yet aware of.

Sorry but, as I am not familiar at all on coding, I did not succeed in doing the workarounds detailed in the linked issues...

@juliepellerin - let me try to help you. Could you please post the information about what Operating system? What version of Ferdi?
Inside of Ferdi preferences for your OS, can you please click on the "Services" on the left? Once it lists the services that you have signed-up for/configured, on the bottom of the right pane, it will show "Open User.js" - please click on this button, it should open the "Windows Explorer (for Windows) or Finder (for Mac). Copy this location and please send that across as well - so that I can type in exact steps to help.

Please find as attached documents the operating system and Ferdi Version.
Regarding the "Services" it is only written "No adequate service"

@vraravam  I just try again in Ferdi and Google Chat works ! I did not do any changes but for now it is working ! I am closing the ticket and will come back if the issue reappears. Thanks for your support

@juliepellerin - if it happens again, then do the following:

Go to Ferdi > Preferences > Services
Click on the service (in this case, i would assume "hangouts chat")
On the right, pane, it will show "Open User.js" - click on this - it should open the "Finder" Application in macos.
Quit Ferdi
Go up 1 level to the "recipes folder" - and delete all the sub-folders there.
Start Ferdi

This should - in effect re-populate the recipes from what was bundled inside the application itself.
btw: I would strongly suggest that you get the version of Ferdi from this folder - please use the latest file that is appropriate for your Mac hardware (either x86 or ARM)


PERF: Speed up values_to_dict via cache trick

[ ] closes #xxxx
[x] whatsnew entry

functools.cache or functools.lru_cache don't support immutable variable.
An idea to speed up values_to_dict is to build a cache decorator.

How to hash the pandas object?
This is a hard problem.


Create the ask-astro-dev backend and dev slack workspace

Create the ask-astro-dev backend in Ask-Astro GCP account
Create a dev slack workspace.

Link for GCP cloud run
Link to slack workspace


CardView inside RycyclerView on devices < L

Error occurs when I try to use your library on CardView inside RecyclerView on devices older then L, but on Lollipop devices everything is fine. Throws java.lang.ClassCastException: dreamers.graphics.RippleDrawable cannot be cast to android.support.v7.widget.RoundRectDrawableWithShadow.
What is wrong?
Thanks in advance.

because use replaced CardViews original background, set ripple to inner view


Support for custom Clang "bin" directory

Proposal for #199.
If the Clang binaries are not in %PATH% and if Clang cannot be installed in "Program Files" due to missing rights, the user can manually specify the location of the Clang "bin" directory in the "General" section of the plugin settings page.
When specified, this path is transmitted to the PowerShell script via the "-clang-bin-dir" parameter.
The script will search for the Clang binaries in the following order:

%PATH%
the manual Clang "bin" directory override (the "-clang-bin-dir" parameter, if present)
%ProgramW6432%\LLVM\bin (64-bit Clang default installed on 64-bit Windows)
%ProgramFiles(x86)%\LLVM\bin (32-bit Clang default installed on 64-bit Windows)

Do you think we should offer the mechanism to override the Clang binaries if they are already accessible from %PATH% ?
TODO: If reviews are fine, the docs/README.md should document this mechanism. An updated screenshot of the General settings page should show the new option.

Thanks for the review.
I used FolderNameEditor because you can easily browse for the folder. Unfortunately, I couldn't make it display a default text directly. Probably I need to dive more into the Shell APIs.

Please see the new implementation in #300.


Temperature parameter is not used

The bug
I was trying top implement the top_p sampling for this library, when I also notice that the temperature parameter is not passed along the chain when using gen.
Specifically is always 0.0 here guidance/models/_model.py#L681.
I also think it should be passed somehow via the lm._run_stateless function, but here guidance/models/_model.py#L330 nothing is passed, also the temperature attribute is not set for the lm object there.
To Reproduce
Give a full working code snippet that can be pasted into a notebook cell or python file. Make sure to include the LLM load step so we know which model you are using.

from guidance import models, gen
lm = models.Transformers("TheBloke/vicuna-7B-v1.5-GPTQ")
lm + f'Do you want a joke or a poem? ' + gen(stop='.', temperature=0.7)

System info (please complete the following information):

OS (e.g. Ubuntu, Windows 11, Mac OS, etc.):  Ubuntu 22.04.03
Guidance Version (guidance.__version__):  0.1.10

The current temperature controls only work directly through the temperature arg to gen. The global temperature setting on the model object was a legacy thing. I was just working on how we can allow higher level temperature control (and also top_p) in a way that allows it to vary throughout the grammar. Your input is welcome, right now I am thinking something like:
# what we have right now
lm += gen('value', temperature=0.8)

# a block level support (not yet implemented)
with temperature(0.8):
    lm += gen('value')

# a global setting that is like a block that never closes
lm = lm.temperature(0.8)

These new ways should all set the temperature in the grammar (as opposed to a flag on the model object). I also imagine these global and block mechanisms working for other types of controls as well (like top_p).

I with with temperature is a good idea, though it might be kind of annoying if you want multiple gen calls with different temperatures.

Inner temperature settings take priority over higher ones, so you can always override an out with block with temperature args to each gen call.


Consider making fscacher.test self-contained

I was trying to solve the issue discussed in https://bugs.debian.org/1079398#10 . For Debian's autopkgtest infra to work properly, the following patch will be needed, as discussed in https://lists.debian.org/debian-python/2024/11/msg00016.html :
--- fscacher-0.4.1.orig/src/fscacher/tests/test_cache.py
+++ fscacher-0.4.1/src/fscacher/tests/test_cache.py
@@ -8,8 +8,8 @@ import subprocess
 import sys
 import time
 import pytest
-from .. import PersistentCache
-from ..cache import DirFingerprint, FileFingerprint
+from fscacher import PersistentCache
+from fscacher.cache import DirFingerprint, FileFingerprint

 platform_system = platform.system().lower()
 on_windows = platform_system == "windows"
--- fscacher-0.4.1.orig/src/fscacher/tests/test_util.py
+++ fscacher-0.4.1/src/fscacher/tests/test_util.py
@@ -1,5 +1,5 @@
 import pytest
-from ..cache import xor_bytes
+from fscacher.cache import xor_bytes

 @pytest.mark.parametrize(

I believe the logic is that tests should be self-contained, and not a subpackage under the fscacher namespace that utilizes relative import. Now I am wondering if that patch makes sense to you.
Besides, with this patch, the /src/fscacher/tests/ directory can also be moved to the top dir and not nested under /src/fscacher/. That is just a wishlist item and you can decide whether that is useful.

ha, thanks @hosiet .  I think this might be the first time^1 I "consciously" see a reason for  using abs paths in the tests, but I think I am still missing how autopkgtest would "extract" them from within fscacher package for running? i.e. wouldn't without that extra step of moving into separate /tests/ (not just /src/fscacher/tests/) be desired?
Generally, I prefer tests/ folder to reside under submodule so it is easier to run selection of tests relevant to that specific submodule: e.g. tests for fscacher/blah/ to be under fscacher/blah/tests/ (if there was a blah/).  And I thought it is a common pattern.

e.g. remains the setup adopted by numpy
❯ pwd
/home/yoh/proj/misc/numpy
❯ git describe
v2.3.0.dev0-27-g2ff895d7f7
❯ find -iname tests
./numpy/_core/tests
./numpy/_pyinstaller/tests
./numpy/compat/tests
./numpy/distutils/tests
./numpy/f2py/tests
./numpy/fft/tests
./numpy/lib/tests
./numpy/linalg/tests
./numpy/ma/tests
./numpy/matrixlib/tests
./numpy/polynomial/tests
./numpy/random/tests
./numpy/testing/tests
./numpy/tests
./numpy/typing/tests

But indeed there they use absolute imports of numpy itself:
❯ grep 'import' ./numpy/*/tests/*py | grep '\.\.'
❯ grep 'import numpy' ./numpy/*/tests/*py | head
./numpy/_core/tests/_natype.py:import numpy as np
./numpy/_core/tests/test_abc.py:import numpy as np
./numpy/_core/tests/test_api.py:import numpy as np
./numpy/_core/tests/test_api.py:import numpy._core.umath as ncu
./numpy/_core/tests/test_argparse.py:import numpy as np
./numpy/_core/tests/test_array_api_info.py:import numpy as np
./numpy/_core/tests/test_array_coercion.py:import numpy as np
./numpy/_core/tests/test_array_coercion.py:import numpy._core._multiarray_umath as ncu
./numpy/_core/tests/test_array_interface.py:import numpy as np
./numpy/_core/tests/test_arraymethod.py:import numpy as np
...

hence, with numpy practices in mind, I think I might (I would like first to understand better how autopkgtests sets up/runs tests)

agree to use abs imports
would like to keep tests where they are ;)

and we might then adopt similar practice consistently in other products (@mih also even more "generally" prefered absolute imports ;) )
^1:  @jwodder could correct me if I am wrong, since he might have raised this topic in the past too


Selenium2: Firefox is launched with browser_name: chrome since the latest release

The latest release includes this change in Selenium2Factory which for some reason makes Selenium run Firefox instead of Chrome.
+   ->booleanNode('marionette')->defaultFalse()->end()

Config:
default:
  extensions:
    Behat\MinkExtension:
      browser_name: chrome
      selenium2:
        wd_host: "http://<IP_ADDRESS>:4444/wd/hub"
        capabilities:
          chrome:
            switches:
              - "--disable-gpu"
              - "--headless"

Selenium log with the mentioned change:

Capabilities {browser: firefox, browserName: chrome, chrome.extensions: [], chrome.switches: [--disable-gpu, --headless, --window-size=1920,1080, --whitelisted-ips=""], chromeOptions: {args: [--disable-gpu, --headless, --window-size=1920,1080, --whitelisted-ips=""], extensions: []}, ignoreZoomSetting: false, marionette: false, name: Behat feature suite, tags: [php, PHP 5.6.31]} matched class org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.firefox.XpiDriverService)

Selenium log without the mentioned change:

Capabilities {browser: firefox, browserName: chrome, chrome.extensions: [], chrome.switches: [--disable-gpu, --headless, --window-size=1920,1080, --whitelisted-ips=""], chromeOptions: {args: [--disable-gpu, --headless, --window-size=1920,1080, --whitelisted-ips=""], extensions: []}, ignoreZoomSetting: false, name: Behat feature suite, tags: [php, PHP 5.6.31]} matched class org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.chrome.ChromeDriverService)

My project's also run into what seems to be the same problem. On Travis-CI, using this alongside Behat and Selenium, without Firefox installed, we see a "Could not open connection: Timed out waiting 45 seconds for Firefox to start" error: https://travis-ci.org/paulgibbs/behat-wordpress-extension/jobs/308000669
Downgrading Behat/MinkExtension to v2.2 resolved the issue for me.

I have the same problem after updating behat/mink-extension from v2.2 to v2.3.0.
When I run tests Firefox is launched instead of Chrome and I got an error:
Could not open connection: Timed out waiting 45 seconds for Firefox to start.
      Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'
      System info: host: 'oleg-15IAP', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '4.10.0-40-generic', java.version: '9.0.1'
      Driver info: driver.version: unknown (Behat\Mink\Exception\DriverException)

Downgrading Behat/MinkExtension to v2.2 resolved the issue.
My behat.yml
default:
    extensions:
        Laracasts\Behat: ~
        Behat\MinkExtension:
            default_session: laravel
            base_url: https://test.test/
            javascript_session: selenium2
            browser_name: chrome
            laravel: ~
            goutte: ~
            selenium2: ~

I'm using latest selenium-server-standalone-3.7.1 and Chromedriver=2.33.506092

Downgrading is of course a solution. But also removing the line

->booleanNode('marionette')->defaultFalse()->end()

from the file vendor/behat/mink-extension/src/Behat/MinkExtension/ServiceContainer/Driver/Selenium2Factory.php solves this problem.
Didn't look why this only pops up now. It's strange because this line was added already on June 17, 2016!!
See this commit:
https://github.com/Behat/MinkExtension/commit/390f237f2594a2aa9618c17814cab9159292b8d2

@Trogie Because there was no release since February 2016. Many people may require this bundle as "^2.2" and get an update now.

Yes off course...
Hmmmzz even on my projects that only depended on minkextension I seem to have used 2.2 all the time.

As a workaround, I got chrome to launch by adding "marionette": true to the capabilities. That probably amounts to the same as removing the line ->booleanNode('marionette')->defaultFalse()->end() from the code.

We're using the patch in #311 which corrects the issue.


[json] word completions inside strings

Autocomplete on JSON string

It would be very useful if the autocomplete on json files would be triggered without the need of start a new string like happens in other different extension files.
Other files:

JSON Files:

That could be added by the JSON language service.
The word proposals you see in the screenshot above don't show because of the way that JSON defines a word.


refactor(WEG-113): Reduce zoomed in level on selected item

Before:

After:

:tada: This PR is included in version 1.3.0-rc.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Adding MIT License.

Codecov Report

Merging #7 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master      #7   +/-   ##
======================================
  Coverage    91.7%   91.7%
======================================
  Files          18      18
  Lines         434     434
======================================
  Hits          398     398
  Misses         36      36

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 429aa32...7710acc. Read the comment docs.


❗[Please report] Someone is selling motrix in Microsoft Store

Please report this software if you saw it
Motrix is an opensource free software

@agalwood this issue should be pinned (?) It's very heartbreaking that someone trying to do something like this without having any ethic, maybe asking permission to the founder first.

already reported. hope Microsoft can do something as soon as possible

It's under MIT


Swarm : 1 sec connection addition time after 13000 connection to a service

Description
I run a simple node.js web server as a swarm service and access it with curl in a infinite bash loop. Every 12000 to 14000 iterations, there is fews tens of requests with a 1 sec connection time delay

Steps to reproduce the issue:

create an index.js file containing

const http = require('http');
const PORT = process.env.HTTP_PORT || 8080;

let nb_call = 0;

function handleRequest(request, response){
   response.end(`${ nb_call++ }                             \n` );
}

//Create a server
var server = http.createServer(handleRequest);

//Lets start our server
server.listen(PORT, function(){
    console.log("Server listening on :%s", PORT);
});

This web serveur increment and write the number of requests it receive

Create a dockerfile with

FROM node:6
COPY index.js /opt/
CMD node /opt/index.js

Create a local docker image
docker build -t helloworld:v1 .
Run this image in a service
docker service create -p 8082:8080 helloworld:v1
Run a bash loop that rewrite every time the response of server
while true ; do curl <IP_ADDRESS>:8082 ; printf "\e[1A" ; done

Describe the results you received:
The number writen goes up to 13XXX very fast then slow down
Describe the results you expected:
The incrementation writen should not slow down and be steadily fast
Additional information you deem important (e.g. issue happens only occasionally):
I don't have the slow down when I run the node script directly or in a container whith this command
docker run -it --rm -p 8081:8080 helloworld:v1
Output of docker version:
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 06:50:14 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.13.1
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 06:50:14 2017
 OS/Arch:      linux/amd64
 Experimental: false

Output of docker info:
Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 37
Server Version: 1.13.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 115
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: active
 NodeID: dmmj8lx518q38xohlx2gw4ru0
 Is Manager: true
 ClusterID: t7qgkbdeuw928yrx8dnrexfqj
 Managers: 1
 Nodes: 1
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: <IP_ADDRESS>
 Manager Addresses:
  <IP_ADDRESS>:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1
runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.8.0-37-generic
Operating System: Ubuntu 16.10
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 5.81 GiB
Name: myPC
ID: DGNM:5RW6:GQDY:BUHP:73YQ:7CNJ:KJJZ:O5GO:M7FN:RL4D:4Q7T:YDIZ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, etc.):

ping @aboch

ping @aboch PTAL


Presentation - Vertical Slides

Idea: Ability to use Vertical Slides in the Presentation Extension.
Use Case: In some case, bullets make sense to show. At other times, bullets are topics to explore in the presentation. For example, I have a long list of examples to explore in a presentation. In Roam, I've nested all my examples under an "Examples" bullet point. Rather than shoving 20 bullets into a slide, I'd like to use the Vertical Slide feature of reveal to do individual vertical slides for each nested bullet point.
I think it makes sense for this to be a configuration option in the slides command.
Example: Logseq implemented this really well. Go to any page and click the play button.

I'd like to attach a $20 bounty to this.

Adding comment from #595 to tackle here:
When expanding a bullet, often part of the content is not visible. Reveal.js has vertical navigation but it works for defined slides. In the case of Roam Presentation, it needs to work more like page down/up.

Moved to #745


Extra domain for existing university

School Name: Universidad Piloto de Colombia
Website: https://www.unipiloto.edu.co
The domain is: @unipiloto.edu.co
Also there is an extra domain for students: @upc.edu.co

@johanandrey Pull request merged. Thank you!


Contribute page Create an Issue typo

There's a period missing at the end of "etc"

Updated and pushed to QA.


Addition and Deletion of edges in a directed graph using adjacency matrix

Description
Description
adjacency matrix is a matrix that maintain the information of adjacent vertices . A(i,j)= { 1 if there is a edge from vertex i to vertex j and 0 if there is no edge from vertex i to vertex j }

INSERTION / addition  - an edge (i, j ) requires changing value of adj[i][j] from 0 to 1.
DELETION - an edge (I,j ) requires changing value of adj[i][j] from 1 to 0.

Domain
Data Structure
Type of Contribution
Addition
Code of Conduct

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

@VaishnaviMandloi /assign

/assign


Licensing

First, thanks for this awesome solid starter project!
I was checking it out to use it but it misses a license, so I'm not sure I can use?

Actually, it is in the package.json as MIT.
I suggest to place it in the root as LICENSE file so Github scans it.

@josepaiva94 CC @war1oc
Thank you for checking out our starter-kit!
We are happy to hear that you like it.
We have updated the License to be MIT, which we already stated in the package.json file.
Please let us know if you find anything else that could be improved / is missing. :slightly_smiling_face:
All the best!


feat: Introduce collection-level pre/post request scripts

Solve issue #334
Hooks Design
A property called "hooks" can be added to the bruno.json file.
{
  "version": "1",
  "name": "bruno-testbench",
  "type": "collection",
  "hooks": "\\hooks.bru"
}

The hooks.bru file
meta {
  type: hooks
}

script:pre-request {
  // do something with the request
}

script:post-response {
  // do something with the response
}

Thanks for the PR @giuseppemilicia
I realised that the hooks.bru is basically kind of like collection.bru
I have gone ahead and implemented the electron and UI updates and it's available in the latest release v0.22.0
Thank you!


application.conf is out of date

Hi!
Is there reason to have file 'application.conf' in this library?
If so, I think we should remove 'application.secret' configuration property or at least rename it to 'play.crypto.secret'. This will fix warning in applications that use Play 2.4.0: [warn] application in application-akka.actor.default-dispatcher-3 Req: - application.conf @ jar:file:/Users/aparamonov/.ivy2/cache/com.mohiva/play-silhouette_2.11/jars/play-silhouette_2.11-3.0.0-SNAPSHOT.jar!/application.conf: 5: application.secret is deprecated, use play.crypto.secret instead
Also, I see another one warning: [warn] application in main Req: - Logger configuration in conf files is deprecated and has no effect. Use a logback configuration file instead.
So, we should get rid of logging configuration properties in the file too.
Thanks,
Alexey

Fixed with #349


Entralink battery run dry

The game keeps telling me the battery has run dry and that i cant use game sync for another day, yet the last time i used it was 2 days ago

Not really an issue with the program as far as I know, so you'll just have to wait a while without changing the time or playing the game on another system. Based on past cases it may take well over a day.


component panel completely fails to appear, protoflux panel broken

with the new resonite update & 1.0.7 release, the component panel doesn't appear at all when pressing "add component", and the protoflux panel has a broken search bar. without mods or by disabling cherrypick with its settings, the component panel appears.
bug might be linux native only?
log file (using no mods other than cherrypick): https://gist.github.com/yoshiyoshyosh/9fc89feff801da478a5eba29798a7cc1
the exception alone, for brevity:
System.TypeInitializationException: The type initializer for 'CherryPick.CherryPicker' threw an exception. ---> System.MissingMethodException: void FrooxEngine.SettingPropertyAttribute..ctor(string,string,string,bool,long,string)
  at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal(System.Reflection.ICustomAttributeProvider,System.Type,bool)
  at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x00013] in <9577ac7a62ef43179789031239ba8798>:0
  at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00037] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Reflection.MonoField.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Attribute.GetCustomAttributes (System.Reflection.MemberInfo element, System.Type type, System.Boolean inherit) [0x00088] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Attribute.GetCustomAttribute (System.Reflection.MemberInfo element, System.Type attributeType, System.Boolean inherit) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Attribute.GetCustomAttribute (System.Reflection.MemberInfo element, System.Type attributeType) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Reflection.CustomAttributeExtensions.GetCustomAttribute (System.Reflection.MemberInfo element, System.Type attributeType) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T] (System.Reflection.MemberInfo element) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at FrooxEngine.WorkerInitializer.Initialize (System.Type workerType) [0x0009a] in <fef63798ef7b4c9cb897f34ff12fb863>:0
  at (wrapper dynamic-method) CherryPick.WorkerInitializer_Reverse_Patches.CherryPick.WorkerInitializer_Reverse_Patches.GetInitInfo_Patch0(System.Type)
  at CherryPick.CherryPicker..cctor () [0x0003a] in <e938b20560d74d62afe479080bfe0de2>:0
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at CherryPick.ComponentSelector_Patcher.SetupUI_Prefix (FrooxEngine.ComponentSelector __instance, Elements.Core.LocaleString title, Elements.Core.float2 size, FrooxEngine.SyncRef`1[T] ____uiRoot, FrooxEngine.Sync`1[T] ____rootPath) [0x0039c] in <e938b20560d74d62afe479080bfe0de2>:0
  at (wrapper dynamic-method) FrooxEngine.ComponentSelector.FrooxEngine.ComponentSelector.SetupUI_Patch1(FrooxEngine.ComponentSelector,Elements.Core.LocaleString,Elements.Core.float2)
  at FrooxEngine.ComponentSelector.SetupDefault () [0x00013] in <fef63798ef7b4c9cb897f34ff12fb863>:0
  at FrooxEngine.SceneInspector.OnAttachComponentPressed (FrooxEngine.IButton button, FrooxEngine.ButtonEventData eventData) [0x00045] in <fef63798ef7b4c9cb897f34ff12fb863>:0
  at FrooxEngine.UIX.Button.RunPressed (FrooxEngine.ButtonEventData eventData) [0x0003b] in <fef63798ef7b4c9cb897f34ff12fb863>:0
  at FrooxEngine.UIX.Button.OnPressBegin (FrooxEngine.UIX.Canvas+InteractionData eventData) [0x00035] in <fef63798ef7b4c9cb897f34ff12fb863>:0
  at FrooxEngine.UIX.InteractionElement.ProcessEvent (FrooxEngine.UIX.Canvas+InteractionData eventData) [0x00235] in <fef63798ef7b4c9cb897f34ff12fb863>:0
  at FrooxEngine.UIX.Canvas.ProcessTouchEvent (FrooxEngine.TouchEventInfo& eventInfo, System.Collections.Generic.List`1[T] filters) [0x00408] in <fef63798ef7b4c9cb897f34ff12fb863>:0
  at FrooxEngine.UIX.Canvas.OnTouch (FrooxEngine.TouchEventInfo& eventInfo) [0x00000] in <fef63798ef7b4c9cb897f34ff12fb863>:0
  at FrooxEngine.UIX.Canvas.FrooxEngine.ITouchable.OnTouch (FrooxEngine.TouchEventInfo& eventInfo) [0x00000] in <fef63798ef7b4c9cb897f34ff12fb863>:0
  at FrooxEngine.TouchSource.SendTouchEvent (FrooxEngine.ITouchable touchable, FrooxEngine.TouchEventInfo& touchInfo) [0x00018] in <fef63798ef7b4c9cb897f34ff12fb863>:0

At a glance, this appears to be voodoo magic. I'll keep looking into this, but as of right now I consider Linux native to be on the far reaches of livable society in terms of playing Resonite. I can't replicate this on my windows machine, and I haven't heard anything from those I know who play on Proton either. I don't touch the settings stuff anywhere in this codebase. Also try on the latest version of Resonite, as it's been updated to 2<IP_ADDRESS> since last night. I don't anticipate that'll make much of a difference, but it's good to be thorough.
If this is indeed a Linux-native-only thing though, then I don't know how much help I can realistically give. It's just so broken at this point that I almost wish it wasn't presented to the user for download.

so this was fixed in 1.1.0 and I wanted to wait unitl the type update and this updated again and... it's working. dunno if it just needed a recompile the entire time or some other change fixed this but... it's working now! so I'll close the issue


what is DCNet w/CFA?

Hi.
I understand that “DCNet w/o CFA” is FasterRCNN with DRD only and “DCNet” is your network architecture, which is DRD+CFA.
But what is “DCNet w/CFA”?
It must be different from "DCNet"(DRD+CFA). There isn’t any description of this one.

DCNet w/CFA means DCNet without attention-based aggregation in CFA.


Multitail crashes

Hi, currently docker logs are crashing which used to work for me months, but now the following error is show when I start multitail
multitail: /home/mike/.cache/yay/multitail/src/multitail-7.1.2/utils.c:366: amount_to_str: Assertion `amount >= 0' failed.
[1]    1554186 IOT instruction (core dumped)  multitail -cS monolog -l 'docker-compose logs --no-color -f ws-app-services'

In journalctl
Apr 05 07:12:51 mike-pc systemd-coredump[1554216]: Process 1554186 (multitail) of user 1000 dumped core.

                                                   Stack trace of thread 1554186:
                                                   #0  0x00007e28654b832c n/a (libc.so.6 + 0x8d32c)
                                                   #1  0x00007e28654676c8 raise (libc.so.6 + 0x3c6c8)
                                                   #2  0x00007e286544f4b8 abort (libc.so.6 + 0x244b8)
                                                   #3  0x00007e286544f3dc n/a (libc.so.6 + 0x243dc)
                                                   #4  0x00007e286545fd46 __assert_fail (libc.so.6 + 0x34d46)
                                                   #5  0x00005e8426a2e899 n/a (multitail + 0x1d899)
                                                   #6  0x00005e8426a20b2f n/a (multitail + 0xfb2f)
                                                   #7  0x00005e8426a2764f n/a (multitail + 0x1664f)
                                                   #8  0x00005e8426a29f2f n/a (multitail + 0x18f2f)
                                                   #9  0x00005e8426a1575a n/a (multitail + 0x475a)
                                                   #10 0x00007e2865450cd0 n/a (libc.so.6 + 0x25cd0)
                                                   #11 0x00007e2865450d8a __libc_start_main (libc.so.6 + 0x25d8a)
                                                   #12 0x00005e8426a15d05 n/a (multitail + 0x4d05)
                                                   ELF object binary architecture: AMD x86-64

Docker log first rows
WARN[0000] The "WS_CROWDIN_ACCESS_TOKEN" variable is not set. Defaulting to a blank string.
WARN[0000] The "WS_CROWDIN_ACCESS_TOKEN" variable is not set. Defaulting to a blank string.
WARN[0000] /development-stack/docker-compose/app/docker-compose.yml: `version` is obsolete
ws-app-services  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
ws-app-services  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message

Removing those WARN rows didn't help

I don't have the colorscheme monolog?

Tried without monolog and the same
multitail: /home/mike/.cache/yay/multitail/src/multitail-7.1.2/utils.c:366: amount_to_str: Assertion `amount >= 0' failed.
[1]    659760 IOT instruction (core dumped)  multitail -l 'docker-compose logs --no-color -t -f ws-app-services

systemd-coredump[671037]: [🡕] Process 671002 (multitail) of user 1000 dumped core.

                                                  Stack trace of thread 671002:
                                                  #0  0x000079678f0cce44 n/a (libc.so.6 + 0x94e44)
                                                  #1  0x000079678f074a30 raise (libc.so.6 + 0x3ca30)
                                                  #2  0x000079678f05c4c3 abort (libc.so.6 + 0x244c3)
                                                  #3  0x000079678f05c3df n/a (libc.so.6 + 0x243df)
                                                  #4  0x000079678f06cc67 __assert_fail (libc.so.6 + 0x34c67)
                                                  #5  0x00005e0197c0a899 n/a (multitail + 0x1d899)
                                                  #6  0x00005e0197bfcb2f n/a (multitail + 0xfb2f)
                                                  #7  0x00005e0197c0364f n/a (multitail + 0x1664f)
                                                  #8  0x00005e0197c05f2f n/a (multitail + 0x18f2f)
                                                  #9  0x00005e0197bf175a n/a (multitail + 0x475a)
                                                  #10 0x000079678f05dc88 n/a (libc.so.6 + 0x25c88)
                                                  #11 0x000079678f05dd4c __libc_start_main (libc.so.6 + 0x25d4c)
                                                  #12 0x00005e0197bf1d05 n/a (multitail + 0x4d05)
                                                  ELF object binary architecture: AMD x86-64

Can't reproduce with the snippet of logging you gave me.

I'm getting the same error on version 6.5.0 with logs from Keycloak (right on start). What's interesting is that it happens randomly. Sometimes it crashes, sometimes it's not. On other logs that I'm monitoring it does not crash.
I've tested with an empty config file, but it does not matter.
multitail -l "./keycloak/bin/kc.sh start-dev"
multitail --config empty.conf -l "./keycloak/bin/kc.sh start-dev"

There is no major difference in logs when it crashes and when it's not. They look almost the same up to the crash moment.
Crash:
2024-06-24 12:23:45,235 INFO  [org.infinispan.CONTAINER] (ForkJoinPool.commonPool-worker-1) ISPN000556: Starting user marshaller 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller'
2024-06-24 12:23:48,836 INFO  [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_256350, Site name: null
2024-06-24 12:23:48,838 INFO  [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener
multitail: utils.c:366: amount_to_str: Assertion `amount >= 0' failed.

No crash:
2024-06-24 12:37:28,689 INFO  [org.infinispan.CONTAINER] (ForkJoinPool.commonPool-worker-1) ISPN000556: Starting user marshaller 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller'
2024-06-24 12:37:32,284 INFO  [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_300, Site name: null
2024-06-24 12:37:32,287 INFO  [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener
2024-06-24 12:37:32,748 INFO  [io.quarkus] (main) Keycloak 25.0.1 on JVM (powered by Quarkus 3.8.5) started in 5.646s. Listening on: http://<IP_ADDRESS>:8080. Management interface listening on http://<IP_ADDRESS>:9000.
2024-06-24 12:37:32,748 INFO  [io.quarkus] (main) Profile dev activated.
2024-06-24 12:37:32,748 INFO  [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-h2, keycloak, logging-gelf, narayana-jta, reactive-routes, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, vertx]
2024-06-24 12:37:32,750 WARN  [org.keycloak.quarkus.runtime.KeycloakMain] (main) Running the server in development mode. DO NOT use this configuration in production.

Is multitail installed from source?
Also, could you please do: 'coredumpctl debug' and then 'bt'. Hopefully
the stacktrace of gdb is more useful than the build-in one,.
I can see where it crashes (well, aborst) but I would like to see who calls
it.
Apparently some byte-amount becomes negative.
On Mon, Jun 24, 2024 at 11:52 AM leonidx86 @.***> wrote:

I'm getting the same error on version 6.5.0 with logs from Keycloak
https://www.keycloak.org/ (right on start). What's interesting is that
it happens randomly. Sometimes it crashes, sometimes it's not. On other
logs that I'm monitoring it does not crash.
I've tested with an empty config file, but it does not matter.
multitail -l "./keycloak/bin/kc.sh start-dev"
multitail --config empty.conf -l "./keycloak/bin/kc.sh start-dev"
There is no major difference in logs when it crashes and when it's not.
They look almost the same up to the crash moment.
Crash:
2024-06-24 12:23:45,235 INFO  [org.infinispan.CONTAINER] (ForkJoinPool.commonPool-worker-1) ISPN000556: Starting user marshaller 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller'
2024-06-24 12:23:48,836 INFO  [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_256350, Site name: null
2024-06-24 12:23:48,838 INFO  [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener
multitail: utils.c:366: amount_to_str: Assertion `amount >= 0' failed.
No crash:
2024-06-24 12:37:28,689 INFO  [org.infinispan.CONTAINER] (ForkJoinPool.commonPool-worker-1) ISPN000556: Starting user marshaller 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller'
2024-06-24 12:37:32,284 INFO  [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_300, Site name: null
2024-06-24 12:37:32,287 INFO  [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener
2024-06-24 12:37:32,748 INFO  [io.quarkus] (main) Keycloak 25.0.1 on JVM (powered by Quarkus 3.8.5) started in 5.646s. Listening on: http://<IP_ADDRESS>:8080. Management interface listening on http://<IP_ADDRESS>:9000.
2024-06-24 12:37:32,748 INFO  [io.quarkus] (main) Profile dev activated.
2024-06-24 12:37:32,748 INFO  [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-h2, keycloak, logging-gelf, narayana-jta, reactive-routes, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, vertx]
2024-06-24 12:37:32,750 WARN  [org.keycloak.quarkus.runtime.KeycloakMain] (main) Running the server in development mode. DO NOT use this configuration in production.
—
Reply to this email directly, view it on GitHub
https://github.com/folkertvanheusden/multitail/issues/35#issuecomment-2186085540,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUN5IW2PRCSJ2F3DTPME4MTZI7T3VAVCNFSM6AAAAABFYQDGNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWGA4DKNJUGA
.
You are receiving this because you commented.Message ID:
@.***>

$ coredumpctl debug
           PID: 800078 (multitail)
           UID: 1000 (mike)
           GID: 984 (users)
        Signal: 6 (ABRT)
     Timestamp: Tue 2024-06-25 08:16:22 CEST (24s ago)
  Command Line: multitail -cS monolog -l $'docker-compose logs --no-color -t -f ws-app-services'
    Executable: /usr/bin/multitail
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (mike)
       Boot ID: 0a1d78ab7b894e66b26f0d0f16553fb4
    Machine ID: a1b21d7ee69445ef82343d227951ca86
      Hostname: mike-pc
       Storage: /var/lib/systemd/coredump/core.multitail.1000.0a1d78ab7b894e66b26f0d0f16553fb4.800078.1719296182000000.zst (present)
  Size on Disk: 686.2K
       Message: Process 800078 (multitail) of user 1000 dumped core.

                Stack trace of thread 800078:
                #0  0x000070f079108e44 n/a (libc.so.6 + 0x94e44)
                #1  0x000070f0790b0a30 raise (libc.so.6 + 0x3ca30)
                #2  0x000070f0790984c3 abort (libc.so.6 + 0x244c3)
                #3  0x000070f0790983df n/a (libc.so.6 + 0x243df)
                #4  0x000070f0790a8c67 __assert_fail (libc.so.6 + 0x34c67)
                #5  0x000057f923f7d899 n/a (multitail + 0x1d899)
                #6  0x000057f923f6fb2f n/a (multitail + 0xfb2f)
                #7  0x000057f923f7664f n/a (multitail + 0x1664f)
                #8  0x000057f923f78f2f n/a (multitail + 0x18f2f)
                #9  0x000057f923f6475a n/a (multitail + 0x475a)
                #10 0x000070f079099c88 n/a (libc.so.6 + 0x25c88)
                #11 0x000070f079099d4c __libc_start_main (libc.so.6 + 0x25d4c)
                #12 0x000057f923f64d05 n/a (multitail + 0x4d05)
                ELF object binary architecture: AMD x86-64

GNU gdb (GDB) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/multitail...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
(No debugging symbols found in /usr/bin/multitail)
[New LWP 800078]
Downloading separate debug info for system-supplied DSO at 0x70f0793e8000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `multitail -cS monolog -l docker-compose logs --no-color -t -f ws-app-services'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x000070f079108eb3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#2  0x000070f0790b0a30 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x000070f0790984c3 in __GI_abort () at abort.c:79
#4  0x000070f0790983df in __assert_fail_base (fmt=0x70f079223b68 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x57f923f8c343 "amount >= 0",
    file=file@entry=0x57f923f8da20 "/home/mike/.cache/yay/multitail/src/multitail-7.1.2/utils.c", line=line@entry=366, function=function@entry=0x57f923f96758 "amount_to_str") at assert.c:94
#5  0x000070f0790a8c67 in __assert_fail (assertion=0x57f923f8c343 "amount >= 0", file=0x57f923f8da20 "/home/mike/.cache/yay/multitail/src/multitail-7.1.2/utils.c", line=366, function=0x57f923f96758 "amount_to_str") at assert.c:103
#6  0x000057f923f7d899 in ?? ()
#7  0x000057f923f6fb2f in ?? ()
#8  0x000057f923f7664f in ?? ()
#9  0x000057f923f78f2f in ?? ()
#10 0x000057f923f6475a in ?? ()
#11 0x000070f079099c88 in __libc_start_call_main (main=main@entry=0x57f923f64020, argc=argc@entry=5, argv=argv@entry=0x7ffc4e6ee6f8) at ../sysdeps/nptl/libc_start_call_main.h:58
#12 0x000070f079099d4c in __libc_start_main_impl (main=0x57f923f64020, argc=5, argv=0x7ffc4e6ee6f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc4e6ee6e8) at ../csu/libc-start.c:360
#13 0x000057f923f64d05 in ?? ()

I get similar result with a little more info (#6, #7, #8).
Core was generated by `multitail -l ./keycloak/bin/kc.sh start-dev'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
Missing separate debuginfos, use: zypper install libncurses6-debuginfo-6.5.20240601-38.1.x86_64
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fd16c294a63 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fd16c241176 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007fd16c228917 in __GI_abort () at abort.c:79
#4  0x00007fd16c22882b in __assert_fail_base (fmt=0x7fd16c3b4c18 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0x556d94ab504f "amount >= 0", file=file@entry=0x556d94ab5004 "utils.c", line=line@entry=366,
    function=function@entry=0x556d94ac0cb8 <__PRETTY_FUNCTION__.17> "amount_to_str") at assert.c:94
#5  0x00007fd16c239076 in __assert_fail (assertion=assertion@entry=0x556d94ab504f "amount >= 0", file=file@entry=0x556d94ab5004 "utils.c",
    line=line@entry=366, function=function@entry=0x556d94ac0cb8 <__PRETTY_FUNCTION__.17> "amount_to_str") at assert.c:103
#6  0x0000556d94a8ada1 in amount_to_str (amount=-2133434368) at /usr/src/debug/multitail-6.5.0/utils.c:366
#7  0x0000556d94a9746e in update_statusline (status=0x556d9a66e9a0, win_nr=<optimized out>, cur=0x556d9a244700)
    at /usr/src/debug/multitail-6.5.0/mt.c:1420
#8  0x0000556d94aae56f in update_statusline (cur=0x556d9a244700, win_nr=<optimized out>, status=<optimized out>)
    at /usr/src/debug/multitail-6.5.0/mt.c:1356
#9  wait_for_keypress.constprop.0 (what_help=0, popup=0x0, cursor_shift=0 '\000', max_wait=0) at /usr/src/debug/multitail-6.5.0/mt.c:3649
#10 0x0000556d94a92460 in main_loop () at /usr/src/debug/multitail-6.5.0/mt.c:2452
#11 0x0000556d94a8a2b1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/multitail-6.5.0/mt.c:2841

I don't understand this, this bug was fixed in 2015.
For now, try removing the assert-line. You may see negative values, but
only for a short period of time.
On Tue, Jun 25, 2024 at 8:47 AM leonidx86 @.***> wrote:

I get similar result with a little more info (#6, #7, #8).
Core was generated by multitail -l ./keycloak/bin/kc.sh start-dev'. Program terminated with signal SIGABRT, Aborted. #0  __pthread_kill_implementation (threadid=<optimized out><EMAIL_ADDRESS><EMAIL_ADDRESS>at pthread_kill.c:44 44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; Missing separate debuginfos, use: zypper install libncurses6-debuginfo-6.5.20240601-38.1.x86_64 (gdb) bt #0  __pthread_kill_implementation (threadid=<optimized out><EMAIL_ADDRESS><EMAIL_ADDRESS>at pthread_kill.c:44 #1  0x00007fd16c294a63 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78 #2  0x00007fd16c241176 in __GI_raise<EMAIL_ADDRESS>at ../sysdeps/posix/raise.c:26 #3  0x00007fd16c228917 in __GI_abort () at abort.c:79 #4  0x00007fd16c22882b in __assert_fail_base (fmt=0x7fd16c3b4c18 "%s%s%s:%u: %s%sAssertion %s' failed.\n%n",
@.=0x556d94ab504f "amount >= 0", @.=0x556d94ab5004 "utils.c", @.=366,
@.=0x556d94ac0cb8 <PRETTY_FUNCTION.17> "amount_to_str") at assert.c:94
#5  0x00007fd16c239076 in __assert_fail @.=0x556d94ab504f "amount >= 0", @.=0x556d94ab5004 "utils.c",
@.=366, @.=0x556d94ac0cb8 <PRETTY_FUNCTION.17> "amount_to_str") at assert.c:103
#6  0x0000556d94a8ada1 in amount_to_str (amount=-2133434368) at /usr/src/debug/multitail-6.5.0/utils.c:366
#7  0x0000556d94a9746e in update_statusline (status=0x556d9a66e9a0, win_nr=, cur=0x556d9a244700)
at /usr/src/debug/multitail-6.5.0/mt.c:1420
#8  0x0000556d94aae56f in update_statusline (cur=0x556d9a244700, win_nr=, status=)
at /usr/src/debug/multitail-6.5.0/mt.c:1356
#9  wait_for_keypress.constprop.0 (what_help=0, popup=0x0, cursor_shift=0 '\000', max_wait=0) at /usr/src/debug/multitail-6.5.0/mt.c:3649
#10 0x0000556d94a92460 in main_loop () at /usr/src/debug/multitail-6.5.0/mt.c:2452
#11 0x0000556d94a8a2b1 in main (argc=, argv=) at /usr/src/debug/multitail-6.5.0/mt.c:2841
—
Reply to this email directly, view it on GitHub
https://github.com/folkertvanheusden/multitail/issues/35#issuecomment-2188109079,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUN5IW3HFHKYIGEHXKV7R2DZJEG6DAVCNFSM6AAAAABFYQDGNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGEYDSMBXHE
.
You are receiving this because you commented.Message ID:
@.***>

Removed assert, and as you've said I see negative VMsize value. In case of Keycloak it's random. Sometimes it settles on positive value, like 2GB (VMsize), and sometimes negative, like -2065 (VMsize).

I think it happens when a process restarts.
Fwiw I removed the assert and released 7.1.3
On Tue, Jun 25, 2024 at 10:09 AM leonidx86 @.***> wrote:

Removed assert, and as you've said I see negative VMsize value. In case
of Keycloak it's random. Sometimes it settles on positive value, like 2GB
(VMsize), and sometimes negative, like -2065 (VMsize).
—
Reply to this email directly, view it on GitHub
https://github.com/folkertvanheusden/multitail/issues/35#issuecomment-2188252659,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUN5IW2OCDRQDTA3LEQVL33ZJEQRVAVCNFSM6AAAAABFYQDGNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGI2TENRVHE
.
You are receiving this because you commented.Message ID:
@.***>

Awesome, thank you. Now it works


Post Webinar Marketing Automation

Add new field
Add automation to send out social media posts.

New field for post webinar marketing text "acf_social_media_text_after_webinar_promotion" available in the event editor

added "Social media text to promote the event after it has happend." field in the events editor. Posts on social media will be scheduled 3 days after the event (webinar@Thursday 6pm -> post marketing@Sunday 6pm)

@heldyboy FYI


[      script:oxmysql] Unable to establish a connection to the database (ETIMEDOUT)!

          [      script:oxmysql] Unable to establish a connection to the database (ETIMEDOUT)!

[      script:oxmysql] Error undefined: connect ETIMEDOUT
i have this error please help me
Originally posted by @QnkoChekiqta in https://github.com/brouznouf/fivem-mysql-async/issues/130#issuecomment-1753461556

i have the same problem

Open you Issue on the oxmysql Repository or their overextended Discord. Mysql-async is abandoned
Overextended Discord
oxmysql Rpository


Broken text rendering with some combinations of files and tabs with detectindent plugin

Files the bug happens with: bug.zip
Steps to reproduce the bug (happen with the provided files, not any combination of files):
->Open builder.cpp with lite
-->Text looks as expected:

->drag svn_cmdline.h in lite's window (taken from https://github.com/apache/subversion/blob/trunk/subversion/include/svn_cmdline.h)
->Press Alt+Shift+L to the viewport and show svn_cmdline.h in the right pane
->close svn_cmdline.h in the left pane, or just switch to builder.cpp
-->The text looks completely broken in builder.cpp:

The bug doesn't reproduce with other combinations of files, or the rendering gets broken in a different way.
I didn't manage to find what was so odd in any of the files to trigger this bug.

The bug only happens with the detectindent plugin in the plugins directory, not sure if the issue is more with the plugin or with lite?

This was fixed in the master, shortly after the release of version 1.11:
https://github.com/rxi/lite/commit/878c94a334e2b830e57f90def10d3654b6996ed5
I confirmed with rxi that it worked as expected with a build of the master.


Looking at the exercise a few slides down, it makes sense I think to introduce classes first before decorating it as that is also the workflow given i

Looking at the exercise a few slides down, it makes sense I think to introduce classes first before decorating it as that is also the workflow given in the exercise.
Author: Joseph Barlan
Slide: Local,Public

that's a good point.
Don't immediately display the decorators, have just class first

K, I gave up on this


Updated master

How do I fix that?

Completed.

That means so much coming from you.  Thanks a lot!


Optimize: Support dashboard service annotation

Description
In cloud providers, we need add some annotation in service for LoadBalancer.
    serviceType: LoadBalancer
    serviceAnnotations:
      service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled: 'true'
      service.beta.kubernetes.io/aws-load-balancer-internal: 'true'
      service.beta.kubernetes.io/aws-load-balancer-type: nlb

Who detect annotation?

Who detect annotation?

This is detected by Kubernetes, depending on the distrobution.


Learn Student ambassador milestone section's content in mobile view is not visible properly.

@191932-sinharitika009 can you screenshot the area and give us a link so we can look into fixing it?


DS Editor: fill DS name with the section name if empty

I feel like this would save me a lot of time. What about you ?

Could be nice, especially for newbies. I'd suggest adding it to the Event Name too for consistency

+1 It will be a js-thingy so reusable at large


lagrange: 1.16.2 -> 1.16.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for lagrange is: A Beautiful Gemini Client
meta.homepage for lagrange is: https://gmi.skyjake.fi/lagrange/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.16.3 with grep in /nix/store/68hnnm00j40r1bngxhxazb9ivq5bmvi5-lagrange-1.16.3
found 1.16.3 in filename of file in /nix/store/68hnnm00j40r1bngxhxazb9ivq5bmvi5-lagrange-1.16.3

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
lagrange
lagrange-tui

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/68hnnm00j40r1bngxhxazb9ivq5bmvi5-lagrange-1.16.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/68hnnm00j40r1bngxhxazb9ivq5bmvi5-lagrange-1.16.3
ls -la /nix/store/68hnnm00j40r1bngxhxazb9ivq5bmvi5-lagrange-1.16.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

lagrange-tui

1 package built:

lagrange

Maintainer pings
cc @sikmir for testing.

lagrange-tui failed.

sorry about that, I opened #236316 to revert this update


ResolverFn should potentially include array of promises

Describe the bug

This is regarding the typescript-resolvers plugin.
At least with Apollo Server, a resolver is able to return an array of promises in addition to a single promise that resolves to an array. Right now, the generated type for ResolverFn supports only the latter option. Should it be updated to handle the array of promises as well?
https://www.apollographql.com/docs/apollo-server/essentials/data/#resolver-results

A promise - resolvers often do asynchronous actions like fetching from a database or backend API, so they can return promises. This can be combined with arrays, so a resolver can return a promise that resolves to an array, or an array of promises, and both are handled correctly.

Not to mention you can probably return a promise of an array of promises.

@kamilkisiela can you please add it? I think we need to change the signature of ResolverFn.

Work in progress: https://github.com/dotansimha/graphql-code-generator/pull/2023

@dobesv @bnaoki could you guys try 1.2.2-alpha-1a7ee826.35+1a7ee826?

Fixed in 1.3.0 🎉

Hi! Thanks for building this feature. I encountered an edge case with the types generated that this fix does not cover.
If you have a resolver for an array of items and each of those items is nullable, not all valid return values are possible in the type.
// GraphQL: items(): [Item]!

// Works
type ItemsResolver = () => (Item | null)[];

// Works
type ItemsResolver = () => Promise<(Item | null)[]>;

// Works
type ItemsResolver = () => (Promise<Item> | null)[];

// Does not work
type ItemsResolver = () => (Promise<Item | null>)[];

The last use case is especially useful when providing a resolver that accepts multiple IDs, some of which may fail (for example, the nodes resolver in Relay).
As a workaround, we can cast (either explicitly or with a non-null assertion) to an inaccurate (but, valid) type.
const promises: Promise<Item | null)[];

promises as Promise<Item>[];

Using Promise.all is not a work-around because it is semantically different. If any single promise fails, the entire array will be null instead of the individual element.
I looked into the cause of this issue, but the fix is not obvious. The query resolver is referencing the resolver types in order to support the mapping feature (Array<Maybe<ResolversTypes['Item']>>). However, the ResolverTypes is performing the wrapping for sync/async resolution. A correct fix may require introducing a new intermediate type.
Let me know if I can provide any additional details or if you have a suggested implementation. Thanks!


coco fomat train

My data set is transformed into coco format, including annannotations and images. How to start the training? What is your coco format? Can you help me, please
my coco format like this:
---coco
---annotations
---images

Hello，How did you settle your problem? Can you help me? I also have COCO format datasets.


Add EvalReporter

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.81%. Comparing base (2d3c6d3) to head (8cb9e6a).
Report is 19 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #573   +/-   ##
=======================================
  Coverage   99.81%   99.81%
=======================================
  Files         133      134    +1
  Lines        3797     3837   +40
  Branches      185      185
=======================================
+ Hits         3790     3830   +40
  Misses          7        7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


CI issue

In terms of fixing the CI, I can't even remember what the issue was, but if you find out what that was feel free to ask me for help if you need it. My email right now is<EMAIL_ADDRESS>

Originally posted by @mcgibbon in https://github.com/atmos-python/atmos/issues/1#issuecomment-630431092

Just wondering as GH Actions has been out for a while, shall we consider using that instead of fixing the travis-based CI?

Github Actions (from my quick reading) still needs somewhere to execute the tests. The issue wasn't really anything to do with travis per se, IIRC it was because I was working on a transition towards using udunits for unit handling (optionally), and udunits or any non-standard binary package is really hard to install on CI. A suitable fix would be to roll back the udunits changes entirely and go back to only supporting pint-based unit conversions.

Ideally the CI (whether travis or otherwise) should be able to install with only pip install steps, and no need for binary packages. I'm willing to lose the related functionality (like udunits support) to do this, as the core functionality which people seem to use (thermodynamic calculations) doesn't depend on it.

+1 for rolling back the pint-based support for unit.
I brought up the GH Actions just for better consistency: so all code and testing reside in one place; while I fully understand the issue per se has nothing to do with travis.

If GH Actions is free and provides a free server to run the tests on, I'm not opposed to it. My understanding is that you use it to trigger a job on a server somewhere else, which Github doesn't run, but I could be wrong.


'Enumarable is not defined' client error after update (Saltarelle edition)

Hello.
After update Serenity framework I have the following issue: in many UI controls where collection exists there is 'Enumarable is not defined' error.
Could you please advise how it can be resolved in a better solution?
P.S.: Client code completely uses Saltarelle, TypeScript doesn't match our project needs.
Thank you in advance.

We no longer support Saltaralle, either don't update Serenity and continue to use older version, or switch to TypeScript.


fix: showing invalid credentials message on  MongoDB test datasource if there is an unauthorized error

Description
When calling test datasource on MongoDB if it encounters an unauthorized error plugin ignores that and shows a successful message. It's because in test datasource logic we call a query that tries to access the admin database of MongoDB, so it's possible to get an unauthorized error even if we have access to other user-defined databases.
Now after this fix if it gets an unauthorized error accessing the admin database it will try to access the default database to make sure that credentials are valid or not.
Fixes #11067
Type of change

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

How Has This Been Tested?

Tested manually with a MongoDB datasource that needed credentials accessing it.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@mojtab23 Will you be addressing the other scenarios in a separate PR?

No, It's just addressing datasource test scenario, for other cases we need more information about the problem and desired behavior.

/ok-to-test sha=9e611d1

/ok-to-test sha=9e611d1

/ok-to-test sha=9e611d1

Merging in because we have different cases failing in each iteration, and they are all unrelated to the change.


add jinja template renderer view

Closes #DNE (apps zenhub issue 172)
What's Changed

Add a view to expose the jinja template renderer feature from #6488 through the UI. Let me know if the link needs to move to the nav menu or if it should remain in the footer. Currently the navigation.py will not work in the core app so we'll have to discuss how we work around that if we decide to move this to the nav menu.
Screenshots
View

Footer

TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example App Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

@lampwins Can you review the placement of the link?

This has the same "tool" feeling that GraphiQL and Swagger to, so I think it is fine to put it in the footer. We can revisit in v3.


Make focus on Testing to get a well percentage of code coverage

@andrerpena after adding FileUpload I will start to add test for all the components we have, so we can test them and see if they work as we expect under certain conditions. This will be my focus to get what we have more stable.

That's awesome Jony. Awesome.

Yes! This will let us improve the code

@andrerpena taking this for now..

Greeeat!


Rule compilation time increase between 3.4.0 and 3.5.0

I upgraded from 3.4.0 to 3.5.0 and noticed an increase in compilation time from instant to about 20 seconds. I was able to identify the rule causing the problem:
https://github.com/godaddy/yara-rules/blob/master/emotet.yara#L33
It's a long rule being program-generated but it was highly effective and useful. Compilation hasn't been a problem before but with 3.5.0 the performance hit in compilation is prohibitive for my use case.
I profiled libyara to try to help debug this and found that the majority of time is spent in the function _yr_ac_find_suitable_transition_table_slot() at https://github.com/VirusTotal/yara/blob/master/libyara/ahocorasick.c#L454.
A picture of the call stack is below:

I tried to follow the code to understand the root cause but don't know enough about the context. Any advice appreciated. Thanks!

Very interesting issue. YARA 3.5 improves the scanning time at the cost of spending more time compiling the rules, but you have hit one of the worst cases for the _yr_ac_build_transition_table function. Let me see what can I do to improve the compilation time in these extreme cases.

Complete yara noob here, but would it be possible to make the optimization optional at compile time, similar to GCC w/ -O flags? I recompile yara rules often to get latest updates.

#873 reduces compilation time. In this particular case from ~6 seconds to ~1 second in my machine.


Updated EKS-D to 1.25-eks-5

Issue #, if available:
Description of changes:

Update to latest release of EKS-D 1.25 (v1.25-eks-5), which upgrades Kubernetes from 1.25.5 to 1.25.6 and includes updates to patches

Side note: release 4 is skipped because it included a minor bug
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/test cloud-provider-vsphere-tooling-presubmit

/test cloud-provider-vsphere-tooling-presubmit

/cherrypick release-0.14


feat: add depth and onError options

New options

Name
Description

depth
❔ Optional - Specify how deep it should look in the selectionSet (i.e. depth: 1 is the initial selectionSet, depth: null is no limit).

onError
❔ Optional - Hook called from a try..catch when an error is caught. Default: (err: unknown) => { console.error(ERROR_PREFIX, err); return true }.

Extra

Fix/increase test coverage
Add thresholds to vitest config
Add .gitignore file to eslint config
Fix watching main package in dev script

:tada: This issue has been resolved in version 1.0.0-beta.6 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Deploy to a Public Service

@all-contributors please add FraserTooth for code

@all-contributors please add eugenekim000 for code

Done, its on Heroku

@all-contributors please add baruishi for code


get_output_shapes does not return the correct dimensions for a Dataset

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): Using docker container with base image tensorflow/tensorflow:2.3.0-jupyter
TensorFlow version (use command below): v2.3.0-rc2-23-gb36436b087 2.3.0
Python version: 3.6
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A

Describe the current behavior
I am using AutoKeras to train to train a neural net for image regression, but it is crashing because tensorflow.compat.v1.data.get_output_shapes(dataset) function used within AutoKeras is returning shapes that have None for each of the dimension lengths rather than an integer. According to this TensorFlow issue, this function has been replaced by tf.data.experimental.get_structure, but both of these return None in their output. I have confirmed that all the tensors in my dataset are the same shape and I have run my Dataset against these functions both with my original Dataset and with the Dataset AutoKeras creates from it and None is returned in both cases as shown in my code snippet below.
Describe the expected behavior
Either tensorflow.compat.v1.data.get_output_shapes(dataset) or tf.data.experimental.get_structure would return the correct shape of elements in a Dataset where all elements have the same shape.
Standalone code to reproduce the issue
This snippet contrasts the output of tensorflow.compat.v1.data.get_output_shapes(dataset), tf.data.experimental.get_structure, and a custom function that returns the shape of the first element in a Dataset.
def get_first_element_shape(dataset):
    for thing in dataset:
        if isinstance(thing, tuple):
            return tuple(element.shape for element in thing)
        else:
            return thing.shape

print(tf.compat.v1.data.get_output_shapes(train_dataset))
print(tf.data.experimental.get_structure(train_dataset))
print(get_first_element_shape(train_dataset))

x = train_dataset.map(lambda a, b: a)
print('\nX dataset (Created by AutoKeras by separating the input values from the output values in the training dataset)')
print(tf.compat.v1.data.get_output_shapes(x))
print(tf.data.experimental.get_structure(x))
print(get_first_element_shape(x))

This outputs:
(TensorShape([None, None, None]), TensorShape([1]))
(TensorSpec(shape=(None, None, None), dtype=tf.float32, name=None), TensorSpec(shape=(1,), dtype=tf.float32, name=None))
(TensorShape([600, 600, 3]), TensorShape([1]))

X dataset (Created by AutoKeras by separating the input values from the output values in the training dataset)
(None, None, None)
TensorSpec(shape=(None, None, None), dtype=tf.float32, name=None)
(600, 600, 3)

Could you share a very minimal but complete example or Colab to reproduce this?

This code snipped will generate some images, save them to a TFRecord file, and then load the file into a dataset and print out the same output as above.
import numpy as np
import os
import tempfile
import tensorflow as tf
from io import BytesIO
from PIL import Image
from random import random

# This function converts an image (as a binary string) and the output value for it to an Example to save to a TFRecord
# This function based on this tutorial: https://www.tensorflow.org/tutorials/load_data/tfrecord#walkthrough_reading_and_writing_image_data
def image_and_output_to_example(image_string, output_value):
    # Create some helper functions
    def _bytes_feature(value):
        """Returns a bytes_list from a string / byte."""
        if isinstance(value, type(tf.constant(0))):
            value = value.numpy() # BytesList won't unpack a string from an EagerTensor.
        return tf.train.Feature(bytes_list=tf.train.BytesList(value=[value]))
    def _float_feature(value):
        """Returns a float_list from a float / double."""
        return tf.train.Feature(float_list=tf.train.FloatList(value=[value]))
    def _int64_feature(value):
        """Returns an int64_list from a bool / enum / int / uint."""
        return tf.train.Feature(int64_list=tf.train.Int64List(value=[value]))

    image_shape = tf.io.decode_png(image_string).shape
    feature = {
        'height': _int64_feature(image_shape[0]),
        'width': _int64_feature(image_shape[1]),
        'depth': _int64_feature(image_shape[2]),
        'label': _float_feature(output_value),
        'image_raw': _bytes_feature(image_string),
    }

    return tf.train.Example(features=tf.train.Features(feature=feature))

# This function converts the Examples in the TFRecord into a tuple of (image_tensor, [output_value])
# Also based on the above tutorial
def parse_tf_example(example_proto):
    image_feature_description = {
        'height': tf.io.FixedLenFeature([], tf.int64),
        'width': tf.io.FixedLenFeature([], tf.int64),
        'depth': tf.io.FixedLenFeature([], tf.int64),
        'label': tf.io.FixedLenFeature([], tf.float32),
        'image_raw': tf.io.FixedLenFeature([], tf.string),
    }

    normalization_layer = tf.keras.layers.experimental.preprocessing.Rescaling(1.0/255)

    parsed_example = tf.io.parse_single_example(example_proto, image_feature_description)
    image_as_tensor = tf.io.decode_png(parsed_example['image_raw'])
    return (normalization_layer(image_as_tensor), [parsed_example['label']])

# Generate some images and save them to a TFRecord file
record_file = os.path.join(tempfile.gettempdir(), 'images.tfrecords')
with tf.io.TFRecordWriter(record_file) as writer:
    for image_num in range(50):
        random_pixels = np.random.randint(low=0, high=255, size=(600,600,3), dtype=np.uint8)
        img = Image.fromarray(random_pixels)
        # Get the string of the image
        image_bytes = BytesIO()
        img.save(image_bytes, format="PNG")
        # Convert image and a random output value for the image to a tf.train.Example
        tf_example = image_and_output_to_example(image_bytes.getvalue(), random())
        writer.write(tf_example.SerializeToString())

# Load the TFRecord file as a dataset and use the map function to convert the Examples into training data
raw_image_dataset = tf.data.TFRecordDataset(record_file)
train_dataset = raw_image_dataset.map(parse_tf_example)

# Returns the shape of the first element in a Dataset
def get_first_element_shape(dataset):
    for thing in dataset:
        if isinstance(thing, tuple):
            return tuple(element.shape for element in thing)
        else:
            return thing.shape

print('Original Dataset')
print(tf.compat.v1.data.get_output_shapes(train_dataset)) # in the code
print(tf.data.experimental.get_structure(train_dataset)) # function that replaces get_ouput_shapes (See TF issue #30774)
print(get_first_element_shape(train_dataset)) # My function to work around the None sized dimensions

x = train_dataset.map(lambda a, b: a)
print('\nX dataset (split out of input dataset by _process_xy in autokeras.automodel)')
print(tf.compat.v1.data.get_output_shapes(x)) # in the code
print(tf.data.experimental.get_structure(x)) # function that replaces get_ouput_shapes (See TF issue #30774)
print(get_first_element_shape(x)) # My function to work around the None sized dimensions

I have tried in colab with TF version 2.3, nightly version(2.4.0-dev20200916) and was able to reproduce the issue. Please, find the gist here. Thanks!

@BryceSchmitt Sorry for the late reply.
The issue arises because the shape of the tensors produced by parse_tf_example is unknown until the actual data is parsed. Shape inference happens before then (parsing the entire dataset to make sure every example is the same size would be too expensive). If you know the shape of your examples, you can use tf.ensure_shape at the end of parse_tf_example so that the shapes will be known. That should resolve the error you're getting from AutoKeras.

@aaudiber Thanks for the detailed response, that does fix the issue and allows AutoKeras to run.


 Spelling and grammar fixes are really helpful.
I wonder whether the description: "a provenance-generating activity" was ever really present in the PROV Ontology. I always have a hard time remembering where to find it's source. For now, I can say that the definition provided by https://data.bioontology.org/ontologies/PROVO/submissions/124/download is

An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.

I think replacing our description value with their definition value is preferable to just fixing the spelling.
What do you think @cmungall ?

Thanks @eecavanna
I'm closing this via

https://github.com/microbiomedata/nmdc-schema/pull/1390


Update Lifefycle to 2.6.0

Update androix lifecycle to the latest stable release
https://github.com/bumble-tech/appyx/issues/373

@KovalevAndrey maybe consider setting up Renovate or Dependabot to maintain the dependencies up to date?

Hi @bmarty thanks for suggesting this. We'll consider this but the main problem here is that we have to align versions between Appyx and our main project and we can't always do it in the automated fashion. We strive to bring the dependencies up to date as soon as possible but sometimes we have to wait for some time


SDPA Flash kernel

Hi,
The 2.2 release of Torch added a great integration to speed up transformer attention based architectures.

FlashAttentionV2 backend for scaled dot product attention

An example of how it is intended to be used in the Python API is this context manager.
Following down the rabbit hole we land here:
torch._C._set_sdp_use_flash(enabled)

and following this we land here
There are the other mem_efficient and math optimisations which are closely linked and worth exposing.
NOTE: not sure if this is already in the bindings and I just can't find it?

I don't think this is available yet, and for these very specific operations I'm a bit dubious we will have some good support anytime soon. If you care about using flash-attention, I would recommend switching to candle instead where this is already well supported and give you access to flash-attention v2 which is significantly faster than the first version.

The way I've read the info about this seems like it's some form of switch that gets flicked (unknown how it actually works under the hood, but as far as the calls to enable flash attention feels like it's some global state almost) so the Tensor::scaled_dot_product_attention  has dispatches some other kernels under the hood. I was hoping it would be something they would expose for us to also be able to toggle.
Side note:
I'm a big fan of candle but I'm unfortunately working backwards on my project from candle back to torch as candle needs a few operations such as CUDA ConvTranspose1d that aren't implemented yet for my use-case and my naive kernel for it has been embarrassingly slow! And even without it (i.e. if we took the time it took to run that kernel, I couldn't get performance to the level I could with torch for now). I've go the codebase in two branches now candle and tch.

What are the ops that you're missing on the candle side? If it's just a matter of Conv1d and ConvTranspose1d, we could have a look at hooking cudnn here, this should bring you the best available kernels for these ops and you would benefit from all the "modern" aspects of candle as an ML framework which tch doesn't have.

It was indeed those to two mainly for this part of the project. I'm sure other bits might hit some walls too.
Essentially here's the issue on the candle side and it's ConvTranspose1d that I'm missing and obviously the faster the regular Conv1d is the better for my case.
I assumed you folks are swamped with TODO's so was just going to wait until this gets picked up to explore candle further.

Ah, hooking conv1d to use cudnn is probably the easiest thing to do but won't help the convtranspose1d bit here. I'll have to dig a bit to see how to do the transposed versions in cudnn (I think that's what pytorch does).

Just to mention that I merged a naive conv-transpose1d cuda implementation on the candle side. It's certainly on the very slow side so can well be a bottleneck for your use case but hopefully I can make a cudnn version for it too.

Would like to see this included in -- I think torch-sys module at the minimum is missing the scaled_dot_product_attention binding because it has the optional scalar for dropout_p that the bindings are filtering out, see https://github.com/LaurentMazare/tch-rs/blob/a4e9362e4acbbde54ab9503ab9e37a10835e7547/gen/gen.ml#L85
Could the gen.ml file be updated to include SDPA 🙏 ?

I would have thought that scaled_dot_product_attention is already generated, e.g. see here (fwiw optional scalars should not result in discarding the functions but rather these values are not settable in the rust api if there is a default value).


[Bug]: Cyclic dependency error thrown when renaming JS functions

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Cyclic dependency error is displayed when JS function is being renamed and clears when page is refreshed
Steps To Reproduce

Take any existing app with JS objects or go to app at this link
Try to rename any function - observe the cyclic dependency error as seen in the video

Public Sample App
https://release.app.appsmith.com/app/git-connected-app-with-js-objects/page1-62668caa01f360366e25e4d2/edit/jsObjects/62668cc801f360366e25e4d9
Version
Cloud

6m usage: 2300
apply 1% requirement: 23
Stats

Stat
Values

Reach
23

Effort (months)
<>

@ajinkyakulkarni I am seeing this error even if I append just a single character at the end of the function name - which seems to me that it may not be related to the pause taken when renaming.

@sumitsum we will prioritize this issue.


Fix shebang in lxd-images.

NixOS and possibly other OSs only have the deterministic unix binaries /bin/sh and /usr/bin/env. All other software is in paths determined by build inputs.

Thanks for the fix.
Contributions to LXD must have the Signed-off-by line in the commit message.
Please update your commit message, then we'll be able to merge it.

Sorry for the delay, added now.

Thanks


Adds new platform for download page, "Arch Linux" and the necessary i…

…nstructions to install via its native package manager.
Description
#642 has been sitting around for a while. I was under the impression that there was some kind of clarification that was to be added to the download instructions regarding how the opensearch package is actually opensearch-min, but I think it's sat long enough. Here's the path I took:
I added a dropdown to the OpenSearch and OpenSearch Dashboards sections of the download page to inlcude "Arch Linux" as a platform. Selecting any of the build variants will just show the command line instruction to install the opensearch package via pacman (pacman -S opensearch)
Caveats:

The pacman package listing showed the only available architecture was x86_64, so I left out any other arch.
I didn't see pacman packages for the earlier release line of 1.3.x so I created no download artifacts for those.

Issues Resolved
#642
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

Selecting any of the build variants will just show the command line instruction to install the opensearch package via pacman (pacman -S opensearch)

As long as this doesn't confuse users since they need to install plugins via other packages.

The pacman package listing showed the only available architecture was x86_64, so I left out any other arch.

Correct, we currently only provide x86_64. Others are planned (f.e. x86_64_v3, arm64), but this will take a while.

I didn't see pacman packages for the earlier release line of 1.3.x so I created no download artifacts for those.

Also correct, Arch Linux will only ever provide the latest version of opensearch.


Proposition: Using prior language probability to increase likelihood

@pemistahl Peter, I think it would be beneficial for this library to have a separate method that will add probability prior (in a Bayesian way) to the mix.
Let's look into statistics: https://en.wikipedia.org/wiki/Languages_used_on_the_Internet
So if 57% of texts, that you see on the internet, are in English so, if you predicted "English" for any input you would be wrong only in 43%. It's like a stopped clock, but it is right every second probe.
For example: https://github.com/pemistahl/lingua-py/issues/100
Based on that premise, if we are using just plain character statistics "как дела" is more Macedonian than Russian. But overall, if we add language statistics to the mix, lingua-puy would be "wrong" less often.
There are more Russian-speaking users of this library, than Macedonians, just because there are more Russian-speaking people overall. And so when a random user writes "как дела" it's "more accurate" to predict "russian" than "macedonian", just because in general that is what is expected by these users.
So my proposition to add detector.detect_language_with_prior function and factorize it with prior: likelihood = probability X prior_probability
For example: https://github.com/pemistahl/lingua-py/issues/97
detector.detect_language_of("Hello")

"ITALIAN": 0.9900000000000001,
"SPANISH": 0.8457074930316446,
"ENGLISH": 0.6405700388041755,
"FRENCH": 0.260556921899765,
"GERMAN": 0.01,
"CHINESE": 0,
"RUSSIAN": 0

detector.detect_language_with_prior("Hello")

# Of course constants are for illustrative purposes only.
# Results should be normalized afterwords
"ENGLISH": 0.6405700388041755 * 0.577,
"SPANISH": 0.8457074930316446 * 0.045,
"ITALIAN": 0.9900000000000001 * 0.017,
"FRENCH": 0.260556921899765 * 0.039,

Linked issues:

https://github.com/pemistahl/lingua-py/issues/94
https://github.com/pemistahl/lingua-py/issues/100
https://github.com/pemistahl/lingua-py/issues/97

Hi @slavaGanzin, thank you for this very interesting idea. :) I will evaluate whether the overall accuracy improves when applying prior probabilities.

I agree this should dramatically increase quality. After using lingua-py in production at scale, we've noticed quite a few instances of small languages (eg. Bulgarian, Macedonian) predicted over much more likely ones

@nickchomey .env approach sounds scary. This can be a second parameter to a function with default values equal to general language distributions, which you can override providing your own.

I agree this should dramatically increase quality. After using lingua-py in production at scale, we've noticed quite a few instances of small languages (eg. Bulgarian, Macedonian) predicted over much more likely ones

Hi duboff, I find lingua to be extremely slow like 10-20 strings/secs on MacBook Pro. Can you suggest some approach to make it usable in the prod environment?

@bhaveshkr I've just written down some performance tips in the README. You probably want to read them.

@pemistahl It's Great to see a new version! I was a bit afraid. Without putting undue pressure on you, do you think you are likely to consider the idea in this Issue or something similar any time soon?

Hi duboff, I find lingua to be extremely slow like 10-20 strings/secs on MacBook Pro. Can you suggest some approach to make it usable in the prod environment?

I just did exactly what the readme told me, but our use case is typically short-ish strings. We run it on AWS Lambda where it works fine with increased timeout.

Without putting undue pressure on you, do you think you are likely to consider the idea in this Issue or something similar any time soon?

@duboff Half a year ago or so, I did a quick evaluation of applying hard-coded prior probabilities. But the overall detection accuracy decreased significantly. So the proposed approach in this issue is not as promising as you may expect. I've kept this issue open so far as I think that it's worth doing more experiments in this direction. Not having enough free time is the limiting factor. This is an open source project, however, so feel free to fork and implement improvements yourself. I'm always happy about pull requests.