Mixing versions of openiscsi daemon and clients for the daemon results in the clients hanging (and otherwise broken behaviour)

I'm not really sure who to blame here?
Version your protocols kids.
In the interest of maybe helping someone with similar shootfooting in the future:
I started a shell with nix-shell -I nixpkgs=channel:nixos-unstable -p openiscsi -v for iscsid
$ iscsid -v
iscsid version 2.1.2

nix-shell -p openiscsi for iscsiadm. (somewhere around 19.09 maybe)
$ iscsiadm -V
iscsiadm version 2.0-877

Doing something like sudo iscsid -f -c /nix/store/rkwcqjwrzl5wmw8dk9xf2xsgrmlpm0zw-open-iscsi-2.1.2/etc/iscsi/iscsid.conf -i /nix/store/rkwcqjwrzl5wmw8dk9xf2xsgrmlpm0zw-open-iscsi-2.1.2/etc/iscsi/initiatorname.iscsi results in the daemon chugging along happily;
iscsid: Could not read data from db. Using default and currently negotiated values
iscsid: connection1:0 is operational after recovery (1 attempts)

The client behaves oddly in general, sometimes getting stuck polling - per someone looking at my straces, the server closes the socket.
It might be worth nudging upstream about this?

Some credit to https://superuser.com/questions/1436995/iscsiadm-hangs-and-tcpdump-shows-nothing although the issue seems different.


Enumerating codepoints in a string?

Is there any way to enumerate codepoints in a Duktape string?  To decode strings passed in from JS, e.g. for text rendering, so far I've been using Bjoern Hoehrmann's UTF-8 decoder:

https://github.com/fatcerberus/minisphere/blob/master/src/shared/unicode.c#L9-L42

But this fails in case of non-BMP ("astral") codepoints: They are decoded to their individual surrogates because of the CESU-8 encoding.  It's possible to do the decoding in two passes to recombine the surrogates, but it would of course be easier if I could just enumerate codepoints directly. :)
Whose dumb idea was it to specify UTF-16 semantics for Ecmascript strings anyway?
(I suspect Duktape using "extended" UTF-8 might pose an issue for the above decoder too...)

Hm, it seems the problem is worse than I initially thought.  Upon attempting to render the following string:
"🐽 PIG NOSE"

My text renderer first decodes the string using the above mentioned UTF-8 decoder, then converts it to Windows-1252.  The pig nose character is made up of two surrogate codepoints (U+D83D and U+DC3D); since I have no special handling for surrogates, these should be replaced with two "substitute" (0x1A) characters.  However what I actually get is FOUR 0x1A characters.  This behavior makes no sense to me, but since you know more about Duktape's internal string encoding, maybe you can enlighten me. :)

You can do:
duk> x = 'foo\ucafebar'
= "foo\ucafebar"
duk> Array.prototype.forEach.call(x, function (cp) { print(cp.charCodeAt(cp)); })
102
111
111
51966
98
97
114
= undefined

This may be worth reading if you haven't: http://wiki.duktape.org/HowtoNonBmpCharacters.html.

Note that the "extended" UTF-8 is never used by standard Ecmascript strings. All standard Ecmascript strings are 16-bit codepoint sequences encoded in CESU-8. They only come into play if you intentionally create them from C code or via buffer coercions.

Allowing non-BMP is more of a convenience for C code which already deals with UTF-8. Having to convert to CESU-8 and back would be awkward if you don't care about your strings being outside of Ecmascript string space which is often the case for e.g. UI applications.

I'm actually trying to enumerate codepoints from C.  While it's possible to set up a forEach call with the callback being a Duktape/C function, that's really awkward.
To clarify a bit: I'm trying to implement TextEncoder for #961.  According to the Encoding standard, this should encode the string in pure UTF-8--1-4 bytes per character, no surrogate pairs, no codepoints beyond 0x10FFFF.  In order to do that, the string must be decoded into its constituent codepoints first, which means relying on the internal representation of strings in Duktape not changing.  That's probably a safe bet, but still feels awkward.

The closest thing might be: http://duktape.org/api.html#duk_decode_string.

For implementing encoding/decoding I don't think there's a reasonable alternative to working with the byte representation directly. Making a function call per codepoint is quite slow compared to doing the necessary conversions on-the-fly.
While there's some potential for the internal representation to change, it must essentially be ASCII comaptible for the API to be convenient to use. UTF-8 is the logical API choice for international strings, and CESU-8 encodings for surrogate pairs to achieve the Ecmascript 16-bit-pure requirement. So, I don't see the internal representation changing quite easily unless some requirement changes.

That said, Duktape does do case conversion etc with a function which does an internal (inlined) function call per codepoint. It's not ideal but the goal for the Unicode internals is to be as small as possible. That will likely change going forward to improve Unicode performance.

...how did I never notice that function? :)
I agree with you though that dealing with the bytes of the string directly is more efficient.  I'll probably end up doing that, but it's good to know that a built-in facility exists in the API to do this.  Out of curiosity does duk_decode_string() process surrogates (combining them into a single codepoint), or leave them as-is?  I'm assuming the latter since that matches how Ecmascript code sees the string.
You can close the issue now if you want, I don't think there's anything else that needs to be solved here.

Nothing in Duktape processes surrogate pairs as present, because there's no guarantee that the pairs are valid (which comes from the Ecmscript "any 16-bit codepoint sequence" string model).

Ok, I'll close this :)

Regarding that pig nose bug: I think it might just a double-encoding bug on my end.  Input source files are re-encoded as UTF-8 before passing to Duktape (to handle ANSI files with extended characters), and I suspect that might be what's expanding the pig nose character into 4 chars.

Hm, apparently my UTF-8 decode function returns a "reject" status on encountering surrogate codepoints.  This throws the decode out of sync and it continues to reject the remaining bytes (replacing them with 0x1A) until it gets to the space.  I'll have to fix that :)


feat: add custom route on route level

The problem:
Sometimes it is nice to have the ability to pass a custom route to a specific endpoint. For example, I need to check headers before processing with the body, but FASTAPI forces me to read the body before.
Currently, I can't do it because route_class_override uses only internally, and need to reimplement a lot of things to solve it. So, my proposal is to let routers override a route class.
I've tried to solve this issue through middlewares but it's not clear to check into middlewares if I should "filter" requests or not based on the path. Another solution is Mount, but it also not solving the problem because it requires creating sub-path for it (the same with include_router).
PS:
I think my PR partially add support for that one(logically) https://github.com/encode/starlette/pull/1649

This really looks cool 🚀
But if you see it from a different perspective, is that it may lead to routing conflicts if the custom routes overlap with previously defined routes.
This can lead to unexpected behavior and make the API more difficult to understand and maintain. Additionally, if the custom routes are not well-designed or validated, they can introduce security vulnerabilities.

@yezz123 That is the same as define custom route https://fastapi.tiangolo.com/advanced/custom-request-and-route/#create-a-custom-gziprequest-class.
The difference is only that you can use it on endpoint-based level. Your thoughts about

not well-designed or validated, they can introduce security vulnerabilities.

the same as for the custom route class and that is from a different scope. As a user I want to have an ability to overwrite it for endpoint, not for router.

@tiangolo can you please take a look? Thanks!


webpack code splitting with require.ensure doesn't work on the server side

Hi,
I am trying to implement a lazy component loading system over the react-redux example. I built a lazy loading component which works perfectly fine on browser side. But if i try to load the route directly from server, node.js throws an error:

An unhandled exception occurred while processing the request. Exception: Call to Node module failed with error: Error: Cannot find module './1.webpack-output.js' at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Function.requireEnsure [as e] (C:\Dev\tests\frontend-net-core\ClientApp\boot-server.js:40:25)
at Object.getComponent (C:\Dev\tests\frontend-net-core\ClientApp\boot-server.js:230:34)
at getComponentsForRoute (C:\Dev\tests\frontend-net-core\node_modules\react-router\lib\getComponents.js:29:16)
at C:\Dev\tests\frontend-net-core\node_modules\react-router\lib\getComponents.js:41:5
at C:\Dev\tests\frontend-net-core\node_modules\react-router\lib\AsyncUtils.js:84:5
at Array.forEach (native)
MoveNext

and here is my router config:
`const rootRoute = {
component: Layout,
childRoutes: [
    {
        path: '/',
        component:   Home
    },
    {
        path: '/counter',
        component:  Counter
    },
    {
        path: '/fetchdata',
        component: FetchData ,
        childRoutes: [
            {
                path: ':startDateIndex'
            }
        ]
    },
    {
        path: '/lazy',
        getComponent(nextState, cb) {
            require.ensure([],
                (require) => {
                    cb(null, require('./components/lazy').default);
                });
        }
    }
]

}`
I think this is a bug with the aspnet-webpack module but I couldn't be sure about it.

I think this is a bug with the aspnet-webpack module

If you can track down a specific bug, please let us know!
From this report I don't have reason to think there's any bug. It just sounds like your custom lazy-loading solution is going to need to account for running on the server in some way that's different from running on the client. In general they are not the same.
One good way of debugging your solution would be to try running Webpack so it builds the same code as it would build for server-side prerendering, but writing it to disk so you can inspect it. Then you might be able to figure out why your Webpack config isn't producing the correct output for code to be executed inside Node. See the "appendix" part of this comment for build instructions.
Hope this helps. Please do open another issue with details if you can identify a bug!

Thank you @SteveSandersonMS for the reply. After a detailed study of the  aspnet-webpack module now I understand better why this case fails.
Problem:
aspnet-webpack module uses the memory-fs as outputFileSystem. and return only the main chunk for executing. This ok if you are not using require.ensure but, if you try to require other chunks inside require.ensure, it tries to look to disk instead of memory. That's why it cannot find the module.
My solution:
in the LoadViaWebpack file inside aspnet-webpack module i added this:
    var compiler = webpack(webpackConfig);

    global.__webpackCompiler = compiler; //added line

    compiler.outputFileSystem = new MemoryFS();
    compiler.run(function (err, stats) {
    ....

so i can access to memory-fs inside my custom require module.
But as you can see there are some caveats:

i have to modify LoadViaWebPack file and the changes will be lost on every new update
putting it to global may not be the best idea

Maybe compiler object can be exposed to boot-server file as a parameter?
Waiting for your opinions.
Thanks.

Ok, I found another solution.
I split prerender config file from the default one and added define plugin:
webpack.config.ssr.js
    ...
    plugins: [
        ExtractCss,
        new ExternalsPlugin({ type: 'commonjs', include: /node_modules/ }),
        new webpack.DefinePlugin({
            __DEV__: isDevelopment,
            __WEBPACK_SERVER__: true
        })
    ],
    ...

and in the code:
clientApp/routes.js
        ...
        {
            path: '/lazy',
            getComponent(nextState, cb) {
                debugger;
                if (__WEBPACK_SERVER__) {
                    cb(null, require('./componentsLazy/lazy').default);
                } else {
                    require.ensure([],
                        (require) => {
                            cb(null, require('./componentsLazy/lazy').default);

                        });
                }

            }
        }

Views/Home/index.chtml:
<div id="react-app" asp-prerender-module="ClientApp/boot-server"
     asp-prerender-webpack-config="webpack.config.ssr.js"
     ">
    Loading...
</div>

Tested on development mode, production mode  and published to IIS server.
But if you have a better solution please let me know.
Thanks.


Date::convertString() - return a more appropriate message for non-existent date.

For example, for input date of '2016-02-31', the error message of FALSEFORMAT - "The input does not fit the date format Y-m-d" is included in the return, which is not very descriptive, even a bit misleading.
The actual 'warnings' message from DateTime::getLastErrors() is "The parsed date was invalid".
Proposal:

Add const NONEXISTENT    = 'dateNonExistent';
In $messageTemplates, add self::NONEXISTENT  => "The date does not exist"; or self::NONEXISTENT  => "No such day in calendar";
In convertString(), use $this->error(self::NONEXISTENT); instead of $this->error(self::FALSEFORMAT);

Originally posted by @SBC-Fujian at https://github.com/zendframework/zend-validator/issues/85

Closing as stale


建议

 [DllImport("libarcsoft_face_engine.dll", EntryPoint = "ASFDetectFaces", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]         private static extern int ASFDetectFaces(IntPtr pEngine, int width, int height, int format, **byte[] imageData**, out ASF_MultiFaceInfo faceInfo);
imageData改成byte[]会方便很多。

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, here's how to Claim

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

3. Share the Excitement on Twitter:

Spread the word about claiming your free tokens!

Tweet: Share on Twitter

Winners: @rockie-xu, @abdallahsellem, @muclover, @donkung, @Ajat98, @sagaratalatti, @Chr15t0pher, @rapostate, @pedrosousa13, @Astraioss

AltLayer Airdrop Season One Update

🚀 Exciting Announcement!
AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 400,000,000 (4% of the total supply)

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 08, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
AbuzikEVill, @lzlpxinthlzl, @AlejandroGutierrezB, @ybz216, @malkevych, @solnone, @kittyhome4, @ultracode2002, @Stringsaeed, @0xmic, @developerfred, @MotCrypto, @Aexmuxomor, @lhr000lhr, @outsider69, @amanarora12, @qm012, @Jabari, @LicaSorin, @Peder12

Dream Job Opportunity at Microsoft!
Exciting news! We're hiring for a Junior Software Developer position at Microsoft!
How to Apply:
Ready to embark on this amazing journey? Apply now here before March 20, 2024.
Job Description:

Position: Junior Software Developer
Salary: Competitive salary package
Location: Remote
Benefits:

Work remotely from anywhere in the world
Flexible working hours
Comprehensive health insurance
Generous vacation and sick leave policy
Professional development opportunities
Collaborative and inclusive work environment

Requirements:

Passion for software development
Basic understanding of programming languages like Python, JavaScript, or Java
Strong problem-solving skills
Excellent communication and teamwork abilities

Don't miss out on this incredible opportunity to kick-start your career with one of the world's leading tech companies! Apply now and become a part of the Microsoft family!
Lt-wei, @netsesame, @suibanshan, @supr3me, @BVT-IG, @xiaoerbao, @Ameralameri, @brucx, @tensor0x01, @alexxux, @Eeaga, @yukiTemp, @Desgard, @amirphl, @jucky1, @Lee-TC, @mx777-swing, @pintaste, @jsnbyxyjsj, @viokuma


Update README.md (Add meaningful words)

I added some enter key to make your project attractive and clean. Please do not decline this, if you don't want to change my correction you drop this as usual, but please don't decline this. Please do not marked me as a spam also.

@Pro0131 why exactly have you raised this PR, do you think Hacktoberfest is a joke? Obviously this will be marked spam, invalid and you will be reported to Hacktoberfest Team

@Pro0131 why exactly have you raised this PR, do you think Hacktoberfest is a joke? Obviously this will be marked spam, invalid and you will be reported to Hacktoberfest Team

All of his PRs are just meaningless (and often wrong) .md edits.
Thank you for reporting him @monizb - have a good Hacktoberfest nonetheless.


Feat/mongodb retriever

Description
This feature is currently under development.
This PR is being opened for clarification and defining the desired approach to develop this feature.
It will be closed in the future.

I am also wondering if we should not provide a schema to help people how to design their data into the collection, WDYT?

From this part of the schema link

App Services validates all write operations (inserts, updates, and deletes) on a MongoDB collection against its collection schema. It checks every document before and after every request to ensure that all properties conform to the schema and that no invalid changes occured.

I think it is not necessary since we're just reading data at this point.
It might be interesting to provide a valid schema in the docs so that users can configure it and prevent flags misconfigurations

It might be interesting to provide a valid schema in the docs so that users can configure it and prevent flags misconfigurations

Yes this is what I was referring to here, more a doc things than anything else.

Cheers!
Thanks for all the help it's been a wonderful experience 🙌


Support for generating Link Unfurling extensions

I'd like to see Link Unfurling as one additional option when generating Messaging Extensions.
I already have a working sample that I will simply need to integrate with the generator.

I have built this using the 1.5 version of the generated project last March. I, too would like to see this in the generator.

Here is the PR: https://github.com/pnp/generator-teams/pull/200 - Thanks.

Added in #217


Remove left trailing spaces from pandas and csv

Hi,
I've noticed a behavior from the function pandas_to_vertica (and I think also from the function read_csv because pandas_to_vertica uses this function to ingest the data in Vertica). When I want to ingest a column with text data in it, it will remove left trailing spaces (not right ones). How can I keep this spaces at the beginning of the text?
>>> import pandas as pd
>>> from verticapy import *
>>> from verticapy.utilities import *
>>> df = pd.DataFrame({"id": [0,1,2,3,4,5,6,7,8,9], "name": ["Manu", " Hugo", "Nath ", " Vincent ", " Nadege", " Leo ", " Julien    ", "   Corentin", " Alexandre ", "Falvie     "]})
>>> df["name"].unique() # this show me the correct text with trailing spaces
array(['Manu', ' Hugo', 'Nath ', ' Vincent ', ' Nadege', ' Leo ',
       ' Julien    ', '   Corentin', ' Alexandre ', 'Falvie     '],
      dtype=object)
>>> pandas_to_vertica(df = df, name = table_name, schema = schema, cursor = cursor)
>>> vdf = vDataFrame("{}.{}".format(schema, table_name), cursor)
>>> vdf["Name"].distinct()
['Alexandre ',
 'Corentin',
 'Falvie     ',
 'Hugo',
 'Julien    ',
 'Leo ',
 'Manu',
 'Nadege',
 'Nath ',
 'Vincent ']

As you can see in the example, left trailing spaces are removed using pandas_to_vertica.
I'm currently using VerticaPy version 0.5.0, maybe it is fixed in higher version and we will soon upgrade VerticaPy version in our use cases.
Thank you in advance for your help,
Antoine

Hi Antoine,
Indeed, it is when creating the pandas CSV file that it happens. We just need to add the csv.QUOTE_ALL in the function's parameters. It will be solved in v0.7.1.
Thanks a lot for your contribution,
Badr


Implement queue for RuntimeAction.Processor

TorRuntime needs to process incoming RuntimeAction for start/stop/restart.
This ticket is simply the logic for creating QueuedJob, no execution yet.

Yeah there's a lot that had to come before implementing this :sweat_smile:


3D volume visualisation

Hi,
I have a 3D volume in DICOM format. I would like to visualise it with a multiplanar view (sagittal, coronal and axial view) in the OHIF viewer. Is it possible?
If OHIF viewer can render only a 2D image, it is possible to change between sagittal, coronal and axial view?
Thanks!

There are plans to add MPR to the OHIF viewer at some point, but I don't know when.  For now, you can only display 2D views as acquired.  If all 3 views were acquired, then yes you can switch between them.  If you're not already, you might want to post to / monitor this discussion group: [https://groups.google.com/forum/#!forum/cornerstone-platform]


Error adding bus stopping location to vertex

URL
No response
How to reproduce the issue?

Select a node along a line or area (regardless of the way’s tags).
Choose the Bus Stopping Location preset.

Nothing happens.
Screenshot(s) or anything else?
The following error appears in the console:
Uncaught TypeError: S is undefined
    g preset.js:315
    moreFields preset.js:46
    Y1 change_preset.js:19
    choose preset_list.js:427
    p history.js:45
    g history.js:63
    perform history.js:168
    m context.js:273
    choose preset_list.js:422
    AL on.js:3
3 preset.js:315:14

https://github.com/openstreetmap/iD/blob/b1121b11753cfe8919e5665df315060d2ec04139/modules/actions/change_preset.js#L19 https://github.com/openstreetmap/iD/blob/b1121b11753cfe8919e5665df315060d2ec04139/modules/presets/preset.js#L315
Which deployed environments do you see the issue in?
Development version at ideditor.netlify.app
What version numbers does this issue effect?
2.26.0-dev
Which browsers are you seeing this problem on?
Firefox

Hello @1ec5 , thanks for sharing the issue. I have been trying to reproduce it by trying to select a node along a line and changing its preset to Bus Stopping Location, but unfortunately I am not able to encounter any bug on console. Could you please verify if I am doing something wrong here?

I’m no longer able to reproduce the issue either. (This time, I was using Firefox 134.0b3 and looking at a location around 39.28228°N, 84.28452°W.) Given the age of the bug report, we can close this one as not reproducible and reopen it if it ever comes up again.


fix: gallery locations copy + tests

This PR resolves []
Description
It was reported that when a gallery has 1 city and multiple locations we don't do the pluralization of the word location correctly. This PR addresses that.
Bug was reported in slack here

Before
After

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

fix pluralization on galleries location - gkartalis

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (fix pluralization on galleries location - gkartalis)

  Generated by :no_entry_sign: dangerJS against 11188b297b4eb5ac260e12a85862cf796009d819


Write progress bar to stdout

By default tqdm writes the progress bar to stderr. This PR changes the default to write to stdout, which is more sensible.

Yeah that's fair. Happy to discuss more. Do you think having a trainer parameter that allows you to specify the output file would be okay? Did you want me to start an issue or discuss here?

Heh... :-D

Sorry to revive an old thread, but I think it's much more sensible to write the tqdm output to stderr.
This way, we can redirect the training script output to a log file without cluttering it with tqdm progress bars. You can always redirect stderr to stdout in the shell itself if writing tqdm progress bars to stdout is absolutely needed.


Bad JSON panics

I am about half way converting my API over to JSON-API compliant. Thanks so much for getting this project going.
In my testing, it seems JSON passed in without a data attribute throws a runtime error: invalid memory address or nil pointer dereference error.  I think the library should handle this and pass back an error rather than panicking.
I played with how to do this a bit and it is pretty easy to add a nil check and return an error around https://github.com/shwoodard/jsonapi/blob/master/request.go#L63.  However that would give some potentially noncompliant results when a {"data": null} is actually expected.  It looks like it's possible on updates.  http://jsonapi.org/format/#crud-updating-relationships
Maybe I am overthinking this since my server go routine would just fail and 500 to the consumer, but I don't think the server should panic every time someone sends in non JSON-API compliant JSON.
I played around in a brach to see if I could fix it quickly.  The only idea I had was to use unmarshal vs decode and test the JSON if it actually had a Data attribute.
https://github.com/dustinsmith1024/jsonapi/commit/0659da44f95ad35344dea7b129e484da092b6026

After looking a bit more into how the json package handles decoding errors, it might be appropriate to have a defer/recover block that catches these issues and returns and error to the consumer.
https://github.com/golang/go/blob/master/src/encoding/json/decode.go#L141

@dustinsmith1024 +1 recover pattern.  Can you send a PR?

Yea, I should be able to work on it tomorrow.

Fixed in https://github.com/shwoodard/jsonapi/pull/13


Fix spelling of "function" in the VQE sample program

Summary
Fix a typo in the VQE sample program, fuction to function.
Details and comments
Fixes #433

 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.

thanks @neont21! In the future please checkout from the main branch when creating PRs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 62.598%

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
2882

Relevant Lines:
4604

💛  - Coveralls


Weird behavior on removing TextField widgets dynamically created

Hello, I am facing a weird behavior (or maybe I am doing something wrong): I was working on a dynamic form validation example, where I have two fields (name and age) and a button to add more of these pair of fields and another one for each pair to eliminate them from the screen. When, for example, I have three pairs of these fields, let's say "name: [A,B,C] and age: [1,2,3]" and I click on the delete button of the middle pair of fields, instead of having "name: [A, C] and age: [1, 3]", I have "name: [A, B] and age: [1, 2]" like if the middle textfields retain the old value (instead, in the debug console I have the correct pair of values). I found a workaround using a collection of TextEditingController and setting the value of each textfield to the correct one. Is this behavior intended or an issue?
Steps to Reproduce

Add three new pair of fields by clicking on the button "Add more fields"
Insert e.g name A, age 1, name B, age 2, name C, age 3
Click to remove the middle pair of name/age fields

https://gist.github.com/frideosapps/fadea58ae7d52d1cdb9537ed833cfa39
Working version (with TextEditingController): https://gist.github.com/frideosapps/1e17e64ec72bad936268730b379aabf3
Logs
[√] Flutter (Channel stable, v1.2.1, on Microsoft Windows [Version 10.0.17134.706], locale
    en-US)
    • Flutter version 1.2.1 at C:\flutter
    • Framework revision 8661d8aecd (9 weeks ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\frata\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[√] IntelliJ IDEA Community Edition (version 2018.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3
    • Flutter plugin version 31.1.4
    • Dart plugin version 183.4733

[√] VS Code, 64-bit edition (version 1.33.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 2.25.1

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27)
      (emulator)

• No issues found!

I have same issue with adding and removing dynamic form fields.
I added form fields ['1', '2', '3'] and remove '2'.
Then, logically, ['1', '3'] should be left.
But actual result is ['1', '2']
How can I fix this issue?

Hi @frideosapps  @winwintogether
Are you still experiencing this issue?
If yes,  can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

It stills happening with me too. I tried a lot of different directions given in the forums like StackOverflow, but no success at all.
Could you please help us to solve that?

@leogpinheiro
could you please open a new issue providing the information listed above


Scroll Does not work on safari .

How do i perform Scroll on safari ? I used the default Methods but then scroll is not working .

We can simply use ScrollFromToDutarion


Browser freezes with multiple tabs are loaded

Hello,
I am running FF 62.0. I tried to load 40 pages from my local HD. I was looking for something. The whole browser froze for more than 10min running 100CPU on 2 cores (I have 6).
1: I killed FF, restarted, set FF to offline mode, and restored my session with the same result 3 times.
2: I then disabled all add-ons and did 1 and everything loaded almost instantly.
3: I then enabled each addon in succession until I noticed a massive slow down.
I found 2 addons were causing the freeze.
Yours is one of them. I have no idea why. I cannot even imagine because it is supposed to block trackers and allow me to do web searches, but I was not even online!
I am aware that there is a 2-5sec performance hit when the browser initializes. This is not the same thing by a long shot. And I would not mind waiting 2-5sec for the browser to initialize. But freezing for 10min is not acceptable.
I would be happy to provide any additional necessary information.
% uname -a
Linux Phenom-II-x6 4.17.8dav1 #5 SMP PREEMPT Thu Aug 9 03:50:23 UTC 2018 x86_64 GNU/Linux

Thanks!

Do you have the same problem in online mode too?


test fix

Testing completed: Build passed. I will close this PR as it isn't required for actual merging.


Fix Bugs in Nativestore Implementation.

Codecov Report
Attention: 1885 lines in your changes are missing coverage. Please review.

Comparison is base (1a0ebc8) 0.13% compared to head (13d2e9d) 0.12%.

Files
Patch %
Lines

src/nativestore/RelationBlock.cpp
0.00%
382 Missing :warning:

src/nativestore/NodeBlock.cpp
0.00%
230 Missing :warning:

src/nativestore/NodeManager.cpp
0.00%
214 Missing :warning:

src/nativestore/CentralRelationBlock.cpp
0.00%
205 Missing :warning:

src/nativestore/CentralNodeBlock.cpp
0.00%
172 Missing :warning:

src/nativestore/DataPublisher.cpp
0.00%
134 Missing :warning:

src/nativestore/CentralPropertyEdgeLink.cpp
0.00%
110 Missing :warning:

src/nativestore/CentralPropertyLink.cpp
0.00%
110 Missing :warning:

src/nativestore/PropertyEdgeLink.cpp
0.00%
97 Missing :warning:

src/nativestore/PropertyLink.cpp
0.00%
97 Missing :warning:

... and 8 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##           master    #212      +/-   ##
=========================================
- Coverage    0.13%   0.12%   -0.02%
=========================================
  Files          57      65       +8
  Lines       14015   15185    +1170
  Branches     9118    9818     +700
=========================================
  Hits           19      19
- Misses      13976   15146    +1170
  Partials       20      20

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


Removed (duplicated) userip parameter

Fixes https://github.com/google/google-api-php-client/issues/531

Must admit, not sure if this was a mistake or an attempt to support either version capitalisation wise. I'm relatively happy with removing it for now, but we might see some BC issues for people that were supplying it formatted differently.


conversion of requirements.txt fails for some editable requirements

Here is an example editable requirement that is not supported:
-e git+https://github.com/acsone/account-analytic.git@f263b5e08c45e392b60c9d879353ca71f7ac86ff#egg=odoo10_addon_account_analytic_no_lines&subdirectory=setup/account_analytic_no_lines
It is due to the &subdirectory part, which is not supported by the vendored requirements package.
Here is the incorrect regex:
https://github.com/kennethreitz/pipenv/blob/dde2e52cb8bc9bfca7af6c6b1a4576faf00e84f1/pipenv/vendor/requirements/requirement.py#L23-L27
Here is the relevant stack trace part:
$ pipenv --two
Requirements file found, instead of Pipfile! Converting...
Traceback (most recent call last):
  File "/home/me/.local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
...
  File "/home/me/.local/venvs/pipenv/lib/python2.7/site-packages/pipenv/vendor/requirements/requirement.py", line 108, in parse_editable
    assert local_match is not None, 'This should match everything'
AssertionError: This should match everything

please open an issue with the 'requirements' package

@kennethreitz Is it this one? https://github.com/davidfischer/requirements-parser
Should I open another issue here to add subdirectoy support in pipenv?

that's the one!
Sure :)

-e subdir should work though

subdirectory support proposed upstream: https://github.com/davidfischer/requirements-parser/pull/32


Crafting performance- Processing Edition

Issue description:
Long Craftingqueues for processing patterns cause significant performance issues.
Steps to reproduce:
1.Setup Autocrafting with Mek elite factories
2. request a few thousand items
3.
...
Version (make sure you are on the latest version before reporting):

Minecraft:1.12.2
Forge:2825
Refined Storage:1.6.14

I tried to replicate @theyoungsters issue and this is the result:
https://sparkprofiler.github.io/#GWZTTP4QkF
This is just 3 Machines.
Gonna look into it tomorrow.

@Darkere  Was this fixed with your PR?

Yep


Scrollbar quirk in OS X: Inaccurate width calculated on initial load

Found an interesting quirk re: scrollbars in OS X and calculating browser width.
If the content on the page is super-short before the iframe loads (and therefore the page has no scrollbar initially), and you have one of these OS X scrollbar settings set:

Pym will calculate the width of the browser and without taking into account the width of the scrollbar. So, on initial load, a graphic might be drawn about 15px too wide (but will fix itself onresize).
To replicate, on a Mac, go to System Preferences > General and try one of the two settings above. Then test this URL:
http://apps.npr.org/dailygraphics/graphics/salt-yeast-alcohol-alastair/
When it's misbehaving, the "4" at the end of the x-axis gets cut off / does not appear.
Noted in OS X 10.9.3 in Chrome and Firefox. (Didn't check Safari.)
(Thanks to @dannydb for helping to identify what was causing the problem.)

Hello.
¿How can I set a static height to the iframe, and make to scroll inside?


Created Product and Inventory

I created Product and Inventory models and implemented CRUD operations. I also ensured that inventories were created upon the creation of products.
For now, I set all default values to 0 or empty strings.

I can't remove the product code because the current Product code is a bit off. The update on Products is creating a user and the names of the files in typedefs and resolvers is wrong.

I adjusted the code but realized I couldn't remove the product code because the current product code was off. The names of the files are wrong and the update for products is creating a user.

There is some issue with passing the product_id and tag_name to different queries with ProductToTag. For example, if you try to query Product and Tag through manyPTTs (finding all ProductToTags), the find functions for Product and Tag are passed undefined values. I've spent a long time trying to figure out why but I can't figure it out. It may be connected to how, when creating or deleting ProductToTag, you can't use const { productId, tagName, } = input; when its fine for other model creates. It thinks productId and tagName is undefined, but it works if you use product_id and tag_name (which breaks the lint check since it is not camel case).


AlphaESS contains no entities

Hi,
I have an issue where I re-added my AlphaESS integration, setup is successfull but there are no entities found.
In the log I see this error: (unexpected keyword arugment "model_id"
2024-10-18 11:57:21.755 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform alphaess
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 616, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'model_id'
2024-10-18 11:57:21.759 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up alphaess platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 368, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 616, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'model_id'

This might be due to the flakyness with the API, are you able to use postman (the data collection is here: https://github.com/CharlesGillanders/alphaess-openAPI/blob/main/AlphaESS Open API.postman_collection.json)
and get me some of the results? typically that happens due to not being able to call getEssList

I'm having the exact same issue, please excuse the ignorance, how exactly do we "use poastman"?

This might be due to the flakyness with the API, are you able to use postman (the data collection is here: https://github.com/CharlesGillanders/alphaess-openAPI/blob/main/AlphaESS Open API.postman_collection.json)
and get me some of the results? typically that happens due to not being able to call getEssList

i am still having this issue, i have tried reseting the api dev key, deleting and re adding it to th api site.
deleting and reinstalling HA, HACS, and the aplhaESS intigration.
i managed to figure out how to use the postman json.
my results for the getEssList are as follows:
{     "code": 200,     "msg": "Success",     "expMsg": null,     "data": [         {             "sysSn": "ALD001122121035",             "popv": 10570.00,             "minv": "SMILE-G3-S5-INV",             "poinv": 5.00,             "cobat": 10.08,             "mbat": "SMILE-G3-BAT-10.1P",             "surplusCobat": 9.58,             "usCapacity": 95.00,             "emsStatus": "Normal"         }     ],     "extra": null }
any insight as to how to resolve this issue would be greatly appreicated

what error are you receiving @dukevyner when you try to start up the integration? are you on 5.6.1 and is there any other errors within the log that is shown before this error is made?
There may be an issue with getting the serial number, which is the model_id and then it "links" all the services from a single SN together, maybe one of the calls are failing for some reason in the integration

@Poshy163 thanks for the reply
Currently running <IP_ADDRESS>
Intigration  completes showing "" after entering the appid and secret key
One entry is recorded with the appid as the name
However  or entities are added
(excuse the mobile away from home atm)
There are 4  logged
All recorded below in the order of which they occurred
Source: helpers/entity_platform.py:580
integration: Button (documentation, issues)
First occurred: November 21, 2024 at 8:04:34 PM (28 occurrences)
Last logged: 12:33:21 PM

Error adding entity None for domain button with platform alphaess
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 580, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 750, in _async_add_entity
    device = dev_reg.async_get(self.hass).async_get_or_create(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'model_id'

Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:580
integration: Sensor (documentation, issues)
First occurred: November 21, 2024 at 8:04:34 PM (136 occurrences)
Last logged: 12:33:21 PM

Error adding entity None for domain sensor with platform alphaess
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 580, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 750, in _async_add_entity
    device = dev_reg.async_get(self.hass).async_get_or_create(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'model_id'

Logger: homeassistant.components.number
Source: helpers/entity_platform.py:580
integration: Number (documentation, issues)
First occurred: November 21, 2024 at 8:04:34 PM (8 occurrences)
Last logged: 12:33:22 PM

Error adding entity None for domain number with platform alphaess
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 580, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 750, in _async_add_entity
    device = dev_reg.async_get(self.hass).async_get_or_create(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'model_id'

Logger: homeassistant
Source: runner.py:147
First occurred: November 21, 2024 at 8:04:20 PM (6 occurrences)
Last logged: 12:33:22 PM

Error doing job: Unclosed client session
Error doing job: Unclosed connector

Interesting,
when you are on PC, you should see some logs like this when you start up the integration. then a final data, are you able to take a screenshot of all of this (i have included what mine looks likes). it should be within the logs after you restart/enter in your info. then no entities appear.

@Poshy163  interstingly mine is not showing the trying to call, parts but it is fetching some of the data including the serial and model

the main errors repet a few times after this with no change

@Poshy163 sorry, clearly i had not enabled logging, figruing this out as we go. here is what you actually wanted


Add abstraction for connection to "hide away" that whether the connection is TCP, or TLS.

Currently the way the data types are for rust-imap you must know the exact type of connection you will be using and which tls implementation you are going to use in order to define your types.
I would like to make a PR that abstracts that all away into an enum so that it is hidden from the user.
A user should be able to do something like this.
let mut builder = ClientBuilder::new(
            self.config.imap_host.as_ref().unwrap(),
            self.config.imap_port,
        );
if use_starttls {
   // tag that we want start tls
   builder.starttls();
} else if use_ssl {
   // tag that we are doing FULL ssl mode
   builder.ssl();
}
// otherwise we are doing RAW tcp (still valid as it is useful for internal only connections)

// connects and returns an opaque ImapClient that abstracts away the Tcp stream type)
let client : ImapClient = builder.connect()?;
// connects and returns an opaque ImapSession that abstracts away the Tcp stream type)
let session : ImapSession = client.login("user", "pass")?;

Other crates do this and it greatly simplifies client-code as I don't have to know how I compiled the code in order to connect. And I can choose to conditionally connect via SSL / TLS / raw.
One example is ldap3, which uses a simple ENUM to differentiate between Tcp, Tls, and Unix sockets (imap would only need the 2).
Let me know if you are open to this and I can build up a PR.

I'll follow up in the PR :+1:


STR-Transform Algorithm Support

Thanks for your work on this excellent package. I am working with a SOAP API that requires a SignatureTokenReference to be signed using the STR-Transform algorithm. Does sign-xml currently support this?

No, but it could. PRs are welcome :)


Note that the M-bit is not a permission

This has caused some confusion so is worth being very clear about.

Thanks to @jrtc27 for pointing out this distinction. I accept all criticism for the use of "progenitor". :-D

I'll close this one as I'm planning another more general clarification of the M-bit, coming soon.....


add favicon

the favicon should have the latter "D".
the color of the latter should be #F26C4F

Hi, @Iamdivyak I want to work on this issue please assign me under hactoberfest level.


Installation help (Windows)

I'm 98% noob as anything code related goes.
I was following the installation instructions for windows, and I got to  step 3.

3: Configuration Visual Studio

The Windows User-Account must have administrator rights!

1 - Open Visual Studio Community and create a C++ Project to install "dev environment"

I also read through step 4, and as I have just about no idea what anything is doing, I'm not sure where and when dots need to be connected.  Could anyone expand on this install guide wither in writing or a brief video tutorial?
It would be extremely appreciated.

I tried to install homebridge to Windows10 64bit.
When I did install with WiKi page installation procedure.
I also confused above "create a C++ Project to install "dev environment"".
(1) Finally, that means "create a dummy project with Visual C++ template win32 console application".
You don't need to care about project name and other project options.
You can move to following steps.
Addtitionally,
(2) unistd.h by "Version of Patcher " has error , I used "Version of WilliamHF " that had no error.
(3) In "npm install -g homebridge" step had error.
So I updated npm module with "npm install npm -g". and again above command.
But downloading error was reported , that module already installed then I ignored.
I hope this helpful.


feat: Add SQL string templating to React and Vue bindings

Self explanatory, adds    useLiveSql`` hooks to both React and Vue bindings along with docs and tests

Nice!
I wander what we can do to make it compatible with syntax highlighting extensions such as: https://marketplace.visualstudio.com/items?itemName=frigus02.vscode-sql-tagged-template-literals
useLiveQuery.sql`` ?

@samwillis ah interesting - yeah it seems like it has to be an sql templating function, do you reckon it's worth making the API fit that for this purpose? (might as well do that before releasing it if so)

Yep, it think it is. What do you think of adding .sql as an attribute, so: useLiveQuery.sql``
We can then also do useLiveIncrementalQuery.sql, although we need to solve the key param...
With the main live.query, did we add live.sql``?

re: adding as an attribute - sounds good, I'll have to check that TS and linters don't shout but I don't see a reason why not! I'll do that and fix up the docs
re: incremental query - yeah as long as we force people to specify a key for incremental queries and we don't have a nifty way of specifying one automatically I think we need to keep it separate
re: live - ah good point, I also have to add it to the transactions on the worker (cause I added it on transactions on pglite but not the worker, noticed it as I was looking into the serialization issue) - I'll try to add both in this PR

@samwillis updated the React and Vue hooks to have useLiveQuery.sql, and updated docs as well (not sure if this belongs as potentially a subcategory of useLiveQuery?)
I've also added the sql templating to the PGliteWorker transactions as it was missing.
I started adding it to the live extension but realised that the way it works is that it requires a callback to which we provide the results (in absence of some other reactive primitive). We could potentially make it output a Results object on which the getters for rows etc look up some state held within the closure, but I'm not sure if we want to go that far? Let me know, we can do it in a separate PR.
Other than that this should be good to merge!


CreepyScans search is broken

Source information
CreepyScans 1.4.33
Source language
English
Steps to reproduce

Select source at source list page
Try to search for anything

Expected behavior
You're seeing search results
Actual behavior
You're seeing an error "search is not available"
Mihon/Tachiyomi version
J2K 1.7.4
Android version
Android 14
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Seems like an issue with their website.

Seems like an issue with their website.

Search preview box still works though

Mmm, only the "predictive" search, could do something with that. Do you know if their search was working regularly before or if filtered search worked?

Do you know if their search was working regularly before or if filtered search worked?
Sorry, can't confirm anything here.

No problem, thought I'd ask.

The site has only had the "predictive" search.


zavolaj seems outdated for showcasing how to use NativeCall

zavolaj is referred in this section
https://docs.perl6.org/language/nativecall#Examples
It uses many old-fashioned NativeCall syntax
For example

Int should be int32

sub fork() returns Int is native { ... }

https://github.com/jnthn/zavolaj/blob/master/examples/unix-fork.p6#L4

OpaquePointer should be Pointer

sub PQfinish( OpaquePointer $conn )

https://github.com/jnthn/zavolaj/blob/master/examples/postgresqlclient.p6#L28
I think that zavlaj should be fixed or some other module calling NativeCall (ex. DBlish) is suitable for showcasing how to use NativeCall.

Given the module has migrated into Perl 6 by now, the only reason that repository still exists is because it had some examples. If they're bad examples, I suggest we remove the link to it, then I'll delete it so people won't stumble across the out-dated info when doing google searches. :-)

It would be better to have something well maintained and probably under the perl6 organization as an example, but I'd say that both DBIish and GTK::Simple are possibly too complex to be useful examples.

I suspect DBIish and GTK::Simple count as large/complex examples, but I suspect there are smaller modules using NativeCall that can serve as simpler, good examples to point to. And the smallest examples can be included directly in the docs.

@jnthn I've replaced the last reference to zavolaj with a small example inline in the docs. If zavolaj has served its purpose now, you might consider deleting the repo, or maybe updating the README to say it's now a historical archive only.

@moritz Agree there's not much purpose for that repo any more, and don't think the history is all that interesting; it's gone. :-)


No 0x

The bytes_to_str strategy works fine but Go really wants that 0x preface.

@jkilpatr good catch. I also noticed in few places that 0x is important even though ganache seems to not always care about it. Also I allowed myself to cherry-pick your commit https://github.com/althea-mesh/guac_rs/pull/66/commits/e8013b199bb3fe4e205b9dc291aa783815b95666 and close this one into my PR so I can add some changes on top of that.


Create a job security card-2

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in Feature Cards/feature-cards-job-security2.html.
If you need to use any icon please use it from Hero Icons
Good luck.

I would like to wotk on this

Go ahead @jesulonimii


Huge RAM usage during Evaluation

Hey,
Im using TrackEval for evaluation of the same tracker with different parameter. So I have arround 120 tracker Folder each with to result files of two sequences. Im using run_mot_challenge for evaluation and have the following file structure:
.
├── gt
│   └── penguin
│       ├── MOT17-train
│       │   ├── EQ0A4452
│       │   │   ├── gt
│       │   │   │   └── gt.txt
│       │   │   └── seqinfo.ini
│       │   └── EQ0A4453
│       │       ├── gt
│       │       │   └── gt.txt
│       │       └── seqinfo.ini
│       └── seqmaps
│           └── MOT17-train.txt
└── trackers
    └── penguin
        └── MOT17-train
            ├── sort_0_10_0.5_man
            │   └── data
            │       ├── EQ0A4452.txt
            │       └── EQ0A4453.txt
            └── sort_5_8_0.75_man
                └── data
                    ├── EQ0A4452.txt
                    └── EQ0A4453.txt
...

Everything is working fine but the Memory usage goes clearly above 20GB. Even with a swap of 30GB it is not enough. But I have to mention that not every evaluation consumes so much memory. 30 runs or something like this needed less than 20 GB
The biggest directory is 65MB and the ground truth is in for both sequences 25MB.
I am really wondering why so much memory is used and hope someone can help me to fix the problem.

+1
seeing similar issues when evaluating on the SportsMOT dataset


Yarn 2 support

Description
Does this plugin not support yarn 2? With 5.1.0:
ERROR in   TypeError: val.includes is not a function

  - plugin.js:297
    [csp-html-webpack-plugin-npm-5.1.0-40d465e733-0e41f2e490.zip]/[csp-html-web    pack-plugin]/plugin.js:297:17

  - Array.map

  - plugin.js:290 CspHtmlWebpackPlugin.buildPolicy
    [csp-html-webpack-plugin-npm-5.1.0-40d465e733-0e41f2e490.zip]/[csp-html-web    pack-plugin]/plugin.js:290:8

  - plugin.js:334 CspHtmlWebpackPlugin.processCsp
    [csp-html-webpack-plugin-npm-5.1.0-40d465e733-0e41f2e490.zip]/[csp-html-web    pack-plugin]/plugin.js:334:30

  - new Promise

  - index.js:348
    [html-webpack-plugin-npm-5.0.0-beta.1-fd77fa0afb-d71b4e4a7b.zip]/[html-webp    ack-plugin]/index.js:348:72

webpack 5.17.0 compiled with 2 errors in 4589 ms

I'll try cooking up a minimal repro later.
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[x] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[ ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[ ] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackhq/csp-html-webpack-plugin version:
node version:
OS version(s):
Steps to reproduce:

Expected result:
What you expected to happen
Actual result:
What actually happened
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

I made a mistake with arrays being passed into the policy portion.

This error looks like it's caused by
new CspHtmlWebpackPlugin({
  nonceEnabled: {
    'script-src': true,
    'style-src': true
  },
})

instead of having
new CspHtmlWebpackPlugin({}, {
  nonceEnabled: {
    'script-src': true,
    'style-src': true
  },
})


Testing infrastructure

Sooner rather than later we should set up some test infrastructure. I think for now we should focus on tests for passes that take one futil program to another futil program. For this we can use Adrian's turnt or maybe rusts module level tests. The advantage of Rusts test infrastructure is that we can write the equality in rust which would make testing robust to trivial changes to printing.

Fixed by #103


Could not lxc-import anything

Clean Ubuntu 15.10. PPA added
deb http://ppa.launchpad.net/ubuntu-lxc/lxd-stable/ubuntu wily main
lxd = 0.24-0ubuntu4~ubuntu15.10.1~ppa1
lxc = 1.1.5-0ubuntu3~ubuntu15.10.1~ppa1 amd64
Added images.linuxcontainers.org as images source:
lxc remote add images images.linuxcontainers.org
Trying to import
lxd-images import busybox --alias busybox
error: 'NoneType' object is not subscriptable
Same for Ubuntu. What could be wrong?

Clean Ubuntu 15.10. No PPA added, just installed lxd.
sudo lxd-images import ubuntu --alias ubuntu
Downloading the GPG key for http://cloud-images.ubuntu.com
Validating the GPG signature of /tmp/tmp9p9sckfe/download.json.asc
Downloading the image.
Image manifest: http://cloud-images.ubuntu.com/server/releases/trusty/release-20151218/ubuntu-14.04-server-cloudimg-amd64.manifest
error: Failed to upload the image: 500

Could you try doing a 'lxd waitready && lxd-images import ubuntu --alias ubuntu' ?
My guess is that lxd is still coming up (socket activated), and lxd-images needs to be taught to wait.

Will try in a minute. Digging through syslog gave me this:
Dec 24 01:37:43 ubuntu lxd[5413]: t=2015-12-24T01:37:43+0300 lvl=eror msg=LVMCreateThinLV driver=storage/lvm err="Could not create thin LV named 7bbb039b3eac895bbef9b3e90a637f95e15869957362a38792189372bf721e07"
Dec 24 01:37:43 ubuntu systemd-udevd[26471]: Process 'watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -a y'' failed with exit code 5.

On clean 15.10 without PPA I get error: Unknown arguments
Should I use PPA version?

On Wed, Dec 23, 2015 at 02:40:33PM -0800, maniaque wrote:

Will try in a minute. Digging through syslog gave me this:
Dec 24 01:37:43 ubuntu lxd[5413]: t=2015-12-24T01:37:43+0300 lvl=eror msg=LVMCreateThinLV driver=storage/lvm err="Could not create thin LV named 7bbb039b3eac895bbef9b3e90a637f95e15869957362a38792189372bf721e07"
Dec 24 01:37:43 ubuntu systemd-udevd[26471]: Process 'watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -a y'' failed with exit code 5.

Oh, you didn't mention that you had set up lxc to use lvm.  (If you didn't set it up then something is very wrong)

Sorry, my bad. Yes, I use LVM, set it up like this:
lxc config set storage.lvm_vg_name lxc
sudo lvs
  VG   #PV #LV #SN Attr   VSize  VFree
  lxc    1   1   0 wz--n- 32.00g    0

Everything works. Just forgot to use sudo lxd init


Update readme

Updates readme with changes from @ycs77 plus a couple of additional tweaks

Thanks for merged 😄


feat: extract interface from DgsDataLoaderProvider

Pull Request type

[ ] Bugfix
[x] Feature
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Other (please describe):

Changes in this PR
Extract interface from DgsDataLoaderProvider as DataLoaderProvider
This is needed for interface segregation and dependency inversion
Overall, nothing changed for users, now they have an ability to override DataLoaderProvider to be able to customize it as they want
Alternatives considered
Make DgsDataLoaderProvider fully open

I've stuck with the problem of custom caches; some sort of a solution is provided here https://github.com/Netflix/dgs-framework/pull/202
As the simplest way to achieve customization I decided to go with an implementing of a custom DataLoaderProvider with some changes to DataLoaderOptions

We should revisit #202, as far as I remember it was almost there.

@berngp any progress on reviewing it?

I guess, this is not gonna be in master :c

Please, plan to revisit this PR

Sorry, missed this.
Cc @srinivasankavitha

I guess, I have to change the base to spring-boot-2.7

@prokop7 - with the release of DGS framework 6.x, we are not releasing new features on the spring-boot-2.7 branch unless they are security issues or minor bug fixes a documented here: https://netflix.github.io/dgs/announcements/#dgs-framework-600-now-on-spring-boot-300-january-17-2023
Specifically, we will only backport changes to 2.7 branch, but they will need to be available on master (based on SB 3.x) regardless. If it is possible for you to switch to Spring Boot 3.x, could you please rebase to master instead?

I got your point. I will try to make it compatible with 3.x Spring boot and provide additional pull request for it
I may suggest a solution to bring an interface DgsDataloaderOptionsProvider which will be used to obtain dataloader options. Thus changes will preserve the flexibility of the internal components and allow certain type of customizations. I need your opinion on it

I got your point. I will try to make it compatible with 3.x Spring boot and provide additional pull request for it
I may suggest a solution to bring an interface DgsDataloaderOptionsProvider which will be used to obtain dataloader options. Thus changes will preserve the flexibility of the internal components and allow certain type of customizations. I need your opinion on it

I think I like your idea of providing an optional DgsDataLoaderOptionsProvider. We can have a default, and that can be overridden by a creating a bean. I think that should address my concern of keeping the DataLoaderProvider an internal interface, while still allowing some customization of other options.
As mentioned earlier, let's plan on making this available on master only (Spring boot 3.x). We will be deprecating spring-boot-2.7 in the future, since it is quite a bit of maintenance overhead to maintain parity.

Provided two new PRs (#1485, #1486) as we discussed here, this can be closed now


Enable SHA256 and use it as default crypto hash

I would like to have some suggestions for a better solution. Feel free to comment.
This works as Proof of Concept

I would rather see a real source patch here instead of this.


Update MSFT blog links

Story 1576140
Update old MSFT blog links to new URLs.

Hi @mairaw, this PR is ready for review.


Allow moving a non-Anchored TextStoryItem in non-Edit mode

Version: 0.5.12
A non-Anchored TextStoryItem should be draggable in non-Edit mode
Instead currently it does Text Selection

By default now will set a TextStoryItem to Read-Only mode when not Editable.
In the future should have in TextStoryItemOptions a switch that toggles between Editable, Selectable and Read-Only/Inactive (so that it's draggable) with the default being "Read-Only"


Drop armeria-zipkin artifact from setup.html

Motivation:
armeira-zipkin has been removed since 0.94.0 release.
Modification:

Replace armeria-zikin with  armeria-brave in documentation.

Result:
A user can set up armeria-brave using Setting up a project guide.

Thanks, @ikhoon !


add request

k-lite-codec-pack-full-np:
https://codecguide.com/download_kl.htm
https://github.com/ScoopInstaller/Nonportable/blob/master/bucket/k-lite-codec-pack-full-np.json
XySubFilter-with-libass:
https://github.com/Masaiki/xy-VSFilter/releases
https://github.com/ScoopInstaller/Nonportable/blob/master/bucket/xysubfilter-libass-np.json

the official scoop already exists, so there is no need to add it again


[HOLD for payment 2024-06-13] [$500] Workspace - Not here page is briefly displayed when selecting a workspace

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.66-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Sing up with a GMAIL new account
Create manual expense in Self DM
Create workspace
Navigate to the self DM
Click on 'Catgorize it' under the new expense
Select the new workspace

Expected Result:
Hmm its not here page shouldn't be displayed momentarily
Actual Result:
Hmmm it is not here page is displayed momentarily
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/1dbb4eb9-ee69-44c4-9fb2-4eb7b9610203
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01b67f88414b7c0b94
Upwork Job ID:<PHONE_NUMBER>486759424
Last Price Increase: 2024-06-18
Automatic offers:

ZhenjaHorbach | Contributor | 0

Issue OwnerCurrent Issue Owner: @mananjadhav

@sonialiap  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

A polish issue that imo isn't super high value but since we already have a proposal, passing to external

I think @ZhenjaHorbach's proposal looks good.
🎀 👀 🎀 C+ reviewed.

PR is ready but being blocked by merge freeze. @Beamantor do you know where we can get this merged?

Yes we should be able to get this merged soon! probably in the next few days 🙏

I've done the latest retest.

@Beamanator  @sonialiap I would want to request to raise the payout for this one. It wasn't a simple bug fix. We ended up adding a new route, and did fix two issues in one PR. The scope of the implementation was a bit bigger than I anticipated.
@ZhenjaHorbach can chime in too if they agree/disagree.

@Beamanator I think you probably have a better grasp on the engineering work that went into this. Do you agree with a price increase?

I agree that a bump to $500 sounds fair 👍  Personally, I wouldn't think it needs more than that though - the PR isn't really huge and not overly complicated. Thoughts?

Cool, updating payments
Payment summary:

@mananjadhav $500 - please request in ND and complete the checklist
@ZhenjaHorbach $500 - paid in upwork ✔

$500 approved for @mananjadhav

@mananjadhav please complete the checklist

This was more like a new feature and I think it makes sense to add a regression test for this one.

Sign up with a new account
Create manual expense in Self DM
Create workspace
Navigate to the self DM
Click on 'Categorize it' under the new expense
Select the new workspace
Verify that the loader or list of elements are shown instead of Not here
Open workspace setting and open categories
Remove all items
Navigate to the self DM
Click on 'Categorize it'
Select the workspace with removed categories
Verify that the component is displayed indicating an empty list.
The screen should have an Edit Categories button, and clicking on the button should navigate you to add categories page.

Thanks, Manan! That looks good to me


fix: special unique case

REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.

handle special case for BUCKET_URI in weekly notebook testing

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[ ] Use the notebook template as a starting point.
[ ] Follow the style and grammar rules outlined in the above notebook template.
[ ] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

closing this PR because it is testing other notebooks


[C++][Acero] Cleanup some Grouper-related code

Describe the enhancement requested
When reading the Grouper-related code for another optimization I'm working on, found some cleanup can be done ahead.
Component(s)
C++

Issue resolved by pull request 43988
https://github.com/apache/arrow/pull/43988


Ability to run multiple of the same sensor type with different config.

SensorInstance is a parameterized and deployment specific instantiation
of a SensorType
SensorExecution indicates the execution of a SensorInstane on a specific
Sensor node. There a 1:N relation between SensorInstance:SensorExecution
depending on the sensor partition plan.

Steps:

[x] DB and API models for SensorInstance and SensorExecution
[x] API to retrieve SensorInstance and SensorExecution objects.
[x] SensorInstancesRegistrar to load from sensorinstances from pack
[ ] Auto creation of SensorInstance in case of parameter-less SensorType
[ ] Use SensorInstance rather than SensorType in SensorContainer
[ ] Ability to start SensorInstance on specific node from CLI

I some how totally missed this PR :)

Does this PR means that future Sensors will be more atomic/separated?
Let's say: It's better (?) to have 3 independent sensor processes with unique configs (including auth credentials), instead of specifying all details in one config of single Sensor process.
For example GitHub sensor: https://github.com/StackStorm/st2contrib/blob/ff33de98b2928ec1927feb9d3d6bb794f5a7cf3d/packs/github/config.yaml#L7 which listens to events for many repositories.
Just writing Trello sensor which listens for new events in different boards/lists (same approach as GitHub sensor).
Also asking, because this PR is not updated for a long time, to know the plans and have better understanding, what's future idea about the Sensors?

Let's say: It's better (?) to have 3 independent sensor processes with unique configs (including auth credentials), instead of specifying all details in one config of single Sensor process.

I would think so. However, this is a choice we would present to the Sensor author after the PR is merged.

Also asking, because this PR is not updated for a long time, to know the plans and have better understanding, what's the future idea about the Sensors?

Yes this PR got pushed back due to shifting priorities. I would like to restart this work after 1.0 and should take me a week or so to complete. This is definitely the future direction of sensors.

Thanks @manasdk for info!
I'm :+1: for this approach after implementing Sensor with many independent "targets" to process.

We're implementing sensors with multiple independent target configurations as well; +1 for SensorInstance.

Would be nice to get this one merged if it's finished if not I would like to get it in to mergable state does anyone knows what's missing ?

Would be nice to get this one merged if it's finished if not I would like to get it in to mergable state does anyone knows what's missing ?

I would have to dig in to this and refresh my memory to get this work going again. Perhaps I can in a comment post about the design and also talk about missing pieces so that some progress can be made. I suspect I will be able to get time mid next week to think about this with a clear mind.

Closing. Reopen if you need it.


Fix postgreSQL version

When starting a new cluster:
jumbo (mycluster) > start

There is an error:
TASK [postgres : Download version 10] ******************************************
fatal: [master01]: FAILED! => {"changed": false, "msg": "Failure downloading https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm, HTTP Error 404: Not Found"}

This commit fixes the downloading source.

Is seems like the url is also broken for version 9.5 and 9.6 and that the new one is the same. Could you please also include the fix for those? Thanks!

Done
Same RPM repositories for 9.5, 9.6 and 10
https://www.postgresql.org/download/linux/redhat/


convert common abbreviations to their full forms

here are some examples:
ASAP: As Soon As Possible
FAQ: Frequently Asked Questions
RSVP: Répondez s'il vous plaît (French for "Please respond")
CEO: Chief Executive Officer
HTML: HyperText Markup Language
NASA: National Aeronautics and Space Administration
WiFi: Wireless Fidelity
DIY: Do It Yourself
ATM: Automated Teller Machine
GPS: Global Positioning System

Hello 👋
I'm new to open source contributions.
Please How do I get started


cache: introduce initial NSCacheZone

NSCacheZone is an Exchanger that represents all the NS entries and the known glue of a domain.

fixed TTL() and OriginalTTL() to return uint32, same as SetTTL() and dns.RR itself uses

LGTM and tests work although I am a bit concerned about the usage of sorted lists. In theory DNS is random, sorted lists are predictible.....we'll see.

the exported glue is sorted for pretty printing reasons, the use is via the s map which is randomised


Add 3d diffusion model bundle

Fixes #391 .
Description
Add 3d diffusion model bundle
Status
Ready/Work in progress/Hold
Please ensure all the checkboxes:

[x] Codeformat tests passed locally by running ./runtests.sh --codeformat.
[ ] In-line docstrings updated.
[ ] Update version and changelog in metadata.json if changing an existing bundle.
[ ] Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
[ ] Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
[ ] Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
[ ] Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
[ ] Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

/black

Hi @Can-Zhao , please resolve the code format error (https://github.com/Project-MONAI/model-zoo/actions/runs/4804396214/jobs/8549839161?pr=390)
As for the premerge ci test, I will push a commit to address it

cc @Nic-Ma @wyli , I pushed a commit 91fc60c to enable install dependencies that cannot use pip install for CI test. May need your review after @Can-Zhao finished this bundle.

Sure, I think somehow we need to pin down a commit id of the dependency, otherwise it'll always fetech the latest of the default branch which is quite dynamic.

I'm working on enhancing the PerceptualLoss used in this bundle. Related ticket is:
https://github.com/Project-MONAI/GenerativeModels/issues/389

I'm working on enhancing the PerceptualLoss used in this bundle. Related ticket is: Project-MONAI/GenerativeModels#389

Thank you Yiheng! I will edit the MONAI Generative Model Dependencies section after we finalize the PR 389

This PR can be merged first, but some things need to be updated in the next version:

As I asked, the command to run mgpu training in difussion model may be able to simplify.
Update weights and figures according to the latest changes in pre-trained weights.

cc @Can-Zhao @Nic-Ma @daguangxu

/build

/build

/build

/build

The blossom ci test is always failed because of the path issue, I took more time than expected to fix the issue but failed (although my local test is always correct).
To prevent blocking the progress, I will remove the torchscript test on this bundle to avoid the issue
(will add the test back when I continue to work on the PR:  https://github.com/Project-MONAI/model-zoo/pull/400)

/build


Implement Variable Resolution

Summary
In order to generate interpreter code from the new syntax, we need to re-implement the variable resolution pass.
Value
Variables can resolve to actual values, and hence the new syntax is closer to working.
Specification

Establish the algorithm for variable resolution with the new syntax.
Implement it.

Acceptance Criteria & Test Cases

The static analysis passes are able to resolve variables.
This is rigorously tested and benchmarked.

Superseded by a new plan.


chore(cache): remove the deprecated unmanaged cache

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
as per the title.
Do we still want to keep the ExecutorCache's interface?
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
closes #6316

Do we still want to keep the ExecutorCache's interface?

Well there is no harm to keep it for now.


Update aws s3 gem

Needed for CartoDB/tech-ops/issues/463 (see comment).
👁 this requires configuration change.

🔴 DO NOT MERGE 🔴  until https://github.com/CartoDB/cartodb-platform/pull/4219 is deployed

Acceptance: 💚
I've tested both this PR and the config one together in staging. It works just fine. Added assets, exports and imports.

CartoDB/cartodb-platform/pull/4219 has been merged. I will deploy after some last tests. cc @javitonino

Have you tested both user assets (e.g: avatar/map marker) and organization assets(map markers configured in org settings page)?

I did. I'll do one last test of this when staging environment is ready with the updated configuration.

@javitonino tested again with a brand new image containing the required attribute. I'll deploy this tomorrow early morning, ok?


Can older BC be signed with latest JCE?

Running older 1.40 bc jar on IBM JRE app and getting "java.security.NoSuchProviderException: JCE cannot authenticate the provider BC" exception.
IBM claims "If you encounter this issue with a 3rd party JCE provider, like BouncyCastle, you will need to go to your security provider to obtain an updated JCE jar signed by the new Oracle JCE Code Signing CA."
Is it possible to get an older version of BC signed with latest JCE?
I tried everything else online and cannot for the life of me get around this err.
Thanks,

It is possible to sign an earlier jar with a newer signing certificate. You can apply for a signing certificate if you want to do this.
One thing though, 1.40 is rather old... we are at 1.72 now. It would really be better to upgrade your application - unfortunately cryptography APIs, and algorithms,  do not age gracefully

@dghgit
How do I apply for a signing certificate?
Also, I tried upgrading to latest BC.jar but it looks like some of the functionality is not the same. Also I ran jarsigner on the latest bc 171 jar and received a similar error "PKIX path building failed: com.ibm.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target".

The jar is signed using the JCE signing certificate, this is embedded in the JVM but not something jarsigner has access to.
Signing certificates can be obtained through IBM or Oracle.


podman-remote cp fails with error "you must use just one container"

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When running podman-remote cp it fails with error you must use just one container
Steps to reproduce the issue:
podman-remote --username fedora --remote-host <IP_ADDRESS> cp /tmp/file1 cont44:/tmp/file1
Error: invalid arguments /tmp/file1, cont44:/tmp/file1 you must use just one container

While container cont44 exists on remote:
podman-remote --username fedora --remote-host <IP_ADDRESS> ps
CONTAINER ID  IMAGE                              COMMAND     CREATED       STATUS           PORTS  NAMES
35a3948defce  docker.io/library/python:3-alpine  sleep 100d  15 hours ago  Up 15 hours ago         cont44

podman-remote --username fedora --remote-host <IP_ADDRESS> exec -it cont44 ls /tmp/
...

Describe the results you received:
Error "you must use just one container" and file is not copied
Describe the results you expected:
File is copied from local machine to remote container
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
Version:            1.5.1
RemoteAPI Version:  1
Go Version:         go1.12.7
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.12.7
  podman version: 1.5.1
host:
  BuildahVersion: 1.10.1
  Conmon:
    package: podman-1.5.1-3.fc30.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 2.0.0, commit: d728afa06cd2df86a27f32a4692c7099a56acc97-dirty'
  Distribution:
    distribution: fedora
    version: "30"
  MemFree: 800608256
  MemTotal:<PHONE_NUMBER>8
  OCIRuntime:
    package: runc-1.0.0-93.dev.gitb9b6cc6.fc30.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc8+dev
      commit: e3b4c1108f7d1bf0d09ab612ea09927d9b59b4e3
      spec: 1.0.1-dev
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>4
  arch: amd64
  cpus: 4
  eventlogger: journald
  hostname: sshnaidm.remote
  kernel: 5.2.15-200.fc30.x86_64
  os: linux
  rootless: true
  uptime: 306h 16m 32.79s (Approximately 12.75 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /home/sshnaidm/.config/containers/storage.conf
  ContainerStore:
    number: 16
  GraphDriverName: overlay
  GraphOptions:
  - overlay.mount_program=/usr/bin/fuse-overlayfs
  GraphRoot: /home/sshnaidm/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 17
  RunRoot: /tmp/1000
  VolumePath: /home/sshnaidm/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.5.1-3.fc30.x86_64

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

Closing it because podman-remote cp isn't implemented yet, see https://github.com/containers/libpod/issues/4203

Please open an issue on adding this support if the issue does not currently exists.

@rhatdan opened https://github.com/containers/libpod/issues/4207

Thanks.


Improve logging to include more identifiable information

Description
This PR updates the logging for some modules to ensure that we log more details to easily identify resources from the logs.
e.g. We use id at a lot of places in the logs and it makes it difficult to know about the resource without querying the database. This PR makes changes to include uuid or any other relevant fields to the objects in the logs so that the user can easily identify the resource.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI
[ ] test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✖ el8 ✖ el9 ✖ debian ✖ suse15. SL-JID 11494

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✖ el8 ✖ el9 ✖ debian ✖ suse15. SL-JID 11501

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11508

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11556

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11565

@blueorangutan test

@vishesh92 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

[SF] Trillian test result (tid-11779)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 49996 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9873-t11779-kvm-ol8.zip
Smoke tests completed. 141 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

@blueorangutan test keepEnv

@borisstoyanov a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

[SF] Trillian test result (tid-11803)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 51842 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9873-t11803-kvm-ol8.zip
Smoke tests completed. 141 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✖ el8 ✖ el9 ✖ debian ✖ suse15. SL-JID 11688

@blueorangutan package

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11709

@blueorangutan test keepEnv

@vishesh92 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

[SF] Trillian test result (tid-11868)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 53249 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9873-t11868-kvm-ol8.zip
Smoke tests completed. 141 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11831

@blueorangutan package

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✖ el8 ✖ el9 ✖ debian ✖ suse15. SL-JID 11893

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11895

@blueorangutan test keepEnv

@vishesh92 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

[SF] Trillian Build Failed (tid-11974)

@blueorangutan ll-test keepEnv

@blueorangutan  LLtest keepEnv

@blueorangutan LLtest keepEnv

@vishesh92 a [LL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan LLtest ol8 kvm-ol8 keepEnv

@vishesh92 [LL] unsupported parameters provided. Supported mgmt server os are: centos7, centos6, suse15, alma8, ubuntu18, ubuntu22, ubuntu20, rocky8, alma9. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-rocky8, kvm-alma8, kvm-alma9, kvm-ubuntu18, kvm-ubuntu20, kvm-ubuntu22, kvm-suse15, vmware-55u3, vmware-60u2, vmware-65u2, vmware-67u3, vmware-70u1, vmware-70u2, vmware-70u3, vmware-80, vmware-80u1, xenserver-65sp1, xenserver-71, xenserver-74, xcpng74, xcpng76, xcpng80, xcpng81, xcpng82

@blueorangutan LLtest rocky8 kvm-rocky8 keepEnv

@vishesh92 a [LL] Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests

[LL]Trillian test result (tid-7052)
Environment: kvm-rocky8 (x2), Advanced Networking with Mgmt server r8
Total time taken: 58466 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9873-t7052-kvm-rocky8.zip
Smoke tests completed. 140 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_11_isolated_network_with_dynamic_routed_mode
Error
1.21
test_ipv4_routing.py

test_12_vpc_and_tier_with_dynamic_routed_mode
Error
1.35
test_ipv4_routing.py

test_12_vpc_and_tier_with_dynamic_routed_mode
Error
1.35
test_ipv4_routing.py

@blueorangutan package

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11922

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✖ el8 ✖ el9 ✖ debian ✖ suse15. SL-JID 11935

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11936

@blueorangutan test keepEnv

@vishesh92 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

[SF] Trillian test result (tid-12004)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 52247 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9873-t12004-kvm-ol8.zip
Smoke tests completed. 140 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_11_isolated_network_with_dynamic_routed_mode
Error
2.26
test_ipv4_routing.py

test_12_vpc_and_tier_with_dynamic_routed_mode
Error
3.37
test_ipv4_routing.py

test_12_vpc_and_tier_with_dynamic_routed_mode
Error
3.37
test_ipv4_routing.py

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 11953