text:
Default caffeine cache size

Set a default size for caffeine cache - min(1GB, Runtime.maxMemory / 10).
Update documentation.

For further info, please see discussion here: https://groups.google.com/forum/#!topic/druid-user/U0q_fHJtUwo

@stuartmclean can you please add description for lazy ppls like me whom tries to avoid clicking 77 links and read bunch of ping-pong threads, i would recommend something like
 fixing the docs for property druid.cache.sizeInBytes and  changing the default size for Caffeine to be min(1GB, Runtime.maxMemory / 10)

Thanks for contribution. LGTM please make sure to fill up the CLA http://druid.io/community/cla.html

Fixed failing unit tests - io.druid.client.cache.CaffeineCacheTest#testSizeCalculationNoWeight is now almost a duplicate of testSizeCalculationMore but I think it still makes sense to keep it.
It doesn't look to me like the timed-out test in the travis "processing module test" is related to my change.

It doesn't look to me like the timed-out test in the travis "processing module test" is related to my change.

It might not be. I restarted that one.

authors: b-slim gianm stuartmclean


text:
I'm not seeing any parrots in the search.

I'm not seeing any parrots in the search.

Hi, thank you for your interest in this project! Sadly it is not active anymore. If you want you can host it yourself.
Thank you!

i would love to host it myself.
how do i do this however?
I have a cloud server for hosting

For that you can check out the readme. Please note that this might not work, as it hasn't been maintained for 3 years.

Hey @HurlyDesousa, did you bring the party parrot back online? 🦜

@dsluijk, what is Raven and where can one get a token?

@NadineThouroghby , i try to, but did not succeed. would still be interested if i had more docs

Where did it fail on your side, @HurlyDesousa?
This is what I get at the last step npm start:

The problem seems to be that that two URLs are not reachable:
https://github.com/dsluijk/PartyParrotBot/blob/f56754175c9c711ba3a3ad27a5380dd338284bf3/src/versionControl.ts#L20
https://github.com/dsluijk/PartyParrotBot/blob/f56754175c9c711ba3a3ad27a5380dd338284bf3/src/versionControl.ts#L24
@dsluijk & @jmhobbs, I am sorry to interupt you, but do you perhaps know what was in them?

It seems like they changed the format of the parrot metadata to YAML instead of JSON. I'll take a look when I have time.

Oh rats!  I didn't think about this.  @dsluijk would it work for you if I generate that somewhere in the build pipeline?   I could ensure the latest is always at https://cultofthepartyparrot.com/parrots.json or something.

Thank you! I'll take a look after this has been merged.

It should be working again! Try to tag @PartyParrotBot in any telegram chat. You can also run a pre-build docker image here. Thanks to @jmhobbs for his contribution!

Is the bot still working, @dsluijk & @jmhobbs? 🧐

The bot is not working on my end too so I am planning to develop a new bot with @TECH-SAVVY-GUY.
The source is available on https://github.com/Crazy-Marvin/PartyParrotsTelegramBot and you may find it on Telegram @PartyParrotsBot. I suppose we will be ready until the end of this year. 😊

The bot is not working on my end too so I am planning to develop a new bot with @TECH-SAVVY-GUY. The source is available on https://github.com/Crazy-Marvin/PartyParrotsTelegramBot and you may find it on Telegram @PartyParrotsBot. I suppose we will be ready until the end of this year. blush

Wow, that are amazing news!! Thank you so much!!

source: gharchive/issue

authors: CrazyMarvin HurlyDesousa NadineThouroghby clarissaapplebloom dsluijk jmhobbs

repo: dsluijk/PartyParrotBot

license: MIT

license_type: permissive

license_source: github-api


text:
Trying to access array offset on value of type int

@im-zhangxi 已修复

authors: dspurl im-zhangxi

repo: dspurl/dsshop


text:
Load new DMAP columns for G and GBETA.

Describe the Enhancement
The issue dtcenter/met#1673 and corresponding pull request dtcenter/met#1857 add new columns to the distance map (DMAP) line type created by the Grid-Stat tool.
This adds 3 new columns to the end of the existing DMAP line type: G, GBETA, and BETA_VALUE. All 3 columns are floating point numbers. Note that G will always have a value in the output, but GBETA and BETA_VALUE will only have a value when VX_MASK = FULL. When VX_MASK != FULL, GBETA = BETA_VALUE = NA.
Please see corresponding METviewer issue for plotting these stats:
dtcenter/METviewer#323
Please see existing documentation for more details about the configuration options, science, and equations.
Sample data can be found in kiowa:/d1/projects/MET/MET_regression/develop/NB20210818/MET-develop/test_output/met_test_scripts/grid_stat/grid_stat_120000L_20050807_120000V_dmap.txt.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
No sub-issues needed.
Relevant Deadlines
Prior to the coordinated METplus 4.1.0 release.
Funding Source
2702691
Define the Metadata
Assignee

[x] Select engineer(s) or no engineer required: Venita
[x] Select scientist(s) or no scientist required: no scientist required

Labels

[x] Select component(s)
[x] Select priority
[x] Select requestor(s)

Projects and Milestone

[x] Select Repository and/or Organization level Project(s) or add alert: NEED PROJECT ASSIGNMENT label
[x] Select Milestone as the next official version or Future Versions

Define Related Issue(s)
Consider the impact to the other METplus components.

[x] METplus, MET, METdatadb, METviewer, METexpress, METcalcpy, METplotpy

Enhancement Checklist
See the METplus Workflow for details.

[ ] Complete the issue definition above, including the Time Estimate and Funding Source.
[ ] Fork this repository or create a branch of develop.
Branch name: feature_<Issue Number>_<Description>
[ ] Complete the development and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s) and Linked issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

Here is the sample data (remove.txt)
grid_stat_120000L_20050807_120000V.stat.txt

Updated schema file:
https://github.com/dtcenter/METviewer/blob/issue/324-dmap_stats/sql/mv_mysql.sql

Added new fields g, g_beta, and beta_value to line_data_dmap in constants.py. Requires version of mv_mysql.sql with new columns in line_data_dmap (in METviewer repo). Ran with test data file provided by Tatiana.

repo: dtcenter/METdatadb


text:
Can't update or install raspotify

Compatible OS

[X] I'm running Raspotify on a compatible OS

Latest Version

[X] I'm running the latest version of Raspotify

Due Diligence

[X] I have done my due diligence

What happened?
Hi,
I run rasportify for some days.
Now I wanted to update to the latest version. But this is not possible via sudo apt-get upgrade or with the installation script
I get the following error:

sudo apt install raspotify

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
raspotify : Depends: libasound2 (>= 1.2.4)
Depends: systemd (>= 247.3) but 241-7~deb10u8+rpi1 is to be installed
Depends: init-system-helpers (>= 1.60) but 1.56+nmu1 is to be installed
E: Unable to correct problems, you have held broken packages.

How can I reinstall raspotify?
Also after running sudo apt update the latest version of e.g. libasound2 is not installing.

Raspotify recently updated to 0.31.8.1 which added minimum dependencies. This error probably means your OS isn't compatible with Raspotify (e.g. running debian buster when you need debian bullseye). If raspotify was working for you before, try manually downloading 0.31.8 and installing that (it wont throw any errors installing, but might not work once installed).

@Gringles hit the nail on the head.

authors: Gringles JasonLG1979 Kachelkaiser

repo: dtcooper/raspotify

license: mit

license_source: bigquery


text:
Added the ability to set style objects

This allows for building processes which have a much smaller stylesheet. In my particular use case we are applying styles to 100's of cells, without this ability the stylesheet grows to the point where excel cannot load the styles at all

This is a very nice PR. Well commented, well written, and nice tests. I'm just going to make one small change on the ArgHandler Style class detection.

source: gharchive/pull-request

authors: dtjohnson waterfoul

repo: dtjohnson/xlsx-populate


text:
Add example for expressions in error attribute

Hi @dtolnay, that you so much for this awesome crate. I use it everywhere all the time (together with anyhow).
Was trying to figure out how to nicely display an Option<T> value in the error message, instead of just using {0:?} and having Some("...")/None in the displayed message.
So I found a nice test case in tests/test_display.rs, and thought it might be nice to add a tiny
example to the README.md and crate docs, to showcase that expressions are possible in the #[error("...")] attribute as well.
Wording of the example could maybe be a bit improved, I'm not as good of a writer as you 🙇♂.

@dnaka91 thank you! I came here for exactly this reason. I have an error that comes from an API which always includes an error code and usually but not always includes a clarifying error message. Your example helped me a lot.

I'm happy to change my initial sample to something more elaborate. My case was really something that simple where I just wanted to avoid the Some("...")/None as part of the error message.
How about something like a PathBuf + std::io::Error that matches on the error kinds to give nicer messages than the default I/O error implementation?
Of course would be interested in the code from @bjeanes too.

Thanks for the bump. I saw the previous notification but got sidetracked digging up my example and forgot!
I have some code which works with an API which returns error payloads like {"code": 301, "message": "read failed"}. The error codes are totally undocumented and only some of them include a message field.
So, my error to represent these looks like this:
#[error("{code}{}", match .message {
    Some(msg) => format!(" - {}", &msg),
    None => "".to_owned(),
})]
SungrowError { code: u16, message: Option<String> },

repo: dtolnay/thiserror


text:
Add tests for indentation rule

This increases the coverage of rules/indentation.js to 95% of the statements and 85% of the branches. There are several branches that I didn't cover because I didn't fully understand the scenario they were handling. I'll add comments to those parts of the code and maybe you can give me some insight so that I can create the proper fixtures.

@fvictorio Awesome!
I'm not sure if I understood correctly what you're referring to when you say branches (do you mean the branches of this project?). Could you please clarify.
Also would be happy to explain the scenarios that are confusing you, what are they?

I meant the branch coverage of the tests. For example, the tests may cover the if branch of some code but not the else. If you run the tests in this PR and open the coverage/lib/rules/indentation.js.html, you'll see that several ifs are not entered.
I was going to indicate the scenarios and then I got carried away with other stuff, sorry. I'll do it now with comments in the indentation rule file.

Ok, I don't know how to add comments to files that are not part of the PR, so I'll just list thereferences here. In all these cases, I'm not sure which solidity code make the linter to enter there.

https://github.com/duaraghav8/Solium/blob/e6a87c61734760e4d37bfd5ad1641c7ebfc3ab6a/lib/rules/indentation.js#L89-L102

https://github.com/duaraghav8/Solium/blob/e6a87c61734760e4d37bfd5ad1641c7ebfc3ab6a/lib/rules/indentation.js#L246-L249
This one :point_up: seems to have a stale comment, right?

https://github.com/duaraghav8/Solium/blob/e6a87c61734760e4d37bfd5ad1641c7ebfc3ab6a/lib/rules/indentation.js#L292-L294

https://github.com/duaraghav8/Solium/blob/e6a87c61734760e4d37bfd5ad1641c7ebfc3ab6a/lib/rules/indentation.js#L352-L354

https://github.com/duaraghav8/Solium/blob/e6a87c61734760e4d37bfd5ad1641c7ebfc3ab6a/lib/rules/indentation.js#L383-L385

https://github.com/duaraghav8/Solium/blob/e6a87c61734760e4d37bfd5ad1641c7ebfc3ab6a/lib/rules/indentation.js#L396-L399

I didn't write the comment clearly enough, my bad. What this does is to ensure that the ending brace of a contract/library statement (which I call top-level declarations) doesn't have any indentation.
Here are 2 minimal examples that will trigger this:

contract Foo {
    }

contract Bar {
/*hello*/}

Yes, comment is stale. Please change it to // No need to lint further if entire struct declaration is on single line.
To cover this, add below code:

contract Foo {
    struct Bar { a uint; b char; }
}

(and set config to 4 spaces)

Same idea as above, if array declaration is only on single line, stop linting further. Example to cover:

contract Flurry {
    uint[] arr = [1,2];
}

This is very poorly written (and buggy) code, ignore it. Its fine if it doesn't get covered, I'm gonna change it in future anyway.

We enter this branch when you make a function call that starts & ends on the same line.

contract Foo {
    function bar() {
        myFuncCall (100, "hello world");
    }
}

Buggy code. Ignore, no need to test.

Cool, thanks a lot! I added those test cases and the proper comments in the indentation rule.


text:
Scan media files after download

Task/Issue URL: https://app.asana.com/0/488551667048375/1202798538526983/f
Description
Ensure we scan the media folder so that downloaded media files immediately appear to the user when trying to open from apps other than the DDG browser
Steps to test this PR
Before

[ ] install from develop
[ ] search anything from SERP and go to images
[ ] long press in an image and download
[ ] open a 3rd party app to see downloads, eg. Files
expected

[ ] the recently downloaded image should appear

actual

[ ] the recently downloaded image does not appear

After

[ ] install from this branch
[ ] search anything from SERP and go to images
[ ] long press in an image and download
[ ] open a 3rd party app to see downloads, eg. Files
[ ] verify the recently downloaded image should appear

Current dependencies on/for this PR:

develop

PR #2180   👈

This comment was auto-generated by Graphite.

repo: duckduckgo/Android


text:
Updated the API level mentioned in PULL_REQUEST_TEMPLATE.md to 26.

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4325  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @anikiki and the rest of your teammates on  Graphite


text:
Start using the v4 block list again

Now that the rule matching code in privacy-grade has been updated to
properly ignore unsupported rule actions, it should be safe to switch
back to the v4 block list again. That is necessary to get Click to
Load working for MV3 builds again, and is the next step towards
removing the legacy social_ctp_configuration.json[1] configuration
file.
Note: We also needed to fix the Click to Load YouTube test
configuration, that was missing the surrogate script entry. It
turned out that this was working by accident using the v4 block
list actions in the test block list file.
1 - https://staticcdn.duckduckgo.com/useragents/social_ctp_configuration.json

Reviewer: @jdorweiler
CC: @ladamski
Steps to test this PR:
MV2:

Check that Facebook Click to Load works correctly (see the test page).
Check that videos load as normal on the YouTube test page.

MV3:

Check that Facebook Click to Load works correctly (see the test page). Especially important is to check that requests are being blocked (not only that the placeholders are being shown.)
It's expected that videos are blocked incorrectly, with no placeholder shown on the YouTube test page. I will be fixing that next.

Automated tests:

[ ] Unit tests
[x] Integration tests

Reviewer Checklist:

[ ] Ensure the PR solves the problem
[ ] Review every line of code
[ ] Ensure the PR does no harm by testing the changes thoroughly
[ ] Get help if you're uncomfortable with any of the above!
[ ] Determine if there are any quick wins that improve the implementation

PR Author Checklist:

[ ] Get advice or leverage existing code
[ ] Agree on technical approach with reviewer (if the changes are nuanced)
[ ] Ensure that there is a testing strategy (and documented non-automated tests)
[ ] Ensure there is a documented monitoring strategy (if necessary)
[ ] Consider systems implications

Test YouTube Click To Load CTL: YouTube interacting with iframe API is failing for me locally so there's something a bit broken I suspect (running test-int so MV2)

Also Youtube doesn't load in MV3 as its blocked (since youtube CTL is not yet ready). But since Youtube action is not defined/enabled in duckduckgo/privacy-configuration#603, we should ensure that MV3 also abides by the config?

Yea, that's expected (see testing instructions). It will be next on my list to fix, after we land this.

Also Youtube doesn't load in MV3 as its blocked (since youtube CTL is not yet ready). But since Youtube action is not defined/enabled in duckduckgo/privacy-configuration#603, we should ensure that MV3 also abides by the config?

Yea, that's expected (see testing instructions). It will be next on my list to fix, after we land this.

Yes but as I said, since the action is not enabled we should not be blocking those in MV3 either?

Also Youtube doesn't load in MV3 as its blocked (since youtube CTL is not yet ready). But since Youtube action is not defined/enabled in duckduckgo/privacy-configuration#603, we should ensure that MV3 also abides by the config?

Yea, that's expected (see testing instructions). It will be next on my list to fix, after we land this.

Yes but as I said, since the action is not enabled we should not be blocking those in MV3 either? To clarify, do you mean you'll fix youtube next or fix skipping disabled actions for MV3? :)

I meant I will be fixing MV3 Click to Load next, so that it's only active when it should be. Fixing YouTube CTL is out of scope for this project.

authors: kzar ladamski

repo: duckduckgo/duckduckgo-privacy-extension


text:
Migrate to TrackerRadarKit

Task/Issue URL: https://app.asana.com/0/72649045549333/1194161438970554/f
Tech Design URL: https://app.asana.com/0/481882893211075/1199405653869875/f
CC: @SlayterDev
Description:
This PR migrates the app to the new TrackerRadarKit Swift package.
The changes in this PR are fairly simple: a handful of source files have been removed, and imports have been updated. There are still tests which depend on TrackerRadarKit in the iOS project, in cases where they also depend on integral parts of the iOS app. Additionally, integration tests have not been removed – am open to feedback here.
Steps to test this PR:

Run unit & integration tests to verify that there are no failure
Test that content blocking functionality all works as expected, including verifying that temporary unprotected domains and domains without privacy protection are excluded as expected

TODO:

[x] Move to a fixed commit in the TrackerRadarKit repo once https://github.com/duckduckgo/TrackerRadarKit/pull/1 has been merged

Device Testing:

[ ] iPhone SE (1st Gen)
[ ] iPhone 8
[x] iPhone X
[x] iPad

OS Testing:

[x] iOS 11
[x] iOS 12
[x] iOS 13
[x] iOS 14

Internal references:
Software Engineering Expectations
Technical Design Template

Tagged TrackerRadarKit 1.0.0 and updated this branch to use it ✅

Tagged TrackerRadarKit 1.0.0 and updated this branch to use it ✅

repo: duckduckgo/iOS


text:
Slider 控件绘制渲染上的小瑕疵

seeing is believing

Slider 控件的边缘处, 由于直接使用矩形绘制, 当圆型滑块滑至边缘处, 将导致两尖角突出. 如上图所示

当然采用方形滑块, 不存在这样的问题. 但方形滑块用的真的很少. 圆形才是主流啊, 这导致在后期需要美工用P图欺骗的方式来处理这类型的瑕疵.

滑槽不能圆角吗，或者滑槽两端图片适当短一点，这个似乎不是库应该解决的问题

其实这个改起来很简单。。给Slider 控件加一个padding值。 padding值这可以自定义设置。绘制矩形的时候减去padding就好了嘛

设置贴图dest也可以的吧

我记得试过这个方法。。当时貌似是效果不好所以自己加了个padding,原因记不清了

authors: lion117 progmboy wangchyz

repo: duilib/duilib


text:
Allow to minimize menu ribbon

It would be great if it was possible to minimize menu ribbon similar how it's done in regular File Explorer and Office programs, since menu ribbon is not always needed and it takes quite a bit of space.
Double clicking on menu tab would toggle ribbon between minimized and shown.
If minimized, single click on menu tab temporarily show ribbon until further action.

Pro tip: [CTRL + Click] a ribbon header item to minimize the ribbon. Of course I'll work on a toggle button for this as well.

This will be included in the v0.7 release.

You can download v0.7.0 here.

authors: TailyFair duke7553 yaichenbaum


text:
Scrollposition beibehalten

From @annam002 on September 20, 2015 16:11
Wenn man in der Talkübersicht gescrollt hat, dann auf die Detailansicht geht, und dann wieder zurück, wäre es wirklich nett, wenn die Scrollposition diesselbe ist wie vorher. Besonders auf dem Handy scrollt man sonst ewig.
Copied from original issue: dukecon/dukecon#6

Fixed!

authors: ascheman steffchep


text:
Uncaught Error: Call to undefined function dirname()

What happened?
My Symfony6 application can not start with the following error:
{"level":"error","ts":1711266796.1390681,"msg":"PHP Fatal error:  Uncaught Error: Call to undefined function dirname() in /app/public/index.php:5\nStack trace:\n#0 {main}\n  thrown in /app/public/index.php on line 5","syslog_level":"err"}

My Dockerfile relevant part where I build frankenphp:
#syntax=docker/dockerfile:1.4

# Custom Frankenphp build
FROM dunglas/frankenphp:latest-builder AS builder

# Copy xcaddy in the builder image
COPY --from=caddy:builder /usr/bin/xcaddy /usr/bin/xcaddy

# CGO must be enabled to build FrankenPHP
ENV CGO_ENABLED=1 XCADDY_SETCAP=1
ENV XCADDY_GO_BUILD_FLAGS="-ldflags \"-w -s -extldflags '-Wl,-z,stack-size=0x80000'\""

RUN xcaddy build \
	--output /usr/local/bin/frankenphp \
	--with github.com/dunglas/frankenphp=./ \
	--with github.com/dunglas/frankenphp/caddy=./caddy/ \
	# Mercure and Vulcain are included in the official build, but feel free to remove them
	--with github.com/dunglas/caddy-cbrotli \
	--with github.com/dunglas/mercure/caddy \
	# Add extra Caddy modules here
	--with github.com/mholt/caddy-ratelimit

FROM dunglas/frankenphp:1 AS frankenphp_upstream

# Replace the official binary by the one contained your custom modules
COPY --from=builder /usr/local/bin/frankenphp /usr/local/bin/frankenphp

My index.php file is standard:
<?php

use App\Kernel;

require_once dirname(__DIR__).'/vendor/autoload_runtime.php';

return function (array $context) {
    return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};

Probably it's important: Im wrapping frankenphp with supervisor:
[program:caddy]
command=frankenphp run --config /etc/caddy/Caddyfile
numprocs=1
autostart=true
autorestart=true
startsecs=0
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0

So my container starts with Supervisor, which in turn runs Frankenphp and several other console listeners.
Build Type
Docker (Debian Bookworm)
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
# php -i
phpinfo()
PHP Version => 8.3.4

System => Linux b39bc0d0a121 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020 x86_64
Build Date => Mar 16 2024 00:12:43
Build System => Linux - Docker
Build Provider => https://github.com/docker-library/php
Configure Command =>  './configure'  '--build=x86_64-linux-gnu' '--with-config-file-path=/usr/local/etc/php' '--with-config-file-scan-dir=/usr/local/etc/php/conf.d' '--enable-option-checking=fatal' '--with-mhash' '--with-pic' '--enable-mbstring' '--enable-mysqlnd' '--with-password-argon2' '--with-sodium=shared' '--with-pdo-sqlite=/usr' '--with-sqlite3=/usr' '--with-curl' '--with-iconv' '--with-openssl' '--with-readline' '--with-zlib' '--enable-phpdbg' '--enable-phpdbg-readline' '--with-pear' '--with-libdir=lib/x86_64-linux-gnu' '--enable-embed' '--enable-zts' '--disable-zend-signals' 'build_alias=x86_64-linux-gnu'
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => /usr/local/etc/php
Loaded Configuration File => /usr/local/etc/php/php.ini
Scan this dir for additional .ini files => /usr/local/etc/php/conf.d
Additional .ini files parsed => /usr/local/etc/php/conf.d/app.ini,
/usr/local/etc/php/conf.d/app.prod.ini,
/usr/local/etc/php/conf.d/docker-php-ext-amqp.ini,
/usr/local/etc/php/conf.d/docker-php-ext-apcu.ini,
/usr/local/etc/php/conf.d/docker-php-ext-bcmath.ini,
/usr/local/etc/php/conf.d/docker-php-ext-intl.ini,
/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini,
/usr/local/etc/php/conf.d/docker-php-ext-pdo_pgsql.ini,
/usr/local/etc/php/conf.d/docker-php-ext-sodium.ini,
/usr/local/etc/php/conf.d/docker-php-ext-zip.ini

PHP API => 20230831
PHP Extension => 20230831
Zend Extension => 420230831
Zend Extension Build => API420230831,TS
PHP Extension Build => API20230831,TS
Debug Build => no
Thread Safety => enabled
Thread API => POSIX Threads
Zend Signal Handling => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
Zend Max Execution Timers => enabled
IPv6 Support => enabled
DTrace Support => disabled

Registered PHP Streams => https, ftps, compress.zlib, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters => zlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk

This program makes use of the Zend Scripting Language Engine:
Zend Engine v4.3.4, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.4, Copyright (c), by Zend Technologies

Relevant log output
No response

At the same time, a simple restart of the container sometimes helps and Frankenphp begins to process requests successfully

This looks a lot like an opcache corruption issue: https://github.com/dunglas/symfony-docker/issues/578
Do you use any custom opcache option?

My opcache related configs.
#api/docker/frankenphp/conf.d/app.prod.ini

opcache.preload_user = root
opcache.preload = /app/config/preload.php

#api/config/preload.php
<?php

if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
    require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
}

#api/docker/php/conf.d/api-platform.prod.ini
apc.enable_cli = 1
date.timezone = UTC
session.auto_start = Off
short_open_tag = Off

# https://symfony.com/doc/current/performance.html

opcache.interned_strings_buffer = 16
opcache.max_accelerated_files = 20000
opcache.memory_consumption = 256
opcache.validate_timestamps = 0
realpath_cache_size = 4096K
realpath_cache_ttl = 600

BTW the file /var/cache/prod/App_KernelProdContainer.preload.php doesnt exists

Sorry, it does - this  file exists in cache directory

If I'm understanding correctly, if dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php' doesn't exist when the container starts, you'll run into this bug. Since it is in the cache, I suspect that is what is going on?

I think no. It's the same container and sometimes it runs to the issue, sometimes - not.

If you disable preloading, does the issue still occur?

You are right. When I disabled this script, the issue gone

in file #api/docker/frankenphp/conf.d/app.prod.ini opcache.preload  should be the same as path to file #api/config/preload.php

authors: CvekCoding dunglas fogrye withinboredom

repo: dunglas/frankenphp


text:
🛑 Mention Bot is down

In aa89b11, Mention Bot (https://backend.isbotdown.com/bots/mentionbot) was down:

HTTP code: 200
Response time: 125 ms

Resolved: Mention Bot is back up in 855ddf2.

repo: durof/status


text:
🛑 Mention Bot is down

In b181dc1, Mention Bot (https://backend.isbotdown.com/bots/mentionbot) was down:

HTTP code: 200
Response time: 106 ms

Resolved: Mention Bot is back up in 26759b8 after 1 hour, 35 minutes.


text:
🛑 Mention Test Bot is down

In 0664d67, Mention Test Bot (https://backend.isbotdown.com/bots/mentiontestbot) was down:

HTTP code: 200
Response time: 90 ms

Resolved: Mention Test Bot is back up in 76a259e.


text:
Find out what is starving the notion worker

They starve quicker and quicker. Good candidate is the discovered resources that might end up in an infinite loop

Disabled the infinite discovered resource thing. Looking good so far but early to tell

awaiting confirmation that workers are no longer starved

Nice find if that's confirmed. Maybe we can cap the number of iterations to give us a chance to make progress nonetheless?

It's not confirmed sadly

And they get more frequently starved now

My main focus for tomorrow

Mistery remains :/

Hopefully we have a way to introspect how worker slots are taken by workers....

Yeah not exactly sure how yet… but it does look like the notion worker stop doing anything all of a sudden

For some reason this hasn't happened in days. Moving back to committed. I can't repro and I have no example

Following this https://github.com/dust-tt/tasks/issues/664#issuecomment-2091111664

They seem well-fed for at least a week now 🤷♂

Hey, since we can't repro for > a month, and no news good news, would you be ok to close @fontanierh ?

We believe it was fixed this weekend👍

Let's close it, since we don't have a "hold before close" :)

authors: fontanierh philipperolet spolu

repo: dust-tt/dust


text:
[MS Connector] [Post-ship stabilization] Selective fullsync on add/remove data

When the user adds new folders, we currently run a full resync.
Change the logic to only run the fullsync on the newly added folders, not on those that were already synced

Closing as stale.
What's the status of Gdrive?

Gdrive is done here : https://github.com/dust-tt/dust/pull/6711
Reopening as PR is opened and ready for review

Yes, important to adress, reopening indeed :)

authors: philipperolet spolu tdraier


text:
core database: small nits and refactoring

Comment dead code
Move project to database instead of moved around in all function signatures
Fix some comments

Thanks for the improvements !

authors: fontanierh spolu


text:
🚧 Support shadow embedder in core data source

Description

This PR revamps the existing Qdrant implementation. As we increasingly need to handle more logic related to data source configuration (such as shadow write clusters and shadow embedders), this PR introduces a wrapper around the existing DustQdrantClient. This wrapper encapsulates the context (data source and embedder_config). Most methods have been migrated from DustQdrantClient to DataSourceQdrantClient to leverage the wrapped context.
The wrapper enables cleaner method signatures, as methods no longer need to accept DataSource and EmbedderConfig as parameters. This results in simpler and more readable method definitions. Since the data source remains consistent throughout the code, there is no need for the flexibility to pass different data sources.
The updated approach now exposes two methods on the DustQdrantClient:

for_data_source()
for_data_source_with_shadow_embedder()

While all the logic for the shadow embedder is currently included in this PR, it will be separated before final release!
Risk

Deploy Plan

Is this still up to date? I'm a bit lost between this PR and the other?

Superseed by https://github.com/dust-tt/dust/pull/5359.

authors: flvndvd spolu


text:
PixiJS Support

Any plans for Pixi view port? There is a pixi-react-fiber library that seems like it would fit pretty well with your library

Great idea, it should work.
I don't know when I'll get around to it, so if anyone is interested in learning how react-ecs works and pushing towards pixi support I can assist with whatever. I'll keep this open to track discussion.

authors: bliitzkrieg dustinlacewell

repo: dustinlacewell/react-ecs


text:
torchaudio container on jetson orin nano

Hi,
I have a jetson orin nano 8gb development kit. When I try to build the l4t-pytorch container, torchaudio fails to build.
-- L4T_VERSION=35.4.1
-- JETPACK_VERSION=5.1.2
-- CUDA_VERSION=11.4.315
-- LSB_RELEASE=20.04 (focal)
I run the command
omar@ubuntu:~/jetson-containers$ ./build.sh --name=arsd_test l4t-pytorch

I get the following error
.
.
.
[149/182] cd /torchaudio/build/temp.linux-aarch64-cpython-38/third_party/sox && /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E make_directory /torchaudio/build/temp.linux-aarch64-cpython-38/third_party/sox/CMakeFiles && /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E touch /torchaudio/build/temp.linux-aarch64-cpython-38/third_party/sox/CMakeFiles/opusfile-complete && /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E touch /torchaudio/build/temp.linux-aarch64-cpython-38/third_party/sox/src/opusfile-stamp/opusfile-done
[150/182] /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -DINCLUDE_KALDI -DINCLUDE_RIR -DUSE_CUDA -Dlibtorchaudio_EXPORTS -I/torchaudio -I/torchaudio/third_party/kaldi/src -I/torchaudio/third_party/kaldi/submodule/src -isystem /usr/local/lib/python3.8/dist-packages/torch/include -isystem /usr/local/lib/python3.8/dist-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=integer_sign_change,--diag_suppress=useless_using_declaration,--diag_suppress=set_but_not_used,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=implicit_return_from_non_void_function,--diag_suppress=unsigned_compare_with_zero,--diag_suppress=declared_but_not_referenced,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -O3 -DNDEBUG -std=c++17 -Xcompiler=-fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MT torchaudio/csrc/CMakeFiles/libtorchaudio.dir/iir_cuda.cu.o -MF torchaudio/csrc/CMakeFiles/libtorchaudio.dir/iir_cuda.cu.o.d -x cu -c /torchaudio/torchaudio/csrc/iir_cuda.cu -o torchaudio/csrc/CMakeFiles/libtorchaudio.dir/iir_cuda.cu.o
FAILED: torchaudio/csrc/CMakeFiles/libtorchaudio.dir/iir_cuda.cu.o
/usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -DINCLUDE_KALDI -DINCLUDE_RIR -DUSE_CUDA -Dlibtorchaudio_EXPORTS -I/torchaudio -I/torchaudio/third_party/kaldi/src -I/torchaudio/third_party/kaldi/submodule/src -isystem /usr/local/lib/python3.8/dist-packages/torch/include -isystem /usr/local/lib/python3.8/dist-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=integer_sign_change,--diag_suppress=useless_using_declaration,--diag_suppress=set_but_not_used,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=implicit_return_from_non_void_function,--diag_suppress=unsigned_compare_with_zero,--diag_suppress=declared_but_not_referenced,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -O3 -DNDEBUG -std=c++17 -Xcompiler=-fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MT torchaudio/csrc/CMakeFiles/libtorchaudio.dir/iir_cuda.cu.o -MF torchaudio/csrc/CMakeFiles/libtorchaudio.dir/iir_cuda.cu.o.d -x cu -c /torchaudio/torchaudio/csrc/iir_cuda.cu -o torchaudio/csrc/CMakeFiles/libtorchaudio.dir/iir_cuda.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
Killed
[151/182] /usr/bin/c++ -DINCLUDE_KALDI -DINCLUDE_RIR -DUSE_CUDA -Dlibtorchaudio_EXPORTS -I/torchaudio -I/torchaudio/third_party/kaldi/src -I/torchaudio/third_party/kaldi/submodule/src -isystem /usr/local/lib/python3.8/dist-packages/torch/include -isystem /usr/local/lib/python3.8/dist-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -Wall -D_GLIBCXX_USE_CXX11_ABI=1 -O3 -DNDEBUG -std=gnu++17 -fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -fopenmp -MD -MT torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rir.cpp.o -MF torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rir.cpp.o.d -o torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rir.cpp.o -c /torchaudio/torchaudio/csrc/rir.cpp
[152/182] /usr/bin/c++ -DINCLUDE_KALDI -DINCLUDE_RIR -DUSE_CUDA -Dlibtorchaudio_EXPORTS -I/torchaudio -I/torchaudio/third_party/kaldi/src -I/torchaudio/third_party/kaldi/submodule/src -isystem /usr/local/lib/python3.8/dist-packages/torch/include -isystem /usr/local/lib/python3.8/dist-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -Wall -D_GLIBCXX_USE_CXX11_ABI=1 -O3 -DNDEBUG -std=gnu++17 -fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -fopenmp -MD -MT torchaudio/csrc/CMakeFiles/libtorchaudio.dir/kaldi.cpp.o -MF torchaudio/csrc/CMakeFiles/libtorchaudio.dir/kaldi.cpp.o.d -o torchaudio/csrc/CMakeFiles/libtorchaudio.dir/kaldi.cpp.o -c /torchaudio/torchaudio/csrc/kaldi.cpp
[153/182] /usr/bin/c++ -DUSE_CUDA -D_torchaudio_EXPORTS -I/torchaudio -I/usr/include/python3.8 -I/torchaudio/third_party/kaldi/src -I/torchaudio/third_party/kaldi/submodule/src -isystem /usr/local/lib/python3.8/dist-packages/torch/include -isystem /usr/local/lib/python3.8/dist-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -Wall -D_GLIBCXX_USE_CXX11_ABI=1 -O3 -DNDEBUG -std=gnu++17 -fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -fopenmp -MD -MT torchaudio/csrc/CMakeFiles/_torchaudio.dir/pybind/pybind.cpp.o -MF torchaudio/csrc/CMakeFiles/_torchaudio.dir/pybind/pybind.cpp.o.d -o torchaudio/csrc/CMakeFiles/_torchaudio.dir/pybind/pybind.cpp.o -c /torchaudio/torchaudio/csrc/pybind/pybind.cpp
[154/182] /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -DINCLUDE_KALDI -DINCLUDE_RIR -DUSE_CUDA -Dlibtorchaudio_EXPORTS -I/torchaudio -I/torchaudio/third_party/kaldi/src -I/torchaudio/third_party/kaldi/submodule/src -isystem /usr/local/lib/python3.8/dist-packages/torch/include -isystem /usr/local/lib/python3.8/dist-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=integer_sign_change,--diag_suppress=useless_using_declaration,--diag_suppress=set_but_not_used,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=implicit_return_from_non_void_function,--diag_suppress=unsigned_compare_with_zero,--diag_suppress=declared_but_not_referenced,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -O3 -DNDEBUG -std=c++17 -Xcompiler=-fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MT torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rnnt/gpu/compute_betas.cu.o -MF torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rnnt/gpu/compute_betas.cu.o.d -x cu -c /torchaudio/torchaudio/csrc/rnnt/gpu/compute_betas.cu -o torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rnnt/gpu/compute_betas.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[155/182] /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -DINCLUDE_KALDI -DINCLUDE_RIR -DUSE_CUDA -Dlibtorchaudio_EXPORTS -I/torchaudio -I/torchaudio/third_party/kaldi/src -I/torchaudio/third_party/kaldi/submodule/src -isystem /usr/local/lib/python3.8/dist-packages/torch/include -isystem /usr/local/lib/python3.8/dist-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=integer_sign_change,--diag_suppress=useless_using_declaration,--diag_suppress=set_but_not_used,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=implicit_return_from_non_void_function,--diag_suppress=unsigned_compare_with_zero,--diag_suppress=declared_but_not_referenced,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -O3 -DNDEBUG -std=c++17 -Xcompiler=-fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MT torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rnnt/gpu/compute_alphas.cu.o -MF torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rnnt/gpu/compute_alphas.cu.o.d -x cu -c /torchaudio/torchaudio/csrc/rnnt/gpu/compute_alphas.cu -o torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rnnt/gpu/compute_alphas.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[156/182] cd /torchaudio/build/temp.linux-aarch64-cpython-38/third_party/sox/src/amr-build && /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -P /torchaudio/build/temp.linux-aarch64-cpython-38/third_party/sox/src/amr-stamp/amr-build-Release.cmake && /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E touch /torchaudio/build/temp.linux-aarch64-cpython-38/third_party/sox/src/amr-stamp/amr-build
[157/182] /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -DINCLUDE_KALDI -DINCLUDE_RIR -DUSE_CUDA -Dlibtorchaudio_EXPORTS -I/torchaudio -I/torchaudio/third_party/kaldi/src -I/torchaudio/third_party/kaldi/submodule/src -isystem /usr/local/lib/python3.8/dist-packages/torch/include -isystem /usr/local/lib/python3.8/dist-packages/torch/include/torch/csrc/api/include -isystem /usr/local/cuda/include -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=integer_sign_change,--diag_suppress=useless_using_declaration,--diag_suppress=set_but_not_used,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=implicit_return_from_non_void_function,--diag_suppress=unsigned_compare_with_zero,--diag_suppress=declared_but_not_referenced,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -O3 -DNDEBUG -std=c++17 -Xcompiler=-fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MT torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rnnt/gpu/compute.cu.o -MF torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rnnt/gpu/compute.cu.o.d -x cu -c /torchaudio/torchaudio/csrc/rnnt/gpu/compute.cu -o torchaudio/csrc/CMakeFiles/libtorchaudio.dir/rnnt/gpu/compute.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
ninja: build stopped: subcommand failed.

No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
Traceback (most recent call last):
  File "setup.py", line 184, in <module>
    _main()
  File "setup.py", line 147, in _main
    setup(
  File "/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py", line 107, in setup
    return distutils.core.setup(**attrs)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.8/dist-packages/wheel/bdist_wheel.py", line 364, in run
    self.run_command("build")
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/command/build.py", line 131, in run
    self.run_command(cmd_name)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/torchaudio/tools/setup_helpers/extension.py", line 86, in run
    super().run()
  File "/usr/local/lib/python3.8/dist-packages/setuptools/command/build_ext.py", line 88, in run
    _build_ext.run(self)
  File "/usr/local/lib/python3.8/dist-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
    self.build_extensions()
  File "/usr/local/lib/python3.8/dist-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
    self._build_extensions_serial()
  File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
    self.build_extension(ext)
  File "/torchaudio/tools/setup_helpers/extension.py", line 168, in build_extension
    subprocess.check_call(["cmake", "--build", "."] + build_args, cwd=self.build_temp)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install']' returned non-zero exit status 1.
The command '/bin/sh -c git clone --branch ${TORCHAUDIO_VERSION} --recursive --depth=1 https://github.com/pytorch/audio torchaudio &&     cd torchaudio &&     git checkout ${TORCHAUDIO_VERSION} &&     sed -i 's#  URL https://zlib.net/zlib-1.2.11.tar.gz#  URL https://github.com/madler/zlib/archive/refs/tags/v1.2.12.tar.gz#g' third_party/zlib/CMakeLists.txt || echo "failed to patch torchaudio/third_party/zlib/CMakeLists.txt" &&     sed -i 's#  URL_HASH SHA256=c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1#  URL_HASH SHA256=d8688496ea40fb61787500e863cc63c9afcbc524468cedeb478068924eb54932#g' third_party/zlib/CMakeLists.txt || echo "failed to patch torchaudio/third_party/zlib/CMakeLists.txt" &&     BUILD_SOX=1 python3 setup.py bdist_wheel &&     cp dist/torchaudio*.whl /opt &&     pip3 install --no-cache-dir --verbose /opt/torchaudio*.whl &&     cd ../ &&     rm -rf torchaudio' returned a non-zero code: 1
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/omar/jetson-containers/jetson_containers/build.py", line 93, in <module>
    build_container(args.name, args.packages, args.base, args.build_flags, args.simulate, args.skip_tests, args.push)
  File "/home/omar/jetson-containers/jetson_containers/container.py", line 119, in build_container
    status = subprocess.run(cmd.replace(_NEWLINE_, ' '), executable='/bin/bash', shell=True, check=True)
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'docker build --network=host --tag arsd_test:r35.4.1-torchaudio --file /home/omar/jetson-containers/packages/pytorch/torchaudio/Dockerfile --build-arg BASE_IMAGE=arsd_test:r35.4.1-torchvision --build-arg TORCHAUDIO_VERSION="v2.0.1" /home/omar/jetson-containers/packages/pytorch/torchaudio 2>&1 | tee /home/omar/jetson-containers/logs/20230906_134627/build/arsd_test_r35.4.1-torchaudio.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 1.

pytorch and torchvision both are built and tested successfully without problems.
thanks :)

Hi @dusty-nv thanks a lot. I will check it and will reopen in case the error presists :)

repo: dusty-nv/jetson-containers


text:
fix(homeassistant-core): Fix Dockerfile, add S6, missing deps, remove dev deps

Hi @dusty-nv 👋
First batch of fixes to homeassistant-core container arrived :) Mostly I migrated from experimental dev Dockerfile to more compatible prod-friendly version based on the original HA Dockerfile.
Everything build's flawlessly, but unfortunately the onboarding process fails (looks like error in HA codebase, but I'm not sure) on creating new user request to backend HA API: https://community.home-assistant.io/t/new-install-onboarding-failedkeyerror-component-onboarding-area-living-room/689712 – maybe someone from HA could take a look on that.
Edit: @dusty-nv when we are done with all issues here, we can refactor this to push builded wheel to our servers.

Thanks @ms1design !, merging this awhile.


text:
Open source poloLending-Advisor?

I am wondering if you plan to open source poloLending-Advisor too! It seems to be the single point of failure of poloLender right now. I am also curious about how you implement the lend offer optimisation and how it communicates with the poloLender clients. I would eventually like to self-host the full stack. I can understand if you want to keep the source, it's your work after all 👍
Anyway, I love poloLender. It is working so well! Thank you for hosting the advisor and maintaining the lender engine ❤

The poloLending-Advisor is currently integrated with other scripts. Right now I don't have the bandwidth to work on implement it as a stand alone tool.

This project started a couple of years ago from a personal need and I didn't have the intention to offer the lending strategy for public use.
During the time I've seen a number of very popular lending bots, which unfortunately are not only inefficient, but also lead to race conditions, which in turn lead to lower and lower rates. This is when I decided to offer the strategy to wide use.

Calculating the average-loan- holding-time is one of the main task of poloLending-Advisor. For this I have to continuously place loan orders at the top of the lending book. This leads to having relatively large amount of funds locked into lending and at non-optimal rates. Due to this I believe many users would not be able to allocate funds for this operation and run a poloLending-Advisor app on their own.

I agree with you that the poloLending-Advisor is a single point of failure. Even if it has been working for couple of years with almost no downtime, I'd love to transform it into a high availability system.
However, it'll imply additional development and running cost.

That makes sense! I like your approach to optimise the rate 👍 and so far I don't have any complain about the uptime 😀
I am closing the issue, thank a lot for you reply!

authors: dutu pioug

repo: dutu/poloLender


text:
count的例子程序运行不对

我把Getting Started 的 count 的例子拿到本地运行时，reducers的add和effects的add不能同时执行，当加了effects的add方法后，reducers的add就不执行了
依赖的版本：
"dependencies": {
"dva": "^2.1.0",
"keymaster": "^1.6.2",
"react": "^16.2.0",
"react-dom": "^16.2.0"
},

与 #1495 问题一样，重复问题关闭

repo: dvajs/dva


text:
为什么自定义中间件只能检测到自己的action，无法检测到react-navigation的action

我想通过下面的middleware监听react-navigation的screen的变化，但是只能监听到自定义的action，react-navigation的action监听不到，不知道什么原因？我是参考这篇文章做的 https://github.com/react-community/react-navigation/blob/master/docs/guides/Screen-Tracking.md 能帮我看看吗？
import {NavigationActions, addNavigationHelpers} from 'react-navigation';

const DVA_NAVI = 'Navigation/NAVIGATE';
const DVA_NAVI_BLACKLIST = ['DrawerOpen', 'DrawerClose'];

function naviHandler() {
  return ({ getState }) => (next) => (action) => {
    console.log('naviHandler: =============', action);
    if (
      action.type !== NavigationActions.NAVIGATE
      && action.type !== NavigationActions.BACK
    ) {
      return next(action);
    }

    const currentScreen = getCurrentScreen(getState().navigation);
    const result = next(action);
    const nextScreen = getCurrentScreen(getState().navigation);
    if (nextScreen !== currentScreen) {
      // the line below uses the Google Analytics tracker
      // change the tracker here to use other Mobile analytics SDK.
      console.log('screen changed');
    }
    return result;
  }

  function getCurrentScreen(navigationState) {
    if (!navigationState) {
      return null;
    }
    return navigationState.routes[navigationState.index].routeName;
  }
}

export default naviHandler;

用 redux devtool 看下 action 是否有执行到呢。

问题解决了没，看起来应该没问题，不过我现在用的这个 https://github.com/react-community/react-navigation/blob/master/docs/guides/Screen-Tracking.md#screen-tracking 而不是下面那个方式
或者你可以看看这个，后面我会加入 Screen Tracking https://github.com/nihgwu/react-native-dva-starter

authors: husm nihgwu sorrycc


text:
[Feature Request]: Add new lambda triggers

Contact Details
No response
Feature Request
I tried to use the lambda starter for a "platform type" lambda but ran into diffculty in the development process because the starter currently assumes that all lambdas should be triggered from an API gateway.
In my case I needed a lambda that is triggered by a cloudwatch event.
It would be really nice to be able to stand up a lambda locally regardless of the trigger type.
Maybe this needs to be a separate lambda-starter though?
Are you currently using a workaround / alternative solution instead?
not currently.

@meridiani  did this not work for you https://github.com/dvsa/dvsa-lambda-starter/blob/main/src/handler/cloudWatchEvent.ts

repo: dvsa/dvsa-lambda-starter


text:
Add a PT workflow example

Implement Parallel Tempering (PT) as an example workflow. Make compatible with the ICM block from #134.

Closed with #156. ICM support pending #134.

repo: dwavesystems/dwave-hybrid


text:
Update CONTRIBUTING

Need to link to clang file in minorminer or to bring over that file.

While we're making changes to CONTRIBUTING, it also currently says that all code should be python 2 and 3 compatible.

authors: JoelPasvolsky arcondello

repo: dwavesystems/dwave-ocean-sdk


text:
Undo "internal buffer" naming convention

on three types of non-file buffers.  The server-communication buffer correctly remains an internal buffer with a leading space in the name.

Self-merging this to work on some related changes.

repo: dwcoates/pygn-mode


text:
Update sbt to 1.4.3

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

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

labels: library-update, semver-patch

java.lang.NoSuchMethodException: sbt.test.ScriptedTests$.runInParallel(java.io.File, boolean, [Ljava.lang.String;, java.io.File, [Ljava.lang.String;, java.util.List, int)

:thinking:

It also didn't even run in the proper order?  It's meant to run sbt test scripted mimaReportBinaryIssues "$PUBLISH" but it looks like it published and then blew up for scripted?
[info] + PreviousVersionSpec.on commit with local changes: OK, proved property.
[info] + PreviousVersionSpec.contains unrelated tags in-between version tags: OK, proved property.
[info] + PreviousVersionSpec.on tag v1.0.0 with local changes: OK, proved property.
[info] Passed: Total 62, Failed 0, Errors 0, Passed 62
[success] Total time: 29 s, completed Nov 16, 2020 10:49:40 AM
[info] Main Scala API documentation to /home/travis/build/dwijnand/sbt-dynver/target/scala-2.12/sbt-1.0/api...
model contains 21 documentable templates
[info] Main Scala API documentation successful.
[info] :: delivering :: com.dwijnand#sbt-dynver;4.1.1+31-14cf2dac :: 4.1.1+31-14cf2dac :: integration :: Mon Nov 16 10:49:44 UTC 2020
[info] 	delivering ivy file to /home/travis/build/dwijnand/sbt-dynver/target/scala-2.12/sbt-1.0/ivy-4.1.1+31-14cf2dac.xml
[info] 	published sbt-dynver to /home/travis/.ivy2/local/com.dwijnand/sbt-dynver/scala_2.12/sbt_1.0/4.1.1+31-14cf2dac/jars/sbt-dynver.jar
[info] 	published sbt-dynver to /home/travis/.ivy2/local/com.dwijnand/sbt-dynver/scala_2.12/sbt_1.0/4.1.1+31-14cf2dac/srcs/sbt-dynver-sources.jar
[info] 	published sbt-dynver to /home/travis/.ivy2/local/com.dwijnand/sbt-dynver/scala_2.12/sbt_1.0/4.1.1+31-14cf2dac/docs/sbt-dynver-javadoc.jar
[info] 	published ivy to /home/travis/.ivy2/local/com.dwijnand/sbt-dynver/scala_2.12/sbt_1.0/4.1.1+31-14cf2dac/ivys/ivy.xml
[error] java.lang.NoSuchMethodException: sbt.test.ScriptedTests$.runInParallel(java.io.File, boolean, [Ljava.lang.String;, java.io.File, [Ljava.lang.String;, java.util.List, int)
[error] 	at java.lang.Class.getMethod(Class.java:1786)
[error] 	at sbt.ScriptedPlugin$.$anonfun$scriptedRunTask$1(ScriptedPlugin.scala:115)
[error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error] 	at sbt.Execute.work(Execute.scala:291)
[error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] 	at java.lang.Thread.run(Thread.java:748)
[error] (scriptedRun) java.lang.NoSuchMethodException: sbt.test.ScriptedTests$.runInParallel(java.io.File, boolean, [Ljava.lang.String;, java.io.File, [Ljava.lang.String;, java.util.List, int)
[error] Total time: 4 s, completed Nov 16, 2020 10:49:44 AM

https://github.com/sbt/sbt/issues/6090

authors: dwijnand raboof scala-steward

repo: dwijnand/sbt-dynver


text:
How to use SharpDeskBand

I've been having some trouble getting the desk band to work (Windows 10 64-bit), and was wondering if I'm doing anything wrong. I tried compiling the sample desk band and it registers fine via the server manager.
Initially, it didn't show up in the list of desk bands, so I had a look in the registry. I manually added the 'Implemented Categories' key, which made it appear in the list of available toolbars, but when I click on it, nothing happens. Any clues? Thanks!

I, too, could use a quick tutorial on using the SharpDeskBand class. It's non-obvious how to, for instance, create a DeskBand that sits in the taskbar.

https://github.com/dwmkerr/sharpshell/pull/163

It's working fine now in the latest master, all that is needed now is a tutorial. I've raised a separate issue for this: #202

authors: HavenDV dwmkerr jtanx peder

repo: dwmkerr/sharpshell


text:
British Maths Olympiad 2024 Round 1 Problem 1

First time doing so sorry if I've made a mistake in the setup. While this round was technically held in 2023, round 2 and the IMO this was leading up to was done in 2024, which is why I've put it under that year.

I've also added in Problem 2 as well since it was quick to implement

Thanks!

https://github.com/leanprover-community/mathlib4/pull/14431 made Nat.decreasingInduction work with the induction tactic, so I updated your proof here: https://github.com/dwrensha/compfiles/commit/2b050346a097743f9474b2576a02ea1b0274fba7

repo: dwrensha/compfiles


text:
fix: chunk size limit

🤖 Generated by Copilot at 8a26906
Summary
🐛🚀🔧

Improved error handling and performance for the teleport muxing modules. Added chunking logic to the framer module to avoid sending large messages in one piece. Added logging and async fixes to the balancer module.

Balancer module
logs errors, handles async
better than nextTick

Walkthrough

Import log module and use log.catch to handle errors in async functions (link, link).

Also could you ensure that the frames are reasseabled correctly with their bounds are preserved after they are split into chunks?

authors: dmaretskyi egorgripasov

repo: dxos/dxos


text:
Update preinstalled software list for TCC agents

This PR was created by an automated build in TeamCity Cloud

Closing this PR as obsolete, there is a more recent one


text:
Use $HOSTTYPE to get the architecture instead of uname

This is faster.
This should work on all systems.
I need some help testing all of these.

TODO:

[ ] Testing

[x] Linux
[ ] BSD
[x] macOS
[ ] iOS
[ ] Windows
[ ] Others

Testing:
bash -c 'echo $HOSTTYPE'

Result for openSUSE Leap 15.0:
bash -c 'echo $HOSTTYPE'
x86_64

uname -a
Linux leap15-pc 4.12.14-lp150.12.4-default #1 SMP Tue May 22 05:17:22 UTC 2018 (66b2eda) x86_64 x86_64 x86_64 GNU/Linux

Should work in any system with proper host detection when one configures a bash installation through ./configure. See https://lists.gnu.org/archive/html/bug-bash/2008-07/msg00038.html
Also, Solaris and AIX returns the correct architecture (sparc and powerpc respectively).

Would you say it’s safe to use instead of uname?

AFAIC bash won't even compile without proper --host/--build setting in its ./configure so it should be safe.

Done.

Result for GhostBSD (live CD)
bash -c 'echo $HOSTTYPE'
FreeBSD

uname -m
amd64

Gah
I'll fix this.

Fixed.
I've reverted it back to using uname but I've added -m to the cache_uname function so we still save a subprocess. :woman_shrugging:

authors: dylanaraps konimex mstraube robertwolter

repo: dylanaraps/neofetch


text:
Fixed specification of poetic type literals

The poetic type literals specs, as of right now, specifies it being only for these keywords: true, false, nothing, nobody and nowhere
This PR fix this, adding other poetic type literals keywords to this list (now My heart is empty example makes sense)

#117 should solve this by completely rewriting the section. A similar complaint came up in #138 but I would prefer to keep only one PR at a time to fix this problem to prevent merge conflicts and make @dylanbeattie's job not as hard :smile:

You're right, sorry! I'm closing this PR. @dylanbeattie we're waiting for you! hahahaha <3

authors: cwfitzgerald yanorestes

repo: dylanbeattie/rockstar


text:
Allow overriding wabt version during built-time for tests

We now allow to specify the version of the wabt toolkit via system property, e.g.: mvn clean verify -DwabtVersion=1.0.34

💯 !

authors: andreaTP thomasdarimont

repo: dylibso/chicory


text:
fix: change originalItem from being static

Summary:
Original item was being held in $__ which was located on the prototype
of the model. This meant that this value was being shared for all
instances of model.
To resolve this it is now stored on the model instance. To ensure that
it is not exposed to the user other than through originalItem it is
stored as a Symbol.
There is a test recreating this scenario in this PR. However our first recreation of this bug can be seen with this linked script.
https://gist.github.com/tgandrews/a79cc76fca248c25a4ff9c5396166baf
Before this change:
Creating cats...
...done
List cats
...done
Read cats...
id: 2 originalId: 4
id: 9 originalId: 4
id: 1 originalId: 4
id: 3 originalId: 4
id: 5 originalId: 4
id: 8 originalId: 4
id: 7 originalId: 4
id: 0 originalId: 4
id: 6 originalId: 4
id: 4 originalId: 4

After this change
Creating cats...
...done
List cats
...done
Read cats...
id: 2 originalId: 2
id: 9 originalId: 9
id: 1 originalId: 1
id: 3 originalId: 3
id: 5 originalId: 5
id: 8 originalId: 8
id: 7 originalId: 7
id: 0 originalId: 0
id: 6 originalId: 6
id: 4 originalId: 4

Is this ready to be merged into Dynamoose? (select 1):

[x] Yes
[ ] No

Other:

[x] I have searched through the GitHub pull requests to ensure this PR has not already been submitted
[ ] I have updated the Dynamoose documentation (if required) given the changes I made
[x] I have added/updated the Dynamoose test cases (if required) given the changes I made
[x] I agree that all changes made in this pull request may be distributed and are made available in accordance with the Dynamoose license
[x] All of my commits and commit messages are detailed, explain what changes were made, and are easy to follow and understand
[x] I have filled out all fields above

@tgandrews, in PR #602 @Tirke made some changes to this logic. Do you both wanna discuss how to move forward with getting these changes in here and cross review the PRs?

@fishcharlie are you happy for me to up the line limit for linting?

@tgandrews

Yes that is fine
Sounds good

@fishcharlie all resolved now. Sorry for the delay in resolving it but thanks for looking at it.

Pull Request Test Coverage Report for Build 1068

6 of 6 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 85.523%

Totals

Change from base Build 1067:
0.01%

Covered Lines:
2073

Relevant Lines:
2362

💛  - Coveralls

authors: coveralls fishcharlie tgandrews

repo: dynamoosejs/dynamoose

license: Unlicense


text:
Implement imohash or a similar sampling hash

Is your feature request related to a problem? Please describe.
When comparing large files for duplicates, usual hashing algorithms are limited by the speed of which the full file content can be read. This starts to be a problem when hashing large files. By only hashing parts of the data and its size you don't have to read all the data but get a hash that can indicate duplicates with sufficient confidence.
Describe the solution you'd like
Implement imohash or a similar sampling hash algorithm.
Describe alternatives you've considered
Implementing it on top of hash4j.

@mrgreywater The Imohash algorithm would be very easy to implement. However, I am not quite sure what a useful and generic interface should look like. Do you have a suggestion?

I thought something like this, even though this implementation currently doesn't match the reference implementation in its output. Probably some seed or little/big endian mismatch. Didn't do much debugging.
package com.dynatrace.hash4j.sampling;

import com.dynatrace.hash4j.hashing.HashValue128;
import com.dynatrace.hash4j.hashing.Hashing;

import java.io.EOFException;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardOpenOption;

public class Imohash {
    private long sampleThreshold = 128 * 1024;
    private int sampleSize = 16 * 1024;

    public HashValue128 hashFile(File file) throws IOException {
        return hashFile(file.toPath());
    }

    public HashValue128 hashFile(Path path) throws IOException {
        try (InputStream fileContent = Files.newInputStream(path, StandardOpenOption.READ)) {
            return hashInputStream(fileContent, Files.size(path));
        }
    }

    public HashValue128 hashInputStream(InputStream stream) throws IOException {
        long length = stream.skip(Long.MAX_VALUE);
        stream.reset();
        return hashInputStream(stream, length);
    }

    public HashValue128 hashInputStream(InputStream stream, long length) throws IOException {
        assert (sampleSize * 4L < sampleThreshold);
        var hashStream = Hashing.murmur3_128().hashStream();
        if (length < sampleThreshold || sampleSize < 1) {
            hashStream.putByteArray(stream.readAllBytes());
        } else {
            long toSkip = 0;
            byte[] buf = new byte[sampleSize];

            long pos = stream.read(buf);
            hashStream.putByteArray(buf);

            toSkip = length / 2 - pos;
            skipNBytes(stream, toSkip);
            pos += toSkip + stream.read(buf);
            hashStream.putByteArray(buf);

            toSkip = length - sampleSize - pos;
            skipNBytes(stream, toSkip);
            pos += toSkip + stream.read(buf);
            hashStream.putByteArray(buf);
        }

        var result = hashStream.get().toByteArray();
        encodeVarint(result, length);
        var mostSignificantBytes = ByteBuffer.wrap(result, 8, 8).getLong();
        var leastSignificantBytes = ByteBuffer.wrap(result).getLong();
        return new HashValue128(mostSignificantBytes, leastSignificantBytes);
    }

    public int getSampleSize() {
        return sampleSize;
    }

    public void setSampleSize(int sampleSize) {
        this.sampleSize = sampleSize;
    }

    public long getSampleThreshold() {
        return sampleThreshold;
    }

    public void setSampleThreshold(long sampleThreshold) {
        this.sampleThreshold = sampleThreshold;
    }

    private void encodeVarint(byte[] buf, long x) {
        int i = 0;
        while (x >= 0x80) {
            buf[i] = (byte) ((byte)x | 0x80);
            x >>= 7;
            i++;
        }
        buf[i] = (byte)x;
    }

    // InputStream::skipNBytes() since JDK12
    private void skipNBytes(InputStream s, long n) throws IOException {
        long remaining = n;
        while (remaining > 0) {
            long skipped = s.skip(remaining);
            if (skipped == 0) {
                if (s.read() < 0) {
                    throw new EOFException();
                }
                remaining--;
            } else if (skipped <= remaining) {
                remaining -= skipped;
            } else {
                throw new IOException("Unable to skip exactly.");
            }
        }
    }
}

It seems that the Go implementation of Murmur3 used by Imohash returns the bytes of the hash in reverse order compared to the C reference implementation (https://github.com/aappleby/smhasher), Guava, and hash4j. To achieve compatibility with Imohash, the byte sequence needs to be reversed.

The string output of the implementation of Imohash::hashInputStream().toString() matches the string output of the hash returned by the imohash.go reference implementation.

@mrgreywater I have created PR https://github.com/dynatrace-oss/hash4j/pull/85 based on your proposal, please hava a look

It looks great! I haven't checked the accuracy of the resulting hashes, but I'm sure you verified your tests against the reference implementation. Especially for very large hashes that overflow the first 64Bits in the now optimized varUInt encoding.
I really appreciate it.

Especially for very large hashes that overflow the first 64Bits in the now optimized varUInt encoding.
Testing very long input against the reference Go implementation is still something I would like to improve. Unfortunately, I am an absolute Go beginner, and would need some help to mock the SectionReader.

authors: mrgreywater oertl


text:
Unable to use as self hosted

Hi,
I'm trying to use Dyrectorio in an VPS on Amazon Lightsail with valid public IP's. After docker instaled and .env configured I run:
docker compose up -d
but I dont get to connect to my server and in the Traefz container I got his problem:
time="2023-05-31T13:28:58Z" level=info msg="Configuration loaded from flags."

time="2023-05-31T13:28:58Z" level=error msg="Unable to create redirection: the entry point or the port is missing" providerName=internal entryPointName=web

time="2023-05-31T13:33:20Z" level=error msg="accept tcp [::]:443: use of closed network connection" entryPointName=websecure

time="2023-05-31T13:33:20Z" level=error msg="Error while starting server: accept tcp [::]:443: use of closed network connection" entryPointName=websecure

time="2023-05-31T13:33:20Z" level=error msg="accept tcp [::]:80: use of closed network connection" entryPointName=web

time="2023-05-31T13:33:20Z" level=error msg="Error while starting server: accept tcp [::]:80: use of closed network connection" entryPointName=web

time="2023-05-31T13:33:25Z" level=error msg="Failed to list containers for docker, error Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?limit=0\": context canceled" providerName=docker

time="2023-05-31T13:33:25Z" level=error msg="Cannot connect to docker server context canceled" providerName=docker

time="2023-05-31T13:34:13Z" level=info msg="Configuration loaded from flags."

time="2023-05-31T13:34:13Z" level=error msg="Unable to create redirection: the entry point or the port is missing" providerName=internal entryPointName=web

Some one have any clue about whats is my mistake ?
I'm using Ubuntu 22.04 LTS.
Thanks.

Hi,
Solved the problem adding to docker-compose.yaml file this:
- --providers.docker.endpoint=unix:///var/run/docker.sock
Just below this line:
- --providers.docker=true

This is the default configuration as well according to docs https://doc.traefik.io/traefik/providers/docker/#endpoint.
So it might be that it was something else.

authors: abnerjacobsen nandor-magyar

repo: dyrector-io/dyrectorio


text:
Remove pyenv duplicate command and add no-rehash

While checking why pyenv init is so slow, I've realized that your xontrib runs it twice for no reason since the full init already provides PATH
PYENV_PATH = $(@(PYENV) init --path)  # this is not needed since ↓ already includes `export PATH`
PYENV_ENV = $(@(PYENV) init -)

Also there is another trick to speed it up via pyenv init - --no-rehash instead of the regular init
https://github.com/pyenv/pyenv/discussions/1970

Thanks, 1.0.8 released including these changes.

authors: dyuri eugenesvk

repo: dyuri/xontrib-langenv


text:
GH-743 Change config selector tab to config dropdown on mobile devices

This change will fix the config selector panel breaking in small screen devices. Footer text was also breaking in small screen devices. That is also fixed as part of this PR
Latest Desktop view

Latest Mobile View - dropdown collapse

Latest Mobile view - dropdown expanded

Please let me know there is something I can improve.
Issue - #743

Thanks for your contribution! :) I've made a little review, let me know what do you think about and feel free to ask in case of any troubles.

Thank you for the detailed review @dzikoysk , I'm completely new to vue js as well as windicss. But I will try to make the changes mentioned by you. I shall contact you when I get stuck :)

Looks fine for me! Especially if you're inexperienced in this tech stack you've made such a good job :) I think it still could be a little simplified, but I don't feel it's such important in this case, because the base is just enough for us. I'll merge it as soon as the CI finish workflows.

Hey thank you! I had a great learning from the conversations with you. Please don't close the issue, I'll try to fix couple of more UI issues in mobile view.

Don't worry it's general issue that addresses multiple problems so it requireq a few PRs until I feel it's done.

authors: dzikoysk sudhinm

repo: dzikoysk/reposilite


text:
Disabling datasharing from test

Signed-off-by: Irene Bandera Moreno irenebandera@eprosima.com

Codecov Report
Base: 54.27% // Head: 52.39% // Decreases project coverage by -1.89% :warning:

Coverage data is based on head (ebd1430) compared to base (f0876c5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
- Coverage   54.27%   52.39%   -1.89%
==========================================
  Files          38       38
  Lines        1275     1275
  Branches      371      371
==========================================
- Hits          692      668      -24
- Misses        314      341      +27
+ Partials      269      266       -3

Impacted Files
Coverage Δ

amlip_cpp/src/cpp/types/job/JobDataType.cpp
33.33% <0.00%> (-33.34%)
:arrow_down:

...mlip_cpp/src/cpp/types/job/JobSolutionDataType.cpp
33.33% <0.00%> (-33.34%)
:arrow_down:

amlip_cpp/src/cpp/node/ComputingNode.cpp
35.48% <0.00%> (-12.91%)
:arrow_down:

amlip_cpp/src/cpp/types/GenericDataType.cpp
47.32% <0.00%> (-11.61%)
:arrow_down:

amlip_cpp/src/cpp/dds/impl/Reader.ipp
45.16% <0.00%> (-1.62%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: codecov-commenter irenebm

repo: eProsima/AML-IP


text:
Feature/library/cmake refactor [13546]

After #123

Windows Tests fail because dllExports are not correctly set, but this is not done in this PR but in posterior ones.

repo: eProsima/DDS-Router


text:
update the template of qtlmap_inputs

We currently have a covariates column in
https://github.com/eQTL-Catalogue/qcnorm/blob/master/assets/qtlmap_inputs.tsv
Since we do NOT use the covariates in this format in qtlmap pipeline that column can be removed.

Updated

repo: eQTL-Catalogue/qcnorm


text:
Xpand Enum editor not filtering

Describe the bug
The DataSourceProperty is not honored
To Reproduce
Steps to reproduce the behavior:
Try to add new record, all nums are shown
Expected behavior
Filtered according DataSourceProperty
attached same project
temp.zip

eXpand.lab release 19.1.301.2 includes commit EnumPropertyEditor binding issues #404 that relate to this task. Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
Thanks a lot for your contribution.

Now it filters ok, but  changing the  "switch" property do not refresh the datasource accordingly

eXpand.lab release 19.1.301.4 includes commit WinEnumDescriptor: Refresh values when object changed #404 that relate to this task. Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
Thanks a lot for your contribution.

Null reference in last build
System.NullReferenceException: Object reference not set to an instance of an object.
at Xpand.ExpressApp.Win.PropertyEditors.EnumPropertyEditor.ObjectSpaceOnObjectChanged(Object sender, ObjectChangedEventArgs e)
at System.EventHandler1.Invoke(Object sender, TEventArgs e) at DevExpress.ExpressApp.BaseObjectSpace.OnObjectChanged(ObjectChangedEventArgs args) at DevExpress.ExpressApp.Xpo.XPObjectSpace.SetModified(Object obj, ObjectChangedEventArgs args) at Xpand.Persistent.Base.General.XpandObjectSpace.SetModified(Object obj, ObjectChangedEventArgs args) at DevExpress.ExpressApp.BaseObjectSpace.SetModified(Object obj, IMemberInfo memberInfo) at DevExpress.ExpressApp.DetailView.Editor_ControlValueChanged(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at DevExpress.ExpressApp.Editors.PropertyEditor.OnControlValueChanged() at DevExpress.ExpressApp.Win.Editors.DXPropertyEditor.Editor_EditValueChanged(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at DevExpress.XtraEditors.Repository.RepositoryItem.RaiseEditValueChangedCore(EventArgs e) at DevExpress.XtraEditors.Repository.RepositoryItem.RaiseEditValueChanged(EventArgs e) at DevExpress.XtraEditors.BaseEdit.RaiseEditValueChanged() at DevExpress.XtraEditors.BaseEdit.OnEditValueChanged() at DevExpress.XtraEditors.TextEdit.OnEditValueChanged() at DevExpress.XtraEditors.PopupBaseEdit.OnEditValueChanged() at DevExpress.XtraEditors.BaseEdit.OnEditValueChanging(ChangingEventArgs e) at DevExpress.XtraEditors.TextEdit.OnEditValueChanging(ChangingEventArgs e) at DevExpress.XtraEditors.BaseEdit.set_EditValue(Object value) at DevExpress.ExpressApp.Win.Editors.LookupEdit.set_EditValue(Object value) at DevExpress.XtraEditors.PopupBaseEdit.AcceptPopupValue(Object val) at DevExpress.XtraEditors.PopupBaseEdit.UpdateEditValueOnClose(PopupCloseMode closeMode, Boolean acceptValue, Object newValue, Object oldValue) at DevExpress.XtraEditors.PopupBaseEdit.DoClosePopup(PopupCloseMode closeMode) at DevExpress.XtraEditors.PopupContainerEdit.DoClosePopup(PopupCloseMode closeMode) at DevExpress.XtraEditors.PopupBaseEdit.ClosePopup(PopupCloseMode closeMode) at DevExpress.ExpressApp.Win.Editors.LookupEdit.ClosePopup(PopupCloseMode closeMode) at DevExpress.XtraEditors.Popup.PopupBaseForm.ClosePopup(PopupCloseMode closeMode) at DevExpress.ExpressApp.Win.Editors.LookupEditPopupForm.processCurrentObjectController_CustomProcessSelectedItem(Object sender, CustomProcessListViewSelectedItemEventArgs e) at System.EventHandler1.Invoke(Object sender, TEventArgs e)
at DevExpress.ExpressApp.SystemModule.ListViewProcessCurrentObjectController.processCurrentObjectAction_OnExecute(Object sender, SimpleActionExecuteEventArgs e)
at DevExpress.ExpressApp.Actions.SimpleAction.RaiseExecute(ActionBaseEventArgs eventArgs)
at DevExpress.ExpressApp.Actions.ActionBase.ExecuteCore(Delegate handler, ActionBaseEventArgs eventArgs)
19.1.0522.3
Void ObjectSpaceOnObjectChanged(System.Object, DevExpress.ExpressApp.ObjectChangedEventArgs)
at Xpand.ExpressApp.Win.PropertyEditors.EnumPropertyEditor.ObjectSpaceOnObjectChanged(Object sender, ObjectChangedEventArgs e)
at System.EventHandler1.Invoke(Object sender, TEventArgs e) at DevExpress.ExpressApp.BaseObjectSpace.OnObjectChanged(ObjectChangedEventArgs args) at DevExpress.ExpressApp.Xpo.XPObjectSpace.SetModified(Object obj, ObjectChangedEventArgs args) at Xpand.Persistent.Base.General.XpandObjectSpace.SetModified(Object obj, ObjectChangedEventArgs args) at DevExpress.ExpressApp.BaseObjectSpace.SetModified(Object obj, IMemberInfo memberInfo) at DevExpress.ExpressApp.DetailView.Editor_ControlValueChanged(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at DevExpress.ExpressApp.Editors.PropertyEditor.OnControlValueChanged() at DevExpress.ExpressApp.Win.Editors.DXPropertyEditor.Editor_EditValueChanged(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at DevExpress.XtraEditors.Repository.RepositoryItem.RaiseEditValueChangedCore(EventArgs e) at DevExpress.XtraEditors.Repository.RepositoryItem.RaiseEditValueChanged(EventArgs e) at DevExpress.XtraEditors.BaseEdit.RaiseEditValueChanged() at DevExpress.XtraEditors.BaseEdit.OnEditValueChanged() at DevExpress.XtraEditors.TextEdit.OnEditValueChanged() at DevExpress.XtraEditors.PopupBaseEdit.OnEditValueChanged() at DevExpress.XtraEditors.BaseEdit.OnEditValueChanging(ChangingEventArgs e) at DevExpress.XtraEditors.TextEdit.OnEditValueChanging(ChangingEventArgs e) at DevExpress.XtraEditors.BaseEdit.set_EditValue(Object value) at DevExpress.ExpressApp.Win.Editors.LookupEdit.set_EditValue(Object value) at DevExpress.XtraEditors.PopupBaseEdit.AcceptPopupValue(Object val) at DevExpress.XtraEditors.PopupBaseEdit.UpdateEditValueOnClose(PopupCloseMode closeMode, Boolean acceptValue, Object newValue, Object oldValue) at DevExpress.XtraEditors.PopupBaseEdit.DoClosePopup(PopupCloseMode closeMode) at DevExpress.XtraEditors.PopupContainerEdit.DoClosePopup(PopupCloseMode closeMode) at DevExpress.XtraEditors.PopupBaseEdit.ClosePopup(PopupCloseMode closeMode) at DevExpress.ExpressApp.Win.Editors.LookupEdit.ClosePopup(PopupCloseMode closeMode) at DevExpress.XtraEditors.Popup.PopupBaseForm.ClosePopup(PopupCloseMode closeMode) at DevExpress.ExpressApp.Win.Editors.LookupEditPopupForm.processCurrentObjectController_CustomProcessSelectedItem(Object sender, CustomProcessListViewSelectedItemEventArgs e) at System.EventHandler1.Invoke(Object sender, TEventArgs e)
at DevExpress.ExpressApp.SystemModule.ListViewProcessCurrentObjectController.processCurrentObjectAction_OnExecute(Object sender, SimpleActionExecuteEventArgs e)
at DevExpress.ExpressApp.Actions.SimpleAction.RaiseExecute(ActionBaseEventArgs eventArgs)
at DevExpress.ExpressApp.Actions.ActionBase.ExecuteCore(Delegate handler, ActionBaseEventArgs eventArgs)

#416

eXpand.lab release 19.1.302.2 includes commit Make EnumPropertyEditor non default editors and fix null reference on WinEnumpropertyEditor #416 #404 that relate to this task. Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
Thanks a lot for your contribution.

For me the enum filter is still not updated when the object changes.
The new if (e.MemberInfo != null && e.MemberInfo != MemberInfo) {... }  check is always false, because e.MemberInfo is null.  Only the e.PropertyName of the ObjectChangedEventArgs is set

For me the enum filter is still not updated when the object changes.
The new if (e.MemberInfo != null && e.MemberInfo != MemberInfo) {... }  check is always false, because e.MemberInfo is null. Only the e.PropertyName of the ObjectChangedEventArgs is set

addiotnal checks added in https://github.com/eXpandFramework/eXpand.lab/releases/tag/19.1.402.7

eXpand.lab release 19.1.402.8 includes commit that relate to this task:

EnumDescriptor: Filtering is not triggered when object change #404

Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
Thanks a lot for your contribution.

Enum filtering is working fine now. Thank you!

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.

authors: apobekiaris expand krombipils vimarx

repo: eXpandFramework/eXpand

license: MS-PL


text:
[Question]How to load GoogleNews-vectors-negative300.bin?

Hi,
I am trying to load the default model, GoogleNews-vectors-negative300.bin.
I have been using the following simple codes,
Word2Vec.Net.Distance distance = new Word2Vec.Net.Distance("GoogleNews-vectors-negative300.bin");
But, I received the following error message:
System.OutOfMemoryException: Array dimensions exceeded supported range.
Any ideas? Many Thanks.
Jie

2GB is the max Memory Size for an Object, you will need to split the Dataset, or use a smaller one.
See: http://stackoverflow.com/questions/982051/net-max-memory-use-2gb-even-for-x64-assemblies


text:
fix module path

Owner's username has changed on GitHub
$ go get github.com/earthboundkid/requests
go: downloading github.com/earthboundkid/requests v0.23.5
go: github.com/earthboundkid/requests@upgrade (v0.23.5) requires github.com/earthboundkid/requests@v0.23.5: parsing go.mod:
        module declares its path as: github.com/carlmjohnson/requests
                but was required as: github.com/earthboundkid/requests

Changing the module path will break upgrades for everyone, sadly. See https://gist.github.com/earthboundkid/8915002ae0e531cecdfc58bc6453ac80.

I friendly suggest reconsidering your opinion as GitHub won’t prevent another user from registering your old username thus potentially injecting malicious code to unknowing users of your library.
https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/changing-your-github-username#repository-references

They could squat carlmjohnson but not carlmjohnson/requests AFAICT.

Interesting. I guess I should just make a squatter user to prevent that.

Done.

Thanks! ☺

authors: Crocmagnon carlmjohnson earthboundkid

repo: earthboundkid/requests


text:
Correctly open rbd image in ceph backup driver.

Currently in _check_restore_vol_size of ceph backup driver, destination
rbd volume is opened by RADOSClient with authentication of cinder backup
user. This will lead to PermissionError.
In fact destination rbd volume is already opened as a RBDImageIOWrapper
object, which is also passed to cinder-backup restore function, so we
should just use it.
Change-Id: Ibdfd0e0b09410eb47e3ebc6ce61d4473cf0d5677
Signed-off-by: Zhao Chao zhaochao1984@gmail.com

Fix: http://192.168.15.2/issues/9649

repo: eayunstack/cinder


text:
Only open

Hi, is it possible to only show the Open tile in Homekit? I can split the Lock and Open, but I have the Lock through the original Nuki gateway and I would like only the Open tile through the Homebridge. Thanks

Not currently, see #69.

authors: Twisi ebaauw

repo: ebaauw/homebridge-nb


text:
Loss evolution for pre-trained models?

Hey great work! Just wondering any chance you would have the loss evolution for your pretrained models?

i don't have that at the moment. will try to upload it if i get to train the model again.

authors: ebadawy vatsalaggarwal


text:
DorsolateralCortexSpatial - Maynard

Project short name:
DorsolateralCortexSpatial
Primary Wrangler:
Ida
Secondary Wrangler:
TBD

Associated files

Google Drive folder

Published study links

Paper: https://www.nature.com/articles/s41593-020-00787-0#data-availability

Accessioned data: http://research.libd.org/globus (Non-accessioned)

Ingest URL: https://contribute.data.humancellatlas.org/projects/detail?uuid=7b393e4d-65bc-4c03-b402-aae769299329

Key Events

[ ] Convert published metadata to HCA spreadsheet
[x] Manually curate dataset to meet HCA metadata standard
[x] Collect any matrix and cell-type annotation files
[x] Upload sheet to validate metadata
[x] Check linking using ingest graph validator
[x] Transfer raw files to ingest to validate data files
[ ] Ask the Secondary Wrangler for an end-to-end review of the project. Ask the Expertise Wrangler to review specific tabs if needed
[ ] Submit dataset to Production
[ ] Complete the Export SOP
[ ] Convert project data to SCEA format following the SCEA conversion SOP if appropriate

All the files are in globus - Before picking this dataset, please ensure you know how to access the data files

Do we have access to globus-to-aws:s3 service through the EBI? I'm not sure

A few notes:
All the files are in Globus, I wrote a document to explain how to download the data but for the secondary review purpose it can be useful to read the first bit.
Should I integrate the guide in our documentation?
About the files:
The data in globus is organised in folders so the files didn't need to have unique names, and they didn't. I have renamed them by using the folder name as a prefix.
The fastq files are split up every 500.000 reads, since we have no size constraint I've concatenated them together, one file per read type and lane id

Wei to sec review it

Looks really really good! Well done on wrangling it so clearly and straightforwardly. Just a few things:
Specimen:
Can add "cryopreservation in dry ice (dead tissue)" to preservation method because this is effectively fresh-frozen and not FFPE
Collection Protocol:
Add doi of the publication which was referenced '10.1016/j.biopsych.2006.06.019'
Imaged Specimen:
I like the keeping of information of which is replicate 1 / 2 and which come from the different sample 300um back
Library Preparation Protocol:
Spatial barcode information should be added
Analysis_protocol:
Don't use '||' in text because hannes gets annoyed because components use that for something else. Computation_method is a string dtype, so use ';' instead of '||'
Analysis_file:
Could potentially add process ID in the process ID tab for analysis_files

I will verify this in the Data Portal.

authors: ESapenaVentura Wkt8 idazucchi

repo: ebi-ait/hca-ebi-wrangler-central


text:
557 typechecker and simulate task

Implementation and e2e tests for typecheck and simulate tasks of the flextesa plugin

Awesome job, @jchenche! Looks great to me. One question is whether you think we'd be best to break up proxy.ts into multiple files. Maybe it makes sense to have the following structure:

proxy/lib.ts (common functions used by the files below)
proxy/index.ts
proxy/manage.ts
proxy/typecheck.ts
proxy/simulate.ts

What do you think?

I thought about breaking it down to something similar. Should it be part of this PR or should I create an issue to refactor this?

repo: ecadlabs/taqueria


text:
mini.map: allow setting height property of the map window

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.map
Description
It would be nice to be able to set the window height for the MiniMap, as currently the window is the full height of the Neovim window.
This causes the winblend to get applied to anything "behind" the map window, even when there is no part of the map on that line.

I have set my cursor line to white to demonstrate the effect.
It would be nice to be able to, for example set the height of the map window to the "text height" of its contents.
e.g.
window.height = vim.api.nvim_win_text_height(MiniMap.current.win_data[1], {}).all

Which currently has no effect when put in the config for mini.map, as the height is forced.
-- In function H.normalize_window_options
height = vim.o.lines - vim.o.cmdheight - (has_tabline and 1 or 0) - (has_statusline and 1 or 0),

See source@mini.map:1357-1382
As such, setting window.height currently seem to have no effect.

Thanks for the suggestion!
Setting window.height indeed has no effect because it is not a support configuration setting. Map window indeed is forced to full available height mostly to simplify code and available configuration. This is documented. Having more flexible window configuration is also documented as something that won't be done.
Closing as not planned.

Thanks for the quick response.
I completely understand not wanting to take on the additional complexity.
I guess I'll try monkey-patching it to see if I can make it work for my specific usecase.