The image displayed in the emoji component is blank and cannot be displayed

<EMAIL_ADDRESS>The unresponsive address resulted in blank image display in the emoji component

This is mentioned in the readme:
Picker
import data from 'emoji-mart-vue-fast/data/all.json'
import { Picker, EmojiIndex } from 'emoji-mart-vue-fast'
let emojiIndex = new EmojiIndex(data)

Import CSS with default styles:
import 'emoji-mart-vue-fast/css/emoji-mart.css'

Note: to have a custom look for the picker, either use own css file without including the standard one or add custom styles on top of standard.
Note: CSS also includes background images for image-based emoji sets (apple, google, twitter, facebook). The images are loaded from the unpkg.com. To use self-hosted emojis sheet, override CSS like this:
/* load twitter sheet from own server */
.emoji-mart-body .emoji-type-image.emoji-set-twitter {
	background-image: url(/img/twitter-5.0.1-sheets-256-64.png);
}


Add Emacs shortcuts

Hello!
I've made some additions in this PR to add support for some common Emacs shortcuts (without adding any default hotkeys). Would that be something you'd be open to merging into the plugin?
I'm fairly new to CodeMirror, so I'm sure there are better ways to do everything - let me know if you see anything that could be simpler. Thank you!

Sure, happy to take a look!

Thanks for having a look through! I've added some specs for the behaviour when there's a selection and switched to using the natural cursor location instead of getCursor('from|to') in a few spots.

Using Go to next line when on the last line unexpectedly breaks the sentence into two. Does this happen for you too? If so, can you add another test case together with your fix, that it 'should not navigate past the end of the document'?

Also, could you please document the new behaviours in the table inside README.md as well?

Using Go to next line when on the last line unexpectedly breaks the sentence into two. Does this happen for you too?

I couldn't reproduce this one on Linux or MacOS (the cursor just goes to the end of the line without modifying the text). However, there's definitely a missing guard there, so I've added that in. Does that fix the bug for you?

However, there's definitely a missing guard there, so I've added that in. Does that fix the bug for you?

Yes, that does fix the bug 👍

Thanks for the PR!

No worries, thanks for your help pulling it together!


Install homebrew-cask and essential Mac binaries.

I'm particularly excited about never having to pay $9.99 to manage my windows again.
:ship:

Merging this in so Amy can use it this morning


Refresh agent healthchecks plot in real time

Can just add another channel + websocket for this. Need a new method on the consumer too

This has been in for a while


(GH-5) Add Chocolatey package

Adds a Chocolatey package and updates the Readme with C4B prereqs.
NOTE: The path to the files will need to adjusted in the .nuspec - I couldn't get the project to build and therefore couldn't find what the output path would be for the files that need to be included.

@pauby thanks for getting this done!


Revert "[CP Staging] Bump live-markdown to 0.1.83"

Reverts Expensify/App#43340

This revert did not fix the bug I was trying to fix.


Question: Further steps of development

Hey there,
currently I'm thinking about using rasa core for my bachelor thesis, which will be a prototype of a chatbot. Since rasa core still seems to be in beta I would like to know how development is going further.

Do you think rasa would already be a good choice to use?
Are there a lot of breaking changes between versions?
Do you plan to finish beta in the next couple of weeks/months?

On one hand I fear using rasa core because it could end in tons of breaking changes and missing documentary for old versions and so on. On the other hand I really like it so far and it would be awesome to give it a try :)

Yes, I am using Rasa since 4 months. I have seen many updates in this duration. It's continuously updating.
Rasa really great tool for developing chatbot rather then going for Tensorflow. Because Rasa is one kind of wrapper of tensorflow. And Its open source we can add modify the library files.
Also provides good entity extractions  with different NLP library supports.

@DhruvMevada : Are you able to set float values in slot and do mathematical calculations in it?

@djuelg so we don't guarantee backwards compatibility (since it's still in version 0.x). However, when there's breaking changes, they're always well documented. You can check out our documentation, there's different ones for each version.
How long is the period of your bachelor thesis? you can always stick to one version if need be :)

@akelad Ah thanks a lot for your answer, that's exactly what I thought. My thesis will be finished at the end of august. I'm convinced and happy to use Rasa now :)

I'll close this for now, please let us know if you have any further questions.


Introduce operations for syncing and rebasing

Q
A

Fixed Tickets
#483

License
MIT

This is a work in progress, but I decided to open the pr already to get early feedback :+1:
In the end this will make it possible to sync using three ways:

FORCE: git reset --hard remote/source-branch
SMART:  Determines what is best, rebase, push or rebase with --onto
SMART_MERGE_ONLY: Same as SMART but uses merge instead of rebase for pulling-in changes.

The sync-operation is also used for pull:squash, rebase (coming soon) and switch base.
It ensures both the local and remote branch are in sync.

FYI the WIP - BranchSyncCommand commit needs to be cherry-picked in a separate PR.

OK that went horrible :skull:
CMD git rev-parse sstok/master
CMD git rebase --onto sstok/master 393467e8d85d6adf888fcdc3a2c46964720084cf new-test
CMD git push sstok --force new-test:master

I'm not completely sure on this solution anymore, instead I would favor on always using the local branch (so that it's up-to-date) BUT first check that the local branch is not outdated or has newer commits (which was the source of trouble in the past).

If there are newer commits, stop and require that the user either pushes it's local branch or does a hard reset (don't this automatically! some people forget to create a new branch for working)
If the local branch is outdated, pull-in the changes.
When a diverged state is encountered stop (see nr. 1)

This will make the logic easier to understand, prevents having temp branches (that were not removed) and removes the need for some hacks in https://github.com/gushphp/gush/blob/master/src/Helper/GitHelper.php#L437-L442

Closing this one in favor a smaller pull-request (with the whole sync operation stuff).


Reused fairings in Starlink 5

The fairing section of the vehicle have been reused in the latest SpaceX launch.

Updated


Publish on luarocks

https://github.com/keplerproject/luarocks/wiki/Creating-a-rock

Once I add a few more features I will take care of this.

https://rocks.moonscript.org/modules/jakeg/lua-requests


Seeing duplicate values in intellisense results

Hey! Just updated to the latest release! Really amazing work you are doing :)
Just wanted to let you know, I am seeing duplicates in my intellisense:

Thank you! Glad you're enjoying it.
I wasn't able to replicate the duplication. Can you provide a sample or attach a script where you're seeing this issue?

Interesting, the issue seems to only be happening on the Matcher type from Microsoft.Extensions.FileSystemGlobbing... Also, I notice that they show up different in the intellisense window (one shows the NuGet package it is in and one doesnt):

Couldn't find anything wrong with how we're calling into OmniSharp and I confirmed those aren't ghosts, OmniSharp is infact returning those duplicate entries, it seems something on their end. Closing as an upstream issue.


Step back to previous pages in dues flow

Itd be nice to be able to move back while going through the "pay dues" process. That is, I'm on the pick a payment method page but I'd like to go back and edit my emergency contact's info. Pressing the back button takes me back to the picking a t-shirt size page.

Notes from Slack discussion:

Users should be able to step back to the beginning and choose a different dues package
Move dues transaction creation to end of flow
Add an on-screen back button
Make browser back button work


User friendly error for slice, drop and limit/take parameters

What type of PR is this?
Improvement in errors

What does this PR do / why is it needed ?
Currently upon using a dyna function inside slice, drop and limit/take we get a cast exception. This MR introduces user friendly errors.

Which issue(s) this PR fixes:

Fixes #
Other notes for reviewers:
Does this PR introduce a user-facing change?

yes, message displayed on a specific error

I don think the user understand what a 'Literal' is.  We should express the messages from the point of view on how the users are defining their queries allowing them to hopefully fix it.  Like in this case I suspect we expect a 'constant' value, and they are passing a variable.

I don think the user understand what a 'Literal' is since this is a pure2sql interpretation of the VS.
We should express the messages from the point of view on how the users are defining their queries allowing them to hopefully fix it. Like in this case I suspect we expect a 'constant' value, and they are passing a variable.

@rafaelbey I see, this makes sense. We are expecting a value (constant or variable) and they are making use of an operation/function such as ->limit(1+2)/->limit(someFunction())
How about if we keep it Invalid type for parameter inside the take/limit function. Expected a value, found an operation/function?


Cert manager version should be upgraded to v1

Some work has been started at the main branch now: https://github.com/goharbor/harbor-operator/pull/449

Check PR #502


[Hivedscheduler] Create every VC for every vc

Thanks @ydye, we incorporated this into https://github.com/microsoft/pai/pull/4041


Why do you want the issue number in the subject line, rather than the description? It doesn't create a link when it's part of the subject in github.

@hackartisan it looks like it can if it has the # symbol, for example https://github.com/pulibrary/allsearch_frontend/commit/98401d14e58522abd82463ef3bfaf8362b941188 has a link to issue 274.

Hm, okay, but it doesn't when it auto-populates a PR title, like https://github.com/pulibrary/allsearch_frontend/pull/282
Is this y'all's team's standard? For me having the numbers in the title distracts from the title as a place to concisely convey meaning, and the more characters we require in the title the less space we have to convey meaning. I don't think I've seen this convention much, and I wouldn't be excited to see it documented as our general practice.

apache/solr references the jira number ticket in the commit message and we found it very helpful when going through the codebase and working on a specific issue.

@hackartisan I've definitely seen a lot of pulibrary commit messages with the issue number in them (sometimes with an i as a prefix, like i1234).  And it's nice that with the #, it actually gets a link.  It's not a standard on our team, though.
For this PR, we just wanted to add some more details about how to write commit messages, especially for folks who are new to writing commit messages.
Would it help if we made the issue number part more clearly optional?


sync template's Oghliner dependency w/current version of Oghliner

We should keep these in sync.

Filed #210 to do this automatically.


Remove random emoji

With the addition of the tagging feature I think we'll want to turn this off https://scrapbook.hackclub.com/r/party-dinosaur

Hmmm ya that kind of makes sense but the channel is very dull where everyone has the Summer react. imo, it seemed the most authentic when we just responded with a random emoji, not sure why the sun one is needed.

@sampoder if we want the scrapbook to run after the summer, we have an automatically created archive page for the whole summer https://scrapbook.hackclub.com/r/summer-of-making

ahhh I didn't think of that makes sense

Would love your thoughts on how to get people to use their own reactions though– I totally agree that everyone just clicking the SOM reaction looks super boring

maybe like different emojis based on keywords?

Yay!

Maybe we don’t want to venture into this territory, but could be fun to do some automatic tagging/reacting based on keywords. Searching for the names of certain kinds of emojis in the post (package or keyboard or art or something), or a list of keywords we assign to certain emojis (like art)?

I agree, but only in certain cases. E.g. I would love to see keyword tagging with things like "Figma", where it's directly tied to some event and it's near-impossible to fake it.

+1 https://github.com/hackclub/scrappy/pull/58#issuecomment-656736494


Advanced Search in Datatable

Hi Rahman, I want to find out if the grid can support advanced searches outside the grid

Hi @BernardBoakye,
Yes it is possible with a work around. Here are the steps,
1. HTML:
Add a external textbox with button,

    <input type="text" id="txtExternalSearch" class="form-control" placeholder="External Search" aria-label="External Search" aria-describedby="btnExternalSearch">

        <button class="btn btn-outline-secondary" type="button" id="btnExternalSearch">Search</button>

<jquery-datatables id="fingers10"

2. JavaScript:
Configure the script, use additionalValues inside datatables ajax configuration to pass your external search value
data: function (data) {
        let additionalValues = [];
       additionalValues[0] = "Additional Parameters 1";
       additionalValues[1] = "Additional Parameters 2";
       additionalValues[2] = $('#txtExternalSearch').val();
       data.AdditionalValues = additionalValues;

       return JSON.stringify(data);
}

in your external search button click, call the below script
$('#btnExternalSearch').click(function () {
    table.ajax.reload();
});

3. ServerSide:
Do serverside mappings for columns to be searched in your action/handler,
public async Task<IActionResult> LoadTable([FromBody]JqueryDataTablesParameters param)
{
    try
    {
        var dtColumn = new DTColumn
        {
            Name = "co", // search operator
            Data = "Name", // column name
            Search = new DTSearch
            {
               Value = param.AdditionalValues.Last() // external search value
            },
           Orderable = true,
           Searchable = true
        };

        param.Columns[1] = dtColumn;

        HttpContext.Session.SetString(nameof(JqueryDataTablesParameters), JsonSerializer.Serialize(param));
        var results = await _demoService.GetDataAsync(param);

        return new JsonResult(new JqueryDataTablesResult<Demo>
        {
            Draw = param.Draw,
            Data = results.Items,
            RecordsFiltered = results.TotalSize,
            RecordsTotal = results.TotalSize
        });
    }
    catch (Exception e)
    {
        Console.Write(e.Message);
        return new JsonResult(new { error = "Internal Server Error" });
    }
}

you can expand this further to your needs. Hope this answers your query.
Thanks,
Abdul

Hi @BernardBoakye,
I'm closing this as there isn't any response from your side. I believe above steps will resolve your query. Feel free to comment if you still not able to make it happen.
Cheers,
@fingers10

How would one utilize the default filter parameter for the DataTable instead of the first visible column?

once again... nvm i solved it with
table.search(text).draw();


[QUESTION] Can we retrieve links for videos and photos displayed in embedded links?

I could not retrieve the video url after the search operation. I could only retrieve an integer variable which indicates whether there is a video or not in the retrieved tweet. (0 and 1) Did I miss something? Also is there a way for retrieving the photos displayed inside the embedded URLs? Thanks!

I could not retrieve the video url after the search operation. I could only retrieve an integer variable which indicates whether there is a video or not in the retrieved tweet. (0 and 1) Did I miss something? Also is there a way for retrieving the photos displayed inside the embedded URLs? Thanks!

i got the same case，from the source code, it's seems has't the img or video div

Many of the popular browsers include function to look at the source for the web page. On safari, which I use, it is under the Develop menu. If you don’t see the menu turn it on in the Advanced Preferences.
select “show web inspector” and in the left hand side you will see a folder called Images. Be sure the “resources” tab is selected at the top.
click the triangle and you will see a list of the image files used in the web page. selecting any image will bring up a preview. If your linked video file is not listed there you may need to go digging in the page source for the link. Click on the top most item in the list and the inspector will show all the page source. command F will bring up a search dialog. Search for the link using “http”. If you know the type of video file (.mov or .m4v) you can search for that term.
Since you mentioned this is inside a post I would not expect the location of the source file to be further obscured, but it may be.


fix(ClientRequest): suppress "ENETUNREACH" socket error

I didn't add a test because we already tested this logic in the following:

emits the ENOTFOUND error connecting to a non-existing hostname given no mocked response
emits the ECONNREFUSED error connecting to an inactive server given no mocked response

closes #451

@kettanaito I encountered something interesting.
I think there is a minor confusion between hostname and host in the getUrlByRequestOptions function,
AFAIK, the host is the one with the port, and the hostname is only the.. well.. the hostname.

I went ahead and made the required changes, but before I fix all the tests, (~7), please review the changes and let me know if I missed big time :)

@kettanaito
About the undefined, there is a test that expects the host to be localhost.
How would you like to handle this?
12:43:31:468 [utils getUrlByRequestOptions] request options {}
12:43:31:469 [utils getUrlByRequestOptions] figuring out url from request options...
12:43:31:470 [utils getUrlByRequestOptions] protocol http:
12:43:31:470 [utils getUrlByRequestOptions] host undefined
12:43:31:470 [utils getUrlByRequestOptions] port undefined
12:43:31:470 [utils getUrlByRequestOptions] hostname undefined
12:43:31:470 [utils getUrlByRequestOptions] path /
12:43:31:470 [utils getUrlByRequestOptions] credentials undefined
12:43:31:470 [utils getUrlByRequestOptions] auth string:
12:43:31:470 [utils getUrlByRequestOptions] created url: "http://undefined/"
 ❯ src/utils/getUrlByRequestOptions.test.ts (12)
   ↓ returns a URL based on the basic RequestOptions [skipped]
   ↓ inherits protocol and port from http.Agent, if set [skipped]
   ↓ inherits protocol and port from https.Agent, if set [skipped]
   ↓ resolves protocol to "http" given no explicit protocol and no certificate [skipped]
   ↓ resolves protocol to "https" given no explicit protocol, but certificate [skipped]
   ↓ resolves protocol to "https" given no explicit protocol, but port is 443 [skipped]
   ↓ resolves protocol to "https" given no explicit protocol, but agent port is 443 [skipped]
   ↓ respects explicitly provided port [skipped]
   ↓ inherits "username" and "password" [skipped]
   × resolves host to localhost if none provided
   ↓ supports "host" instead of "hostname" and "port" [skipped]
   ↓ handles IPv6 host [skipped]

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 FAIL  src/utils/getUrlByRequestOptions.test.ts > resolves host to localhost if none provided
AssertionError: expected 'undefined' to be 'localhost' // Object.is equality
 ❯ src/utils/getUrlByRequestOptions.test.ts:105:43
    103|
    104| it.only('resolves host to localhost if none provided', () => {
    105|   expect(getUrlByRequestOptions({}).host).toBe('localhost')
       |                                           ^
    106| })
    107|

  - Expected   "localhost"
  + Received   "undefined"

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

 Test Files  1 failed (1)
      Tests  1 failed | 11 skipped (12)
   Start at  12:43:30
   Duration  591ms (transform 80ms, setup 0ms, collect 80ms, tests 12ms)

I went through all URL properties in the MDN site and tried to figure out which heuristic to use while parsing RequestOptions to URL using Node.js docs and source code.
TL;DR
const portString = typeof port !== 'undefined' ? `:${port}` : ''
const url = new URL(`${protocol}//${hostname}${portString}${path}`)
url.username = credentials?.username || ''
url.password = credentials?.password || ''

Heuristic
hash
No such concept in RequestOptions. It's part of the path
host
It's important to notice that "URL hostname" != "URL host", but in Node.js they are the same:

Node docs - "Alias for host. To support url.parse(), hostname will be used if both host and hostname are specified."

URL host = URL hostname + ":" + URL port
hostname
hostname = RequestOptions.hostname || RequestOptions.host || 'localhost' (source)
port
RequestOptions host can not contain port. We shouldn't (can't) extract the port from the host
port = options.port || defaultPort || agent.defaultPort (source)
auth:
Authorization header || RequestOptions.auth (source)
protocol
options.protocol || defaultProtocol (source)

P.S: Assuming options always takes precedence over URL. Why do we figure out the URL from the options instead of the other way around?
This way, NodeClientRequest would take only options  and callback, and getUrlByRequestOptions would be redundant because we pass the options almost as-is.
@kettanaito WDYT?

@mikicho, thanks for looking into that! As long as the unit tests pass we can rewrite the options parsing logic but I would be extremely careful when considering changing tests. There's a convoluted edge case behind every test case and I'd rather we keep tests as-is, even if it seems like they make no sense (there are all sorts of usages in real world, some even incorrect according to Node.js docs but they are there and we must handle them).

Why do we figure out the URL from the options instead of the other way around?

Because there are third-party packages that use ClientRequest in every imaginable way. I've seen scenarios with partial URL object + RequestOptions that compliment each other. In those scenarios, neither can be taken as the complete source of truth as Node itself merges the two to produce the complete request options. That's why we try to take URL as a primary input (the first argument) but still check if there are any options that'd modify it.

If we can reproduce the ENETUNREACH error with a non-IPv6 address, then I highly recommend we extract the actual fix from this pull request and open a new one designated for that. I hope we don't have to refactor the options parsing logic to have that network error suppressed.
We can keep the current pull request aimed at improving IPv6 support specifically and any related refactoring to options parsing.

@kettanaito
I agree.
IIUC, the test now should be in the NodeClientRequest.test.ts, so we don't need to bother with the URL options now.
The commit I overridden was: f0ada9663ce02c27d98d50f3ad20bd2ce1f52dac

@mikicho, simply fantastic! Giving this a quick review and will merge if there's no comments from my side.

Released: v0.25.7 🎉
This has been released in v0.25.7!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.


Sell Pressure Dampening via Transfer Hook - Proof of Concept

Let's say that a whale is selling huge amount of uAD on the curve metapool. This can very affect the peg and trigger an unwanted chain of events leading to a bank run.
The idea is to use the transfer hook to detect and counter that sell with a one sided liquidity provision
so the flow is
use sells uAD from uAD-3crv metapool
that triggers a hook that will transfer an ERC20 (e.g) to the metapool as a one sided liquidity
the erc20 belongs to the hook contract and only the hook contract can provide it as liquidity and thus receive the corresponding LP token

POC to make sure it is safe and sound
it should trigger is uAD sell is > X Amount
it should provide Y Amount of DAI USDC USDT as liquity where  Y = z * X
Nice-to-have accurate calculation of the price change due to the liquidity deposit

estimation between 1 and 2 days

Reference https://github.com/ubiquity/ubiquity-dollar/discussions/218

it should trigger is uAD sell is > X Amount

POC should be as simple as possible but ideally if you can do it off of post-swap-price e.g. (0.98 and below)

Report for sell pressure Dampening
Transfer hook
to fight a big sell off the idea was to leverage the transfer hook to immediately counter it by adding 3CRV in the curve pool
I started by adding an incentive contract + test on this   branch to assess the price change I simulate a balance change and get the price based on the updated balances.
As seen in the test either swapping or adding liquidity fails and the reason is  reentrancy guard inside curve metapool

indeed the transfer hook happens inside the swap function when the metapool is tranfering uAD from the seller. It is then impossible to  add liquidity to curve when we sell on curve.
Another idea is to instead add liquidity to uniswap pool (uAD/DAI for instance) when we sell on curve and add liquidity to curve when we sell on curve
The drawbacks  are

there could be several uniswap pool (uAD/DAI uAD/USDC uAD/USDT etc..)
liquidity is not really the same between curve and uniswap
Our oracle only take into account curve
adding liquidity on uniswap is even more expensive than curve

Offchain Automation
We can monitor for transfer event from the metapool to detect a sell and based on the same calculation as before trigger a tx that will provide liquidity to the curve pool. This can be done with Open Zeppelin defender for instance as they not only provide a convenient event watcher but also a relay that includes a private key secure storage.
@pavlovcik wants a fully onchain mechanism

The drawbacks are

there could be several uniswap pool (uAD/DAI uAD/USDC uAD/USDT etc..)

Lets only do whatever the collateral reserve is in (LUSD)

liquidity is not really the same between curve and uniswap

We can arbitrage this (and profit?) with transfer hooks. Famously coined by 1inch "positive slippage"

Our oracle only take into account curve

Because theres profit with arbitraging, I think that this should be resolved naturally by market forces.

adding liquidity on uniswap is even more expensive than curve

We should consider using a rollup that Uniswap is on. We also must define what liquidity range. Probably 1 tick below market price and down to 1.00 would make the most sense for adding single sided liquidity. We could also recycle NFT positions that we already made, for example, always add to the NFT position we made at $1.00 - $1.000001 etc

The drawbacks are

there could be several uniswap pool (uAD/DAI uAD/USDC uAD/USDT etc..)

Lets only do whatever the collateral reserve is in (LUSD/RAI/ETH?)

it depends if we want an absolute peg to $USD

liquidity is not really the same between curve and uniswap

We can arbitrage this (and profit?) with transfer hooks. Famously coined by 1inch "positive slippage"

arbitrage here would mean buy cheap uAD for 3CRV on curve thus increasing its price on curve and sell it on uniswap
thus decreasing its price on uniswap and getting back a stable coin (or $ETH/ $RAI)

Our oracle only take into account curve

Because theres profit with arbitraging, I think that this should be resolved naturally by market forces.

I agree with that

adding liquidity on uniswap is even more expensive than curve

We should consider using a rollup that Uniswap is on. We also must define what liquidity range. Probably 1 tick below market price and down to 1.00 would make the most sense for adding single sided liquidity. We could also recycle NFT positions that we already made, for example, always add to the NFT position we made at $1.00 - $1.000001 etc

so making a cross chain call from mainnet (triggered by the transfer hook) to let say optimism uniswap pool uAD/LUSD
I will check that up

it depends if we want an absolute peg to $USD

Economically I think that floating, like RAI, makes more sense; but from an adoption standpoint I think that "absolute peg" makes more sense for (normal people to use and understand.)

arbitrage here would mean buy cheap uAD for 3CRV on curve thus increasing its price on curve and sell it on uniswap thus decreasing its price on uniswap and getting back a stable coin (or $ETH/ $RAI)

And getting back LUSD/RAI/ETH(?) and then storing it back in the collateral reserve, yes. That, or ideally putting it right back into the market but I don't think thats possible due to re-entrancy.

so making a cross chain call from mainnet (triggered by the transfer hook) to let say optimism uniswap pool uAD/LUSD I will check that up

No I think that we should consider a full new protocol deployment on Optimism etc if we're going to depend heavily on complex logic for transfer hooks for stability etc.

Does it make sense to preserve your code in some type of tests/research folder? I fear if it only lives on some obscure branch that it may get deleted on accident at some point in the future.

@zgorizzo69 following up on my previous comment.

I think we can fork that branch to another repo indeed if we are worried about it being deleted

Okay I'll let you handle that cause I'm not sure exactly what you mean.

Okay I'll let you handle that cause I'm not sure exactly what you mean.

actually I created a tag and we also can create a release if you  want

Seems cleaner than making separate repos.


scripts/compileFsharpScripts.fsx: add

2 things left to do here:

Fix CI.
Add an invocation to this script, in CI.

This PR should update the ReadMe too.

2 things left to do here:

Fix CI.
Add an invocation to this script, in CI.

Done

This PR should update the ReadMe too.

Done

This PR needs to be rebased unfortunately.

This PR needs to be rebased unfortunately.

Done

Why is CI red?


Revert @import for #import.

The problem is described in #541. I wasn't able to compile JSQMessagesViewController in our project. Reverting @import to #import should be fine.

doh! sorry @luosheng and thanks!


Discard more bad source map positions

Spotted positions like these in coverage output when debugging #239:
            "1": {
                "start": {
                    "line": 1,
                    "column": 0
                },
                "end": {
                    "line": null,
                    "column": -1
                }
            },

This PR adds a guard against badly adjusted end positions, causing those locations to drop out of the report.

@novemberborn awesome, good work.


Is default Docker Image configs for only relay node or block-producing node?

Hello,
I set up cardano-node and cardano-wallet Docker containers with the official images. Cardano-Node version is 1.33.0 and Wallet version is 2022-01-18. I used the default configuration for both of them.
If I made a transaction with my Wallet Rest Service, this tx is produced by my node? In other words, for the default configurations for node topology and config, is my node the block-producing node, relay-node, or passive-node?
Thanks in advance.

As I found on my research it acts as a passive node. Thanks.


(PUP-6964) Revert c2d6476 due to perf regression

Commit c6ed30db modified the module loaders such that all modules have
visibility into all other modules' content. This was done to support
bolt, but it generally beneficial for all puppet modules. However, the
change increases the module search space and caused a performance
regression.
These commits revert the merge commit c2d64762630716df4af53d98bc7a7f5927fbd740
and restore the behavior for tasks such that modules can call
functions in other modules, e.g. boltlib, without an explicit module
dependency in metadata.json.

CLA signed by all contributors.


Multiple high and medium code security vulnerabilities in code

I analysed the code with Synk and found multiple security vulnerabilities (3 high, 1 medium).
HIGH | AzureUserFetcher.java (line 68: Server-Side Request Forgery (SSRF)) | CWE-918
InputStream inputStream = azureApiCaller.callApi(accessToken, new URL(uri));
Short description: The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
HIGH | AzurePhotoFetcher.java (line 45: Path Traversal) | CWE-23
private BufferedImage getPhotoAsImage(InputStream inputStream) throws IOException {     return ImageIO.read(inputStream);   }
Short description: The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.
HIGH | AadUserListUpdater.java (line 71: Path Traversal) | CWE-23
String photoAsBase64 = azurePhotoFetcher.getPhotoForUserId(accessToken, aadUser.getId());
Short description: The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.
MEDIUM | WebSocketConfig.java (line 52: Permissive Cross-domain Policy) | CWE-942 | CEW-346
Short description: The software does not properly verify that the source of data or communication is valid. The software uses a cross-domain policy file that includes domains that should not be trusted.

We noted the vulnerabilities in our internal organisation tool, going to fix them in the future releases


Using Llama CPP locally an error occurs after many questions:

Using Llama CPP locally an error occurs after many questions:
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^
[Error: could not find a KV slot for the batch (try reducing the size of the batch or increase the context)]

The error occurs always when the generated responses exceed approximately 3500 Tokens circa 16000 Characters.
The context is probably too big. How to adjust this? I don't want to enlarge the context but rather have a context only on the last the last 1 or 2 questions.
The error can be simply reproduced by doing something like this:
const model  = new ChatLlamaCpp({ modelPath: llamaPath})
const response_1 = await model.stream("Tell me a long story about a cat");
 for await (const chunk of response_1) {
     console.log(chunk.content);
 }
 //----------many other questions here--------------
 const response_7 = await model.stream("Tell me a long story about a horse");
 for await (const chunk of response_7) {
     console.log(chunk.content);
 }

PC used - Apple M1 Max, 32Gb
Originally posted by @pironev in https://github.com/langchain-ai/langchainjs/discussions/5298

https://github.com/withcatai/node-llama-cpp/issues/136
This is an issue with the old version of node-llama-cpp that cannot automatically expand the context. Upgrading your node-llama-cpp to the latest beta version might solve the problem. Would you like to try that?

Thank you!


[autogen.sh:]  Abstract the absolute path of libtoolize or glibtoolize away into $LIBTOOLIZE.

Increase portability by insulating autogen.sh from platform variance.

Specifically, test for the existence of either libtoolize or glibtoolize and caching its location into a script variable prior to running the utility in order to prevent either utility's invocation from spawning error messages of the form './autogen.sh: line $LINE: $COMMAND: command not found' (with the $LINE and $COMMAND pseudo-variables replaced with content relevant to what line the command that spawned this error message was on within autogen.sh and what command's invocation was attempted at that point, of course.)  In particular, this takes into account macOS's wonky libtool semantics, which involve the following idiosyncrasies:

The version of libtool that Apple bundles within both Xcode and its separate associated 'Command-Line Developer Tools' package comes without a copy of libtoolize.
macOS package managers like Homebrew and MacPorts typically install the GNU versions of libtool and libtoolize as glibtool and glibtoolize, respectively, when needed by another package as a dependency or otherwise requested by an end-user.

The pre-existing code which was supposed to handle this case was not resilient with respect to errors finding either the system copy or the GNU variant of libtoolize, as it ran both libtoolize and glibtoolize, in that order, without checking for the existence of either utility!  (From the man page of the copy of bash included with macOS 'El Capitan' v10.11.6, which is reported to be GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15) by bash --version:

…

SHELL GRAMMAR

…

   Lists
          A list is a sequence of one or more pipelines separated by one of the operators ;, &, &&, or ||,  and optionally terminated by one of ;, &, or <newline>.

          Of  these  list  operators,  &&  and  || have equal precedence, followed by ; and &, which have equal precedence.

          A sequence of one or more newlines may appear in a list instead of a semicolon to delimit commands.

          If a command is terminated by the control operator &, the shell executes the  command  in  the  background in a subshell.  The shell does not wait for the command to finish, and the return status is 0.
          Commands separated by a ; are executed sequentially; the shell waits for each command to terminate in turn.  The return status is the exit status of the last command executed.

          The  control  operators  &&  and || denote AND lists and OR lists, respectively.  An AND list has the form

                 command1 && command2

          command2 is executed if, and only if, command1 returns an exit status of zero.

          An OR list has the form

                 command1 || command2

          command2 is executed if and only if command1 returns a non-zero exit status.  The  return  status  of AND and OR lists is the exit status of the last command executed in the list.

…

— note, however, that this text only implies that execution of the second command in the || list can be short-circuited if the execution of the first command fails; that first command is always executed!)
This root cause of this issue was initially clarified to me by the second half of this comment on Homebrew/homebrew-core#10380 because it appeared as a red herring of a side effect during diagnosis of that same issue.  Per this further comment on that issue, further corrections to autogen.sh may remain desired after the merger of this pull request into master.  (Never mind, that's #739 and has to do with api/Makefile.am.)  This pull request should also be backported to at least branch 3.05.

By the way, did I put the libtoolize/glibtoolize existence check in the right place?  I can move it if you guys want…

That's a rather lengthy commit messages, and it is not so easy for me to get the essentials from it. The old code works, but throws a nasty and confusing warning on systems which provice glibtoolize instead of libtoolize. This is fixed by your pull request.

Re-opened to re-check CI (win).

AppVeyor fails a lot of times for no good reason.

By the way: it's autogen.sh, not autopen.sh.

@stweil:

By the way: it's autogen.sh, not autopen.sh.

Gah, blasted auto-correct struck again!  I'd better go ahead and fix that while I'm resolving the rest of your review comments, then!

@stweil:  Would like me to squash my commits together, and have any changes requiring me to rebase mine on top of them been pushed to master since I started working on this PR?
Also @stweil w. r. t. your originally reply to this comment of mine:

That's a rather lengthy commit messages, and it is not so easy for me to get the essentials from it. The old code works, but throws a nasty and confusing warning on systems which provice glibtoolize instead of libtoolize. This is fixed by your pull request.

@stweil:  Would you like me to squash my commits together?  In addition, have any changes requiring me to rebase mine on top of them been pushed to master since I started working on this PR?  (I should probably look myself…goes to check.)
Also @stweil w. r. t. your originally reply to this comment of mine:

That's a rather lengthy commit messages, and it is not so easy for me to get the essentials from it. …

I thought the commit message did a pretty good job of explaining things myself, but I'll change it if you feel like that isn't the case.  I'll either go back and edit the original commit message or change said message as part of squashing all my commits together if you end up wanting me to do that.

…The old code works, but throws a nasty and confusing warning on systems which provice glibtoolize instead of libtoolize. This is fixed by your pull request.

That was the idea.  😉

Thank you for the updates. I have no strong opinion regarding the lengthy commit message – the code changes are the important point, and a long commit message is better than a too short one. And whoever (@zdenop, @egorpugin) pulls the PR can squash the commits when doing so.

OK, works for me!

Rebased against b6eb8bebb16cc95da44d465713bb868474c572c1.

@zdenop:  How would I go about backporting my changes to the 3.05 branch?  (I've been trying to fix Homebrew/homebrew-core#10380.)

Did you check 3.05? What is missing there?

:man_facepalming:  No, but I guess I should have!  Lemme check…

@zdenop:  Never mind, none of the commits from this PR are missing from branch 3.05!  Guess I should have asked if you had backported them already or not, as it wasn't entirely obvious whether or not you intended to do so from within the context of this thread.

@RandomDSdevel : I tried to backport as much as I recognize. Unfortunately I do not have a lot of time and there could be thing I overlook. I appreciate if somebody does checks afterwards.

@zdenop:  That's perfectly all right if you've been somewhat busy lately, and it wasn't any trouble for me to check back on things after the fact at all.  Let's hope you get some more free development time soon, though!


New version: DalitzPlot v0.1.3

Registering package: DalitzPlot
Repository: https://github.com/junhe1979/DalitzPlot.jl
Created by: @junhe1979
Version: v0.1.3
Commit: cb0ffd75486cc4d6715b31c712e6e85d6cd69c61
Git reference: 0.1.3
Release notes:

upgrade.
Full Changelog: 0.1.2...0.1.3

[merge approved]


ignore not assigned entries

In some cases, we skip constraints when the data would make it an irrelevant constraint. This can cause trouble when checking the numerical bounds.

@scdhulipala this PR fixes the issue you found try it.


Use JS datepicker

Replace this:

Without something like this:

Still work to be done, ETA Tomorrow

Didn't we close this? @itay-sho

I'm closing this issue as it's already been merged, re-open if necessary.


Upload agent has wrong export_date format

Behavior
The export date for Feb 5 shows as "2021-05-02" which is wrong
Expected Behavior
The export date should show "2021-02-05" with YYYY-MM-DD format

this is completed


about [Vue Router warn]: No match found for location with path "/"  error message.

I tried many ways but this package is not working for 2 days.Please help me
// vite.config.ts
import { defineConfig } from 'vite'
import Vue from '@vitejs/plugin-vue'
import Pages from 'vite-plugin-pages'

const config = defineConfig({
  plugins: [
    Vue(),
    Pages(),
  ],
})
export default config

// src/main.ts
import { createApp } from 'vue'
import { createRouter, createWebHistory } from 'vue-router'
import App from './App.vue'
import routes from '~pages'
// also import routes from "virtual:generated-pages" not working.

console.log(routes) // []
const router = createRouter({
  history: createWebHistory(),
  routes,
})

const app = createApp(App)
app.use(router)
app.mount('#app')

pages structure :
    pages
            index.vue

and when I run the project this error throw  :
vue-router.esm-bundler.js:72 [Vue Router warn]: No match found for location with path "/"

Dependencies:
  "dependencies": {
    "install": "^0.13.0",
    "vue": "^3.2.31",
    "vue-router": "^4.0.12"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^2.2.0",
    "@vue/compiler-sfc": "^3.2.31",
    "cross-env": "^7.0.3",
    "typescript": "^4.5.5",
    "vite": "^2.8.4",
    "vite-plugin-pages": "^0.20.2"
  }

Can you provide a repo with the code required to reproduce this issue?

https://github.com/cibilex/vite-plugin-pages-err
@hannoeru

I still can't reproduce this warning, can you try again, or give me more details?

Can you provide some system info by running npx envinfo --system --binaries --browsers?

  System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
    Memory: 807.21 MB / 7.85 GB
  Binaries:
    Node: 16.14.0 - D:\Program Files\nodejs\node.EXE
    Yarn: 3.0.2 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.1.3 - D:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (98.0.1108.55)
    Internet Explorer: 11.0.19041.1202

My problem has been solved.My opinion :

Might be originated from "vite-plugin-vue".Yesterday they have updated "vite-plugin-vue" and my codes are working now.

Anyway,thanks a lot @hannoeru  to help me.

I had the same issue, I just removed node_modules and pnpm-lock and it works now after reinstalling everything

Sorry to reply on this closed issue, but I have the same issue found in my computer.
I just cloned the https://github.com/antfu/vitesse repo, and in my computer I see this warn
[Vue Router warn]: No match found for location with path "/"

the rest route works fine except the 'index.vue'
but I have tried this repo in github codespace, and it works fine.
I don't know if there is some problem with my computer environment...
below is my computer info:
  System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
    Memory: 807.21 MB / 7.85 GB
  Binaries:
    Node: 16.14.0 - D:\Program Files\nodejs\node.EXE
    Yarn: 3.0.2 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.1.3 - D:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (98.0.1108.55)
    Internet Explorer: 11.0.19041.1202

looking for help. @hannoeru

Sorry to reply on this closed issue, but I have the same issue found in my computer. I just cloned the https://github.com/antfu/vitesse repo, and in my computer I see this warn
[Vue Router warn]: No match found for location with path "/"

the rest route works fine except the 'index.vue'
but I have tried this repo in github codespace and other computer, and it works fine. I don't know if there is some wrong with my computer environment...
below is my computer info:
  System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
    Memory: 807.21 MB / 7.85 GB
  Binaries:
    Node: 16.14.0 - D:\Program Files\nodejs\node.EXE
    Yarn: 3.0.2 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.1.3 - D:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (98.0.1108.55)
    Internet Explorer: 11.0.19041.1202

looking for help. @hannoeru

It's strange when I add exclude: ['**/comps/*.vue'] to the Page conifg in vite.config.ts, the problem gone away.
before:
    Pages({
      extensions: ['vue', 'md'],
    }),

after:
    Pages({
      extensions: ['vue', 'md'],
      exclude: ['**/comps/*.vue']
    }),

I cannot understand whte happened.
@hannoeru


\Swoole\Database\PDOConfig class not found @ 22.0.0

What did you do? If possible, provide a simple script for reproducing the error.

var_dump(class_exists('\Swoole\Database\PDOConfig'));

What did you expect to see?

TRUE

What did you see instead?

FALSE

What version of OpenSwoole are you using (show your php --ri openswoole)?

openswoole 22.0.0  stable

installed with:
enable sockets supports? [no] : yes
enable openssl support? [no] : yes --with-openssl-dir=/opt/homebrew/opt/openssl
enable http2 support? [no] : yes
enable mysqlnd support? [no] : yes
enable hook curl support? [no] : yes
enable postgres support? [no] :

What is your machine environment used (show your uname -a & php -v & gcc -v) ?

Darwin loc-ye 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64

Example of using PDOPool in v22 is added: https://github.com/openswoole/openswoole/blob/master/example/src/Coroutine/MySQLClientPool.php

Still class not-existing error
I tried the on Centos and Mac, here is my test code:
var_dump("OpenSwoole class: " . (int)class_exists('\OpenSwoole\Core\Coroutine\Pool\ClientPool'));

Output:
OpenSwoole class: 0

You have to install openswoole/core library.


Add recovery and password settings flows

Testing
docker-compose -f docker-compose.dev.yml up --build --force-recreate --remove-orphans

make npm-build build

export KRATOS_PUBLIC_URL="http://localhost:4433"
export HYDRA_ADMIN_URL="http://localhost:4445"
export BASE_URL="http://localhost:4455"
export PORT="4455"
export TRACING_ENABLED="false"
export LOG_LEVEL="debug"
export AUTHORIZATION_ENABLED="false"

go run . serve

Go to localhost:4455/ui/reset_email:

The link to reset password is also added to the login screen:

Enter a valid email. I use<EMAIL_ADDRESS>because that's the only imported identity in kratos.
Get the recovery code from mailslurper at localhost:4436.

Once a valid code is submitted, a kratos session is created. The recovery flow redirects to password change screen and starts a settings flow:

If you have an application that is a client of hydra, you will be automatically logged into it if opened in the same browser session as the completed recovery flow.
If you start a new browser session you can verify that the credential was updated.

There is a case that @edlerd is looking at:
If you are logged in and have a kratos session, you should be able to change your password without the need of going through recovery, but rn going directly to localhost:4455/ui/reset_password redirects to http://localhost:4455/ui/ which doesn't exist.

There is a case that @edlerd is looking at:
If you are logged in and have a kratos session, you should be able to change your password without the need of going through recovery, but rn going directly to localhost:4455/ui/reset_password redirects to http://localhost:4455/ui/ which doesn't exist.

This has been handled.

In case no text or an invalid email is entered, the POST api/kratos/self-service/recovery responds with the text content 400 Bad Request. As this is displayed to the user, it would be nice to have a better error message in this case.

couple of small commit message nudges:

try to bundle the tests in 4c7ee6912718c77142fe6d78c751be89d45936d8 with the code if u can
first wip commit needs to become a feat or fix

Tried to play around a little and if a session already exists, going to http://localhost:4455/ui/reset_email will always redirect me to http://localhost:4455/ui/.

This bug still exists

@natalian98 do a rebase and then it's mergeable


Tell users what to expect

[Enter feedback here]
Please provide some information about the user experience when they try to invite someone from a national cloud.  The error message in Teams is not helpful for troubleshooting

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

ID: 7476784f-6f44-8aab-3d08-2c813a4e0422
Version Independent ID: 894d5b3a-a96d-d6c1-d72a-a532191dd5db
Content: Limitations of B2B collaboration - Azure Active Directory
Content Source: articles/active-directory/external-identities/current-limitations.md
Service: active-directory
Sub-service: b2b
GitHub Login: @msmimart
Microsoft Alias: mimart

@DeanGross
Thanks for your feedback! I have assigned this issue to the author who will investigate and update as appropriate.


Can't Synced, Stuck in block 1

There are many chia nodes in list but not the seno ones. And they can't sync.
Do you guys have any ideas to slove this problem? thanks!

I don't think this is ready fully, they gotta get a Windows version out as well

Just waiting for raise. https://seno.uno


Remove Conversation and Response objects to simplify data representations

This pull request makes a very large change to the way conversations are represented in ChatterBot. Previously, a conversation was its own object that responses could be linked to. Now, a conversation is a label on statement and a response is a text field on the statement. In addition, the text attribute of statements no longer has a unique constraint.

+1


Cannot read properties of undefined (reading 'imports')

have
ImageResizor.js:699  Uncaught TypeError: Cannot read properties of undefined (reading 'imports')
    at ./node_modules/quill-image-resizor/dist/ImageResizor.js (ImageResizor.js:699:1)
    at __webpack_require__ (bootstrap:19:1)
    at ../../vendor/itbcode/itbcodepack/editor-quill/src/controller/quill-controller.js (meatask.js:1003:81)
    at __webpack_require__ (bootstrap:19:1)
    at ./js/stimulus_bootstrap.js (relases.js:154:1)
    at __webpack_require__ (bootstrap:19:1)
    at ./js/back.js (controllers.json:2:2)
    at __webpack_require__ (bootstrap:19:1)

import ImageResizor from 'quill-image-resizor';
// Quill.register('modules/imageResize', ImageResize);

ImageResizor.QuillFind = Quill.find
Quill.register('modules/imageResizor', ImageResizor)

or
    RN  Compiled with 1 warnings                                                                                4:06:16 PM

 warn  in ../../vendor/itbcode/itbcodepack/editor-quill/src/controller/quill-controller.js                                                                                4:06:16 PM

export 'ImageResizor' (imported as 'ImageResizor') was not found in 'quill-image-resizor' (possible exports: default)

when
// import * as ImageResizorModule from 'quill-image-resizor';
// console.log('ImageResizorModule',ImageResizorModule);

have
export 'ImageResizor' (imported as 'ImageResizor') was not found in 'quill-image-resizor' (possible exports: default)

maybe describe your problem in a whole sentence... just try the umd bundle instead of the es bundle.
or configure your webpack to transform it.

see ImageResizor.umd.cjs


fyi - my use case was different - but I needed to create a separate  Lambda FFmpeg layer

In relation to
https://github.com/hands-on-cloud/hands-on.cloud/tree/master/hugo/content/Building Thumbnails And GIFs Generator Using Lambda And FFmpeg/src
I  had to use this  with a zip file upload 26mb - and included this as a separate layer - this made the problem with ffmpeg not found go away.
https://aws.amazon.com/blogs/media/processing-user-generated-content-using-aws-lambda-and-ffmpeg/

just saw the make file
-package:
docker run --rm -v pwd:/src -w /src python /bin/bash -c "mkdir -p $(PKG_NAME) &&
mkdir -p $(PKG_DIR) &&
apt-get update &&
apt-get -y install zip &&
pip install -r requirements.txt -t $(PKG_DIR) &&
mkdir -p $(PKG_NAME)/bin &&
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz &&
tar -xJf ffmpeg-release-amd64-static.tar.xz &&
cp ffmpeg-4.3.1-amd64-static/ffmpeg $(PKG_NAME)/bin/ &&
chmod +x $(PKG_NAME)/bin/* &&
rm -Rf ffmpeg-* &&
cd $(PKG_NAME) &&
zip -9 --symlinks -r ../$(PKG_NAME).zip . &&
cd .."
I wasn't clear on this make step in readme.

just saw the make file
-package:
docker run --rm -v pwd:/src -w /src python /bin/bash -c "mkdir -p $(PKG_NAME) &&
mkdir -p $(PKG_DIR) &&
apt-get update &&
apt-get -y install zip &&
pip install -r requirements.txt -t $(PKG_DIR) &&
mkdir -p $(PKG_NAME)/bin &&
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz &&
tar -xJf ffmpeg-release-amd64-static.tar.xz &&
cp ffmpeg-4.3.1-amd64-static/ffmpeg $(PKG_NAME)/bin/ &&
chmod +x $(PKG_NAME)/bin/* &&
rm -Rf ffmpeg-* &&
cd $(PKG_NAME) &&
zip -9 --symlinks -r ../$(PKG_NAME).zip . &&
cd .."
I wasn't clear on this make step in readme.


YARN-11719: The job is stuck in the new state.

Description of PR
PR for https://issues.apache.org/jira/browse/YARN-11719
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
16m 57s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
44m 48s

trunk passed

+1 :green_heart:
compile
1m  3s

trunk passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
compile
0m 56s

trunk passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
checkstyle
0m 56s

trunk passed

+1 :green_heart:
mvnsite
1m  2s

trunk passed

+1 :green_heart:
javadoc
1m  0s

trunk passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
javadoc
0m 52s

trunk passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
spotbugs
2m  0s

trunk passed

+1 :green_heart:
shadedclient
36m 26s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 50s

the patch passed

+1 :green_heart:
compile
0m 55s

the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
javac
0m 55s

the patch passed

+1 :green_heart:
compile
0m 48s

the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
javac
0m 48s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 41s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 1 new + 32 unchanged - 0 fixed = 33 total (was 32)

+1 :green_heart:
mvnsite
0m 50s

the patch passed

+1 :green_heart:
javadoc
0m 45s

the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
javadoc
0m 42s

the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
spotbugs
2m  0s

the patch passed

+1 :green_heart:
shadedclient
35m 39s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
109m 46s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 38s

The patch does not generate ASF License warnings.

259m 19s

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7077/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/7077

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux c52bb8302dea 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 79eb1bd99287b784ec6b7cc44cf9fa22c1cea2bb

Default Java
Private Build-1.8.0_422-8u422-b05-1~20.04-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_422-8u422-b05-1~20.04-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7077/1/testReport/

Max. process+thread count
924 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7077/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


(build): update spring and guava deps.

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

Comparison is base (3578146) 26.58% compared to head (64e85bc) 26.58%.

Additional details and impacted files
@@               Coverage Diff                @@
##             feature-1.4.0     #211   +/-   ##
================================================
  Coverage            26.58%   26.58%
  Complexity             251      251
================================================
  Files                   72       72
  Lines                 4310     4310
  Branches               307      307
================================================
  Hits                  1146     1146
  Misses                3056     3056
  Partials               108      108

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


Adds placeholder option for cell

Adds the ability to have placeholder text within the cell. The placeholder text is a span with the class: placeholder for external styling options. In addition, I added a test to cover the placeholder case.

Coverage increased (+0.01%) to 98.673% when pulling 57fc12f6188f220145224636426f324f7e643d6a on nearbycoder:master into 8573c0b8dcc93847d55149bda17c7bc984bd972d on nadbm:master.

hey @nearbycoder thanks for the pull request.
However I'd be curious to know the use case.
The placeholder text can be generated by having cells with the placeholder text and a custom class. Instead of having undefined cells.
Moreover,  the placeholder text cannot change, so why is onChange passing it back

@nadbm thanks for the quick response. My thought process was not having to parse out the placeholder values when I want to grab the values from the cells. I am working on building out a graphing application that will turn this data into a CSV file. As for the placeholder onChange that was my misunderstanding, I just needed to spread out the rowCell in order to keep the placeholder value on state change.
col.map(
  rowCell => {
    return rowCell === cell
      ? { ...rowCell, value: value }
      : rowCell
    }
)

Coverage increased (+0.01%) to 98.673% when pulling c4d4072dcbb0bc7ab8d57b085200c5e87f894f33 on nearbycoder:master into 8573c0b8dcc93847d55149bda17c7bc984bd972d on nadbm:master.

@nearbycoder
Why couldn't you do the following?
valueRenderer={(cell) => cell == null ? "placeholder" : cell.value}

@nadbm looks like that works with also adding the additional dataRendered to return an empty string if no value is actually present. Thanks so much for the help, closing this PR as it is unnecessary.
dataRenderer={(cell) => cell.value === '' ? '' : cell.value}
valueRenderer={(cell) => cell.value === '' ? cell.placeholder : cell.value}


can't open files with MXPlayer via FTP connection

it shows error message.

@tonysky2002 known issue, need to work on it.


centos - configure can't find snappy

Running CentOS 6.5, having to tweak the install instructions a bit due to differences between CentOS and Ubuntu. The configure script is failing to find snappy even when I specify the lib path it installed at to configure.
$ yum install curl snappy autoconf automake libtool pkgconfig
$ yum info snappy
Installed Packages
Name        : snappy
Arch        : x86_64
Version     : 1.1.0
Release     : 1.el6
[snip]

$ find / -name "*snappy*" -print
/var/lib/yum/yumdb/s/24a470a41217f3d9c27ea2db0e760fc18375531c-snappy-1.1.0-1.el6-x86_64
/usr/share/doc/snappy-1.1.0
/usr/lib64/libsnappy.so.1.1.4
/usr/lib64/libsnappy.so.1

$ git clone https://github.com/openvenues/libpostal
Initialized empty Git repository in /root/libpostal/.git/
remote: Counting objects: 13397, done.
remote: Total 13397 (delta 0), reused 0 (delta 0), pack-reused 13397
Receiving objects: 100% (13397/13397), 30.15 MiB | 5.91 MiB/s, done.
Resolving deltas: 100% (8304/8304), done.

$ cd libpostal/
$ ./bootstrap.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:8: installing `./config.guess'
configure.ac:8: installing `./config.sub'
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
src/Makefile.am: installing `./depcomp'

$ ./configure LDFLAGS=-L/usr/lib64 --datadir=/var/lib/libpostal
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for a BSD-compatible install... /usr/bin/install -c
checking for library containing snappy_compress... no
configure: error: Could not find snappy

Looking in config.log I found
configure:11358: checking for library containing snappy_compress
configure:11399: gcc -std=gnu99 -o conftest -g -O2  -L/usr/lib64 -L/usr/local/lib conftest.c  >&5
/tmp/ccgFENMe.o: In function `main':
/root/libpostal/conftest.c:33: undefined reference to `snappy_compress'

so it looks like the env variable is getting picked up, but it's just not finding snappy. How do I install this on Centos please?

Hey Chris - just updated the readme with package names for CentOS/RHEL/yum-based installations. Try yum install snappy-devel to get the header files, and it should work.

Thanks, that got me past that step. On to jpostal issues.


[submodule-sync] bot-submodule-sync-branch-24.02 to branch-24.02 [skip ci] [bot]

submodule-sync to create a PR keeping thirdparty/cudf up-to-date.
 If failed, it will remain open until test pass or manually fix.


Concern about Dimension Mismatch in AlignBlock: Input 128, Output 256, Subsequent Layer Design for 128?

I have a question I'd like to discuss with the author and the community.
In the AlignBlock, the paper states that the input and output should be the same, for example, 128 input and 128 output.
However, when followed by a concatenation operation, the dimension becomes 256. In the subsequent layer, if it is designed for 128, how should this be handled?
I'm not sure if my understanding is correct.

I'm not sure if what you mentioned refers to the sentence in the paper: "The first microphone encoding block has 64 filters and all the following microphone encoding blocks have 128 filters." Based on my understanding, this indicates that the output channel number is 128 for each block after the first block, regardless of the input channel number. I would like to state that due to the passage of a long time, I am uncertain if my current understanding is correct.
I have previously reproduced DeepVQE with an Align Block, but I haven't trained it. It is important to note that the parameter count of my reproduced model is 8 M, which does not match the provided parameter count of 7.5 M in the paper. Here is the code I have written, I hope it will be helpful to you.
class DeepVQE_Align(nn.Module):
def init(self):
super().init()
self.fe = FE()
    self.enblock1_far = EncoderBlock(2, 32)
    self.enblock2_far = EncoderBlock(32, 128)
    self.alignblock = AlignBlock(128, 128, delay=100)

    self.enblock1 = EncoderBlock(2, 64)
    self.enblock2 = EncoderBlock(64, 128)
    self.enblock3 = EncoderBlock(256, 128)
    self.enblock4 = EncoderBlock(128, 128)
    self.enblock5 = EncoderBlock(128, 128)

    self.bottle = Bottleneck(128*9, 64*9)

    self.deblock5 = DecoderBlock(128, 128)
    self.deblock4 = DecoderBlock(128, 128)
    self.deblock3 = DecoderBlock(128, 128)
    self.deblock2 = DecoderBlock(128, 64)
    self.deblock1 = DecoderBlock(64, 27)
    self.ccm = CCM()

def forward(self, x):
    """x: (B,2,F,T,2)"""

    x_mic, x_far = x[:,0], x[:,1]

    en_x0_far = self.fe(x_far)
    en_x1_far = self.enblock1_far(en_x0_far)
    en_x2_far = self.enblock2_far(en_x1_far)

    en_x0 = self.fe(x_mic)        #; print(en_x0.shape)
    en_x1 = self.enblock1(en_x0)  #; print(en_x1.shape)
    en_x2 = self.enblock2(en_x1)  #; print(en_x2.shape)

    align_x2_far = self.alignblock(en_x2, en_x2_far)
    align_x2 = torch.cat([en_x2, align_x2_far], dim=1)

    en_x3 = self.enblock3(align_x2)  #; print(en_x3.shape)
    en_x4 = self.enblock4(en_x3)     #; print(en_x4.shape)
    en_x5 = self.enblock5(en_x4)     #; print(en_x5.shape)

    en_xr = self.bottle(en_x5)       #; print(en_xr.shape)

    de_x5 = self.deblock5(en_xr, en_x5)[..., :en_x4.shape[-1]]  #; print(de_x5.shape)
    de_x4 = self.deblock4(de_x5, en_x4)[..., :en_x3.shape[-1]]  #; print(de_x4.shape)
    de_x3 = self.deblock3(de_x4, en_x3)[..., :en_x2.shape[-1]]  #; print(de_x3.shape)
    de_x2 = self.deblock2(de_x3, en_x2)[..., :en_x1.shape[-1]]  #; print(de_x2.shape)
    de_x1 = self.deblock1(de_x2, en_x1)[..., :en_x0.shape[-1]]  #; print(de_x1.shape)

    x_enh = self.ccm(de_x1, x_mic)  # (B,F,T,2)

    return x_enh

Thank you for your code; it has cleared up my confusion. I am currently looking at your another repository on enhanced training. I'm wondering if you would be willing to open-source the training code for deepvqe? Regardless of your convenience, I am very grateful because your other repository has also provided inspiration, and the code quality there is excellent.

Thank you for your code; it has cleared up my confusion. I am currently looking at your another repository on enhanced training. I'm wondering if you would be willing to open-source the training code for deepvqe? Regardless of your convenience, I am very grateful because your other repository has also provided inspiration, and the code quality there is excellent.

Thank you for your attention and praise for my code. As I mentioned in the README, my focus in reproducing DeepVQE was solely on its speech enhancement performance, so the training code is the same as the one in my repository called SEtrain.

Thank you for your repository. The training template is indeed concise and efficient. Looking forward to more of your open-source projects!

 I'm glad you found the training template useful. I really appreciate your kind words. Thanks again for your support!

你们好，我想问问为什么align能对齐时延嘛，具体原理有点看不懂

https://ristea.github.io/deep-vqe/, one of the author post the " align feature map" on this blog, it looks perfect. But it is not mentioned in the paper how the model is trained. do you think they train all the layers as a whole, or train the alignment related parts(mic encoder1 encoder2 + far encoder1 encoder2 + align block) first, then froze these parts and train the following layers? I'm not quite sure if I could get the perfect "align feature map" as posted by the author.


Query methods don't accept fully-qualified column names

I have a table called locations containing a Point column called location, and if I query it like this:
$point = new Point($lat, $long);
$within = 500;

$locations
    ->whereDistance('locations.location', $point, '<=', $within)
    ->orderByDistance('locations.location', $point);

It fails with this error:
Column not found: 1054 Unknown column 'locations.location' in 'where clause' (SQL: select `locations`.* from `locations` where ST_DISTANCE(`locations.location`...

If I change it to ->whereDistance('location', $point, '<=', $within) (and similarly for the same parameter in the orderByDistance call), dropping the table name, the query works. If I dump it, I can see that it renders to this SQL:
...where ST_DISTANCE(`location`, ST_GeomFromText(...

However, this would cause ambiguity problems if I had a column with the same name in a different table in the same query.
Is this a bug/limitation in MySQL or in this package?

@Synchro Fixed in v2.5.2 - thanks!

When I tried to install
>~/Desktop/app composer require<EMAIL_ADDRESS>Info from https://repo.packagist.org: #StandWithUkraine

  [InvalidArgumentException]
  Could not find a matching version of package<EMAIL_ADDRESS>Check the package spelling, your version constraint and that the package is available in a stability which matches your mini
  mum-stability (dev).

Any ideas??


autounattend_windows_2012

What are the following files used for, and how to use them?
https://github.com/RackHD/on-http/blob/master/data/templates/autounattend_windows_2012_r2_SMC_6028U-TR4%2B.xml
https://github.com/RackHD/on-http/blob/master/data/templates/autounattend_windows_2012_r2_unknown.xml
https://github.com/RackHD/on-http/blob/master/data/templates/autounattend_windows_2012_r2_vmware.xml
Thanks.

The autounattended files are legacy and no longer used.  This story is tracking their cleanup:
https://www.pivotaltracker.com/story/show/130526881