Overwrite functions for Gothic 1 portability

In order to have the easiest compatibility with Gothic 2 and Gothic 1 without a lot of if-conditions, put Gothic 2 specific code into modular functions, which are overwritten on initialization should Gothic 1 be active.

func void Gothic2specificFunction(var int arg1, var int arg2) {
    // Stuff only applicable for Gothic 2
};

/* Check if function signature must be the same, or if the exact number of arguments
   can be omited */
func void nullFuncArgs2(var int arg1, var int arg2) {};

/* Some initialization function */
func void init() {
    if (GOTHIC_BASE_VERSION == 1) {
        // Instead of checking the Gothic version on every call in the function, just replace it
        MEM_ReplaceFunc(Gothic2specificFunction, nullFuncArgs2);
    };
};

Regardless whether this will turn out to be a suitable approach, the code should be kept as modular as possible. Different modules might be:

Module
Necessity

Core mechanics (aimray, aimvob, mouse movement, disabled auto turning, disabled damage)
depending on free aiming on/off

Free aiming for ranged weapons
optional

Free aiming for spells
optional

Gothic 2 control support
depending on free aiming on/off and Gothic 2

Reticle
depending on free aiming on/off

Collectable projectiles
optional

Collision behavior and hit registration
optional

Critical hits
optional

Debugging functions
optional

Building the scripts like that allows for a multi-functional script package, in which any of the lower features can be used without even using free aiming itself.
This could look like this in the config (pseudo-code):
func void config() {
    FREEAIM_RANGED = TRUE;
    FREEAIM_SPELLS = TRUE;
    COLLECTABLE = TRUE;
    COLLISION = TRUE;
    CRITICALHITS = TRUE;
    DEBUGGING = TRUE;
};

func void init() {
    if (FREEAIM_RANGED || FREEAIM_SPELLS) {
        FREEAIM_CORE = TRUE;
        RETICLE = TRUE;
        if (GOTHIC_BASE_VERSION == 2) {
            G2CONTROLS = TRUE;
        };
    };
};

On a related note, it might be time to define where g2freeAim is headed. Since it might soon support Gothic 1, the name might need to be changed to not be misleading. If the features become modular and usable without free aiming itself, renaming it into something more general might be an idea.

The option to enable and disabled free aiming from the menu needs to be accessible from the config. Some mods might not want the end user to disable or enable free aiming.

Add constant to overwrite (disallow) enabling/disabling free aiming.
const int FREEAIM_FORCE_ENABLED = 1; // Overwrite/ignore menu settings


Path to python incorrect

https://github.com/erikng/umad/blob/43567ee3802b612ab8c26e560a73d0b19e9eb47c/payload/Library/umad/Resources/umad#L1
#!/Library/umad/frameworks/Python.framework/Versions/3.8/bin/python3
should be
#!/Library/umad/Python.framework/Versions/3.8/bin/python3

Sorry about that. Addressed here: https://github.com/erikng/umad/commit/93c13841e503f85238a1756010ae8610492d428f


can't compare offset-naive and offset-aware datetimes

On Django 1.4 I've seen this problem.  Could you give me some help?
Thanks,
Jan
Environment:
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.4
Python Version: 2.7.3
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.markup',
'elevenbits.blog',
'elevenbits.static',
'elevenbits',
'treemenus',
'tracking')
Installed Middleware:
('tracking.middleware.BannedIPMiddleware',
'django.middleware.gzip.GZipMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'tracking.middleware.VisitorTrackingMiddleware')
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
89.                     response = middleware_method(request)
File "/usr/local/lib/python2.7/dist-packages/tracking/middleware.py" in process_request
115.         if not visitor.last_update or visitor.last_update <= one_hour_ago:
Exception Type: TypeError at /
Exception Value: can't compare offset-naive and offset-aware datetimes

@jw You can convert timezone aware times to naive. Refer : http://stackoverflow.com/questions/12968565/mongo-objectid-cant-compare-offset-naive-and-offset-aware-datetimes-even-wit


code test

Hi @airKing05 are you intending this to be a pull request for d3-sankey-diagram? It looks like you are making lots of changes for your own purposes in this branch.
If you have improvements that you think would be generally useful, specific pull requests or issues are very welcome.


feat: Add more uniform reasoner function with options

Closes #8

Great work @smessie - the general API looks good and will do a more thorough review of the internals in the morning.
Could you please also document the new options in the Readme?

@smessie before I merge this could you check that you are ok with the changes I made in https://github.com/eyereasoner/eye-js/pull/89/commits/24e04cb808894eba10471082f0186f07999067b8 and also add some test cases for the blogic and output parameters on the n3Reasoner function.

@jeswr I've added some tests for the blogic and output options. Additionally, I've also added a none output option and made that the default as well to better reflect the possibilities in eye after discussion with @josd, as no pass is actually the default.
This also yields the expected output for the blogic option as this expects no -- both explicit and implicit -- query. Without none there was no possibility to have no (explicit and implicit) query.
This also means that doing basicQuery(dataQuads) yields no input (because default output option is none now), but that sounds reasonable to me, as you can't expect an answer if you don't ask a question (query).

Thanks for being so quick with those additions @smessie - 2 questions:

When I run the test suite I now get the warning

   console.warn
      ** ERROR ** file:/// ** error(io_error(read,<stream>(0x759470)),context(system:get_code/2,Is a directory))

      578 |                     tty.output = [];
      579 |                 } } }, default_tty1_ops: { put_char: function (tty, val) { if (val === null || val === 10) {
    > 580 |                     err(UTF8ArrayToString(tty.output, 0));
          |                     ^
      581 |                     tty.output = [];
      582 |                 }
      583 |                 else {

do you know when that was introduce

Rather than using the string "none" as the default can say that is the behavior when the output field is left undefined; or undefined is explicitly supplied as the input.

@smessie thanks for all your work, and thankyou @josd for the input provided as well.
I believe this is ready to merge; can I get confirmation that you are happy with the state of this PR before I do so?

@smessie thanks for all your work, and thankyou @josd for the input provided as well.

Likewise!

I believe this is ready to squash & merge; can I get confirmation that you are happy with the state of this PR before I do so?

Looks good to me!

:tada: This PR is included in version 2.10.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v2.10.0

Your semantic-release bot :package::rocket:


Wrong quantity of columns and rows

Hi!
I'm using the aoa_to_sheet util with a tiny array 2x2, but I'm receiving a sheet with 5 columns and 10 rows. To test, I use the Complete Example , exactly same code, and faced the same issue.
How I can solve this?
Thanks :)

The number of rows and columns are determined by the size of the data and the specified origin parameter.  If you can share the data (console.log(aoa)) and the actual call that generates the worksheet, we can take a closer look.


target label and context content

@Kolkir
Hi.  I hope you doing good. I have confusion with the target label and context path. After running miner.py. How can I differentiate between the target label and the context path? Also If I have my own label. How can I use my own label?
Thanks

Hi, the first chunk of each string in a file which goes before space is a target label. Please find dataset description in the code2seq  repository.

@Anurag-Swarnim-Yadav If you have additional questions please write me to the<EMAIL_ADDRESS>I'm closing this issue because it doesn't relate to the current application.


Remove 31 char limit in eip-712 style offchain signing

We are currently have a Sign in with Starknet technical proposal that we will convert into a SNIP. But in order to move forward we need to improve the usability and user expereince of offchain signing. Currently we cannot use more than 31 characters for any non felt field in the signed message and that degrades and limits the user experince considerably. We have a demo deployed, tested with Argentx Wallet. You will be able to see the limitation we are referring to. The 'domain.name' and 'message.statement' fields can eaily get more than 31 characters limit. This feature is very critical for a good offchain signing expereince. The limitation is mentioned in the doc as well.
We suggest to either remove the 31 character limit for strings and/or add a new type for strings of length greater than 31

31 chars is Cairo felt limit, starknetjs limit it to avoid issues. I don't see a reason why not creating a specification that uses felt* (aka. long string) that we already support as so providing unlimited chars.

Thanks for the reply on this. The problem is that wallet wouldn't know that multiple felts are part of one sentence/message. Bad UX I think not to speak of security issues that might occur if users do not understand them. Also a lot of web domains or complete URI to a resource are longer than 31 characters limit. Showing them on multiple lines does not make sense.  Let's say someone is trying to sign in from "https://community.starknet.io/demos/signinwithstarknet" Showing this as 2 different items of an array is bad UX imho. It should be one type otherwise the URI will show up as the screen shot shown below. The above reasoning also applies to a message/statement being displayed in the message.

Happy to work on this since this is important for the SNIP and is a blocker at the moment. Thanks in advance

StarkWare is working on support for strings in Cairo. We could wait for this to land, and the wallets can support this standard. Specifying novel encodings for strings in this proposal is unwise and out of scope.

Closing in favor of https://github.com/starknet-io/starknet.js/issues/816
And opening new one for string support


MAINT: Replace distutils use, upgrade versioneer

Closes #722
versioneer was still importing as a fallback, so I figured testing an upgrade while I was at it

Doc failure seems to be https://github.com/networkx/networkx/issues/5655. Let's pin networkx != 2.8.1 if we're pinning it at all. Maybe just in a docs/requirements.txt or equivalent.

looks like we are running into https://github.com/networkx/networkx/issues/5655


LMS7002M::TuneRxFilterWithCaching() not working properly

I have been testing different bandwidths for the LimeSDR lowpass filter using GQRX and there is a bug for some particular bandwidths, where the filter is not setup properly. The cutoff frequency is sometimes completely wrong or the passband has a lot of variation (5dB or so).
For an example, see this tweet and some of my replies: https://twitter.com/ea4gpz/status/849373269312643080
I have been able to track down the issue to LMS7002M::TuneRxFilterWithCaching(). If I replace this function by LMS7002M::TuneRxFilter() then the lowpass filter works as expected.

Workaround for this bug is here:
https://github.com/daniestevez/LimeSuite/commit/fe9a09a4ff5b79b523c188dbd76390b31e2f2ef0

Fixed an issue with the register cache: https://github.com/myriadrf/LimeSuite/commit/77d3689f9d13c923a49bba92a9a2ae7f26ede9ab
The old ~/.limesuite/LMS7002M_cache_values.db will have to be deleted


[ISSUE #4634] fix code style in namesrv module

a  new PR  for   https://github.com/apache/rocketmq/pull/4635

@PansonPanson  Thx for your contribution!


Error when loading the example - missing Z values

Hi there,
When i try and load a geoparquet (including the example) i get the following error. I think this is to do with the Z dimension as when i tried it with a geoparquet with a z dimension it loaded fine.
nc <- sf::read_sf(system.file("shape/nc.shp", package = "sf")) write_geoparquet(nc, "nc.parquet") read_geoparquet_sf("nc.parquet")
error
Error in geoarrow_schema_wkb(name = schema$name, format = schema$format,  :    startsWith(format, "w:") || isTRUE(format %in% c("z", "Z")) is not TRUE

Just reporting that I faced the same error with a different dataset. I also had the same error when running the same example as @andrewmaclachlan .
My session info is below for your reference:
R version 4.2.2 (2022-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.3.1

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] sf_1.0-12

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.10         compiler_4.2.2      pillar_1.8.1
 [4] prettyunits_1.1.1   remotes_2.4.2       class_7.3-20
 [7] tools_4.2.2         pkgbuild_1.4.0      bit_4.0.5
[10] jsonlite_1.8.4      tibble_3.1.8        lifecycle_1.0.3
[13] pkgconfig_2.0.3     rlang_1.0.6         geoarrow_<IP_ADDRESS>00
[16] cli_3.6.0           DBI_1.1.3           curl_5.0.0
[19] e1071_1.7-13        withr_2.5.0         dplyr_1.1.0
[22] desc_1.4.2          generics_0.1.3      vctrs_0.5.2
[25] classInt_0.4-9      rprojroot_2.0.3     bit64_4.0.5
[28] grid_4.2.2          tidyselect_1.2.0    glue_1.6.2
[31] R6_2.5.1            narrow_<IP_ADDRESS>00   processx_3.8.0
[34] fansi_1.0.4         callr_3.7.3         purrr_1.0.1
[37] magrittr_2.0.3      ps_1.7.2            units_0.8-2
[40] assertthat_0.2.1    arrow_12.0.0        utf8_1.2.3
[43] KernSmooth_2.23-20  proxy_0.4-27        wk_0.7.2
[46] crayon_1.5.2

I'm happy to help with further debugging.

Okay, so I was running into the same issue and it seems that the issue (for me atleast) actually occurs when {geoarrow} is installed before {arrow} in the same session... After restarting the rsession (following installing arrow) all was well and works as expected.

Just had the same issue as above, installed geoarrow first, then arrow.  restarting R fixed this for me as well.
> sessionInfo()
R version 4.3.1 (2023-06-16)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.3 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so;  LAPACK version 3.10.0

locale:
 [1] LC_CTYPE=en_CA.UTF-8       LC_NUMERIC=C               LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8
 [5] LC_MONETARY=en_CA.UTF-8    LC_MESSAGES=en_CA.UTF-8    LC_PAPER=en_CA.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C

time zone: America/Toronto
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base

other attached packages:
[1] sf_1.0-14           geoarrow_<IP_ADDRESS>00 dplyr_1.1.2

loaded via a namespace (and not attached):
 [1] vctrs_0.6.2        cli_3.6.1          knitr_1.43         rlang_1.1.1        xfun_0.39          DBI_1.1.3          KernSmooth_2.23-22
 [8] purrr_1.0.1        renv_0.17.3        generics_0.1.3     assertthat_0.2.1   jsonlite_1.8.4     bit_4.0.5          glue_1.6.2
[15] e1071_1.7-13       fansi_1.0.4        grid_4.3.1         classInt_0.4-9     tibble_3.2.1       yaml_2.3.7         lifecycle_1.0.3
[22] compiler_4.3.1     Rcpp_1.0.11        pkgconfig_2.0.3    narrow_<IP_ADDRESS>00  rstudioapi_0.14    wk_0.7.3           R6_2.5.1
[29] class_7.3-22       tidyselect_1.2.0   utf8_1.2.3         pillar_1.9.0       magrittr_2.0.3     bit64_4.0.5        tools_4.3.1
[36] proxy_0.4-27       arrow_<IP_ADDRESS>     units_0.8-3


URL spec

This ticket is for finalizing the spec for URL paths & slugs, e.g.:
lib.reviews/some-business-or-thing == standard slug
lib.reviews/user/eloquence == local user name
lib.reviews/user/id/ == user from some external DB where we can't enforce naming conventions
Should language be accounted for in the URL? If we don't, we may at least want to support multiple slugs per item so people can have memorable URLs in their language.

Reserved paths:
/register
/signin
/login
/logout
/action
/new

This is largely what we ended up doing; closing.


Investigate FT_Glyph_Copy

Could maybe be used to allow glyphs to be used outside a glyph-slot, and for improved thread-safety, see
https://freetype.org/freetype2/docs/reference/ft2-glyph_management.html#ft_glyph_copy

Already in use. Better leveraged with release 0.4.4, which adds methods forall-glyph-images() and forall-char-images().


AZ cli-translator:     HTTPSConnectionPool(host='portal2cli.azurewebsites.net', port=443): Max retries exceeded with url: /api/v1

Describe the bug
It looks like 'az cli-translator' is infrastructure-wise not working!
Related command
az cli-translator arm translate --target-subscription 0-0-0-0-0 --template template.json --parameters parameters.json
Errors
Fail to translate, please try a few minutes later.
HTTPSConnectionPool(host='portal2cli.azurewebsites.net', port=443): Max retries exceeded with url: /api/v1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5eab65a920>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Issue script & Debug output
az cli-translator arm translate --target-subscription 0-0-0-0-0 --template template.json --parameters parameters.json
Fail to translate, please try a few minutes later.
HTTPSConnectionPool(host='portal2cli.azurewebsites.net', port=443): Max retries exceeded with url: /api/v1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5eab65a920>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Expected behavior
I would expect that I could see some az cli script being generated as output!
Environment Summary
azure-cli                         2.52.0 *
core                              2.52.0 *
telemetry                          1.1.0
Extensions:
aks-preview                      0.5.160
cli-translator                     0.3.0
connectedk8s                       1.4.2
k8s-configuration                  1.7.0
k8s-extension                      1.4.5
Dependencies:
msal                            1.24.0b1
azure-mgmt-resource             23.1.0b2
Additional context
No response

Thank you for opening this issue, we will look into it.

I got it too, any update on this?


DBZ-1507 Ensure message keys have correct field order

https://issues.jboss.org/browse/DBZ-1507

LGTM; I've pushed a commit to a) have the methods of the stream op on one line each (better for debugging) and b) simplify a related call.
I think we should keep this for until after 0.10.0.Final to stick to the CR semantics, unless you or @jpechane believe it should go into the Final.

Ooops, my commit broke things initially, sorry. I've reworked it. It also removes two unused methods now (or, rather they were only used in tests) and it clarifies JavaDoc about immutability of returned lists.


Nexus Mods Checker (Feature): add Steam Workshop Downloader and ModDB

Nexus Mods Checker is a lovely extension, especially for anybody who has many games from GOG or Epic (in which case Nexus is one of our main source of mods).
If by chance you had the time and inclination to do something similar for:

Steam Workshop Downloader ( https://steamworkshopdownloader.io ) A list of games for which mods from the Steam workshop are accessible to non Steam users is maintainted under the "Which games are supported?" section of the site;
ModDB (https://www.moddb.com/);

Instead of a new extension my suggestion would be to change 'Nexus Mods Checker' into a 'Mods Checker' that lets the user decide which site(s) to check.
Thank you a lot for your work and for considering these suggestions.
Cheers

I'd advice against touching Steam Workshop downloaders of any kind.
These bypass license checks needed to use content from Workshop. Which is a grey area (at best) in legalty of this affair.
I'd suggest old, forgotten, god-forsaken CurseForge instead :)

Firts time I hear about CurseForge.
I'll look into it.
Thank you

CurseForge was the biggest hub for everything World of Warcraft & Minecraft related once.
Then, someone decided that it'll be nice to stick with some bigger company, for everyone's convenience and faith in own future.
Few years later, they're stuck suspended between Twitch (their former owner) and Overwolf (their current owner).
But still, legendary (albeit specialized) site. Made more waves than numerous noname Workshop downloaders in modding community.


Added non interleaved audio callback to Daisy Seed

Adds non interleaved audio callbacks to the Daisy Seed.
I know the whole audio system is going to be overhauled... But I'd still like to work with non interleaved audio right away.
I haven't tested this on the hardware, my Seed is still stuck in customs...

Should be fine now


riak-ts: can't delete keys

I'm using a ts 1.5.2. Following code is running in riak-expoler. It has similar output in riak-shell.
select * from logv2 where time > '2018-03-15 00:00' and time < '2018-04-15 00:00' and type = 'log'
[1522235100839, "go logger client", "log", "[DEBUG]", "test log debug"],
[1522235100880, "go logger client", "log", "[TRACE]", "test log trace"],
[1522235100919, "go logger client", "log", "[INFO ]", "test log info"],
...

delete from logv2 where time =<PHONE_NUMBER>839 and type = 'log'
500 Internal Server Error trying to execute query

Server error: {1009,Unable to get delete key: [\"invalid key\"]}

delete from logv2 where time > '2018-03-15 00:00' and time < '2018-04-15 00:00' and type = 'log'
500 Internal Server Error trying to execute query

Server error: {1009, Unable to get delete key: \"Invalid clause {'<',<<\\\"time\\\,{integer,1523750400000}}\\nInvalid clause {'>',<<\\\"time\\\,{integer,1521072059999}}\\n\"}

describe logv2
["time", "timestamp", false, 2, 2, 1, "d", []],
["source", "varchar", false, [],
3, [],
[],
[]],
["type", "varchar", false, 1, 1, [],
[],
[]],
["subtype", "varchar", false, [],
4, [],
[],
[]],
["text", "blob", false, [],
[],
[],
[],

What is your key defintion? I would expect it to be 'time' and 'source' at least.
Your delete statement needs to cover the entire key
What is the CREATE TABLE you used to create the table
http://docs.basho.com/riak/ts/1.5.2/using/querying/delete/

Sorry to reply late.
I'm no longer having access to the server. So I can not provide more info for this case. As far as I remember the key is time+type, indexed further by source subtype.
If in case that the delete has not cover the entire key, why would the select be successful?


Version railroad diagrams

The railroad diagrams for various statements are not versioned, which causes e.g. the insert docs for older versions to now show upsert support (that was not there at the time). We should version these as well.

For simplicity, we should add a slug (/dev/) first, see #960, and then tackle this issue.

I've been thinking about this issue. To read the versioned railroad diagram, we need to get the version of the page. This can come from either the URL or from an attribute in the front matter.
It seems that we can reliably fetch the version from the URL with either a regex starting with ^/docs... that's matching both (e.g.) /docs/archive/0.9.2/... and /docs/dev/, and also using the existing urlParts.


android back button problem

I try to use tabs and side-menu together in v2,
this is my app.component
    <ion-menu [content]="content" swipeEnabled="false">
      <side-menu [nav]="nav"></side-menu>
    </ion-menu>
    <ion-nav [root]="root" #content swipeBackEnabled="false"></ion-nav>

I set Root to main, and that's it
<ion-header>

  <ion-navbar>

    <button ion-button menuToggle>菜单</button>

    <ion-title>Main</ion-title>

    <ion-buttons right>
      <button ion-button [navPush]="notice">公告</button>
    </ion-buttons>
  </ion-navbar>

</ion-header>

<ion-tabs>
  <ion-tab *ngFor="let page of pages" [root]="page.component" [tabTitle]="page.name" [tabBadge]="page.count"></ion-tab>
</ion-tabs>

In this case I have 2 tabs.
and push some page at side-menu
the problem is the tabs back priority is higher than navCtrl.pop,
so when I click back button It will change the tab at backgroud
not pop my new page
is it a Bug ?
if not, what should I do in my registerBackButtonAction callback?
could you please give me some advance or example?

or can I disabled the tabs change back?

I got an answer
changed function isTabs at nav-util
export function isTabs(nav) {
    return false;
}

Hello, thanks for using Ionic! Would you mind looking at our ionic conference app demo to see an example of how to use the sidemenu and tabs together?

Thanks for the issue! Please visit our forum or slack channel for questions about the framework. :smile:
If you believe this is an issue with the framework, please create a new issue with answers to the pre-populated questions:


LIEF Rust bindings need network access

Crate name
lief
Build failure link
https://docs.rs/crate/lief/0.15.0/builds/1298479
Requested RAM limit
No response
Requested timeout
No response
Requested number of targets
No response
Why your crate needs the resource increases
As described here: https://lief.re/doc/latest/api/rust/index.html LIEF's rust bindings need network access (or setting LIEF_RUST_PRECOMPILED) to compile.
While trying to generate the documentation for the LIEF crate: https://crates.io/crates/lief,
I got this network denied issue.

Sorry, network access won't be allowed for any crate, see https://docs.rs/about/builds#hitting-resource-limits.
Your best options are probably either vendoring or conditional compilation.

Ok thanks you the info


Alpine 1.21.4-alpine-ngx_http_datadog_module is not working with OpenResty 1.21.4 version

Hi Team,
Issue: Nginx/OpenResty container terminating after including load_module modules/ngx_http_datadog_module.so; without showing any error logs.
I would like to use Nginx with the Datadog module instead of using Nginx with the OpenTracing module.
I followed the steps in Tracing the Proxy
Nginx -V output:
`
/usr/local/openresty/nginx $ nginx -V
nginx version: openresty/<IP_ADDRESS>
built by gcc 10.3.1 20211027 (Alpine 10.3.1_git20211027)
built with OpenSSL 1.1.1l  24 Aug 2021
TLS SNI support enabled
configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt='-O2 -DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include' --add-module=../ngx_devel_kit-0.3.1 --add-module=../echo-nginx-module-0.62 --add-module=../xss-nginx-module-0.06 --add-module=../ngx_coolkit-0.2 --add-module=../set-misc-nginx-module-0.33 --add-module=../form-input-nginx-module-0.12 --add-module=../encrypted-session-nginx-module-0.09 --add-module=../srcache-nginx-module-0.32 --add-module=../ngx_lua-0.10.21 --add-module=../ngx_lua_upstream-0.07 --add-module=../headers-more-nginx-module-0.33 --add-module=../array-var-nginx-module-0.05 --add-module=../memc-nginx-module-0.19 --add-module=../redis2-nginx-module-0.15 --add-module=../redis-nginx-module-0.3.9 --add-module=../rds-json-nginx-module-0.15 --add-module=../rds-csv-nginx-module-0.09 --add-module=../ngx_stream_lua-0.0.11 --with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib' --with-pcre --with-compat --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-pcre-jit --with-sha1-asm --with-stream --with-stream_ssl_module --with-threads --with-stream --with-stream_ssl_preread_module
`
Please let me know how to proceed further on this.

I'll need to put together a reproduction that allows me to get nginx into a debugger.
Will start looking into this next week at the latest.

Thanks @dgoffredo let me know if you need any more information from my side.

TL;DR I don't know what the underlying issue is yet.
Here's the status of my investigation:

Created a feature branch david.goffredo/openresty-crash to play around with the module source in a new docker-compose setup.
1: https://github.com/DataDog/nginx-datadog/tree/david.goffredo/openresty-crash
The crash happens here:Program received signal SIGSEGV, Segmentation fault.
0x000072edf7a3fbb2 in ngx_set_env(opentracing::v3::string_view, ngx_cycle_s*) () from /usr/local/openresty/nginx/modules/ngx_http_datadog_module.so

this is a function I wrote to implicitly do the work of env directives to forward DD_* environment variables to worker processes.

I don't know how to get the source files mapped into my container, so I did some printf debugging:(gdb) run
Starting program: /usr/local/openresty/nginx/sbin/nginx -T
warning: Error disabling address space randomization: Operation not permitted
nginx: the configuration file /usr/local/openresty/nginx/conf/nginx.conf syntax is ok
()()()()() 275. entry: DD_AGENT_HOST
()()()()() 276. (void*)cycle: 0x72edf7bec1c0
()()()()() 277. (void*)ngx_get_conf(cycle->conf_ctx, ngx_core_module): 0x72edf7bee3a0
()()()()() 279. (void*)&ccf->env: 0x72edf7bee450
()()()()() 280. ccf->env.nelts:<PHONE_NUMBER>84522
()()()()() 281. ccf->env.size:<PHONE_NUMBER>98328
()()()()() 282. ccf->env.nalloc: 0
()()()()() 283. (void*)ccf->env.pool: 0x10
()()()()() 284. (void*)ccf->env.elts: 0x31
()()()()() 285. (void*)ccf->environment: 0x1
()()()()() 286. (void*)environ: 0x7fffcdb0bfe0
()()()()() 287. ccf->user: 0
()()()()() 288. ccf->user: 0
()()()()() 289. (void*)ccf->username: 0
()()()()() 300. after the ngx_array_push and null check. (void*)var: 0x98afd5f2ac79f021
()()()()() 303. after to_ngx_str(entry)

Program received signal SIGSEGV, Segmentation fault.
0x000072edf7a3fbb2 in ngx_set_env(opentracing::v3::string_view, ngx_cycle_s*) () from /usr/local/openresty/nginx/modules/ngx_http_datadog_module.so

ccf->env contains bogus data (look at the stated length).
The question is whether ccf is entirely bogus or if it's restricted to ccf->env. The trouble is that I don't know the contract for when which fields have their initial values.  For example, the char** environment is 0x1, which makes me think that field is either unset or the whole struct is bogus.
I double-checked that the docker image openresty/openresty:<IP_ADDRESS>-3-alpine does indeed use the same nginx sources as  1.21.4-alpine-ngx_http_datadog_module.so.tgz.
valgrind further illustrates that the ccf->env ngx_array is bogus:()()()()() 303. after to_ngx_str(entry)
==30== Invalid write of size 8
==30==    at 0x52EEBB2: ngx_set_env(opentracing::v3::string_view, ngx_cycle_s*) (in /usr/local/openresty/nginx/modules    /ngx_http_datadog_module.so)
==30==    by 0x52EED78: datadog_master_process_post_config(ngx_cycle_s*) (in /usr/local/openresty/nginx/modules/ngx_http_datadog_module.so)
==30==    by 0x160B9D: ngx_init_modules (ngx_module.c:72)
==30==    by 0x15DE45: ngx_init_cycle (ngx_cycle.c:635)
==30==    by 0x149DDB: main (nginx.c:295)
==30==  Address 0x17c86517982a61 is not stack'd, malloc'd or (recently) free'd

I made the following changes to the nginx-datadog source code to see if it changes the (crash) behavior:

remove the module order in module/config
remove all registered nginx configuration directives for nginx-datadog

Skipping the calls to ngx_set_env prevents the crash, and subsequent config processes succeeds, though I don't know if there is yet some sort of memory corruption.
I'm running out of ideas, but the investigation is ongoing.
One thing for me to try next is building nginx-datadog inside of the openresty/openresty image instead of in the corresponding nginx/nginx image.  I doubt that will make a difference, but it's worth a shot.

The issue is that OpenResty's build of nginx contains patches that change the layout of a struct that our module is using.
I've found a way to avoid using that struct, and plan to have a fix tomorrow.

Fixed in https://github.com/DataDog/nginx-datadog/pull/7, at least on Alpine.

The latest release has the fix: https://github.com/DataDog/nginx-datadog/releases/tag/v0.3.5

@dgoffredo  Thanks David for your time and fix.


Fix tutorial launch on firstscreen.js and improve startTutorial.

The below code to set language and trigger event should be only for if block
https://github.com/llaske/sugarizer/blob/27d8ed7e5c31ab72f64ce04d46e0a99c4df684d1/lib/l10n.js#L39C5-L41C29
if (locales !== null) { // here ... }

Good job @UtkarshSiddhpura.
@vinayaknayar I think the fix to l10n.js should be replicated to other activities using it.


onEnded no disconnectReason provided

As per announcement in early 2021 Amazon Connect now provides disconnect reason for Voice Calls & Tasks
This is available via the, CTR
However, we still just get a Contact object for onEnded event
Can this please as urgency be expanded to provide the disconnectReason as this is common to understand the cause of the call finalization within our extension.
Is there anyway to we could find this reason within the state? I haven't been able to locate anywhere that stores this state within the API.

Hey,
Could you open a support ticket with us? For these types of issues, we would need additional information such as agent logs, contact ids, etc.


Userextraction in stream

Problem
The stream processing extracts user.name and user.screen_name only if they end with ",". This is not correct.
Details

implement the extraction like it is done in the converter batch process using JSON paring.

Fixed bug.


Sublime Text opens empty non-existent file when error originates in macro

Whenever an error is caused by a derive macro, sublime opens a non-existent file with the name of the macro when pressing F4 to jump to the error:
E.g.
error[E0412]: type name `Foo` is undefined or not in scope
 --> <proc-macro source code>:1:4261

When I press F4 it opens a new empty file named . This is undesirable.
Btw, in this case the error was caused by using #[derive(Serialize)] on an enum with a member that uses an undefined type:
#[derive(Serialize, Deserialize)]
pub enum Bar {
	Bla(Foo),
}

Is this still the case after the recent changes from https://github.com/rust-lang/sublime-rust/pull/104
the current macro does not match the example you gave
https://regex101.com/r/Rj3dFS/1

Hm, how can I know which version of the plugin I have?
Before this I did Ctrl-P, Update Package, Rust..

If you do
ctrl shift p
List packages
It should show Rust Enhanced v1.0.0

Weird. It shows v0.1.0. Why didn't it update?

Don't know. Ctrl + ' will show the console (probably) which might have a message from package control
Oh are you using sublime 3? The plugin no longer supports 2

Yes, I have sublime 3. I updated the package again, now it lists V1.0.0, but it stopped highlighting the syntax, all rust code is white now. I restarted Sublime, still no syntax highlighting! I closed the file and reopened it, still no syntax highlighting, what should I do?

The plugin renamed to stop confusion with the base Rust package. Personally I disable the base Rust one. You'll probably have to reselect the syntax for rs files and then all should be well.

Yes, I mean it lists Rust Enhanced v1.0.0.
I have Rust Enhanced, RustAutoComplete and SublimeLinter-contrib-rustc
Do I have to edit some config file to assign Rust syntax to .rs files?

In the lower right menu where one can choose syntax, Rust doesn't even appear anymore, why?

Just ctrl shift p and set syntax to rust. If you have the base plugin also there might be two in the list still. It's still a bit confusing.
This plugin doesn't do auto complete yet

Just double checked the syntax should show as Rust Enhanced

It doesn't show up!

Can you check the console output for messages about the rust packages. Just check also that Rust Enhanced didn't accidentally get disabled

It says it loaded it, how can I check if it's disabled?
...
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin Rust Enhanced.SyntaxCheckPlugin
reloading plugin RustAutoComplete.RustAutoComplete
reloading plugin RustAutoComplete.tests
reloading plugin SideBarEnhancements.SideBar
reloading plugin SideBarEnhancements.SideBarAPI
reloading plugin SideBarEnhancements.SideBarDefaultDisable
reloading plugin SublimeLinter-contrib-rustc.linter
SublimeLinter: rust linter loaded
reloading plugin SublimeLinter.commands
reloading plugin SublimeLinter.sublimelinter
reloading plugin Terminal.Terminal
plugins loaded
SublimeLinter: debug mode: off

Ok, I did Ctrl-shift-P, enable package, it only listed 'vintage' as package that could be enabled.
So I did Ctrl-shift-P, disable package, it listed Rust Enhanced, I did that and then re-enabled it, and restarted Sublime. But still the Rust syntax doesn't show up!

Those messages imply it's enabled and loaded. Not sure why it would not be showing. Can only suggest turn it off and on again.

Try one step up. Remove and install package?

Ok, I did that, uninstalled, reinstalled, restarted Sublime. Still the syntax doesn't show up?
What can I do now?

What build of 3 do you have installed?

3083

Ahbthats it. You'll have to update. 3103 added a new syntax format and v1 of this plugin uses that now.

Ah thanks! I updated now, should I choose syntax Rust or Rust Enhanced now?

Rust enhanced is this plugin.
Rust is the one that now comes with sublime and is just a simpler version of this one.
I disable Rust and let the enhanced one cover everything

Ok, I disabled the package 'Rust' too now. Thanks a lot!


[UI] Disable and color gray the "Undeploy Later" in Undeploy Modal

Current Behavior
The "undeploy later" feature is not currently supported in Meshery.
Desired Behavior
Consequently, this button should be disabled and colored gray.
Find this button in Meshery UI by visiting the Configuration menu, Designs, and the action button with a double checkmark with strikethrough.
Screenshots/Logs

Environment

Browser: Chrome Safari Firefox
Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Ahh, very old regression, I remember fixing this - https://github.com/meshery/meshery/pull/6944 @leecalcote

will fix this


Detecting the stream's dimensions | loaded fully

Is there a way to detect the stream's dimensions and/or when a steam is loaded completely, similarly to HTML's Video element's onloadedmetadata? This would be primarily helpful when loading remote streams.

perhaps you just want request specific dimensions? This is resolved by #288

No quite. It was mostly needed in cases of loading remote streams. Thanks.

Hi,
Was wondering whether there was a solution to this issue, detect remote stream's dimensions - or at least detect the aspect ratio?
Thanks

Nah, however, I have since then moved on from the project this was utilized in.

Ok thanks


Spaghetti code

ProcessStartInfo startInfo = new ProcessStartInfo();  (new is not needed here)
startInfo = new ProcessStartInfo(fileName); (should check to see if file exists before this step)
if (File.Exists(fileName))

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

ID: 80042e9e-4961-6cef-0413-6b252be97bd3
Version Independent ID: 309c2a7d-ea14-5b23-af0f-b14319e72f62
Content: ProcessStartInfo.Verbs Property (System.Diagnostics)
Content Source: xml/System.Diagnostics/ProcessStartInfo.xml
Product: dotnet-api
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

You're right, @thphan75. This is indeed poorly written code. There's an unnecessary object instantiation, and the file check is performed much too late and, if it's performed earlier, eliminates the need to test for null. We'll revise it in the near future.


Added ArabicMMLU

Following up on the issues found in the translated Arabic MMLU #1596 that resulted in its subsequent removal #1948, I'm adding a localized Arabic MMLU in the same style of cmmlu and kmmlu previously implemented in LM Harness. This localized version contains original Arabic questions that cover 40 subjects, with a total of 14.5k questions. I followed the details outlined by the original authors in their paper and evaluation repository to create this new task.
To test my implementation, I tested FreedomIntelligence/AceGPT-13B-chat with the following command:
accelerate launch -m lm_eval --model hf \
    --model_args pretrained=FreedomIntelligence/AceGPT-13B-chat \
    --tasks ammlu \
    --batch_size auto

Which resulted in:
|     Groups      |Version|Filter|n-shot|Metric|   |Value |   |Stderr|
|-----------------|-------|------|-----:|------|---|-----:|---|-----:|
|ammlu            |N/A    |none  |     0|acc   |↑  |0.5252|±  |0.0041|

Which is pretty close when we compare it to the 52.6 score reported in Table 4 in the original paper.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Yazeed7:x: Yazeed AlnumayYazeed Alnumay seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the review, @haileyschoelkopf! I've added a description of ammlu in the main task list. As for the task's name, I followed the precedent set by cmmlu and kmmlu, as well as other Arabic evaluations like aexams. However, if you feel that arabicmmlu is more apt, then I'd be happy to modify the PR.

Let's call this arabicmmlu_* because the dataset's name is ArabicMMLU in the paper, and to distinguish from the already-existing AMMLU!

@haileyschoelkopf
I had to undo my last commit, since it was with an account that can't sign the CLA.
Regarding the task name, you raised good points, so I renamed the task to arabicmmlu.

Thanks very much! We can merge once tests run and pass :)


Closes #68:Enhance QuestionCard

Hi Charles,
I know there are a lot to fix (including tests.....) but I am creating this pull request so that I will know where I should be fixing next!
Kind regards,
Yuzuki

just amended all the above!


Fixes Issue #113

Just one file, 2 locations.
Fixes #113

@vicos59 Looks good!
For the PR title can you change it to say what was done?  Put the fixes ### in the description, and that will make github automatically close that issue for you.  But it makes things easier for posterity if you give a title on the PR.  It can even match the title of the issue (if it applies).
And the same for commit messages.
It is fine this time, but for the future:  on commit messages, be sure to put a descriptive sentence of what changed.  The reason I say that is imagine looking at the history log because maybe you are trying to see when something was done, or find out why something was done, or whatever...
Imagine in the history it is a bunch of things like

Fixes #8881389223
Partial commit (side note: people tend to do this starting out a lot lol but it is another one that results in unusful history)
Fixes #1449212384

etc.
Vs somewhat short sentences:

Update links to use new .org domain
Change branding wording to say community edition instead of older LLC
Fix weird whitespace
etc.

The rule of thumb I use on commits is to make a short sentence saying what it is.  If you find yourself saying "and ..." or having to list a bunch of things, sometimes it is better to break it up into multiple commits.  (One PR that has multiple commits because there are multiple things being changed).  Basically organize the commits so you can write one sentence about it.  Don't make it one line change per commit or something lol, group them, but all the changes should be doing a single thing, if that makes sense.

@vicos59 Once you update the title of the PR I'll merge it.  (see comment above)


Voyager: Image upload not working in admin panel on live server.

The app is fine in localhost but not working in live server(shared hosting). The image is not being uploaded in live server but working fine in localhost.

Short answer: don't use shared hosting.  VPSs are super cheap these days, and you'll have full control over what php functions are enabled.
Long answer: this is common practice for shared hosts and done as a security feature. You MAY be able to get it to work by manually creating the symlink through cpanel or whatever, or contact the host and see if they can do it from you.  This isn't a Voyager problem, but a system/hosting problem.


import cloudscale, adjust component & docs

imports cloudscale collector code without actually refactoring more than necessary to keep PRs small.
There are now two wasy to init the db, two ways to work on the data, two ways to configure the k8s configs. Will merge this in a follow-up PR.

@zugao @glrf @susana-garcia thanks for the reviews - I updated code and replied to comments. Please re-review.
regarding hard to review: yeah that's unfortunately the case :( hope it'll get better with next PR since then I'm actually doing refactoring.. :upside_down_face:


how can I start the vox_nav

how can I start the vox_nav in the ros2 of humble? If having example to teach our to start the project. Thank you very much

if the example is botanbot_sim?

Hi,
The botanbot_sim have useful resources and configuration files for this.

Thank you very much!

Hi, The botanbot_sim have useful resources and configuration files for this.

Hello, I can successfully open the botanbot_sim, but I can't set the point, and the robot doesn't go.

Hello, You need to send the goal through botanbot_gui


docs: Add documentation around exposing ports for --link #1007

Issue: #1007
Signed-off-by: Joshua Silverio<EMAIL_ADDRESS>

@cjellick I started adding an example to help illustrate but it seemed to get very wordy / confusing so let me know if this note calling it out is sufficient

Following notes is added to https://docs.acorn.io/running/linking-acorns
The port from the container being linked to must be explicitly exposed in the Acornfile i.e. ports: expose: "5432/tcp".


Check whether the cron is enabled or not

If cron is not enabled, skip it
This is useful if you need to disable a cronjob for specific reason
Example: Disable cron for env dev

Is already implemented. Made a wring check. Sorry


[Suggestion] Support for parameterized NSD/VNFD

It would be very useful if user could provide some parameters at NSD/VNFD instantiation time.
That would mean that one NSD/VNFD can be instantiated in different ways, with some minimal
changes. Similar to OpenStack HEAT template input parameters.
For example user could decide what OpenStack network to use for his VDU at instantiaton time.
There would be no need to re-upload the VNFD package, when different network is desired.
Example VNFD:
  "connection_point":[
    {
      "floatingIp":"randomIp",
      "virtual_link_reference": {"get_input": "vdu_network_name"}
    }
  ]

PS: this suggestion was already posted on mailing list, I am just posting it here for easier tracking.

We introduced some parameters which can be passed at instantiation time. Available parameters at the moment are:

which PoP to deploy certain VNFs
keys to use for accessing VMs
configuration parameters adding to the VNFs


Test Javascript not updated when changed

Not sure how to describe this completely.. basically in the Jetpacks add-on, I wrote a simple test script:
var jsonObject = xmltojson(responseBody);
var token = jsonObject.SomeName.Another["_attrName"];
postman.setEnvironmentVariable("key",token);
When I run my request, the first time this ran, the variable was set.. it worked. I partied for a bit because of how cool this is! Then I decided I didn't like the variable name "key", so I changed it to:
var jsonObject = xmltojson(responseBody);
var token = jsonObject.SomeName.Another["_attrName"];
postman.setEnvironmentVariable("authToken",token);
I ran it again, but oddly, the old variable name, "key" was still there, and it was updated to the new response value. The new variable name wasn't there. I then tried deleting the variable name from the environment, ran the request again, and now nothing shows up.
The main issue though is I can't lock down exactly what is going on. It seems like the javascript change I made was not "reread" and applied on subsequent requests. That would explain why on a subsequent run it updated the old variable name. But when I deleted the variable from the environment, and nothing showed up at all.. that had me questioning what is the problem.
I'll keep on trying to reproduce this more systematically to try to narrow it down, just thought I'd post this in case others are having a similar issue and/or it's a known issue.

I have this exact same issue. I set a variable and it gets set, then I run a test which returns a different value to be set and intermittently Postman will decide to update the variable, other times it'll be like "yeahh, sure .. I updated it" and you go and check and in fact the old value is still there.
By check I mean using in another test as well as clicking the environment drop-down at the top of the screen, clicking Manage Environments, and scrolling to your variable. Usually a restart a Postman works, but other times I feel like I have to delete the variable and it's value manually. Very frustrating when debugging services!

@a85 This might be due to an error with the CodeMirror editor. Will look at it in more detail.

Yeah it appears you guys are using CodeMirror v2.38(!) which is literally thousands of commits behind master. Why not upgrade to at least the latest v3 if not v4? The abstracted fixes are here: http://codemirror.net/doc/releases.html. I pulled the commit history from GitHub and it's massive (2,867 commits): https://github.com/codemirror/CodeMirror/compare/c8dbbd8...master.

At least in the meantime is there a way to explicitly remove the variable before setting a new one?
i.e., some sort of postman.deleteEnvironmentVariable("myVal");
before the
postman.setEnvironmentVariable("myVal", responseBody);
Note that responseBody is not JSON, just a simple string, so no need to parse it.

@BurnTurn We just got caught up with other stuff here. :) We are testing out Ace too. Any thoughts on that?

EDIT: Sorry, was signed in with a client's account. Reposted under my name.
Yeah it appears you guys are using CodeMirror v2.38(!) which is literally thousands of commits behind master. Why not upgrade to at least the latest v3 if not v4? The abstracted fixes are here: http://codemirror.net/doc/releases.html. I pulled the commit history from GitHub and it's massive (2,867 commits): https://github.com/codemirror/CodeMirror/compare/c8dbbd8...master.

At least in the meantime is there a way to explicitly remove the variable before setting a new one?
i.e., some sort of postman.deleteEnvironmentVariable("myVal");
before the
postman.setEnvironmentVariable("myVal", responseBody);
Note that responseBody is not JSON, just a simple string, so no need to parse it.

@prdonahue Pushing an update with the Ace editor today. It's much faster and should solve a lot of issues that CodeMirror has.


Allow custom DNS lookup function when creating a ServiceBusClient

Is your feature request related to a problem? Please describe.
We see occasional failures for DNS lookups in Node in Azure Functions, including when creating a ServiceBusClient.
Describe the solution you'd like
In most of our code that makes connections, we pass in a custom httpsAgent with a caching DNS resolver specified as the lookup function.
Node's native Socket also allows for passing in a custom lookup function.
I'd like some way to pass in a custom lookup function to the Service Bus SDK to improve reliability there as well.
Describe alternatives you've considered
I've looked at specifying a custom WebSocket implementation that includes the httpsAgent, but had difficulties figuring out how to make it work based on what I could find documented.

currently we don't expose the underlying rhea connection options in our Service Bus SDK.
@timtucker-dte we have a sample showing how to use websocket and passing a proxy agent in websocket constructor options. I imagine your custom https agent can be passed in a simiar way:
https://github.com/Azure/azure-sdk-for-js/blob/f51e095156c0a6d45969b118f3c0367777742a8f/sdk/servicebus/service-bus/samples/v7/typescript/src/useProxy.ts#L34-L41

@jeremymeng -- thanks, that definitely helps.  Did a quick test and it seemed to use the lookup function.
A few follow-up questions, though:

Docs mention there being additional latency from using WebSockets over https instead of tcp -- how much extra delay should we expect?
Is there any way to prime a connection to a sender without sending a message?  From what I can tell, no connection attempt is made until we actually attempt to use the sender and we'd like to reduce the overhead of establishing the connection by warming it up first.
Is there any way to similarly pass constructor options for a WebSocket implementation & agent when using the azure functions service bus trigger or output bindings?

@timtucker-dte we had a method on the sender before to initiate the connection but decided to remove it.  We still want to bring it back https://github.com/Azure/azure-sdk-for-js/issues/12611.
For the other questions I am asking owners and will get back to you as soon as possible.

@timtucker-dte we also support specifying a custom endpoint.  Its main purpose is for proxy server scenario, but it may work if you pass an IP address.  We will use the host and port from the custom endpoint if specified to make connections.


Enhance support for longer strings in various views

Description of Work

Updates constraints for pagination arrows, settings toggle cell, and general settings cell to better support longer strings

test approved


add lease rbac for work-manger addon agent in ocp 311 case

related issue: https://github.com/stolostron/backlog/issues/21190
the issue is for work-manager, but I found search addon also miss this rbac.
there is no lease in OCP 311, so need to create lease on the hub cluster.
Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>

/assign @jlpadilla

/lgtm
/hold
Requesting @xrajesh 's review for awareness. We'll need to add this on our V2 operator.

/unhold


Create second image tag based on date/time created

Tag project images with a second tag while building, so that we can identify when we built them.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/test  coredns-presubmit

I'm going to kill this for now, feel free to revive


customizing time header gutter

Check that this is really a bug

[X] I confirm

Reproduction link
i'm sure repo is not needed.
Bug description

I want to customize time header gutter as in the picture above . The problem i ran into while using time header wrapper component is that it provided access to the div inside the time header gutter not the parent .And if i hide the time-header-gutter the entire aligning breaks .
Expected Behavior
How can i design the time header component as shown in above picture i.e aligning the time header gutter with the time and the rbc-all-day cell to take the entire width.
Actual Behavior
Currently the time header gutter wrapper props provide access to the div inside the parent not the actual div . and if you hide it the css breaks for all day cell and time-header-cell .
react-big-calendar version
"react-big-calendar": "^1.9.1"
React version
"react": "18.2.0"
Platform/Target and Browser Versions
windows,macos/chrome newest version.
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

@Rahul-yaddv Did you attempt to override the TimeGutterHeader with a custom component? Afraid I'm missing exactly what it is you are trying to accomplish.


Sentiment Analysis Model  - Error on Training

Problem encountered on Visual Studio 2017 - Sentiment Analysis Model
Operating System: windows
After Training Visual Studio Gives me this error  >
Error Details :  at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at Microsoft.ML.CodeGenerator.Utilities.Utils.CreateSolutionFile(String solutionFile, String outputPath)
at Microsoft.ML.CodeGenerator.CSharp.CodeGenerator.GenerateOutput()
at Microsoft.ML.ModelBuilder.AutoMLEngine.d__28.MoveNext()

Hi, thanks for your report, It seems that ModelBuilder can't access the location of the solutionFile, maybe it's used by some other process? And BTW could you provide your error message?

@marwanatefgaber Thanks for reporting! Can you provide more details for the questions asked above?

Unfortunately we don't have enough information to investigate this issue. If you're still seeing a problem, please provide answers to the above question and reopen. Thanks!


Can't import relative paths in schema files

This is because the CLI compiles and copies the schema to another location.
IDK if this is just a reasonable limitation, or if I should change how schemas work.

It's also the case that if you have any custom logic in the schema file (like a particular indexing function) you have to regenerate the client code every time you change it...


ARCore booting

Early on Exokit ran on Android with an ARCore binding. However, that support was never merged back to the monorepo and has lapsed.
There is some interest in bringing that back.
Android runs real node (in .so library form) without much fuss, and running exokit as an app on top is prototyped in exokit-android.

This work is being resurrected/prototyped here: https://github.com/webmixedreality/exokit-android


Unable to use groupadd/useradd from shadow without password

Hi,
I wanted to provision my Alpine server with ansible, the ansible user module requires groupadd and useradd which gets provided by shadow@testing. On other Alpine servers and docker images this works totally fine, except for this official image where I'm always prompted for a password.
Steps to reproduce
echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
apk -U add shadow@testing

groupadd foo # Prompts for the root password even if I'm already root

Expected behavior
host:~# cat /etc/issue
Welcome to Alpine Linux 3.3
Kernel \r on an \m (\l)

host:~# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)

host:~# apk info shadow
shadow-4.2.1-r3 description:
PAM-using login and passwd utilities (usermod / useradd / newuidmap etc)

shadow-4.2.1-r3 webpage:
http://pkg-shadow.alioth.debian.org/

shadow-4.2.1-r3 installed size:
1777664

host:~# groupadd bar

host:~# useradd -G bar foo
Creating mailbox file: No such file or directory

host:~# grep -e foo -e bar /etc/passwd /etc/group
/etc/passwd:foo:x:1000:1000::/home/foo:/bin/bash
/etc/group:bar:x:1000:foo

Current behavior
host:~# cat /etc/issue
Welcome to Alpine Linux 3.3
Kernel \r on an \m (\l)

host:~# id
uid=0(root) gid=0(root) groups=0(root),0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)

host:~# apk info shadow
shadow-4.2.1-r3 description:
PAM-using login and passwd utilities (usermod / useradd / newuidmap etc)

shadow-4.2.1-r3 webpage:
http://pkg-shadow.alioth.debian.org/

shadow-4.2.1-r3 installed size:
1662976

host:~# groupadd bar
Password:
groupadd: PAM: Authentication failure

host:~# useradd -G bar foo
useradd: group '1000' does not exist
useradd: the GROUP= configuration in /etc/default/useradd will be ignored
useradd: group 'bar' does not exist

host:~# grep -e foo -e bar /etc/passwd /etc/group

I just want to mention again, I can't reproduce that on general vanilla images with the official docker image and also for my alpine VM locally.

Hi @tboerger,
Thank you for your feedback, I tried to reproduce your issue but it works for me :/ (can you give me more details ?)
You can find the root password in /root/.pw or just delete the password with passwd -d root
Let me know if you need anything else 😊

I had exactly that issue with a fresh installed alpine on the c1 arm machines, only done the above steps

I think the problem come from shawdow@testing which doesn't check if the user is root, with a new C1 and your steps, I have your expected behavior 😉
$scw run --commercial-type=C1 alpine
Welcome on Alpine Linux (Linux 3.2.34-30 armv7l - Marvell)
...
prickly-williams:~# apk update
fetch http://nl.alpinelinux.org/alpine/latest-stable/main/armhf/APKINDEX.tar.gz
v3.3.3-22-gbb3e6c5 [http://nl.alpinelinux.org/alpine/latest-stable/main]
OK: 5281 distinct packages available

prickly-williams:~# apk upgrade
(1/14) Upgrading musl (1.1.12-r1 -> 1.1.12-r5)
(2/14) Upgrading openrc (0.19-r2 -> 0.19-r4)
Executing openrc-0.19-r4.post-upgrade
(3/14) Upgrading alpine-conf (3.3.0-r0 -> 3.3.2-r0)
(4/14) Upgrading libcrypto1.0 (1.0.2e-r0 -> 1.0.2g-r0)
(5/14) Upgrading libssl1.0 (1.0.2e-r0 -> 1.0.2g-r0)
(6/14) Upgrading busybox-initscripts (2.3-r1 -> 2.3-r2)
(7/14) Upgrading musl-utils (1.1.12-r1 -> 1.1.12-r5)
(8/14) Upgrading alpine-base (3.3.1-r0 -> 3.3.3-r0)
(9/14) Upgrading openssl (1.0.2e-r0 -> 1.0.2g-r0)
(10/14) Upgrading libssh2 (1.6.0-r0 -> 1.6.0-r1)
(11/14) Upgrading curl (7.46.0-r1 -> 7.47.0-r0)
(12/14) Upgrading openssh-client (7.1_p2-r0 -> 7.2_p2-r0)
(13/14) Upgrading openssh-sftp-server (7.1_p2-r0 -> 7.2_p2-r0)
(14/14) Upgrading openssh (7.1_p2-r0 -> 7.2_p2-r0)
Executing busybox-1.24.1-r7.trigger
Executing ca-certificates-20160104-r2.trigger
OK: 19 MiB in 30 packages

prickly-williams:~# echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories

prickly-williams:~# apk -U add shadow@testing
fetch http://nl.alpinelinux.org/alpine/latest-stable/main/armhf/APKINDEX.tar.gz
fetch http://nl.alpinelinux.org/alpine/edge/testing/armhf/APKINDEX.tar.gz
(1/2) Installing linux-pam (1.2.1-r0)
(2/2) Installing shadow@testing (4.2.1-r3)
Executing busybox-1.24.1-r7.trigger
OK: 22 MiB in 32 packages

prickly-williams:~# passwd -d root
passwd: password expiry information changed.

prickly-williams:~# id
uid=0(root) gid=0(root) groups=0(root),0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)

prickly-williams:~# apk info shadow
shadow-4.2.1-r3 description:
PAM-using login and passwd utilities (usermod / useradd / newuidmap etc)

shadow-4.2.1-r3 webpage:
http://pkg-shadow.alioth.debian.org/

shadow-4.2.1-r3 installed size:
1662976

prickly-williams:~# groupadd bar

prickly-williams:~# useradd -G bar foo
Creating mailbox file: No such file or directory

prickly-williams:~# grep -e foo -e bar /etc/passwd /etc/group
/etc/passwd:foo:x:1000:1000::/home/foo:/bin/bash
/etc/group:bar:x:1000:foo

Indeed, passwd -d root does the trick. Strange that I have not been able to reproduce that on docker or my local machine.

I tried with docker on my local machine and the user root hasn't password, when I set one, I have the this behavior
/ # groupadd foo               # docker image
/ # passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
/ # cat /etc/shadow  | grep root
root:$XXXXXXXXXXXXXXXXXXXX:16905:0:::::
/ # groupadd bar
Password:
groupadd: PAM: Authentication failure

Thanks for the clarification. Than it looks like an upstream issue.

@tboerger: Did you report this upstream or get this resolved?

Try installing  apk --no-cache add busybox-suid for a workaround.


python310Packages.ciscoconfparse: 1.6.36 -> 1.6.40

Description of changes
https://github.com/mpenning/ciscoconfparse/blob/main/CHANGES.md#version-1640

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 171717 run on x86_64-linux 1

5 packages failed to build:

napalm
python310Packages.napalm
python310Packages.napalm-hp-procurve
python39Packages.napalm
python39Packages.napalm-hp-procurve

2 packages built:

python310Packages.ciscoconfparse
python39Packages.ciscoconfparse

napalm failure will be addressed with #171215


GCE: Fix retry of cloudprovider client generation

Original code read an io.Reader from within a loop. If the first iteration errored (possibly due to an intermittent network issue), the second iteration would read an empty reader. Therefore, no config values would be passed in after the first iteration.

This change is

/assign @nikhiljindal

Coverage decreased (-0.03%) to 43.955% when pulling d59d5c4bf3392f89466f9d4546a68ff39dcf9cd7 on nicksardo:gce-retry-fix into 16a213c07611b27be5ef9f4eced6ccc4f20c47cd on kubernetes:master.

/assign @bowei

@bowei I'm not sure if we should keep this StatusForbidden check: https://github.com/nicksardo/ingress/blob/d59d5c4bf3392f89466f9d4546a68ff39dcf9cd7/controllers/gce/controller/cluster_manager.go#L229-L234

/lgtm


burrego: organize examples

Add a couple of example policies both for Open Policy Agent and another couple for Gatekeeper. This should give an idea on how policies look like in each case, and that they are the same as if they were written for Open Policy Agent or Gatekeeper themselves.
Acceptance criteria

There exists a couple of examples of two Open Policy Agent policies
There exists a couple of examples of two Gatekeeper policies

Addressed by https://github.com/kubewarden/policy-evaluator/commit/7d38e59c07ea73d5a9cf486e8be4ced4d1b37662


relays reject large contact lists

client initiating action
nostrudel
client receiving or observing action (or lack thereof)
nostrudel
relays
relay.mostr.pub
nostr.mom
momostr.pink
nostr.bitcoiner.social
nostr.fmt.wiz.biz
relay.nostr.band
nostr.bitcoiner.social
timestamp

https://njump.me/nevent1qqs2z0f52dn67j3xc79cpxhzapdfhct95dmluhn84rz5zs28fww3z5spz4mhxue69uhhyetvv9ujumt0wd68ytnsw43qzyrhwden5te0dehhxarj9emkjmn9qy8hwumn8ghj7mn0wd68ytnddaksz9rhwden5te0wfjkccte9ejxzmt4wvhxjmcmsjtzk
reported by @0xtrr
what happens

invalid: event too large: 69764

with 947 follows
suggestion
How might relays deal with large contact lists?

@0xtrr suggests relays can expose this limitation via NIP-11 implementation
https://github.com/nostr-protocol/nips/blob/master/11.md#server-limitations

See also: https://github.com/nostr-protocol/nips/issues/1179
I am very passionate about this issue. We just need to convince @fiatjaf to bend the fabric of space and time.

Suggestion: delta addition by water
Https://njump.me/note1hagrttg5g3urdadu6m8y0wg7emps5wz2yu46ewdrwclyeu08fadqnrm88a

The relay should no longer dump. We need to add a “add to follow” event, and then the relay should automatically add the user to the follow list, instead of updating the entire list at once.

This has been discussed a million times, the consensus is that some people think this is the worst problem to ever have happened to humanity while others think it's not a big deal and that the cure may end up being worse than the disease.

Why do you have to store your huge contact list in all these relays anyway?

To be honest contact lists should have never existed anyway -- or relays should not index them.

@fiatjaf This isn't even about indexing. This is just the event being so huge the relay rejects it.

@danieldaquino do you ideas on a protocol level solution?

I suggest that the relay can supports downloading large events via HTTP/HTTPS, with resumable downloads, instead of using ws/wss requests.

@vitorpamplona mentions the issue is greater than contact lists

Anything that can have a bigger blob, like large blog posts, HTML pages (from hostr.cc) documents, encrypted spreadsheets, private lists, long DMs, large zap split setups, group membership events, etc.

We will get into a point that most events will simply be rejected. So yeah, we need to figure out a more accurate way for relays to expose what they support. NIP-11 is nowhere near enough.

This is just the event being so huge the relay rejects it.

@alexgleason
For some reason relays don't want to store a bunch of data for free for anyone. This is perfectly normal and expected.
If you break the contact list in multiple events they will take more space in the end. That may bypass the current naïve limits these relays are imposing, but ultimately, if relays really want to save disk space, they will have to block these too, and much more aggressively.

Now, in reality, relays are probably blocking these contact lists because they don't know these are real contact lists, they are not aware that contact lists can be huge, they're just seeing a big event and blocking it thinking it's some base64 video file.
The solution here is not to try to be sneaky and bypass current limits creating a potentially worse future for everybody, the solution is to improve technology so relays can properly handle contact lists that they want to store while also protecting themselves from base64 videos.
I mentioned indexing because that's another reason relays might not want to store these lists, because they have a lot of tags. And that's another thing that should be fixed by improving relay codebases.
Honestly, with a dozens lines of code this wouldn't be a problem.

With that said, I like the idea of multiple events myself at a conceptual level, it is certainly more "correct" and more elegant. I'm worried about its ultimate practicality gains, but I think it should be tried.

Honestly, with a dozens lines of code this wouldn't be a problem.

To what? Relays, e.g. strfry?

To what? Relays, e.g. strfry?

Yes.

To what? Relays, e.g. strfry?

Yes.

Since strfry guy is gone, does it make sense to post a bounty for these changes?

He is not gone, and I don't think it makes sense to ever post bounties anymore. Also we don't know exactly what would be these changes. What I was trying to say is that relays need space to make more fine-grained decisions about what they're going to store, but the exact best interface for that is up for experimentation. You could go very far using strfry plugins though, which are very customizable and already in use by many relays out there.

or relays should not index individual tags in them.

I don't see the point of publishing large follow lists in public and I hope relays will keep rejecting them.

I don't see the point of publishing large follow lists in public and I hope relays will keep rejecting them.

What solution do you propose?

On the client:

somehow encourage to clean up follow list
auto clean up? offer the remove inactive accounts

In general:

if public, it should be useful for others
if private, then it should be encrypted and maybe even on a private or paid relay so you can make it as big as you want
find out the cause, how or why did the follow list get so big? maybe it shouldn't be a follow list but a different kind of list

I don't see the point of publishing large follow lists in public and I hope relays will keep rejecting them.

really? it's pretty common on twitter for accounts with 10k+ follows. people have the expectation that they can follow as many people as they want. We can say "too bad", but it feels like we are just giving up and working around a bad design to begin with.
I like the solution of replaceable events for updating a follow status for a given pubkey. then you can sync all of these statuses incrementally.
The only problem after that is reducing the subscription size for large number of follows. outbox helps this a lot, but in the degenerative case where a large number of people share the same relay it might make sense to make an optimization that simply does: ["REQ","timeline",{"timeline": "pubkey..."}], but this is an ugly custom hack for a particular usecase. in nostrdb I am working on wasm queries: ["REQ","timeline",{"script": "nscript..."}] which could build a timeline query from a contact list on the relay, but I doubt this will be adopted in general, maybe only for AUTH paid relays.
In damus some of our users were experiencing stalling with rejected queries that were too large, we split our timeline query into batches, but this feels like a hack to get around relay query size limits. Batching may be the only realistic solution that works today.

if private, then it should be encrypted and maybe even on a private or paid relay so you can make it as big as you want

even if you can make it as big as you want, it's still ugly to have to uploads megabytes of data every time you follow or unfollow someone.

Agree with @jb55 . We have many scenarios where we need large lists (we currently don't have that many users, but we might in the future), such as 10k+ follows or 10k+ group members.
It would be great if we could provide incremental updates to the list, such as offering "add follow" and "remove follow" instead of uploading an entire list. For large lists, we can offer segmented downloads or HTTP/HTTPS resume capability for downloads.

Why no one ever considers the possibility of storing follow lists locally, or using Google cloud or something like that? And then publishing those to relays only selectively and/or every once in a while?
I understand the argument of having your contact lists available everywhere around Nostr and that's a good feature, but to think as that as the only good ideal goal to have is probably a symptom of us all being early adopters; still there can be multiple ways of doing things and I know there are some people that would rather not make their follows public.

Now I'm thinking that maybe we could have a protocol for updating lists in relays, like
["APPEND", "<event-id-to-modify>", ["p", "<pubkey>", "whatever"], "<new-id>", "<new-sig>"]`

Has anyone ever suggested that?

Has anyone ever suggested that?

Gotta update created_at as well.
Why "complicate" relays with custom APPEND/REMOVE commands? Relay codebase is quite simple and we still have only rudimentary codebases. I fear that adding many more custom commands to complete the set of all possible changes to events will just complicate things further and block them from working on the things that truly need work in the relay codebase: SYNC, Indexing, and multi-party CDN-like global distribution.

Well, this would be strictly optional. Clients would fall back to just sending the full updated event.
I don't like it either, but being optional I think it might be a better idea than changing the way we do contact lists.
Also relay developers are too lazy. Writing a client is 100x harder than writing a relay. Gotta give them something else to do.

really? it's pretty common on twitter for accounts with 10k+ follows. people have the expectation that they can follow as many people as they want. We can say "too bad", but it feels like we are just giving up and working around a bad design to begin with.

My main reason against large follow lists is that I prefer to preserve how easy it is today for clients to build a Web of Trust with just kind 3s.
People can still follow 10k+ if they want but then I'd rather have it not pollute the current kind 3 space, better keep it local, private or a different kind, or else it will become difficult for clients to deal with and we will end up having to use a few centralized caching services.

On Mon, May 27, 2024 at 02:58:57PM GMT, Fabian wrote:

really? it's pretty common on twitter for accounts with 10k+ follows.
people have the expectation that they can follow as many people as
they want. We can say "too bad", but it feels like we are just giving
up and working around a bad design to begin with.

My main reason against large follow lists is that I prefer to preserve
how easy it is today for clients to build a Web of Trust with just kind
3s.

web of trust with kind 3 is already kind of dubious. The replaceable
event per pubkey has the benefit of allowing you to refine what the
other person is to you:

do you want to recieve notes from this person in your timeline?

do you prioritize DMs from this person?

do you trust this person's 1984 reports so your client can make
automatic decisions from their reports on your behalf (I don't trust
random people I follow's 1984 reports)

general wot rating of this person for use in public algos

I'm not sure if there is a NIP for this idea yet, I can't remember who
came up with it. I think it was maybe semisol.

I am all in for killing all types of lists on nostr in favor of https://github.com/nostr-protocol/nips/pull/784, including for contact lists like on https://github.com/nostr-protocol/nips/pull/761
That being said, we are going to have to deal with large lists. They are not optional. Large lists will always exist.
Lists and Event Sets are not replacing one another. Some use cases will use lists, others will use sets. Large lists are fundamental to many use cases. Relays will have to figure out if they are going to support those applications or not.
Our job should be to create an interoperable way to let relays clearly define what they support such that Clients can warn users when their relays don't.

https://njump.me/nevent1qqsdu704zqdf3rrwrsw202zz4km3udlyymd34p4enest80jrspuzcdgpzpmhxue69uhkummnw3ezumrpdejqz8rhwden5te0dehhxarj9ekh2arfdeuhwctvd3jhgtnrdakszenhwden5te0ve5kcar9wghxummnw3ezuamfdejj7mnsw43rzun6vuunv7n2v9mxwct5wdur2cmgxfm8var3x3shgct5d3un2unkv3mhzem2wqc82arcwu6r27n90fh8v7t3vejxk7rkv5lkyun0v9jxxctnws7hgun4v5q32amnwvaz7tmjv4kxz7fwd4hhxarj9ec82csm0cvmg

@Semisol I did a restore with hist nostr land. Some relays give the error code 87518. I imagine it’s because my follow list is too large (>1000). Does this mean that the events I broadcast to these relays are rejected too, or it’s just the follow list that is rejected?

when I was removing inactive npubs with noogle filter, at some point the follow list went from ~1300 to ~1600.  I thought I had a user error so I restarted manually. But the same thing happened in Damus. At some point I was at ~1200 and it went back to ~1600. I’m not sure if this is a nostrability issue or just related to the error code I saw when restoring (so related to the size of the list). Steps to reproduce is just removing enough inactive npubs from the follow list.

@staab how do you approach large contact lists in coracle? Noticed you also have two thousand follows

I use the outbox model, which means different sets of authors are sent to different relays. I usually end up with about 50% of my follows being requested from the top relay, and only because the top relays are treated as fallbacks for pubkeys with long tail relays (to avoid too many concurrent connections).

Issue persists

it's the same thing as last time but the issue isn't that I cannot read from relays, its that I cannot publish my follow list (kind 3 event) to my relays because they enforce a maximum note size limit. I cleaned out my follow list last time but now it's back after following new npubs.

@0xtrr
https://njump.me/note1qqqpdjm7kf2pf4gvc32r2s7x5ms2ycetv8cm9sg0unker6qc6l3q72ynhu

Arkinox advises

Looks like 65535 bytes is probably the limit then


[FEATURE REQ] DocumentTranslationInput does not allow to specify categoryId in DocumentTranslationInput constructor

Library name
Azure.AI.Translation.Document
Please describe the feature.
DocumentTranslationInput does not allow to specify categoryId in DocumentTranslationInput constructor

Thanks @sabbadino for reporting this. We will include it in our next release

Hi @sabbadino, a way to currently add CategoryId is to do:
           var source = new TranslationSource(new Uri("http://localhost"));
            var target = new TranslationTarget(new Uri("http://localhost"), "en")
            {
                CategoryId = "myCategoryId"
            };
            var input = new DocumentTranslationInput(source, new List<TranslationTarget>() { target });

I'm also working on adding it to the AddTarget() method under the DocumentTranslationInput class so it is easily discoverable.
Let me know what you think

Thanks, i had missed that possibility.

We've also added it to the DocumentTranslationInput.AddTarget method. You will see it in our next release.
Thank you for your feedback!


Add LocalFileManagerDriver

Changes:

Add BaseFileManagerDriver
Add LocalFileManagerDriver
Remove all existing fields from FileManager.
Add FileManager.file_manager_driver
Added optional BaseLoader.encoding field. This allows the LocalFileManagerDriver to save files with the same encoding as is used for loading them. This is possible without modifying BaseLoader, but not doing so would be more fragile and awkward.

Reverted to draft to make some changes I realized I needed+wanted to make while testing:

LocalFileManagerDriver. load_file needs to read in the file after the changes rebased that removed filepaths from the source of the loaders.
I want to move the usage of the loaders into the BaseFileManager, then have the subclasses implement a method for that reads/writes bytes only.


feature request: automatic version field

Hello,
In addition to #474, can we define a Delta-computed column that contains the version of the Delta table for the latest update on a row?
SELECT *, delta_version() as version from myTable where version > 10

This would be useful to quickly find out what has changed without working on streams, and can be used in scenario like MERGE INTO that would for example merge the results of the latest nightly batch.

This sounds a useful feature. Spark has some ongoing work to support metadata columns. Once Spark supports it, we should be able to add this easily.


Feature idea: Merge resources for "dialects"

Currently i18n needs to have one locale per language but these is not optimal since this will lead to duplicated translations.
One thing that we could do is merge the translation files before serving it.
Example:
en.json
const en = {
  "hello": "world",
  "button": "Personalise"
}

en_GB.json
const en_GB = {
  "button": "Personalize"
}

Then the middlewere would serve
Object.assign({}, en, en_GB)

Doing that we just need to translate specific strings and would have a fallback to the "main"  language.
Is there any technical limitation to do that?

i18next does this basically without merging:
setting language to en-US it will lookup keys in en if not found in en-US -> so en-US has only to contain values different than to en (assuming en is english in british flavor)

So it needs to be en-US instead of en_US right?

yes en-US. Just for more details: https://www.i18next.com/principles/fallback#language-fallback

I'm feeling so bad, because I searched the documentation before open the issues, and I couldn't find it.
🙈
Sorry for that

nothing to worry...the documentation while improved over the time still could need a lot of improvement.


Hal API for retrieiving channel stats via Netlink

Signed-off-by: Rajakumaran1106<EMAIL_ADDRESS>

https://jenkins.code.rdkcentral.com/job/github-triggered/103/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/8290/ started.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Specify type of context option in API stats.toJson() docs

The context is a string option which is defaulted to the current working directory. The other string options say (string) but this one doesn't. If you supply a boolean by mistake, you get a strange error message.
Separately (separate issue if interest) it would be nice to validate the option types.

yep. Feel free to edit the docs. there is an edit button in the top right corner.

Ah, missed the edit button. Thanks!

If still relevant, please re-open. webpack 2 has validation etc. now.


Added Multi-Agent Systems with AutoGen

Hi,
Stjepan here from Manning. I thought this title might be a good match for your list. Thank you for considering it.
Best,

Thank you.
Best,
On Wed, Oct 9, 2024 at 10:35 PM aishwaryanr @.***>
wrote:

Merged #20
https://github.com/aishwaryanr/awesome-generative-ai-guide/pull/20 into
main.
—
Reply to this email directly, view it on GitHub
https://github.com/aishwaryanr/awesome-generative-ai-guide/pull/20#event-14579308440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANDIEMNISLTXJIU5M5Z7JP3Z2WHSTAVCNFSM6AAAAABPPJABTSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGU3TSMZQHA2DIMA
.
You are receiving this because you authored the thread.Message ID:
<aishwaryanr/awesome-generative-ai-guide/pull/20/issue_event/14579308440@
github.com>

--
Stjepan Jureković
Manning Publications - Marketing
@.***


New Alpha -- Standardized Unexpected Earnings Alpha

Created new Alpha
Description
New Alpha for open source to help instruct the community
Motivation and Context
Provide new Alpha demo for the community
Requires Documentation Change
No
How Has This Been Tested?
Tested locally and in cloud. Will be reviewed by senior engineers before deployment.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description or feature-<issue#>-<description>

Closing as no fundamental theory and quarterly data isn't sufficient to determine an earnings "surprise"


Can this work be used to generate point clouds of general objects or scenes?

Hello, we are only able to generate LiDAR data for outdoor autonomous driving scenarios, which will include some objects.


update npx

@Oxicode - these changes are made on the resultant pages. To fix it so that these change will persist across publishes of the doc site, you'll need to modify some files inside /packages/documentation/. Would you mind doing this?


Updated dependencies and added 64-bit tests

Updated dependencies and added 64-bit tests

Tests aren't passing - please fix. It looks like dpkt needs to be removed from dependencies, at least.

Ack, removed dpkt from dependencies as well. PTAL


Apple ALC not working in 10.13.5

During post-install, when replacing EFI folder with EFI folder from repository, sound doesn't work.  I've also tried installing all of the kexts manually.   I'm not sure if I'm missing any steps.  Any point in the right direction would be greatly appreciated, thanks.

Yes, I also experience this on my machine. I uploaded a new release replacing the AppleALC with VoodooHDA2.9.1 That solves half of the problem but still, temporary solution. Stay tuned!

I changed AppleALC back to VoodooHDA. AppleALC is becoming very unstable, so I suggest just use VoodooHDA for now. Maybe it will get better when Mojave comes out. Release.


Add yourself to the website

In the getting started guide, there are instructions. @bellis6  , please add yourself to the website. Your title is 'undergraduate researcher.
http://arfc.npre.illinois.edu/manual/guides/website

I think this can be closed.


[gym] Deprecated provisioning_profile_path

Coverage decreased (-1.4%) to 70.889% when pulling 6cc9f5c909438e69ede6b233048ed5a27d8916a0 on KrauseFx-patch-5 into c56039e823ce88c8a0cf51025c02bde7402fe906 on master.

Coverage decreased (-4.5%) to 67.826% when pulling 6cc9f5c909438e69ede6b233048ed5a27d8916a0 on KrauseFx-patch-5 into c56039e823ce88c8a0cf51025c02bde7402fe906 on master.

Coverage increased (+13.1%) to 85.411% when pulling 5e9389ccf224d8e68c3fed10625a86c5940736eb on KrauseFx-patch-5 into c56039e823ce88c8a0cf51025c02bde7402fe906 on master.

:


Add Corrfunc/tests.py to CI testing

From #258, we're calling the linear binning tests from Corrfunc/test.py, but it isn't CI'd.  This PR starts CI-ing it.
An alternative would be to move the linear binning tests to [theory|mocks]/python_bindings/call_correlation_functions.py or a new file in the same directory. But following the "principle of least surprise", I think it makes sense to just CI Corrfunc/test.py, as most users/devs will expect it to be tested.
This is a blocking issue for #258, as we aren't actually testing anything yet!

Hmm - does the CI only on master run rather than that on the branch? In which case, perhaps I will just have to merge this directly without the GH CI running


Dubious track sorting issues on artist page with two albums released on same date

Check out Aris Martinian's contributions to cool and new volume 2 and cool and new volume II.
(23 May 2022)

I'm pretty sure this can be avoided by implementing #62.

These shenanigans are fixed in 531219642b93a5dc236f217d22f024fb2707191f!


Run on a local directory (instead of GitHub issue)

It would be great if it could run on a local directory and suggest a new git branch so I could compare the changes + request a change without needing github and a repo.
PS. Right now I don't know how to actually make changes from run.py it outputted some terminal logs but I can't reasonably use them for anything.

Thanks for the suggestion, but duplicate of #57 and #43.


possible nifti header issue

Hi,
I've been able to successfully use your tool to create segmentation nii.gz files. However, I have noticed potential issues in the preservation of the nifti header information, and the ability to load the files in various programs.
For instance, here is the nifti header from the original CT file that I pass to the network:

And here is the resulting one from the segmentation:

It seems like there are some differences in the pixel spacing.
I also noticed that the resulting labels are unable to be opened in all viewers. For instance in 3DSlicer, the resulting error occurs.

Here is a dropbox link to the input CT nifti file and a resulting label nifti file.
Thank you!

Thanks for pointing this out. The spacing of the output image can be slightly different, but you can basically round that to the same spacing as the input. I will add a fix in the future to do this automatically.
The 3DSlicer error is actually a well known ITK error for loading nifti images which unfortunately happens for newer ITK versions and ITK did not yet fix this. This is not a  TotalSegmentator issue.

Whether it is a Total Segmentator issue or not, it appears to be impossible to view the results of Total Segmentator using most commonly used tools (ITK and Slicer).
Which tools do you recommend for visualizing the results of Total Segmentator?

I made some adaptations which might reduce this problem. When you install TotalSegmentator from the latest master branch does the problem still occur?
pip install --upgrade git+https://github.com/wasserth/TotalSegmentator.git

Thank you for the fixes! The pixel spacing issue is still present, but I was able to load the nii.gz files in 3DSlicer successfully. :)

I did another fix. Now the output spacing should be identical to the input spacing.

thanks for the fixes @wasserth 👍
Just wanted to report that the latest Slicer preview versions (5.1 post this update to ITK appear to have fully resolved this issue so older totalsegmentator files load correctly now.  I think you could close this issue.

Great. Thank you for this update.


Access the map from your phone through IP?

I was using PokemonGo-Map and accessing the map through http://publicip:5000, I started using pokeminer again and it seems it's no longer possible, is this intended? I can access it using Ngrok but it stops working from time to time due to too many connections and localtunnel spends more time crashing than working.
Thanks in advance.

still working fine for me - did you check the output of web.py for errors?

also make sure you are not just hosting it on localhost. not sure if pokemongo-map defaults to <IP_ADDRESS> or not.
otherwise it would be a portforwarding issue.

Seems like adding the -H <IP_ADDRESS> thing when running web.py solves this problem, thanks for your help.


Status and Profile GET ALL populating files/pics

Coverage increased (+0.01%) to 94.848% when pulling c717913488536e01794372b54965a75ab59c4723 on nassir-issue124 into 9b0f15cc4c4318b0fe884861fd9957d9eb883b3d on staging-branch.


Update to libcudf unsigned sum aggregation types change

Fixes #10262, #10264.  This updates the plugin to adapt to the changes in libcudf regarding the output types of aggregation sums on unsigned input types.  Previously unsigned input types produced signed output types, but now they produce unsigned output types.

build


JSONLD Endpoint for Extracted Text is Failing

Getting a lot of these as the various camel bits are trying to get things done:
Message | Error: [] operator not supported for strings in Drupal\islandora\Plugin\ContextReaction\JsonldTypeAlterReaction->execute() (line 59 of /var/www/html/drupal/web/modules/contrib/islandora/src/Plugin/ContextReaction/JsonldTypeAlterReaction.php) -- | --
Did some digging and it turns out to always be for Extracted Text media, which don't seem to have an rdf mapping!   We should give it one.  We should also make sure JsonldTypeAlterReaction can handle the situation where rdf:type is a string and not an array.

resolved with https://github.com/Islandora/islandora/commit/8b7caa9e8c0b4eac54cdb8c8365eec453e36f369


Multiple inputs with same name using array.

I am creating a form which is containing inputs and they are repeating again and again. There name and id is generating programmatically.
e.g. my input is :
{!! Form::select("demo[' + (Demo.id) + '][location]",array("" => "Select Loc",1=>"Loc1",2=>"Loc2") , "",array("id"=>"demo_"'+ Demo.id +'","class"=>"form-control") !!}
Suppose Demo.id is getting dynamically when someone clicks on add more button it will create this element with new Demo.id
So how we can implement validations on these type of fields.

Atm i think u cannot validate like this with laravalid. After laravalid has done validation it will still validate after submit if u use laravel validation rules.
$data = $request->all();
$rules = [];
if(isset($all['demo']) && is_array($all['demo'])) {
    foreach($all['demo'] as $key => $val) {
        $rules['demo.' . $key] = 'max:255';
    }
}
$validator = Validator::make($data, $rules);
//etc...

Feel free to make PR to make it work with laravalid.

@kaidoj  Thanks for update. But how client side validations occur ?

@phpspider It does not occur if u do not do it yourself on the client side. Like i said feel free to make a PR so it will work in laravalid.