[9.x] Add pipe helper

Inspiration
This helper was inspired by the combination of tap() and collect()->pipe(). Sometimes it's handy if you can pipe something without creating a collection, the same manner we can go with tap().
Example
return pipe(static::$tooLongObjectName, function ($shortened) {
    if ($shortened->someMethodIsTrue()) {
        return false;
    }

    if (! $shortened->anotherMethodIsFalse()) {
        return false;
    }

    return true;
});

You can already use with() or transform() at the moment.

return with(static::$tooLongObjectName, function ($shortened) {
    if ($shortened->someMethodIsTrue()) {
        return false;
    }

    if (! $shortened->anotherMethodIsFalse()) {
        return false;
    }

    return true;
});

@DarkGhostHunter Thanks, but it's more about consistency with the method available in the collection. I think it's not only me who may look for this method after using it in collections. Let's see what @taylorotwell says.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


How to handle error responses?

The README gives very simple examples like
Response response = db.remove(foo);
However it does not say what is supposed to happen in case of issues, such as a document not found, or any other error for any method.
Can someone clarify that?
Exceptions? Null response? Response with some error property?
How to check whether the request was completed successfully or not...

All the issue circumstances I have seen throw a org.lightcouch.CouchDbException. The exception hierarchy is:

RuntimeException

CouchDbException

DocumentConflictException NoDocumentException PreconditionFailedException

So if you try to remove a document that does not exist you will get a NoDocumentException and if there was another issue, such as a server error, you would get a CouchDbException. There is a little bit of javadoc for these exceptions.
As you can see all the exceptions currently extend RuntimeException and are unchecked and not specified in the method signatures of e.g. db.remove(). Personally I would rather see specified checked exceptions to make it more clear what the error conditions are. Although it would be a breaking API change it is something I would like to consider for a future major version.


[QUESTION] More then 256 columns

Exporting more than 256 columns brokes an output file, is this a supposed behavior? How do I resolve that?

If you're exporting to xls, then 256 columns is the limit imposed by Microsoft Excel

Oops. My mistake, sorry.

Oops. My mistake, sorry.

Hi, I face the same issue can you please explain how to resolve this problem.

Oops. My mistake, sorry.

Hi, I face the same issue can you please explain how to resolve this problem.

Just use .xlsx instead of outdated .xls


[FileInput] labelStyles doesnt work for FileInput

Description
expected behaviour - labelStyles to apply styles
Link to Reproduction

Steps to reproduce
Create a FileInput component and try to apply label styles.
Jenga UI Version
0.1.5
Browser
No response
Operating System

[ ] macOS
[ ] Windows
[X] Linux

Additional Information
No response

@aj-ya can you check with version 0.0.0-dev-20221023063538


Caching?

Hi,
This looks very interesting. Have you considered adding caching so that the same info isn't fetched repeatedly in a short time interval? (e.g. Cache for 30 minutes).

Yes, we have implemented this on the server side that is generating the responses.
This way also allows it to UNCACHE stuff when e.g. a new order comes in for a customer.

Closing as this is probably best implemented in the server and can be out of scope for this client.


Fix FUSE mount issue

Fix FUSE mount issue

alluxio-bot, merge this please

alluxio-bot, merge this please


bug: ion-menu swipe works even if the menu is disabled.

Bug Report
Ionic version:

[x] 4.x
Current behavior:
When disabling ion-menu, swipe gesture still works.
Expected behavior:
on disabling ion-menu it should ignore swipe gestures by default.
Steps to reproduce:
this.menuController.enable(false);
try to swipe the menu it will still show.
Related code:

insert short code snippets here

Other information:

Ionic info:

insert the output from ionic info here

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

Unfortunately, i don't have the appropriate time to do so, however, A simple starter tabs with addition to ion-menu should do it.
for now i had to disable the swipeGesture so i don't get surprised by someone dragging it from where it's disabled.

Thanks for the follow up. I am unable to reproduce this issue using a menu starter application. Feel free to follow up here when you have a repo, and I will take a look.

A 'tabs' starter app with ion-menu added.
Thanks for your time.

Thanks for the clarification. I created a tabs starter application and added a menu to it, but was still unable to reproduce the issue.
app.component.html
<ion-app>
  <ion-menu contentId="content">
    ...
  </ion-menu>
  <ion-router-outlet id="content"></ion-router-outlet>
</ion-app>

And then in my tab1 page I call this.menuController.enable(false).

Actually after looking through one of the dev's code, there was an issue in enabling it again, i am sorry, sorry for your time. thank you


passing suggestions directly into Autosuggest?

Is it possible to do something like this:
<Autosuggest suggestions={["a", "b", "c"]} />

this is helpful for systems like redux, where the suggestions would be in a store

@matthewmueller:
As a temporary fix:
class ControlledAutosuggest extends Autosuggest {
  componentWillReceiveProps(props: Object) {
    super.componentWillReceiveProps(props);
    this.showSuggestions(props.value || '', props.suggestions);
  }
  showSuggestions(input, suggestions) {
    if (!this.props.showWhen(input)) {
      this.setSuggestionsState(null);
    } else {
      this.setSuggestionsState(suggestions || this.props.suggestions);
    }
  }
}

ControlledAutosuggest.propTypes = {
  ...Autosuggest.propTypes,
  suggestions : PropTypes.array
};

@matthewmueller I'm rebuilding react-autosuggest at the moment to support flux architectures including redux. Check out this redux example. You are more than welcome to contribute to the design of the new API.
@ksmth Thanks for the suggested workaround.

As I mentioned above, flux architecture will be supported in 3.0.

@matthewmueller @ksmth Just wanted to let you know that 3.0 alpha version is available on npm:
npm install<EMAIL_ADDRESS>--save


Add Infinite Scroll

Add infinite scroll for paging and update feature UI

This was added in a previous release


Speed up rebuild of SmalltalkSystem message selector cache

SmalltalkSystem maintains a cache of all implemented messages in the system that is used (e.g.) for auto-completion. The cache is reset when either a new method is added, or removed, or a class is removed. Rebuilding the cache is generally fast (sub-50ms), but might take long enough to cause a noticeable delay in a very large image with a lot of classes and methods. We can easily speed up the the underlying Behaviour>>understoodSelectorsDo: method and about halve the time the cache rebuild takes.

Needs a bit of rework

Needs a bit of rework


Issue with authentication when application has restarted

There is a bug that I have been trying to fix, but I cannot find what is going on. When you run the application and then you authenticate, if you stop the program and run again, then it does not go back to the same state, even though the authentication cookie has not been cleared and it should just read that cookie and authenticate.
Below is the picture of the bug that I am trying to explain.

Are you using the latest version to debugging this issue? I remember the most recent submission should have fixed this problem.


Edits to FPGA readme files for format and text flow.

Signed-off-by: MCamp859<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   81.85%   81.85%
=======================================
  Files           6        6
  Lines         788      788
=======================================
  Hits          645      645
  Misses        130      130
  Partials       13       13

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5bb12f5...a29e04f. Read the comment docs.

@MCamp859 please, resolve conflict and I'll be able to merge it.


Provides Bootstrap JS and CSS, not just bootswatch theme

Many Bower packages depend on Bootstrap instead of bootswatch-dist, so installing such a package in combination with bootswatch-dist breaks things like modals (they close very shortly after being triggered, see http://stackoverflow.com/a/16852171 for an explanation -- this was happening to me).
Here's my bower list:
├── FileSaver#24b303f492
├─┬ bootstrap#3.3.2
│ └── jquery#2.1.3
├─┬ bootstrapValidator#0.5.3
│ ├── bootstrap#3.3.2
│ └── jquery#2.1.3
├─┬ datatables#1.10.4
│ └── jquery#2.1.3
├─┬ datatables-bootstrap3#45802ec4d3
│ └── datatables#1.10.4
├── excellentexport#aab78f4173
├── jquery#2.1.3
├── js-xlsx#0.7.11
├── papaparse#4.1.0
├─┬ select2#3.5.2 (latest is 4.0.0-beta.3)
│ └── jquery#2.1.3
└─┬ select2-bootstrap-css#1.4.6
  └── select2#3.5.2 (latest is 4.0.0-beta.3)

When I run bower install bootswatch-dist#yeti --save and then run grunt which uses wiredep to automatically insert script tags into my HTML files, bootstrap.js gets loaded twice, causing problems.
Would it be possible to have this not vendor bootstrap, and just provide the bootswatch CSS to avoid this type of conflict?

Hi @ip2k,
Combining Bootswatch themes with Bootstrap sources was one objective of this project. Since Bootswatch themes are individually alternative to Bootstrap we mostly need it undivided with scripts, fonts and styles.
In this case you should exclude Bootstrap from wiredep because you welcome this dependency with bootswatch-dist.


Trim whitespace around alert words

Fixes #3369
"Add a new alert word" box now displays an alert when filled with only spaces.

Automated message from Dropbox CLA bot
@jajodiaraghav, it looks like you've already signed the Dropbox CLA. Thanks!

@jajodiaraghav thanks for working on this!  While this fixes the proximal bug, we should actually (additionally?) change the backend (zerver/views/alert_words.py) to trim (.strip() in Python) whitespace-only alert words strings; otherwise, we'll have this problem with other clients.

@jajodiaraghav Thanks for the pull request, and thanks for writing a descriptive commit message. Could you move the "Fixes" line to the end of the commit message? Here's a guide to help you write commit messages that are more consistent with our style, which makes it easier for us in the future -- when someone's trying to solve a new problem, if commit messages are all in the same format, it's easier to skim them in logs and quickly understand what's happening.
 And when you update your code or your commit message, you can update your pull request and the changes will appear here. :) Sorry if that is redundant and you already know it!
Thanks!

Fixed. I will be careful while writing commit messages next time.
Thanks

Merged!  I added ad3d36841d9a51f4e17a463a860ee17c28ea8fe5 on top to make this work consistently in other cases.

Thanks @jajodiaraghav! :)


About Data Loading

Hi,
Thanks for your code. It helps a lot but I'm confused about how to load the data from CIFAR-10 and CIFAR-100. May I have to load their x and y into .npy file? Also, is it available for other datasets?
Thanks a lot!

Hi,
I think you can load arbitrary datasets from various types of files, e.g., .mat, .npz, .npy, .h5 are all acceptable, just make sure the format of dataset is the same as described in utils.py.

Is it right if I load the 2048-dimensional features extracted by ResNet-50 mentioned in the paper as x when using image datasets? And the does the parameter n_z have to be equal to the num_classes * d?
Thanks!

That's right, and n_z has to be equal to num_classes * d, you can refer to InitiallizeD.py.


Error when plotting image recognition results

First of all kudos for the great repo!
There is a small problem with plotting the results here. When running the image demo demo_metric_classifier_1shot_inference for the sample classes the following error occurs:
Traceback (most recent call last):
  File "demo/demo_metric_classifier_1shot_inference.py", line 51, in <module>
    main()
  File "demo/demo_metric_classifier_1shot_inference.py", line 47, in main
    show_result_pyplot(args.image, result)
  File "mmfewshot/mmfewshot/classification/apis/inference.py", line 150, in show_result_pyplot
    img = imshow_infos(
  File "mmfewshot/lib/python3.8/site-packages/mmcls/core/visualization/image.py", line 316, in imshow_infos
    img = manager.put_img_infos(
  File "/home/user/.pyenv/versions/mmfewshot/lib/python3.8/site-packages/mmcls/core/visualization/image.py", line 277, in put_img_infos
    self.wait_continue(timeout=wait_time)
  File "/home/user/.pyenv/versions/mmfewshot/lib/python3.8/site-packages/mmcls/core/visualization/image.py", line 138, in wait_continue
    key_press = self.blocking_input(n=1, timeout=0)
  File "/home/user/.pyenv/versions/mmfewshot/lib/python3.8/site-packages/matplotlib/blocking_input.py", line 86, in __call__
    if self.figure.canvas.manager:
AttributeError: 'BlockingInput' object has no attribute 'figure'

I tried this command which can lead to expected results without error. And the plotting codes are directly imported from mmcls.
Can you provide more information about your runtime environment?

I downgraded matplotlib from 3.5.0 to 3.4.3, which was the version that I had on mmcls and it solved the problem.


<EMAIL_ADDRESS>URL and 32bit pre_install fix

Closes #7045

It's working now. Curious though, how does the link https://www.fosshub.com/HWiNFO.html/hwi_714.zip work? Isn't the actual link https://www.fosshub.com/HWiNFO.html?dwl=hwi_714.zip? When I open the former in browser it redirects to downloads page.

It might be a 301 (Permanent) redirect to https://www.fosshub.com/HWiNFO.html?dwl=hwi_714.zip


How to replace boundary button icons with text ?

How to replace boundary button icons with text ?

Please reopen if still relevant.


Prevent insert-only transactions from failing due to concurrent data preserving transactions

This PR prevents insert-only transactions (such as merge operations
with only WHEN NOT MATCHED clauses) from failing due to concurrent data preserving transactions
(i.e. transactions with dataChange=false, such as compaction), as discussed in https://github.com/delta-io/delta/issues/326.
This ability is controlled by the configuration concurrentCompactionConflictDetection.enabled, which is enabled by default.
This change was tested on master with existing and added unit tests in OptimisticTransactionSuite and MergeIntoScalaSuite. Additionally we have been using a matching implementation of this PR on Delta 0.6.1 in our production process (we're still working with Spark 2.4) for several weeks without any known issues.
In this commit:

DeltaSQLConf.scala

Added configuration concurrentCompactionConflictDetection.enabled to control this feature

OptimisticTransaction.scala

Avoid ConcurrentAppendException when all new files have been added with dataChange=false
Avoid ConcurrentDeleteReadException when all deleted files have set dataChange=false

OptimisticTransactionSuite.scala

Added test cases for transactions with concurrent data rearrangement operation (toggle on/off)

MergeIntoScalaSuite.scala

Added test cases for merge operations with concurrent compaction operation (toggle on/off)

Signed-off-by: Zohar Meir<EMAIL_ADDRESS>

Hey @jaceklaskowski, are you satisfied with the changes I've made? Can I resolve the open conversations?

Thanks for your comments @jaceklaskowski. I've pushed a new commit which hopefully resolves all of them.
Let me know if anything else needs to be addressed.

Hey @jaceklaskowski, I believe I've addressed all of your comments so far, so if it's ok with you'll I'll go ahead and resolve them.

@tdas @zsxwing @brkyvz Can you have a look at this and hopefully merge? Thank you!

@tdas @zsxwing @brkyvz Can you have a look at this and hopefully merge? Thank you!

Ping :)


⚠ Account Information API has degraded performance

In ebf6871, Account Information API (https://accountinformation.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 2258 ms

Resolved: Account Information API performance has improved in c8c3b5b.


CIServer git command oids now escaped

I also took the opportunity to suppress the "Already on ''" stderror message when switching branch

I have tested this in a sample project


Expose query builder config

Based on Discord thread https://discord.com/channels/1043890932593987624/1104858040936706140

I would definitely need these exposed. for reference, I have a lot of prisma code im looking to migrate and in many places i have functions that dynamically generate queries with a return type of Prisma.ProductFindManyArgs or something like that


I can not find the discriminator in your code .

I can not find the discriminator in your code . I mainly want to know the implementation details of the tensor product. Is there any implementation of this code in your code?

The tensor product is implemented in the line [ 238 ] of [ https://github.com/YabinZhang1994/CDAN-re-implement/blob/master/models/resnet.py ].


Allow to add a note when accepting a breaking change

https://the-guild.dev/graphql/hive/product-updates/2024-04-09-approval-comment


Show saved number and password to the particular user

If a user has already logged in even once then each time when he tries to enter login details he should be shown suggestions of his last details for both mobile number and password using cache memory

Resolved


Pull from multiple OpenSea collection slugs?

Howdy,
With the current code base, what's the quickest change that I could make to allow the API to pull from 2 (or possibly more) collection_slug?
Thanks!

@LokiNugget You can replace the timeout function with this
setInterval(() => {
    process.env.OPENSEA_COLLECTION_SLUG.split(';').map(async (collectionSlug) => {
        const lastSaleTime = cache.get(`lastSaleTime_${collectionSlug}`, null) || moment().startOf('minute').subtract(59, "seconds").unix();

        console.log(`Last sale (in seconds since Unix epoch) for collection ${collectionSlug}: ${cache.get(`lastSaleTime_${collectionSlug}`, null)}`);

        axios.get('https://api.opensea.io/api/v1/events', {
            headers: {
                'X-API-KEY': process.env.X_API_KEY
            },
            params: {
                collection_slug: collectionSlug,
                event_type: 'successful',
                occurred_after: lastSaleTime,
                only_opensea: 'false'
            }
        }).then((response) => {
            const events = _.get(response, ['data', 'asset_events']);

            const sortedEvents = _.sortBy(events, function(event) {
                const created = _.get(event, 'created_date');

                return new Date(created);
            })

            console.log(`${events.length} sales since the last one...`);

            _.each(sortedEvents, (event) => {
                const created = _.get(event, 'created_date');

                cache.set(`lastSaleTime_${collectionSlug}`, moment(created).unix());

                return formatAndSendTweet(event);
            });
        }).catch((error) => {
            console.error(error);
        });
    })
}, 60000);

And then just update your OPENSEA_COLLECTION_SLUG to separate each collection with a ;. E.g. collection1;collection2;collection3

Works perfectly - should merge this into the mainline!
Thanks 1000%


Correct MD title, headers and sub-headers

Very simple README.md style update:

Corrects markdown title, subtitle and sub-headers
Changed Ant to ANT for consistency with meaning

Gracias!! :D


ENS Avatar on Address component

Same as in AddressInput, we want to show the ENS avatar (if any) on the <Address> component.
We have two options:

If the address has an avatar => replace the blockie. If not, leave the blockie
By default, have the blockie on the right (alongside the copy button) + add the avatar in the left (if any)

Fixed on #181


User-idle attribute not working as expected

I'm a little confused about the user-idle attribute.  Based on the controls documentation here...
https://www.vidstack.io/docs/player/components/layout/controls#usage
...it seems like user-idle attribute should be set to "true" when there is no interaction with the player and removed when there is.  However, all tests I've done and even on the main Vidstack site I see the exact opposite.  When there is interaction with the player the user-idle attribute is set to "true" and it is removed when there is no interaction.  I think this is a bug but I am not sure.

Ye I shouldn't code when I'm that tired, in an effort to fix it last night I completely messed it up 😅 Patching it now.

Ha. It happens.  Been there myself.

This should now be resolved in 0.1.4, let me know if you run into any issues again. Thanks 👍


Training Data

Hi is the training data available for use? If so, where can I get it from?

The first line of the readme refers to the training data: https://github.com/OnlpLab/NEMO-Corpus


TheMovieDB Limit reached - When it hasn't

Issue description
When using 'bulk create from files' (in manage content, TV Shows) and attempting to import existing shows, i get a match on the first video file, and after that i receive only 'TheMoveDB Limit Reached'.
Note: All exceptions are set to raise the error 'API limit reached' see below:
catch (Exception ex) {
      log.error("Error occured while trying to retrieve data from TheMovieDB. Please check your API-Key.")
      fileResult.status = MATCHER_STATUS.LIMIT_REACHED
      fileResult.title = name
    }

Steps to Reproduce

Fresh install, using 'sudo java -jar streama-x.x.x-xxx.jar (tried versions 'v1.7.0-RC3' and 'v1.6.7')
Go to http://xxx.xxx.x.xxx:8080 (8080 is the port i am using)
Manage Content
Bulk-Create from files
Select folder (issue here as well, odd behavior seen here: https://ibb.co/DMZkvHs (gif))
'Run Matcher'
Issue is reproduced - See for gif of whole issue: https://ibb.co/r6fT0Fs

Expected Behaviour
It is expected to match for all files selected.
Actual Behaviour
It does not match for all files selected, only the first one is successful.
Environment Information

Operating System: Ubuntu mate - linux
Streama version: 'v1.7.0-RC3' and 'v1.6.7'
Custom streama build, describe customizations or provide link to fork (If Applicable): Not applicable
Container Version (If Applicable): Not applicable

I also get frequent erros like this:
ERROR grails.app.services.streama.TheMovieDbService - Server returned HTTP response code: 429 for URL: https://api.themoviedb.org/3/movie/1587/videos?api_key=...&language=en
ERROR grails.app.services.streama.TheMovieDbService - Server returned HTTP response code: 429 for URL: https://api.themoviedb.org/3/movie/242224/videos?api_key=...&language=en

[http response code 429]https://httpstatuses.com/429() is:

TOO MANY REQUESTS
The user has sent too many requests in a given amount of time ("rate limiting").


use conan_target_link_libraries()

prevent conan warnings
autopep8 py files too

Good, I have added a conan test line to the flow too, and a couple of comments. I agree it is very nice to have the example of the full parameterized flow with clean "tmp" folder.
Thanks very much, you are doing a great job with this revisions and updating and improving these docs and examples.

Thanks, I forget the test, I noticed it later.
Today I have tested under msys  on a Windows PC and the test_package die not link. The link path to the lib was not set?
The old version with target_link_libraries(example ${CONAN_LIBS}) works!
Do you have test und msys (from msys2.org) too?
On my macbook (OSX) I had no problems.

Am 28.03.2018 um 10:01 schrieb James<EMAIL_ADDRESS>Good, I have added a conan test line to the flow too, and a couple of comments.


nodeTemplate inputs and output ui_data is being deleted

This was discovered in https://github.com/elyra-ai/elyra/issues/750 and a more detailed investigation is commented there.
When using the function convertNodeTemplate  on palette the function specifically calls out that app_data must be cloned so that the delete later in the function does not affect the nodeTemplate passed into the function but the new json instance being returned. But then later in the function convertPort is called on inputs and output which goes through a similar process with ui_data but this time without first cloning it, thus deleting it from the passed in nodeTemplate. This means that the ui_data for inputs and outputs are only used for the first node added to the canvas and no future node.

@ajbozarth Hi Alex -- thanks for opening this and for the investigation.  I've fixed it and pushed a change into master. It now clones he entire nodeTemplate and then does modifications on the clone so the palette nodeTemplate cannot get altered.
We do a new build each Monday so it will be available in the NPM module then or, if you prefer, I can kick off a build now -- just let me know if you want that.

No rush on the build, Elyra is actually still locked to version 6 for now, updating to use latest canvas is currently on our docket due to this and a handful of other fixes we need in new releases.

@ajbozarth OK. When you upgrade to v8 be sure to read through the release notes for previous releases some of which will be in the old wdp-abstract-canvas repo.  In particular these changes for 8.0.1 will almost certainly impact your code:
https://github.ibm.com/NGP-TWC/wdp-abstract-canvas/releases/tag/release-8.0.1

cc @vabarbosa since he's looking into the update


Add new rules to the online scanner

I think there is new rules that would be nice to add to the scanner.
Please @webhintio/contributors, feel free to add any rule you think we should add:

[x] hint-button-type
[x] hint-css-prefix-order
[x] hint-create-element-svg
[x] hint-scoped-svg-styles

All the hints have been added.
@molant @antross I have set the severity to error for all of them. Do you want to change any of them to warning?
If not, we can close this issue.

I think this is fine. Closing 🎉


{devcenter} HTML tags aren't allowed in published reference content

Describe the bug
Problem to solve:
HTML tags in source code are causing build warnings in MicrosoftDocs/azure-docs-cli. More importantly, customer-facing reference docs are not instantiating properly -- parameter values formatted with `<>` are missing. Here's an example:

Requested solution:
These values should be escaped with a backtick. Here's an example from az webpubsub.

Related GitHub issues:
This is the same issue as these GitHub issues.
List of HTML tag instances that need update:

File name
Build error

latest/docs-ref-autogen/devcenter/admin/catalog.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/catalog.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/devbox-definition.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/devbox-definition.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/devcenter.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/devcenter.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/environment-type.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/environment-type.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/plan.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/plan.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/plan-member.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/plan-member.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/pool.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/pool.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/project.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/project.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/project-catalog.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/project-catalog.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/project-environment-type.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/project-environment-type.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/schedule.yml
HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/devcenter/admin/schedule.yml
HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

Related command
az devcenter
Errors
n/a
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
This GitHub issue was created at the time of Azure CLI 2.62.0
Additional context
No response

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


Specific ordering of duplicate key names for multipart data.

Hi, thanks for the great project.
I'm working with an API that requires multiple files to be uploaded such that the file metadata is followed by the file stream, repeating, with each metadata part having the name='metadata' and each file part having the name 'file' For instance, to upload two files:
Data: -----------------------1ca273...
Content-Disposition: form-data; name="metadata"

{"filename":"Report One.pdf","documentType":"Report"}
-----------------------1ca2...
Content-Disposition: form-data; name="file"; filename="stream-70139852475000"
Content-Type: application/pdf
(data for file one)
-----------------------abcdef1...
Content-Disposition: form-data; name="metadata"

{"filename":"Report Two.pdf","documentType":"Report"}
-----------------------efacd...
Content-Disposition: form-data; name="file"; filename="stream-70139852475000"
Content-Type: application/pdf
(data for file two)

Having duplicate file names seems odd, but as far as I can see in the spec it's supported, the spec also mentions maintaining the order of the parts.
Obviously using a hash to the pass in the keys doesn't work, as ruby can't have duplicate keys in a hash:
{
  metadata: '{}',
  file: '...',
  metadata: '{}',
  file: '..'
}

I've found doing the following does add all four parts, however, the order is metadata, metadata, file, file, which the API does not accept.
{
  metadata: ['{}', '{}'],
  file: ['...', '...']
}

Any idea if what I need is possible?
Thanks!

Yeah, that's doable - we will need to improve https://github.com/httprb/form_data/blob/master/lib/http/form_data/multipart.rb to accept an array pairs instead:
form: [
  ['metadata', '{}'],
  ['file', '...'],
  # ...
]


Quostion

Do u know how to find the wallets password because i stole a scammers password and wallets but idk how to log in

And how to log in with roblox cookies

For roblox cookies, you just need a cookie editor extention for your browser, go to roblox.com and click the extention to open its menu. Click on the add entry button and in the name field, type .ROBLOSECURITY and in the value, enter the cookie.
For wallet password, you would have to guess the password. You may check their common files or browser passwords for a similar pattern.


SciKit versioning

The first cell does not work as line magics are not supported in the new notebook experience and they are unknown in the old NB experience. Its not clear from the notebook or the doc that this is mostly an AML NB. This notebook should probably refer to the std way of enumerating packages that uses the pip API not commands and link to the article about how to add a requirements.txt to get the right version of sklearn

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

ID: fc2b7493-8a67-f5af-1dba-7f8c37db47e8
Version Independent ID: 93cda5f3-e17a-dbd2-9493-2bf64976c4e7
Content: Tutorial: Machine learning model scoring wizard for dedicated SQL pools - Azure Synapse Analytics
Content Source: articles/synapse-analytics/machine-learning/tutorial-sql-pool-model-scoring-wizard.md
Service: synapse-analytics
Sub-service: machine-learning
GitHub Login: @NelGson
Microsoft Alias: negust

@euangms Thank you for the feedback.
This is being assigned to the content author to evaluate and update the documentation as appropriate.


Db dump fails with postgres 14.8

I'm trying to create a dump from a postgres database in version 14.2
but my local client is in version 14.8
I'm in Ubuntu 22.04
I  get no explanation but this:
Task execution failed
Reason:
Error executing process

Error executing process
  Process failed (exit code = 1). See error log.

Maybe it's a DBeaver thing, not sure tho
Anything I can do?
Tks

Turns out my connection was bugged for some reason.
Redoing it resolved the problem. o/


tf.data.Dataset run after loading  whole data without using shuffle method

Does have any method to load sub of data then running model, without using shuffle,  I want the data order not changed.

@zh794390558 Please correct me if I am wrong: You are looking to run your model on a subset of whole data and not the whole dataset. Am I right?

@zh794390558  Will tf.data.Dataset.list_files work for your case? You can specify a file_pattern for the data subset.

@ymodak  when is using dataset api without shuflle, tf will load all data into memory, then do own processing. If using shuffle, then tf will load buffer_size data into memory and do processing, but will shuffle the dataset. I want a interface and load buffer_size data into memory and do processing order by oder.

@zh794390558 There is a PR to avoid load all data into memory.

@feihugis The issue is not same to me, I using tf.data.Dataset.from_generate to load data.

@zh794390558 Could you put your code here for reproducing the problem?

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


[cmake] [swig] use CMake's built-in file-copying mechanisms instead of 'cp'

As described in #5972, the use of COMMAND cp in this project's CMake code leads to errors when the project is built in environments where cp is not available (for example, the Windows CMD shell by default).
This proposes replacing all of those uses with COMMAND cmake -e copy_if_different, so that cp isn't strictly required to build LightGBM.

Thanks for all the reviews @guolinke !


simulate.py  not working in cloud shell

Error thrown:
Traceback (most recent call last):
File "simulate.py", line 22, in
from google.cloud import pubsub
File "/usr/local/lib/python2.7/dist-packages/google/cloud/pubsub/init.py", line 30, in
from google.cloud.pubsub.client import Client
File "/usr/local/lib/python2.7/dist-packages/google/cloud/pubsub/client.py", line 21, in
from google.cloud.pubsub._http import Connection
File "/usr/local/lib/python2.7/dist-packages/google/cloud/pubsub/_http.py", line 25, in
from google.cloud.iterator import HTTPIterator
ImportError: No module named iterator
When running install.sh:
google-cloud-pubsub 0.26.0 has requirement google-cloud-core<0.26dev,>=0.25.0, but you'll have google-cloud-core 0.28.1 which is incompatible.
gapic-google-cloud-pubsub-v1 0.15.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.
proto-google-cloud-pubsub-v1 0.15.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.
google-api-core 1.1.2 has requirement setuptools>=34.0.0, but you'll have setuptools 33.1.1 which is incompatible.
proto-google-cloud-datastore-v1 0.90.4 has requirement oauth2client<4.0dev,>=2.0.0, but you'll have oauth2client 4.1.2 which is incompatible.
googledatastore 7.0.1 has requirement oauth2client<4.0.0,>=2.0.1, but you'll have oauth2client 4.1.2 which is incompatible.

Unfortunately, this depends on what you have already installed in CloudShell ...
Try using "virtualenv" and then run simulate.py in virtualenv
https://virtualenv.pypa.io/en/stable/


[TA] Merge Feature branch that takes changes in latest GA version, 2023-04-01

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

No longer needed.


Setting WindowsPackageType=None should delay-load all WinAppSDK import libraries

@niklasb-ms discovered that using WinAppSDK from an unpackaged app using dynamic dependencies can cause the exe to fail to launch with a "module not found" error.  This appears to be caused by the exe getting a static-import record for dwritecore.dll, which isn't in the loader's paths until MddBoostrapInitialize is called.  Switching to a LoadLibrary or a DELAYLOAD import of the DLL works fine.
So:

Unpackaged (like MSI) using WinAppSDK (any version)
App calls DWriteCoreCreateFactory in its WinMain
App crashes at launch with ERROR_MOD_NOT_FOUND

Potential solution:
When the project has <WindowsPackageType>None</WindowsPackageType> all WinAppSDK DLLs should be delay-loaded. This can be done with by adding a /delayload:dllname linker option, per https://docs.microsoft.com/en-us/cpp/build/reference/linker-support-for-delay-loaded-dlls?view=msvc-160

The potential solution's a good one but slight clarification: "...all WinAppSDK DLLs with non-COM/WinRT exports should be delay-loaded". Only DLLs with exports others link with at build time are a concern (e.g. COM/WinRT's GetDllClassFactory is dynamically loaded so no issue). This narrows the problem to just WinAppSDK DLLs provided Flat-C APIs; most APIs are WinRT so not a problem.
I don't recall if VS emits warnings if you specify /delayload:foo but don't actually link to foo. Something we'll need to verify.
FYI this is only a problem for unpackaged apps, and only if they load a PE file with WinAppSDK imports before calling MddBootstrapInitialize(). @niklasb-ms had an exe that called the bootstrapper and an IAT with imports from DLLs in the WinAppSDK Framework package. It's not an issue if the exe only called the bootstrapper and DWrite calls were in a DLL not loaded when the exe loads. We can add /delayload for all DLLs in our .props files but we'll want some flexibility here
(Packaged apps don't have this problem as Windows creates their process with their resolved dependencies at birth. No bootstrap issue)
VS' DelayLoad has constaints. Notably, can't bind entrypoint forwarders, code referencing functions through global variables may be affected and can't delayload exported data just functions (though we strongly frown on the last regardless so it shouldn't be an issue). We'll need to make verify these aren't a problem.


Netdata does not require basic auth to send data to influx. Does this count as a bug?

Bug report
System info: [Include InfluxDB version, operating system name, and other relevant details]
Influxdb version - 1.2.2
OS - ubuntu 16.04
Netdata version - v1.8.0-14-g0837fec_rolling
I am sending netdata metrics to influxdb database.
Steps to reproduce:

Open a port via influxdb to get input data in graphite format.

In /etc/influxdb/influxdb.conf file,
[[graphite]]
  # Determines whether the graphite endpoint is enabled.
  enabled = true
  database = "netdata"
  # retention-policy = ""
  bind-address = ":2004"
  protocol = "tcp"

Configure netdata to send data to influxdb via port opened for graphite data.

In /etc/netdata/netdata.conf file,
    [backend]
     enabled = yes
     type = graphite
     destination = localhost:2004
     prefix = nd
     hostname = server1
     update every = 10

Restart netdata and influxdb

Expected behavior: [What you expected to happen]
I have enabled basic auth(username and password) in influxdb. So, the client can only be connected to influxdb if it provides correct username and password.
So, influxdb should not accept this data as no username and password is provided.
Actual behavior: [What actually happened]
But influxdb accepts this connection even when nothing is provided.
Influxdb must ask for username and password from netdata.
So, are you aware of this thing? Does this count as a bug?

In my eyes this doesn't count as a bug. InfluxDB auth is only available for the InfluxDB HTTP API. Netdata doesn't access InfluxDB via its HTTP endpoint but via its graphite endpoint. I have opened a similar issue at netdata to support HTTP auth, and Netdata's maintainer told me it is using graphite which doesn't use auth at all. As you can see in the influxdb.conf, the auth-enabled flag is in the [http] subsection and not in the [[ graphite ]] section.
There is already a feature request at Netdata requesting native InfluxDB connection. See https://github.com/netdata/netdata/issues/3824


statistics tutorial doesn't work with python3.7

Trying to run the stats tutorial (02-statistics) and that fails with python3.7 (AttributeError: type object 'Callable' has no attribute '_abc_registry') while succeeding with python2.7

try reinstalling the packages pandas,notebook and matplotlib for python3.

try reinstalling the packages pandas,notebook and matplotlib for python3.

Try this, pandas has stopped supporting python2 I know for sure (helped with transition) and has since been changing all their code to support only 3. definitely update all your packages

@pavelgrib Did the above suggestions by @ForTimeBeing and @ManthanKeim work for you?

Just tried the tutorials on Ubuntu LTS, with Conda 3.7.3, with a newly created virtualenv. The 02-statistics worked with no issues.

Only had to pip install matplotlib and pip install pandas.

Closing this issue for now. Please comment and re-open for any follow-up.


Space in link

Looks like flexmark does not accept spaces on links (even use GitHub markdown profile)
For instance:
[sometext](some file)
While GitHub flavored markup supports it.

@robinshine, this is one difference that GitHub Doc has that the emulation does not handle. GitHub only allows it in documents but no longer in comments. Comments have been migrated to CommonMark syntax.
Spaces need to be URL encoded: sometext to make it parse correctly
I will take a look at the link parsing to see if it can be changed to allow spaces in links with a configuration option.

@robinshine, just tested a link with a space in a GitHub document and it was not recognized as a link. https://github.com/vsch/GitHubWikiTest/blob/master/Test.md
However, I tested adding spaces to explicit link address characters and seems to work but may result in some parsing weirdness. I only have basic tests for links with spaces. Use it with well formed Markdown. Don't break link address with a space across lines. It will not be recognized. Line break before a title is allowed as per CommonMark rules.
I will add the option to allow spaces in links but it will be disabled by default and if you want this then you will need to set it explicitly in the options you pass to Parser.builder()
Here is the version comment:

Add: #78, Space in link, option Parser.SPACE_IN_LINK_URLS, default false. When enabled
will allow spaces in link address as long as they are not followed by a ", used to start the
title of the link. Link address wrapped in <> will include any trailing spaces.
Auto-links, wrapped or not in <> cannot have spaces. These require URL encoding the space
with %20.

@robinshine, repo updated. Maven com.vladsch.flexmark:flexmark-java:0.18.3 released. Use this option if you really feel you need spaces in links.

@vsch Thanks for the quick turnaround. I tested and it works like a charm!
BTW: AST with source information available is really helpful. I can easily create an extension to make users changing task status simply by checking/unchecking task item without needing to actually edit the markup.

@robinshine, you are welcome.
The AST source tracking was a must have because the library was created to replace pegdown parser in my Markdown Navigator plugin for IntelliJ IDEA and the rest of their excellent IDEs.
pegdown's source information was limited to node start, end offset. To properly syntax highlight parts of a node I had to re-parse each node's text and keep track of the resulting offsets. Very, very error prone, hard to debug, hard to test and a PITA to maintain. I wanted to avoid this at any cost.
In flexmark-java, I went a step further by making all text in the AST have source offset information, if it is derived from the source input.
This simplifies getting source information about a part of the node's text to manipulating it as represented by BasedSequence extension of CharSequence, and then getting the offsets from the result. You can subSequence(start, end).trim() for example, then get the offsets without worrying about the details of how the preceding text manipulations are mapped to offset operations.
Saying that this approach is a lot simpler than doing the text manipulation and tracking the offsets in parallel is an understatement.
Enjoy the library and let me know if there is something missing or you can't find an elegant solution to a problem for your use case.


[Bug]: response_synthesizer should allow to set tool_choice

Bug Description
We use a response synthesizer that returns a pydantic class:
    response_synthesizer = get_response_synthesizer(
        llm=llm,
        output_cls=output_cls,
    )

The LLM (anthropic 3.5 sonnet) seems to sometimes also return reasoning as text as well as the pydantic object. When this is the case, the astructured_predict call fails.
I believe one fix for this could be to be able to. set tool_choice (https://docs.anthropic.com/en/docs/build-with-claude/tool-use).
Version
0.10.63
Steps to Reproduce

use an anthropic llm with function calling
use a response synthesizer with output_cls

Relevant Logs/Tracbacks
File "/usr/local/lib/python3.11/site-packages/llama_index/core/instrumentation/dispatcher.py", line 290, in async_wrapper
    result = await func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llama_index/core/base/base_query_engine.py", line 64, in aquery
    query_result = await self._aquery(str_or_query_bundle)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llama_index/core/instrumentation/dispatcher.py", line 290, in async_wrapper
    result = await func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llama_index/core/query_engine/multistep_query_engine.py", line 104, in _aquery
    final_response = await self._response_synthesizer.asynthesize(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llama_index/core/instrumentation/dispatcher.py", line 290, in async_wrapper
    result = await func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llama_index/core/response_synthesizers/base.py", line 316, in asynthesize
    response_str = await self.aget_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llama_index/core/instrumentation/dispatcher.py", line 290, in async_wrapper
    result = await func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llama_index/core/response_synthesizers/tree_summarize.py", line 99, in aget_response
    response = await self._llm.astructured_predict(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llama_index/core/instrumentation/dispatcher.py", line 290, in async_wrapper
    result = await func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llama_index/core/llms/llm.py", line 401, in astructured_predict
    dispatcher.event(LLMStructuredPredictEndEvent(output=result))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
    raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for LLMStructuredPredictEndEvent
output
  value is not a valid dict (type=type_error.dict)

@matthiaskern Actually, this method is slightly old, I would recommend using
sllm = llm.as_structured_llm(output_cls)
query_engine = index.as_query_engine(llm=llm)

This means every time the LLM runs, it calls the output class

thanks @logan-markewich ! this does simplify our code quite a bit. however as far as I understand, I would still run into the same issue, right? Is there a way to set tool_choice with this approach?

Yea, no way to easily pass it currently
There is this PR that would just force it
https://github.com/run-llama/llama_index/pull/15706


Bad Access - libsystem_network.dylib network_proxy_decrement_outstanding

I am occasionally seeing this crash when AFNetworking is managing the network activity indicator. I have not yet found a reproducible sequence for this.

AFNetworking is not part of that backtrace. If you can reproduce this or demonstrate that AFNetworking could be doing something differently, please open a new issue.

It's the only library in the app that access the network activity indicator, and it has only been happening after upgrading from AFNetworking 1.3.4 to 2.5.0 So, I believe it is either an issue with AFNetworking or some part of AFNetworking that exposes a bug in the Apple's underlying framework.
Either way, if there is anyone who is seeing the same issue, please share any details you can add. Thanks in advance.

I'm also seeing the same random crash after upgrading to AFNetworking 2.5.3.

I am still seeing the same crash with AFNetworking 2.5.4. @adam-siton have you updated to 2.5.4, and if so, are you still getting this crash?

FYI for others who google search to this page. I believe this is an Apple bug (or at least not related to AFNetworking): http://stackoverflow.com/questions/32465570/crash-network-proxy-decrement-outstanding/34904494#34904494


Join/Leave Rooms

I've got a web service that will only connect to the wss:// protocol so I can't use flask-socketio. This package works perfect, except the one thing I need to do is emit messages to specific users sometimes. Sure enough you did a demo with a great solution for my issue.
This package doesn't use namespaces, but looking at the basic_enter_room function, could the same functions for joining/leaving rooms, emitting messages to specific rooms, be added to this class?
If @miguelgrinberg sees this, is it a heavy lift to add something like this? I don't know how much more there is to managing these connections and rooms, but your rooms solution is perfect for me I just need need the wss:// protocol.
If preferred, I'd be happy to do a pull request if it's as simple as I make it sound. :)

I guess it is possible, but this package isn't the right place for such a hight level feature. You can create a separate package that implements rooms on top of it, though.

Fair enough. This was just the only stable package I could find that supported the wss protocol. I'll roll my own. Thanks!

When you complete it maybe link in the comments here. I've seen this come up several times.

Will do. I still think it's worthwhile adding it to this package, especially if others asked for it too. flask-sock is a great compliment to flask-socketio for users who can't use http. I may just add some code to control the messaging in my code instead of an additional package on top of this. Whichever route I go, I'll share.

@nbyloff you seem to have a misunderstanding of what Flask-SocketIO can or cannot do. You can configure it to work with WebSocket only, with HTTP only, or with both HTTP and WebSocket together.
This package is a simple WebSocket integration. Since the WebSocket protocol does not have a concept of rooms, such a high-level feature does not belong here, regardless of being a useful feature, which I agree that it is.

@nbyloff you seem to have a misunderstanding of what Flask-SocketIO can or cannot do. You can configure it to work with WebSocket only, with HTTP only, or with both HTTP and WebSocket together.
This package is a simple WebSocket integration. Since the WebSocket protocol does not have a concept of rooms, such a high-level feature does not belong here, regardless of being a useful feature, which I agree that it is.

I did misunderstand, thanks for clarifying. I mentioned it specifically several times because I tried to demo a remote service that uses websockets and use socketio. I was told they can't/won't support socketio because the connection wasn't working and I should use this package instead. When I asked them why, I was told it's because the vendor only supports wss:// connections. (I guess the first example they saw was http?)
This library does work perfectly with their service, but since I've learned from you there's no reason it shouldn't work, I need to look again. And maybe point the vendor to this thread. :)
The whole conversation started with them over this error I was receiving:
"The client is using an unsupported version of the [Socket.IO](http://socket.io/) or [Engine.IO](http://engine.io/) protocols (further occurrences of this error will be logged with level INFO)"

# my versions
python-socketio 5.11.1
python-engineio 4.9.0

So I don't think it was a version thing. Their client is most likely extremely old and I need to do some debugging on the actual request their client is making.
Thanks for opening my eyes!

The problem is that you continue to mix up things that work at different levels. When you say wss:// all you are saying is that a WebSocket connection is used, but you are not saying what format the data that is exchanged is, which is something that the client and the server must agree on.
If the server is a Socket.IO server, then you need to use a Socket.IO client to connect. If the server is not a Socket.IO server, then you need to figure out what protocol the server speaks, and use a client that is compatible with that.

That's what I meant about the difference in "handshake". I started with the assumption the clients & servers were interchangeable like browsers and web servers. I know better now. Sorry for the confusion.


added verb for filters and minor improvements

I closed #96 and made this one because I forgot to make my changes on a separate branch.
Anyway here's the changelog:
param_parser.cr:

@route parameter was never unused.

context.cr:

changed ParamParser.new accordingly
added new route_defined? method, will be useful for other middlewares, also it’s lazily evaluated only once, so it can be called many times without any performances penalty.

route.cr:

both class methods didn’t really belong here in the first place, moved them to request.cr

request.cr:

there’s no need to call check_for_override! it’s now lazily called when you access .override_method on request
calling many times override_method does not result in many wasted checks anymore (other middlewares will want to know the override_method before the RouteHandler checks it). Before it would have made the check happen twice, therefore wasting the second check. I realized this when writing the before_all and needed to know the override_method but didn’t want this to be called again later for nothing.

route_handler.cr:

removed the call for check_override since it’s no longer needed.
added lookup_route because I need to call it from a context from a middleware, this fetches the route from the tree.

filters.cr:

all the verbs are available including all (before_all, before_get etc...)
Filter middleware is now lazily instantiated and added to the handlers as soon as a call to after_X or before_X is made. No need to call add_filters anymore.
add_filters removed
add was renamed add_route_filter to be a bit more explicit.
the call order of the filters is before_all -> before_x -> X -> after_x -> after_all
added comments before each method to make the intent even clearer.
added specs for all the new methods.

Btw there is a new crystal 0.12 warning embed_ecr is deprecated, use `ECR.embed``
PS: I'll write the gh-pages documentation tomorrow I'm too tired to do it tonight :sob:

Wow. This one packs a lot of changes. I need to review this first :smile:

Sure take your time :smile:

🤔

I'm off to sleep I'm exhausted I'll check every suggestion you might have tomorrow :smile:

Left some minor comments. Looks good to me otherwise.

While trying to sleep I realized there is a small issue, I'll fix it tomorrow.

This was preventing me from sleeping :sob:
Anyway I found the issue, which also led me to discover that the specs weren't run with the same RouteHandler::INSTANCE as normal Kemal app but instead they were using RouteHandler.new (obviously because it allowed to easily clear all the routes).
But this was making my change fail because RouteHandler::INSTANCE is used to lookup the route.
So I changed RouteHandler.new to RouteHandler::INSTANCE in the specs, and added Kemal::RouteHandler::INSTANCE.tree = Radix::Tree.new to get a new route tree for each spec.
I also made the changes @waterlink suggested, everything should be fine now and I'm dead tired :sleeping:  :zzz:

It seems very clean to me. But it's a huge change and @sdogruyol should dig it :)

LGTM. Great job @jmoriau :100:

Just a small note here.
You can use the built-in crystal tool format to format the code :+1:

Ah never used that, do you want me to do it and submit another PR ?

I've already done that :smile: Just a reminder for future PRs :+1:

Ah awesome then :smile: thanks


init search logs tutorial

Initialize migration of guides into docs

closing and restarting new branch from main with current changes


chore(main): release 1.0.1

:robot: I have created a release beep boop
1.0.1 (2024-07-07)
Bug Fixes

add unbuild (05f1c9f)
update template (f80873f)
update template (7f28848)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.1
:sunflower:


[Bug]: Uncaught TypeError: Cannot read properties of null (reading 'layout_title')

What happened?
The problem occurs when creating a dashboard. Error in browser console. No positive click on "add dashboard" and "save"
The problem occurs with vanilla filament.
Filament version: 3.2.52
Livewire: 3.4.9

How to reproduce the bug
composer require lara-zeus/dynamic-dashboard
php artisan vendor:publish --tag=zeus-dynamic-dashboard-migrations
php artisan migrate
Add plugin DynamicDashboardPlugin::make() to AdminPanelProvider class
Package Version
3.0.1
PHP Version
8.3.4
Laravel Version
11.0.7
Which operating systems does with happen with?
No response
Notes
No response

can you update to last livewire and filament and test again
cant get the issue in the demo: https://demo.larazeus.com/admin/layouts


FAD/Ubiquinone Duplicate Reactions

The Problem:
These pairs of reactions all represent reactions that are catalyzed by enzymes that use FAD as a cofactor, and the electrons harvested from their substrates eventually make their way from FAD to ubiquinone, but Human-GEM currently has one version that involves FAD and another that directly reduces ubiquinone with no explicit acknowledgement of the role of FAD:

substrates
ubiquinone-dependent ID
FAD-dependent ID

palmitoyl-CoA, (2E)-hexadecenoyl-CoA
MAR02035
MAR03121

propanoyl-CoA, acrylyl-CoA
MAR03211
MAR03212

isobutyryl-CoA, methacrylyl-CoA
MAR03751
MAR03752

2-methylbutyryl-CoA, tiglyl-CoA
MAR03783
MAR03874

glutaryl-CoA, crotonoyl-CoA
MAR04242
MAR04243

3-methylcrotonoyl-CoA, isovaleryl-CoA
MAR03769
MAR03770

butyryl-CoA, crotonoyl-CoA
MAR02366
MAR03136

lauroyl-CoA, (2E)-dodecenoyl-CoA
MAR02367
MAR03135

myristoyl-CoA, (2E)-tetradecenoyl-CoA
MAR02370
MAR03128

hexanoyl-CoA, (2E)-hexenoyl-CoA
MAR02372
MAR03156

decanoyl-CoA, (2E)-decenoyl-CoA
MAR02373
MAR03142

1-pyrroline-5-carboxylate, proline
MAR03838
MAR08611

fumarate, succinate
MAR04652
MAR08743

DHAP, sn-glycerol-3-phosphate
MAR00483
MAR00482, MAR00449, MAR01169 (see #599)

Aside from the last few reactions, if you look at any of the genes associated with any of these reactions, the overwhelming majority of other reactions associated with thse genes only have FAD-dependent versions (e.g. out of the 90 reactions ACADVL is associated with, MAR02035 is the only one that uses ubiquinone instead of FAD), so for consistency, it would make sense to just drop the ubiquinone-dependent member of each of these pairs.
Speaking of the genes associated with these reaction, some of them (e.g. ACOX1 and ACOX3) are peroxisomal and not mitochondrial, but they're also associated with a bunch of other mitochondrial reactions, so I'm making a separate issue about that.
I put this list together by manually looking into every reaction that involves ubiquinone; it probably could've been automated, but now that I've already done it manually, I don't see a reason to figure out how to automate it, since it's not clear if that automation would be applicable to any other situations that this issue wouldn't resolve.

What do you think about the fact that by removing the direct ubiquinone-reducing reaction, the mechanism can instead use another electron acceptor to oxidize FADH2? I assume the direct ubiquinone-reducing versions were formulated to explicitly assign ubiquinone as the electron acceptor (likely to represent enzymes acting in the mitochondrial membrane), but the separation into 2 steps allows FADH2 oxidation by other means, such as:

Reaction ID
Equation

MAR08743
FADH2 [m] + fumarate [m] ⇔ FAD [m] + succinate [m]

MAR03784
2-methylbutyryl-CoA [m] + FAD [m] ⇔ FADH2 [m] + tiglyl-CoA [m]

MAR03770
3-methylcrotonyl-CoA [m] + FADH2 [m] ⇔ FAD [m] + isovaleryl-CoA [m]

MAR03752
FADH2 [m] + methacrylyl-CoA [m] ⇔ FAD [m] + isobutyryl-CoA [m]

I haven't investigated in detail, so maybe these "alternatives" are actually dead-ends that don't work, or end up using ubiquinone anyway.

As I just mentioned over in #609, allowing FAD(H2) to move freely between any human FAD-dependent enzymes may be an accurate representation of reality: https://github.com/SysBioChalmers/Human-GEM/issues/609#issuecomment-1578686765
Although I now notice that SDHA is listed as one of the only the 6 human flavoenzymes that covalently bind their FAD, and SDHA catalyzes MAR04652 and MAR08743, so maybe in that case we should keep the ubiquinone-dependent version (MAR04652) and remove the FAD-dependent version to reflect the fact that the FAD bound to SDHA is (probably) not in equilibrium with free FAD, at least not to the extent that the FAD associated with the rest of the human flavoenzymes potentially is

Although I now notice that SDHA is listed as one of the only the 6 human flavoenzymes that covalently bind their FAD, and SDHA catalyzes MAR04652 and MAR08743, so maybe in that case we should keep the ubiquinone-dependent version (MAR04652) and remove the FAD-dependent version to reflect the fact that the FAD bound to SDHA is (probably) not in equilibrium with free FAD, at least not to the extent that the FAD associated with the rest of the human flavoenzymes potentially is

Sounds like a reasonable approach.

Also the other three examples you listed are all catalyzed by enzymes that transfer electrons from their FAD cofactors to ETF, as discussed in https://github.com/SysBioChalmers/Human-GEM/issues/608, and since ETF is free to diffuse throughout the mitochondrial matrix and is clearly capable of reversible redox of its FAD cofactor, allowing transfer of FAD(H2) between reactions associated with those enzymes in particular may not be particularly unrealistic

Agreed, thanks again for the helpful responses.

For these pairs of reactions, I assume the GPRs have been checked and confirmed the association to FAD, instead of ubiquinone @Devlin-Moyer?
Would there be other suggested changes to GPRs than removal of peroxisomal ones (e.g. ACOX1 and ACOX3)?

Yea if you look up any of the genes currently mentioned in these GPRs on Uniprot, they all say they have an FAD cofactor.
It turns out ACOX1 and ACOX3 are also associated with a number of other mitochondrial reactions, so I'm working on a separate issue to identify all of those reactions and remove ACOX1 and ACOX3 (it's complicated by the fact that ACOX1 and ACOX3 are the only genes associated with some mitochondrial reactions, so I'm trying to figure out if those reactions just don't happen in mitochondria or if some other enzyme actually localized to mitochondria catalyzed them)


Future proof Ambient Multicluster APIs and protocols

From Ambient GA RFC:

We want to prove viability of single network and multi-network, though single network is already effectively proven. As such, work here will be done on proving out multi-network.
Note: this is not about implementation, but about proving to ourselves that when we do implement it, there will not be any required breaking changes (APIs, protocols, …). This could be from designs, POCs, etc.

Related issues are #41375 and #42137

@keithmattix @nshankar13 do one of you want to own this?

Are we also looking to prove out primary-remote setups as well?

@therealmitchconnors and I can own this general effort

This is pending TOC approval on the scope listed in https://docs.google.com/document/d/13c_r1doDCoRoEHuxk_eV8rnPi7X2pQgUWay9KMSSUrs/edit#bookmark=id.c28ew7qb98s0 (at time of writing, 2/5 approved)

The directional approval on the multi-network doc is now complete, closing this out. Follow https://docs.google.com/document/d/13c_r1doDCoRoEHuxk_eV8rnPi7X2pQgUWay9KMSSUrs for the detailed design which will have its own issues once approved


Referring to nodes by node ID doesn't seem to work

@ault reported that they have an example (using v1.1.25) where fallback templates referring to a node by ID ("1064:someValue") don't work.
It seems that GetValue call in FallbackTextService.BuildDictionary is returning false so the relevant keys are returned in the dictionary but the values are empty. I thought it might be related to GetValue but GetSourceValue has the same issue.
Wondering if it's the fact we are passing culture for a node/property that doesn't vary by culture?

Fixed in next release.


NEXT-00000 - Do not add promotion when cart price is zero

1. Why is this change necessary?
When a promotion is added to a cart with a total price of zero, there will be an error thrown. This error is thrown for auto promotions or regular promotions.
2. What does this change do, exactly?
This change adds an extra check and does not process the discounts when the total price of the cart is zero.
3. Describe each step to reproduce the issue or behaviour.

Add a product with price 0
Add discount via auto promo or via normal promo code
A 500 error is thrown

4. Please link to the relevant issues (if any).
/
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

hey @jasperP98 how does it work when you refresh? Does the error keep persisting? Or are the items removed?

Hi @AydinHassan The items can not be persisted to the cart for auto promotions since the recalculation progress will throw a 500 error. When you try to add a discount code, this will throw an error when adding the discount, so after refresh the line item will still be in the cart. I made a quick video to show the behavior: https://drive.google.com/drive/folders/1D5l2eI9d4HKAo_K-jzHx6uvxPZIjTQpe?usp=sharing

@jasperP98 got it, thanks! Makes sense to me. The assigned team will take care of the PR soon :)

Hi @marcelbrode! I see that i missed a translation for my cart error. I will add this ASAP

Hi @marcelbrode! I see that i missed a translation for my cart error. I will add this ASAP

Hey @jasperP98! Nice catch! Lookin forward to your push :+1:

Oh, @jasperP98 and when, you're at it: A Unit test would be great :smile:

Your Pull Request has been merged! :tada:
Thanks for your contribution! :blue_heart:


Capture with Wireshark stopped working after upgrade to Fedora 26

Hello,
Capture with wireshark is no longer working after upgrade to Fedora 26. Nothing happens when I select capture interface.
Wireshark is installed on the system and is working fine outside of EVE.
➜  ~ dnf list installed | grep -i wireshark
wireshark.x86_64                       2.2.7-1.fc26                @fedora
wireshark-cli.x86_64                   2.2.7-1.fc26                @fedora
wireshark-gtk.x86_64                   2.2.7-1.fc26                @fedora
wireshark-qt.x86_64                    2.2.7-1.fc26                @fedora
➜  ~

Update - I was able to fix that by appending -gtk to wireshark command at script line 80 but not sure if that will work on other distros too.

Hello.
Works fine on a fresh install of Fedora 26. Looks like /usr/bin/wireshark symlink is missing after the upgrade.
Try to create the symlink using the following command:
sudo update-alternatives --auto wireshark

# check the symlink
ls -l /usr/bin/wireshark

BTW, wireshark-gtk is deprecated https://blog.wireshark.org/2013/10/switching-to-qt/


Configuration file

Save configuration for application in json file crmcodegenearatorconfig.json.
Information in config file:

login/password
connected organization
entities
link to crm

login/password encryption by AES


import window controls in dark version

Forgot to do that. Apps in dark version (such as Terminal) was without any window buttons.

Great to see! I would've forgotten


[RFC0721] Add generic revocation format for anoncreds

Adding a dedicated revocation format entry for AnonCreds in Revocation Notification V2 protocol.
I'm not sure if it's actually needed, as we can probably use the existing 'indy-anoncreds' if we consider it appropriate for both indy and the standardized anoncreds specification. At least from the formatting (with the :: as separator) it seems it suits pretty well if all AnonCreds object IDs are URIs.
Not sure also if it would be needed to version it (like anoncreds-v1) in case AnonCreds V2 data model require a different approach.

Discussed on the Aries Working Group call on 2023.06.28 and there was agreement to merge.
@genaris -- can you please update your branch and we'll get this merged?

Discussed on the Aries Working Group call on 2023.06.28 and there was agreement to merge.
@genaris -- can you please update your branch and we'll get this merged?

Done!


Some code improvements and removal of unnecessary code

Hey, I wanted to contribute to this project by adding the features mentioned in the "Future" section of the readme. But before I could get started I noticed that there are slight things that can be modified in this codebase. Here is a list of improvements:

Clarify the type declarations in the transform method of the pipe
Remove the unnecessary runtime type checkings, because TS typecheck will catch these errors in production build. This allows to reduce the pipe bundle size  (less code)
make the 'and' word the default conjunction
Updated the unit tests, all pass

This is great 👍 Thank you for the PR!
I didn't know Angular has type checking through pipes like this. Just one comment I left and I'll merge this in.

Hey, I saw your comment, but I actually changed it because it literally won't work for me. Don't you have to define absolute paths in the angular.json file for that import statement to work?

I think the angular.json path aliases are meant for paths within a single package. But when you have a built package, it should be available as such to others. You probably need to run ng build ngx-oxford before ng serve demo. Does that work for you?
I added info to the readme: https://github.com/bunnyfly/ngx-oxford#developer-setup

I have no chance of checking that right now, but if you know it works, you can change it before accepting the PR

Looks good! Thank you :)


v0.6.22

#935  👈 (View in Graphite)
main

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


Replace individual test projects with the solution in test.ps1

Seems like it is attempting to test Microsoft.Quantum.Xunit.csproj, even though that is not a test project.


Release Note 3.0.3

Behavioral Changes

Prohibited column updates on MOW tables with synchronous materialized views. #40190
Adjusted the default parameters of RoutineLoad to improve import efficiency. #42968
When StreamLoad fails, the return value of LoadedRows is adjusted to 0. #41946 #42291
Adjusted the default memory limit of Segment cache to 5%. #42308 #42436

New Features
Lakehouse

Introduced the session variable enable_cooldown_replica_affinity to control the affinity of cold and hot tiered replicas. #42677
Added table$partition syntax for querying partition information of Hive tables. #40774

View Documentation

Supported creation of Hive tables in Text format. #41860 #42175

View Documentation

Asynchronous Materialized Views

Introduced new materialized view attribute use_for_rewrite. When use_for_rewrite is set to false, the materialized view does not participate in transparent rewriting. #40332

Query Optimizer

Supported correlated non-aggregate subqueries. #42236

Query Execution

Added functions ngram_search, normal_cdf, to_iso8601, from_iso8601_date, SESSION_USER(), last_query_id. #38226 #40695 #41075 #41600 #39575 #40739
The aes_encrypt and aes_decrypt functions support GCM mode. #40004
Profile outputs the changed session variable values. #41016 #41318

Semi-structured Data Management

Added array functions array_match_all and array_match_any. #40605 #43514
The array function array_agg supports nesting ARRAY/MAP/STRUCT within ARRAY. #42009
Added approximate aggregate statistical functions approx_top_k and approx_top_sum. #44082

Improvements
Storage

Supported bitmap_empty as the default value. #40364
Introduced the session variable insert_timeout to control the timeout of DELETE statements. #41063
Improved some error message prompts. #41048 #39631
Improved the priority scheduling of replica repair. #41076
Enhanced the robustness of timezone handling when creating tables. #41926 #42389
Checked the validity of partition expressions when creating tables. #40158
Supported Unicode-encoded column names in DELETE operations. #39381

Compute-Storage Decoupled

Supported ARM architecture deployment in storage and compute separation mode. #42467 #43377
Optimized the eviction strategy and lock competition of file cache, improving hit rate and high concurrency point query performance. #42451 #43201 #41818 #43401
S3 storage vault supported use_path_style, solving the problem of using custom domain names for object storage. #43060 #43343 #43330
Optimized storage and compute separation configuration and deployment, preventing misoperations in different modes. #43381 #43522 #43434 #40764 #43891
Optimized observability and provided an interface for deleting specified segment file cache. #38489 #42896 #41037 #43412
Optimized Meta-service operation and maintenance interface: RPC rate limiting and tablet metadata correction. #42413 #43884 #41782 #43460

Lakehouse

Paimon Catalog supported Alibaba Cloud DLF and OSS-HDFS storage. #41247 #42585

View Documentation

Supported reading of Hive tables in OpenCSV format. #42257 #42942
Optimized the performance of accessing the information_schema.columns table in External Catalog. #41659 #41962
Used the new Max Compute open storage API to access Max Compute data sources. #41614
Optimized the scheduling policy of the JNI part of Paimon tables, making scan tasks more balanced. #43310
Optimized the read performance of small ORC files. #42004 #43467
Supported reading of parquet files in brotli compressed format. #42177
Added file_cache_statistics table under the information_schema library to view metadata cache statistics. #42160

Query Optimizer

Optimization: When queries only differ in comments, the same SQL Cache can be reused. #40049
Optimization: Improved the stability of statistical information when data is frequently updated. #43865 #39788 #43009 #40457 #42409 #41894
Optimization: Enhanced the stability of constant folding. #42910 #41164 #39723 #41394 #42256 #40441
Optimization: Column pruning can generate better execution plans. #41719 #41548

Query Execution

Optimized the memory usage of the sort operator. #39306
Optimized the performance of computations on ARM. #38888 #38759
Optimized the computational performance of a series of functions. #40366 #40821 #40670 #41206 #40162
Used SSE instructions to optimize the performance of the match_ipv6_subnet function. #38755
Supported automatic creation of new partitions during insert overwrite. #38628 #42645
Added the status of each PipelineTask in Profile. #42981
IP type supported runtime filter. #39985

Semi-structured Data Management

Output the real SQL of prepared statements in audit logs. #43321
The filebeat doris output plugin supports fault tolerance and progress reporting. #36355
Optimized the performance of inverted index queries. #41547 #41585 #41567 #41577 #42060 #42372
The array function array overlaps supports acceleration using inverted indexes. #41571
The IP function is_ip_address_in_range supports acceleration using inverted indexes. #41571
Optimized the CAST performance of the VARIANT data type. #41775 #42438 #43320
Optimized the CPU resource consumption of the Variant data type. #42856 #43062 #43634
Optimized the metadata and execution memory resource consumption of the Variant data type. #42448 #43326 #41482 #43093 #43567 #43620

Permissions

Added a new configuration item ldap_group_filter in LDAP for custom group filtering. #43292

Other

Supported displaying connection count information by user in FE monitoring items. #39200

Bug Fixes
Storage

Fixed the issue with using IPv6 hostnames. #40074
Fixed the inaccurate display of broker/s3 load progress. #43535
Fixed the issue where queries might hang from FE. #41303 #42382
Fixed the issue of duplicate auto-increment IDs under exceptional circumstances. #43774 #43983
Fixed occasional NPE issues with groupcommit. #43635
Fixed the inaccurate calculation of auto bucket. #41675 #41835
Fixed the issue where FE might not correctly plan multi-table flows after restart. #41677 #42290

Compute-Storage Decoupled

Fixed the issue that MOW primary key tables with large delete bitmaps might cause coredump. #43088 #43457 #43479 #43407 #43297 #43613 #43615 #43854 #43968 #44074 #41793 #42142
Fixed the issue that segment files, when being a multiple of 5MB, would fail to upload objects. #43254
Fixed the issue that the default retry policy of aws sdk did not take effect. #43575 #43648
Fixed the issue that altering storage vault could continue execution even when the wrong type was specified. #43489 #43352 #43495
Fixed the issue that tablet_id might be 0 during the delayed commit process of large transactions. #42043 #42905
Fixed the issue that constant folding RCP and FE forwarding SQL might not be executed in the expected computation group. #43110 #41819 #41846
Fixed the issue that meta-service did not strictly check instance_id upon receiving RPC. #43253 #43832
Fixed the issue that FE follower information_schema version did not update in time. #43496
Fixed the issue of atomicity in file cache rename and inaccurate metrics. #42869 #43504 #43220

Lakehouse

Prohibited implicit conversion predicates from being pushed down to JDBC data sources to avoid inconsistent query results. #42102
Fixed some read issues with high-version Hive transactional tables. #42226
Fixed the issue that the Export command might cause deadlocks. #43083 #43402
Fixed the issue of being unable to query Hive views created by Spark. #43552
Fixed the issue that Hive partition paths containing special characters led to incorrect partition pruning. #42906
Fixed the issue that Iceberg Catalog could not use AWS Glue. #41084

Asynchronous Materialized Views

Fixed the issue that asynchronous materialized views might not refresh after the base table is rebuilt. #41762

Query Optimizer

Fixed the issue that partition pruning results might be incorrect when using multi-column range partitioning. #43332
Fixed the issue of incorrect calculation results in some limit offset scenarios. #42576

Query Execution

Fixed the issue that hash join with array types larger than 4G could cause BE Core. #43861
Fixed the issue that is null predicate operations might yield incorrect results in some scenarios. #43619
Fixed the issue that bitmap types might produce incorrect output results in hash join. #43718
Fixed some issues where function results were calculated incorrectly. #40710 #39358 #40929 #40869 #40285 #39891 #40530 #41948 #43588
Fixed some issues with JSON type parsing. #39937
Fixed issues with varchar and char types in runtime filter operations. #43758 #43919
Fixed some issues with the use of decimal256 in scalar and aggregate functions. #42136 #42356
Fixed the issue that arrow flight reported Reach limit of connections errors upon connection. #39127
Fixed the issue of incorrect memory usage statistics for BE in k8s environments. #41123

Semi-structured Data Management

Adjusted the default values of segment_cache_fd_percentage and inverted_index_fd_number_limit_percent. #42224
logstash now supports group_commit. #40450
Fixed the issue of coredump when building index. #43246 #43298
Fixed issues with variant index. #43375 #43773
Fixed potential fd and memory leaks under abnormal compaction circumstances. #42374
Inverted index match null now correctly returns null instead of false. #41786
Fixed the issue of coredump when ngram bloomfilter index bf_size is set to 65536. #43645
Fixed the issue of potential coredump during complex data type JOINs. #40398
Fixed the issue of coredump with TVF JSON data. #43187
Fixed the precision issue of bloom filter calculations for dates and times. #43612
Fixed the issue of coredump with IPv6 type storage. #43251
Fixed the issue of coredump when using VARIANT type with light_schema_change disabled. #40908
Improved cache performance for high-concurrency point queries. #44077
Fixed the issue that bloom filter indexes were not synchronized when columns were deleted. #43378
Fixed instability issues with es catalog under special circumstances such as mixed array and scalar data. #40314 #40385 #43399 #40614
Fixed coredump issues caused by abnormal regular pattern matching. #43394

Permissions

Fixed several issues where permissions were not properly restricted after authorization. #43193 #41723 #42107 #43306
Enhanced several permission checks. #40688 #40533 #41791 #42106

Other

Supplemented missing audit log fields in audit log tables and files. #43303

View Documentation

行为变更

禁止在具有同步物化视图的 MOW 表上进行列更新。#40190
调整 RoutineLoad 的默认参数以提升导入效率。#42968
当 StreamLoad 失败时，LoadedRows 的返回值调整为 0。#41946 #42291
将 Segment cache 的默认内存限制调整为 5%。#42308 #42436

新特性

引入 enable_cooldown_replica_affinity 会话变量，用以控制冷热分层副本的亲和性。#42677

Lakehouse

新增 table$partition 语法，用于查询 Hive 表的分区信息。#40774

查看文档

支持创建 Text 格式的 Hive 表。#41860 #42175

查看文档

异步物化视图

引入新的物化视图属性 use_for_rewrite。当 use_for_rewrite 设置为 false 时，物化视图不参与透明改写。#40332

查询优化器

支持关联非聚合子查询。#42236

查询执行

增加了 ngram_search、normal_cdf、to_iso8601、from_iso8601_date、SESSION_USER()、last_query_id 函数。#38226 #40695 #41075 #41600 #39575 #40739
aes_encrypt 和 aes_decrypt 函数支持 GCM 模式。#40004
Profile 中输出变更的会话变量值。#41016 #41318

半结构化数据管理

新增数组函数 array_match_all 和 array_match_any。#40605 #43514
数组函数 array_agg 支持在 ARRAY 中嵌套 ARRAY/MAP/STRUCT。#42009
新增近似聚合统计函数 approx_top_k 和 approx_top_sum。#44082

改进
存储

支持将 bitmap_empty 作为默认值。#40364
引入 insert_timeout 会话变量，用以控制 DELETE 语句的超时时间。#41063
改进部分错误提示信息。#41048 #39631
改进副本修复的优先级调度。#41076
提高了建表时对时区处理的鲁棒性。#41926 #42389
在创建表时检查分区表达式的合法性。#40158
在 DELETE 操作时支持 Unicode 编码的列名。#39381

存算分离

存算分离模式支持 ARM 架构部署。#42467 #43377
优化文件缓存的淘汰策略和锁竞争，提高命中率及高并发点查性能。#42451 #43201 #41818 #43401
S3 storage vault 支持 use_path_style，解决对象存储使用自定义域名的问题。#43060 #43343 #43330
优化存算分离配置及部署，预防不同模式下的误操作。#43381 #43522 #43434 #40764 #43891
优化可观测性，并提供删除指定 segment file cache 的接口。#38489 #42896 #41037 #43412
优化 Meta-service 运维接口：RPC 限速及修复 tablet 元数据修正。#42413 #43884 #41782 #43460

Lakehouse

Paimon Catalog 支持阿里云 DLF 和 OSS-HDFS 存储。#41247 #42585

查看文档

支持读取 OpenCSV 格式的 Hive 表。#42257 #42942

优化了访问 External Catalog 中 information_schema.columns 表的性能。#41659 #41962

使用新的 Max Compute 开放存储 API 访问 Max Compute 数据源。#41614

优化了 Paimon 表 JNI 部分的调度策略，使得扫描任务更加均衡。#43310

优化了 ORC 小文件的读取性能。#42004 #43467

支持读取 brotli 压缩格式的 parquet 文件。#42177

在 information_schema 库下新增 file_cache_statistics 表，用于查看元数据缓存统计信息。#42160

查询优化器

优化：当查询仅注释不同时，可以复用同一个 SQL Cache。#40049
优化：提升了在数据频繁更新时统计信息的稳定性。#43865 #39788 #43009 #40457 #42409 #41894
优化：提升常量折叠的稳定性。#42910 #41164 #39723 #41394 #42256 #40441
优化：列裁剪可以生成更优的执行计划。#41719 #41548

查询执行

优化了 sort 算子的内存使用。#39306
优化了 ARM 下运算的性能。#38888 #38759
优化了一系列函数的计算性能。#40366 #40821 #40670 #41206 #40162
使用 SSE 指令优化 match_ipv6_subnet 函数的性能。#38755
在 insert overwrite 时支持自动创建新的分区。#38628 #42645
在 Profile 中增加了每个 PipelineTask 的状态。#42981
IP 类型支持 runtime filter。#39985

半结构化数据管理

审计日志中输出 prepared statement 的真实 SQL。#43321
filebeat doris output plugin 支持容错、进度报告等。#36355
倒排索引查询性能优化。#41547 #41585 #41567 #41577 #42060 #42372
数组函数 array overlaps 支持使用倒排索引加速。#41571
IP 函数 is_ip_address_in_range 支持使用倒排索引加速。#41571
优化 VARIANT 数据类型的 CAST 性能。#41775 #42438 #43320
优化 Variant 数据类型的 CPU 资源消耗。#42856 #43062 #43634
优化 Variant 数据类型的元数据和执行内存资源消耗。#42448 #43326 #41482 #43093 #43567 #43620

权限

LDAP 新增配置项 ldap_group_filter 用于自定义过滤 group。#43292

其他

FE 监控项中的连接数信息支持按用户分别显示。#39200

缺陷修复
存储

修复 IPv6 hostname 使用问题。#40074

修复 broker/s3 load 进度展示不准确问题。#43535

修复查询从 FE 可能卡住的问题。#41303 #42382

修复异常情况下自增 id 重复的问题。#43774 #43983

修复 groupcommit 偶发 NPE 问题。#43635

修复 auto bucket 计算不准确的问题。#41675 #41835

修复 FE 重启时流控多表不能正确规划的问题。#41677 #42290

存算分离

修复 MOW 主键表 delete bitmap 过大可能导致 coredump 的问题。#43088 #43457 #43479 #43407 #43297 #43613 #43615 #43854 #43968 #44074 #41793 #42142
修复 segment 文件为 5MB 整数倍时上传对象失败的问题。#43254
修复 aws sdk 默认重试策略不生效的问题。#43575 #43648
修复 alter storage vault 时指定错误 type 也能继续执行的问题。#43489 #43352 #43495
修复大事务延迟提交过程中 tablet_id 可能为 0 的问题。#42043 #42905
修复常量折叠 RCP 以及 FE 转发 SQL 可能不在预期的计算组执行的问题。#43110 #41819 #41846
修复 meta-service 接收到 RPC 时不严格检查 instance_id 的问题。#43253 #43832
修复 FE follower information_schema version 没有及时更新的问题。#43496
修复 file cache rename 原子性以及指标不准确的问题。#42869 #43504 #43220

Lakehouse

禁止带有隐式转换的谓词条件下推给 JDBC 数据源，避免不一致的查询结果。#42102
修复 Hive 高版本事务表的一些读取问题。#42226
修复 Export 命令可能导致死锁的问题。#43083 #43402
修复无法查询 Spark 创建的 Hive 视图的问题。#43552
修复 Hive 分区路径中包含特殊字符导致分区裁剪有误的问题。#42906
修复 Iceberg Catalog 无法使用 AWS Glue 的问题。#41084

异步物化视图

修复基表重建后，异步物化视图可能无法刷新的问题。#41762

查询优化器

修复使用多列 range 分区时，分区裁剪结果可能有误的问题。#43332
修复部分 limit offset 场景下计算结果错误的问题。#42576

查询执行

修复 hash join 时 array 类型的大小超过 4G 导致 BE Core 的问题。#43861
修复 is null 谓词运算部分场景下结果不正确的问题。#43619
修复 bitmap 类型在 hash join 时输出结果不正确的问题。#43718
修复一些函数结果计算错误的问题。#40710 #39358 #40929 #40869 #40285 #39891 #40530 #41948 #43588
修复一些 JSON 类型解析的问题。#39937
修复 varchar 和 char 类型在 runtime filter 运算时的问题。#43758 #43919
修复一些 decimal256 在标量函数和聚合函数里使用的问题。#42136 #42356
修复 arrow flight 在连接时报 Reach limit of connections 错误的问题。#39127
修复 k8s 环境下，BE 可用内存统计不正确的问题。#41123

半结构化数据管理

调整 segment_cache_fd_percentage 和 inverted_index_fd_number_limit_percent 的默认值。[#42224](https://github.com/apache/doris/pull/42224

logstash 支持 group_commit。#40450

修复 build index 时 coredump 的问题。#43246 #43298

修复 variant index 的问题。#43375 #43773

修复后台 compaction 异常情况下可能出现的 fd 和内存泄漏。#42374

倒排索引 match null 正确返回 null 而不是 false。#41786

修复 ngram bloomfilter 索引 bf_size 设置为 65536 时 coredump 的问题。#43645

修复复杂数据类型 JOIN 可能出 coredump 的问题。#40398

修复 TVF JSON 数据 coredump 的问题。#43187

修复 bloom filter 计算日期和时间的精度问题。#43612

修复 IPv6 类型行存 coredump 的问题。#43251

修复关闭 light_schema_change 时使用 VARIANT 类型 coredump 的问题。#40908

提升高并发点查的 cache 性能。#44077

修复删除列时 bloom filter 索引没有同步更新的问题。#43378

修复 es catalog 在数组和标量混合数据等特殊情况下的不稳定问题。#40314 #40385 #43399 #40614

修复异常正则匹配导致的 coredump 问题。#43394

权限

修复若干权限授权之后无法正常限制的问题。#43193 #41723 #42107 #43306
加强若干权限校验。#40688 #40533 #41791 #42106

其他

补充了审计日志表和文件中缺失的审计日志字段。#43303

查看文档

Thanks all who contribute to this release:
924060929 BePPPower BiteTheDDDDt CalvinKirs DarvenDuan Gabriel39 HappenLee HexyinUESTC JNSimba Jibing-Li LiBinfeng-01 Mryange SWJTU-ZhangLei TangSiyang2001 Tech-Circle-48 Toms1999 TszKitLo40 Vallishp Yukang-Lian airborne12 amorynan app/github-actions bobhan1 cambyzju catpineapple cjj2010 csun5285 dataroaring deardeng dtkavin eldenmoon englefly feiniaofeiafei felixwluo freemandealer freesinger gavinchou hello-stephen hubgeter hust-hhb ixzc jacktengg kaijchen kaka11chen liaoxin01 liugddx luwei16 morningman morrySnow mrhhsg mymeiyi nsivarajan qidaye seawinde shuke987 smallx sollhui starocean999 superdiaodiao suxiaogang223 w41ter wangbo wuwenchi wyxxxcat xiaokang xiaoming12306 xinyiZzz xy720 xzj7019 yagagagaga yiguolei yujun777 zclllyybb zddr zfr9527 zhangstar333 zhannngchen zhiqiang-hhhh zxealous zy-kkk zzzxl1993


Clarify API on accepting styles

One way to do this is add an actual API exposed to the consumer here.
<Omnibar
     getRowStyle = () => {}
     getListStyle = () => {}
     getRootStyle = () => {}
     getInputStyle = () => {}
/>

// for row style
getRowStyle = ({ isFocused }) => {

}

// for list style
getListStyle = ({ isOpen }) => {}

// for the wrapping component
getRootStyle = ({ isLoadingSearchResults, isOpen }) => {}

// for the input
getInputStyle = ({ isFocused /*, isInvalid */ }) => {}

Now this is not much better that just plain style object, but this can offer some advantage. the naming is clear; row, list, input, and root (we can rename this to container). Also this could induce memoization on the consumer side which could be benefitial

This is if we want to continue with using style prop.
I don't see any reason why we wouldn't go over to using classNames, then it would be agnostic to the stack used on the consumer side
import classnames from 'classnames',
import styles from './magic.css'

<Omnibar
     getRowClassName={({ isFocused }) => {}},
     getListClassName={({ isOpen }) => {}},
     inputClassName,
     containerClassName,
/>

Maybe this could pave way to have props such as height and width removed, since they are mixing concerns

I like this API design. Very similar to the render prop function used in paypal/downshift. I've thought about wrapping downshift inside of omnibar as well but haven't had time instead of writing a competing framework.
My only gripe is that downshift is too custom and my goals with omnibar is to make it just a drop-in with minimal code setup but allowing flexibility if needed.
Thoughts?

downshift could be something worth looking into, but I'm not sure if we need to go that far.
It seems to me that it would be pretty excessive to integrate that for now.
my train of thought is that we add a clean API ourselves, this shouldn't be too hard to do (from the top of my head)
I'll look into react-select on this and see what learning we can get from there...
will get back to you 😉

ohh,
I must've forgotten about this part, but react-select suggest that the one imports their css into your application. ugh 🤕
The real question now is if this is a good trade-off.
hmmmmmmm... here is my list of blabber

approach
pro
con

include "default" css on build for app
all responsibility and "decision" on the styling is determined on the implementation side. the API we write for custom styling can be even more simplistic, as long as the API is rich
obviously it doesn't look good if they don't do this, but this is hardly a bad thing.

down-shift
All rendering responsibility on the implementation side (styles, other props) and possibility with custom formatting of the output. it'll almost fulfill the idea of compound component composition
???

I like the down-shift approach now 🤣
let's try it out!!

Yeah, downshift may be better. I hate having to include an external css in my build. I just want to import my component module and it should look styled by default.

One note: for styling items, would make sense to move that responsibility to the resultRenderer to avoid compounding the <Omnibar/> component from too many props.
interface Item {
  title: string;
  url: string;
}

interface Props {
  item: Item;
  isFocused: boolean;
  isHighlighted: boolean;
}

export default function ResultItem(props: Props) {

  // apply styles here based on props.isFocused, props.isHighlighted, etc...

  return (

{item.title}

  );
}

I haven't jumped into trying to integrate downshift just yet,
I started with an approach (clean up API) and it already made a bit of a difference
I'm not entirely happy about this atm, but..
👍  now the consumer can return contextual styles, based on state of input and item (row).
👍  A personal opinion; this has also paved way to have unecessary props removed (such as height, width, maxHeight). I'm wondering what value these props provide. Care to shed light on this?
👍  I also found out that the responsibility of setting the "highlight" state on the item is shared between Omnibar and ResultsItem. We can think about how we deal with this on #13

I think we can close this now as our API has changed towards the render function over the last few diffs. Let's create a new issue/thread for discussing on how to expand the new API.


New NAP-6 submenu proposal: Layer > Navigate or Layer > Explore

I've been developing a plugin widget that centers the camera on a specific track. (In general, this method could work for any non-image layer type.) Currently, layers > visualize seems like the best spot for it but I feel like it would better fit in something called "explore" or "navigate".
Thoughts? CC @DragaDoncila @psobolewskiPhD @lucyleeow

Hmm I can see Layers -> Navigate as being useful. I think there's lots of camera positioning/jumping to specific spots type widgets. I think Layers -> Explore is more vague so I'd prefer Navigate

Any thought to putting camera stuff in View? 👀

@psobolewskiPhD yes... the thought is "general confusion" 😆
I don't think we really have a good understanding of what should go in View vs. what should go in Layers.
I've been kinda referring to this photshop menu bar guide to answer these kinds of questions for myself, just cause it gives me something concrete to look at. Based on this, it looks like the View menu is more about how you view the interface rather than the content, maybe? So a widget like what Juan is proposing would maybe still go in Layers because it's displaying stuff based on the content of the interface i.e. the data in the layer? Whereas View might show/hide toolbars, add a scale bar or ruler, add grid lines? But idk, I could be convinced either way.
I am meeting with @isabela-pf next week to talk a bit about UI/UX w.r.t menu contributions, and this is exactly the kind of question I'm hoping she can provide some insight into.


Wrap function

Wrap functionality resembling that of pkg/errors package is a much desired feature for our project, and I can see there are two PRs open for it. Can we either merge one of those or create a new one? I'd be happy to create a new PR if you want.

@sanggonlee thanks a lot for helping us with this!

Addressed by #11.