runtime/Optimize accounts loading (one pass)

Problem
During transaction execution, we load accounts twice - first during filtering program accounts, and second for loading the actual accounts before execution. And by default, loading program accounts will insert the loaded program accounts into read cache, which pollutes read cache unnecessarily. This is inefficient and can be optimized.
This is an alternative idea for https://github.com/anza-xyz/agave/pull/1056 and https://github.com/anza-xyz/agave/pull/1180
Summary of Changes

Add a new API for account-db load_with(), which takes a callback to indicate whether to insert the loaded account into read_cache.
Update program account loads and transaction accounts loads to use the new API to do finer control on whether to insert the account into read_cache after loading.
Implement one pass for loading the account.
Remove the filtering pass completely.
Reorder loading account before program cache replenish.

 The decrease of program cache time is more than the increase of accounts loading time. Total replay time decreased.
Fixes #

Codecov Report
Attention: Patch coverage is 97.47899% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 82.2%. Comparing base (7fcd8c0) to head (62a6488).
Report is 55 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #1157     +/-   ##
=========================================
- Coverage    82.2%    82.2%   -0.1%
=========================================
  Files         880      880
  Lines      235602   235717    +115
=========================================
+ Hits       193724   193812     +88
- Misses      41878    41905     +27

I think the massive increase in account load time can be explained by the fact that we are still loading missing program accounts twice. And now the second read is not in the read cache combined with the fact that program accounts are big cause this to be a lot. However, this would only make sense if it is roughly proportional to the program cache misses. Can you add program cache misses to the account load time plot so we can see if it correlates?

program cache misses seem to be similar.

Hm, problem is that the account load time has a very high base line while the program cache misses have a very low base line. So it can't explain it completely and there must be some other effect going on.

In master, we are doing a filtering pass on the accounts before actually loading the account. The filtering pass could be "prefetch" the accounts into memory by os, which benefit the loading. The filtering timing is counted into prog_cache stats in master, but no longer exists for this PR. That's why we see a big decrease in prog_cache time.
In this PR, we are not filtering and loading the accounts directly. We don't have the benefit of prefetching. Probably, that's why aaccount load_us is much higher than the base line.

So, in other words it is the same time spent, just measured / counted in a different category. Makes sense.

blue: with read_cache completely disabled.
red: with read_cache enabled.
load time with cache (red) is a better. But the replay time without cache (blue) seems to be a little better.

@HaoranYi ping? are you going to attempt https://github.com/anza-xyz/agave/pull/1408#issuecomment-2128383925?

@HaoranYi ping? are you going to attempt #1408 (comment)?

Yes, this is addressed.

Rebase the PR on top of master.

I'm profiling this now, ideally I'd like to get it in before we branch 2.0

rebase to master to pick up audit fixes.

rebase again.

Rebase on master.


while installing anvil on MacOS, svm gives Reqwest errors

while following instructions to install anvil and foundry:

I get the following error:
% cargo install --path ./anvil --bins --locked --force
  Installing anvil v0.1.0
    Updating crates.io index
warning: package `blake2 v0.10.4` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `cpufeatures v0.2.2` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `ecdsa v0.14.3` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `fastrlp-derive v0.1.1` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `plotters v0.3.2` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
   Compiling svm-rs-builds v0.1.8
error: failed to run custom build command for `svm-rs-builds v0.1.8`

Caused by:
  process didn't exit successfully: `~/foundry/target/release/build/svm-rs-builds-d4598cfda6d3f928/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'Failed to fetch releases: ReqwestError(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("github.com")), port: None, path: "/roynalnaruto/solc-builds/raw/ff4ea8a7bbde4488428de69f2c40a7fc56184f5e/macosx/aarch64/list.json", query: None, fragment: None }, source: TimedOut })',

This is a timed out request, could you try again with network access?

I do have network access, and I'm not on a VPN. And yet this error persists.
I tried the same on a better network and it still fails here.

Seems like the source url: https://raw.githubusercontent.com/roynalnaruto/solc-builds/ff4ea8a7bbde4488428de69f2c40a7fc56184f5e/macosx/aarch64/list.json isn't accessible.

Closing this based on the above comment

plz serve these binaries on release or other platforms, really hard to download files from github.com directly in command line


Add a set of equippables called Tools

Tools differ from Weapons since they (generally) don't end a turn upon use, and sometimes can have custom logic like being able to use the same tool multiple times in a turn, etc. Tools logically should be similar to Weapons and may even descent from them in code if it makes the most sense too.

[ ] Implement a Tools System

Do you have an idea for an example tool? I'm struggling to see what the use for them is - would they create something like a ladder to get yourself out if a crater? Would be useful to keep in mind when I implement the turn ending logic into weapons.

Items like the grapple hook, jetpack, parachute, etc. would fit into this category. If it happens to work that they fit well under weapons, that is fine too :)

All items should simply descend from weapons. Closing this.


Pls help

Hi,
i am new and wish to build this language-detector but unsure how to go about. Is it also possible to do it offline without internet? thanks

change the description title to be more clearer


A key problem in train.json and val.json

It seems that the object_id of target object across all scenes are same as FloorPlan_Train1_1, but I found the same objects in different scene have different objectId actually, which would make our programming fail, and influent the results of training. In fact, the script 'example_agent.py' already failed

We fixed this issue. You need to download the new dataset and re-install the framework.


Question: using a "nop" from a different thread as abort logic?

I've started looking into io_uring more and I really like it. I do have a quick question though to see if something I'm doing makes sense (because it appears to work perfectly), but I'm not completely sure that my logic is correct and I'd appreciate some feedback:
(I'm using liburing 2.1 for this.)
What I have is a thread that uses io_uring_wait_cqe() in a loop (similar to the web server example in the docs) to perform network operations. And I want io_uring_wait_cqe() to block while nothing is going on to save CPU cycles. However, I do want to have the option of a separate thread being able to notify the networking thread to terminate. I could of course use the timeout-based wait functions and regularly check if we were asked to terminate, but that seems inelegant.
The solution I came up with was to queue a NOP from the thread that wants to initiate the terminate operation in the ring, which will cause the networking thread to return from io_uring_wait_cqe() and then be able to detect that a termination was requested and exit.
In order to avoid any thread safety issues, I've added a mutex around the entire submission process (i.e. everything between io_uring_get_sqe() and io_uring_submit() is guarded by a mutex), which is normally only taken from within the networking thread (hence being uncontended in most cases), but in the event of a termination request from another thread that thread will also take it.
I've boiled this down to a very simple example that starts a thread that waits for a single event on the ring, and that queues a 10s timeout by default. If "wait" is supplied as the CLI parameter to that example program, the main thread does nothing else, otherwise the main thread will queue a NOP on the ring to cause a more immediate termination. (Obviously in the real application there are going to be real operations instead of just a timeout, and there won't be this slew of global variables.)
https://gist.github.com/chris-se/949e5ccc9dd38b78f11f924d6ab60749
This appears to work extremely well from my tests, but I want to be sure I'm not doing something here that contains a rare stochastic bug that I haven't run into so far. So I'd appreciate if I could get some feedback to whether what I'm doing is safe.
Also, even if this is perfectly safe, but there's an even better way to achieve this, I'm all ears.
Many thanks in advance!

Take a look at IORING_OP_MSG_RING, it allows to post a completion to another io_uring instance

Wow, thanks for the really quick reply!
It took a quick look at it, and it does look promising, but then I'd need yet another ring just to post to the original ring, which I don't have in this case. (I could create one, but it seems a bit excessive to have an entire ring just for sending a single termination signal.) There isn't by any chance a direct syscall that IORING_OP_MSG_RING corresponds to (like IORING_OP_RECVMSG corresponds to recvmsg())?
Furthermore, this appears to have landed only in the most recent kernels, and I do want to support kernels that are at least a bit older, so even if I can use this, I'd still need a fallback for kernels without this. (The fallback for even older kernels in my code is a standard socket syscall based implementation, which is definitely going to be slower than io_uring.)

Many thanks for the suggestion, I've now tried the eventfd together with a read request and that works like a charm, and is indeed a much better idea than what I had in mind. Thanks!


Prisma Example

Awesome, do you mind adding some README.md to it with some notes about what is prisma and anything a reader should know about the example? Just a brain dump of what you currently understand.

Added a README. PTAL.

you can pre-commit install in the root of the git repo, and you'll get auto-formatting fixes on commit

you can pre-commit install in the root of the git repo, and you'll get auto-formatting fixes on commit

Done (I think you need to approve the git workflows again).


Product data examples for solar control

This issues is based on #138. Please define the product data for solar control similar to
              "description": "This resource contains BSDF data about sample VX412005.",
              "hashValue": "d13baa5b91ea95462b1d26b3a3b1874b6be955af5a9630d1d1d0ea9bb981bf0e",
              "locator": "https://oc.ise.fraunhofer.de/ceef5dc1-2501-4ea9-a994-a1ae41ea1f11",
              "format": {
                "id": "a636f9ea-96c3-45ea-8fff-cf7a32978546",
                "timestamp": "2019-09-01T12:00:00+01:00",
                "name": "LBNL/Klems Full",
                "reference": {
                  "publication": {
                    "identifiers": {
                      "doi": "10.1016/j.solener.2017.05.065"
                    }
                  }
                },
                "mediaType": "application/xml; charset=UTF-8"
              },
              "archivedFilesMetaInformation": []

Method #144 uses this product data for the demonstration #132.

@christoph-maurer by incidence radiation, I wouldn't establish any property as "required", because sometimes we have multiples calls to the schema with the same wavelength (or the same direction), which can be defined in an upper level. Do you agree?

@christoph-maurer by opticalData/dataPoint, I wouldn't establish "emergent" as "required", because this is not relevant for hemispherical optical measurements. Do you agree?

@christoph-maurer by opticalData/dataPoint, I wouldn't establish "emergent" as "required", because this is not relevant for hemispherical optical measurements. Do you agree?

No. For direct-hemispherical measurements,
                  "emergence": {
                    "direction": "hemispherical"
                  },

is necessary.

@christoph-maurer by incidence radiation, I wouldn't establish any property as "required", because sometimes we have multiples calls to the schema with the same wavelength (or the same direction), which can be defined in an upper level. Do you agree?

No. To my understanding, there are no multiple "calls". The wavelength is always defined there and not at upper level.


MRG: Fix missing xlabel for epochs or raw.plot_psd when passing a subset o…

…f axis from a figure
closes #5816

... after latest.inc update :)

pushed latest.inc update

I lost your commits with a silly push -f. If you still have the
commits please push them here.

thx @larsoner for your help


HSIEO-5499: IPM classes renaming

Rename existing classes in IPM package based on proposal
Copy of zpm_to_ipm_rename (version 2).xlsx
:

@daimor  Branch updated with the fix; would you plz re-run the Action workflow?

@daimor  Hey Dmitry, we just updated the branch with a fix. Looks like the CI Action pipelines finished successfully.

@Beiming-Zhang, btw, if you did not know, CI produces an XML installer for every build.
Can be found in artifacts section of the latest build
https://github.com/intersystems-community/zpm/actions/runs/1761186706

Looks like running tests not working at all. It just skips it.
And GitHub actions execute tests with the verbose flag, but the output is just very empty.
In CI, it's Test and Verify section
could you check it?

@daimor  Is it ok to give me the permission to run actions? Some parts of the verification are difficult to test locally

@Beiming-Zhang! I provided you the access, please accept it
On Thu, Feb 3, 2022 at 1:43 AM Beiming-Zhang @.***>
wrote:

@daimor https://github.com/daimor Is it ok to give me the permission to
run actions? Some parts of the verification are difficult to test locally
—
Reply to this email directly, view it on GitHub
https://github.com/intersystems-community/zpm/pull/294#issuecomment-1028427620,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVHEPZEZP7RVRIN6UBDYLTUZGXSXANCNFSM5M27YZYQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Take sparsity seriously

Codecov Report

Merging #8 (dac562a) into master (ad56973) will increase coverage by 1.13%.
The diff coverage is 96.00%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   88.77%   89.90%   +1.13%
==========================================
  Files           1        1
  Lines          98      109      +11
==========================================
+ Hits           87       98      +11
  Misses         11       11

Impacted Files
Coverage Δ

src/ipopt.jl
89.90% <96.00%> (+1.13%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Move _scrollSpy creation into OnInitialized so it's available on time…

This fixes: #4849
What happened?
_scrollSpy gets initialized in the OnAfterRenderAsync of the of hte MudPageContentNavigation, which is fired after we are able to call AddSection.
Here is an existing Try that breaks: https://try.mudblazor.com/snippet/wEcGuROZAazxkebB
Here's the commit that introduced the issue:
https://github.com/MudBlazor/MudBlazor/blob/68a80de3e9be7646fe2b2c8ea0c076e615dcfaa9/src/MudBlazor.Docs/Components/
Expected behavior
Able to use/call AddSection in OnAfterRender without an exception and with a working menu.

Thank you!


Vd- view is down ?

Simon , any issue with vd view? It has been down for a long while.
Can you advise if there's an issue.
I sent you an email, can you reply to me there
Many thanks
Brian

Thanks for letting me know. I'll take a look. Probably an Azure thing

Now back online

Wonderful , cheers Simon
On Thursday 30 May 2024 at 13:04:25 BST, Simon Laszcz @.***> wrote:
Now back online
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Only portrait oriented application is not getting correct Image orientation after capture

Hi there,
In my application, I tried to use YPImagePicker directly with source integration. I have a portrait oriented application and I never needed to use UIDevice.current.orientation, when I tried to capture photos in landscape mode, images weren't rotated correctly. I have checked that my UIDevice.current.orientation is always unknown.
I tried your demo app and it doesn't have that problem so this is not a bug, however, I'm writing this because if someone gets this issue in his/her project, they can fix it.
So I added some codes to init and deinit of YPImagePicker to notify device from orientation changes.
public required init(configuration: YPImagePickerConfiguration) {
        YPImagePickerConfiguration.shared = configuration
        picker = YPPickerVC()
        super.init(nibName: nil, bundle: nil)
        picker.imagePickerDelegate = self
        //added
        if !UIDevice.current.isGeneratingDeviceOrientationNotifications
        {
            UIDevice.current.beginGeneratingDeviceOrientationNotifications()
        }
}

deinit {
        print("Picker deinited 👍")
        //added
        if UIDevice.current.isGeneratingDeviceOrientationNotifications
        {
            UIDevice.current.endGeneratingDeviceOrientationNotifications()
        }
    }

Thanks for your great job, I loved the library 😊🙏👍🏻

@bybash Thanks for taking the time to document this for other people.
I'm going to leave this open for now :)
I'll take a deeper look whenever I have some time.

@bybash next version will use the accelerometer directly  thanks to  @kf99916 PR https://github.com/Yummypets/YPImagePicker/pull/376/files.
So this will yield the correct orientation independently from DeviceOrientationNotifications. 🎉


Cannot read property 'generateKey' of undefined

Hiya Guys,
When I try to initialize fortify web everything works fine on a <IP_ADDRESS> connection as soon as I deploy it to our internal website i get the error message "Cannot read property 'generateKey' of undefined".
Could it be that this error comes because there is no SSL certificate on it and just uses plain old http?

Yep was indeed no SSL :).


Add user profile when generating outline and content

Make the content generation more personalized.

This is developing in https://github.com/s7ev3n/sine/tree/feat/user_preference.


Default key name is 'metal_default' when using latest build

On the latest build we're getting machines with the key pair name 'metal_default'. Looking at https://github.com/chef/chef-provisioning-aws/blob/master/lib/chef/provisioning/aws_driver/driver.rb#L872 I am not sure why this is happening. We have a latest master build of both chef-provisioning and chef-provisioning-aws

We expect to specify a key when we really start using this, so this is certainly not a killer "bug" if it is a bug at all. Just noting as something interesting...


bug: outgoing messages - missing grid area in drawer

Codecov Report

Merging #2157 (42302c6) into main (eb02730) will increase coverage by 11.20%.
The diff coverage is 66.66%.

@@             Coverage Diff             @@
##             main    #2157       +/-   ##
===========================================
+ Coverage   20.43%   31.63%   +11.20%
===========================================
  Files          81       98       +17
  Lines        2021     2399      +378
  Branches      269        0      -269
===========================================
+ Hits          413      759      +346
- Misses       1598     1624       +26
- Partials       10       16        +6

Files
Coverage Δ

...Hub.WebApi/GraphQL/Types/BalanceResponsibleType.cs
100.00% <100.00%> (ø)

...Hub.WebApi/GraphQL/Types/EsettExchangeEventType.cs
100.00% <100.00%> (ø)

...WebApi/GraphQL/Resolvers/EsettExchangeResolvers.cs
0.00% <0.00%> (ø)

... and 25 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix variance initialisers

Pull request for resolving issue #18706

Does it work now?

@fchollet Should I undo the changes then? I'm sorry for causing confusion

Yes, basically:

Please only make unit test changes that are related to the changes in your PR.
Don't follow existing unit tests in this file too closely, because they are not a good example in this case.

Just don't use variable scopes and you'll be fine. Also feel free to omit unit tests that are orthogonal to your changes, such as testDuplicatedInitializer and testZeroSize.
Just VarianceScalingInitializationTest with testNormal and testUniform will do just fine.

@fchollet Nothing has changed. I just rebased my branch onto the current master branch.

Sorry for the delay in getting this tested. Could you please rebase to fix the merge conflicts?

The rebase has been done. Just let me know when you need anything from my part.

@drpngx  This is a breaking change. It should be mentioned in release notes.

Makes sense. CC @av8ramit


[IMPROVEMENT] Added partial russian translation

[x] I have read and understood the Contributing Guidelines?
[x] I have checked that another pull request for this purpose does not exist.
[x] I have considered, and confirmed that this submission will be valuable to others.
[ ] Do the TravisCI tests pass?
[ ] Does the StyleCI test pass?

Added partial russian translation.

Thanks, could you rebase with master and run make fix then I will merge :)

Done)

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ea9421d). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master   #315   +/-   ##
=======================================
  Coverage          ?    85%
  Complexity        ?   1021
=======================================
  Files             ?    173
  Lines             ?   3288
  Branches          ?      0
=======================================
  Hits              ?   2795
  Misses            ?    493
  Partials          ?      0

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 ea9421d...c7be560. Read the comment docs.

Thanks


Mempool: Introduce event tracing

As it stands, there is no tracing for Mempool events.
E.g. tracing type for Mempool update events from @dcoutts:
data TraceEventMempool blk =
       TraceMempoolAddTxs      [GenTx blk] Int
     | TraceMempoolRejectedTxs [GenTx blk] Int
     | TraceMempoolRemoveTxs   [GenTx blk] Int

@CodiePP you mentioned you want to have some mempool metrics, e.g., TPS. Can you say which metrics and trace events you'd like to see in the mempool?

We would like to see events traced when a new transaction is added to the mempool (reports the number of tx in mempool) and when a block is created how many tx remain in the mempool.

data TraceEventMempool blk =
       TraceMempoolAddTxs      [GenTx blk] Int Int
     | TraceMempoolRejectedTxs [GenTx blk] Int Int
     | TraceMempoolRemoveTxs   [GenTx blk] Int Int

We should use fields or newtypes for these Ints. Also, using Word32/64 would rule out silly things like a negative number of transactions in the mempool.

We would like to see events traced when a new transaction is added to the mempool (reports the number of tx in mempool) and when a block is created how many tx remain in the mempool.
The above structure TraceEventMempool will probably report the number of tx that were added/removed/rejected from the mempool. This would mean that we had to do some bookkeeping. It would be easier to see events on the number of tx affected and the total number of tx in the mempool:
data TraceEventMempool blk =
       TraceMempoolAddTxs      [GenTx blk] Int Int
     | TraceMempoolRejectedTxs [GenTx blk] Int Int
     | TraceMempoolRemoveTxs   [GenTx blk] Int Int

@CodiePP:
I'm assuming the difference between rejected and removed is the following:

rejected: a new transaction that is submitted to the mempool is invalid and thus rejected.
removed: a transaction was submitted to the mempool, was valid, and made it into the mempool. After synching with the updated ledger, that transaction is no longer valid and is thus removed.

Is it the convention to trace one event containing a list of things instead of tracing many events each containing a single thing? For example, trace one TraceMempoolAddTxs [GenTx blk] vs. many TraceMempoolAddTx (GenTx blk). I don't know how these events are consumed, but in my mind, I would expect the latter to be "easier". On the producing side, it doesn't matter much.

Addressed by #696.


Release 0.10.0

Coverage increased (+0.3%) to 74.383% when pulling 0a92a66f60ef2dd8fdcc43b40472d4dba94f8df5 on philipc:release into 42990e42e64ad97dec7bb1ae4dd93bff2221eab2 on gimli-rs:master.


Add fullscreenDialog argument in PageRouteBuilder

Use case
PageRouteBuilder does not have an argument to specify fullscreenDialog for iOS devices while PageRoute has it.
Proposal
Add fullscreenDialog argument in PageRouteBuilder

PR merged.


(fix) update for upstream syntax

Upstream seems to have changed this again

:+1:

Published as 0.1.5.


Is it okay to use ssh to substitute serial console?

Currently I'm stuck with setting up serial console because for some reason it won't take any of my keyboard inputs once it prompts me with the login screen. Is it safe to just use ssh? Since it's an OS level work I'm not sure if there are any later projects that might potential mess with the network setting. Or is serial console absolutely necessary?

You could use qemu to run this project. By the way, linux based system will better to play with this project.

If you think about your question and what you are trying to accomplish, you should be able to understand that trying to log in using openSSH is not an option. First you removed the Existing OS and Replaced it with Your Own OS. Next the OS you are installing is Really Bare Bones. There is no IP Address Available. As there is also No Standard "C" Libraries installed for things like (stdio) which SSH requires. Even if you were to plug in an Ethernet Cable as there is No Network Manager Available. In some respects the OS at this stage doesn't even Understand what a Terminal does?
The Serial Connection in my mind establishes a Modem Like Connection. You agree on the protocol and then send a String to Transmit to the RPi. I am not sure how you could get QEMU established at this particular point in the Lessons. Please don't be offended by my answer, sometimes we are looking for a solution that just does not exist. Respectfully Robert Tonkavich


sonic-pi crashes at startup

Issue description
Sonic Pi crashed at startup with the following message:
sonic-pi: include/boost/interprocess/segment_manager.hpp:861: void* boost::interprocess::segment_manager<CharType, MemoryAlgorithm, IndexType>::priv_generic_find(const CharT*, IndexType<boost::interprocess::ipcdetail::index_config<CharT, MemoryAlgorithm> >&, boost::interprocess::ipcdetail::in_place_interface&, boost::interprocess::segment_manager<CharType, MemoryAlgorithm, IndexType>::size_type&, boost::interprocess::ipcdetail::true_, bool) [with CharT = char; CharType = char; MemoryAlgorithm = boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family>; IndexType = boost::interprocess::iset_index; boost::interprocess::segment_manager<CharType, MemoryAlgorithm, IndexType>::size_type = long unsigned int; boost::interprocess::ipcdetail::true_ = boost::interprocess::ipcdetail::bool_<true>]: Assertion `(ctrl_data->m_value_bytes % table.size) == 0' failed.

Steps to reproduce
nix-shell -p qt5.full sonic-pi supercollider --run sonic-pi
This is reproducible on master ( 4dc7cc8cc7eb6993c24ebdaeac074738c538cb2f ) and tho version below.
Technical details

system: "x86_64-linux"
host os: Linux 4.14.46, NixOS, 18.03.132545.c40fdcd26c2 (Impala)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.0.2
channels(root): "nixos-18.03.132545.c40fdcd26c2"
channels(lennart): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

@Phlogistique @kamilchm sonic-py is broken now because we don't have ruby 2.4 anymore but sonic-py doesn't support 2.7 yet: https://github.com/samaaron/sonic-pi/issues/2179
Should we keep it and can we fix it or should we remove it?

As far as I can see it is not fixed upstream. I have no plan to work on getting it fixed so I suggest removing it unless someone else comes up.

Should I create the PR for the removal?

I don't have time to fix it either. :+1: for removal.

Actually, wait: https://github.com/samaaron/sonic-pi/issues/2179#issuecomment-587404416

Yes, we have supported 2.7 for a while now :-)

Maybe isn't too hard then, to upgrade and fix remaining issues.

Seems like they have moved some files around and changed their build process.
I tried to figure out, but I haven't been successful.
If you don't want to put in the effort either, yes please create a PR for removal. :/

This issue can be closed now that https://github.com/NixOS/nixpkgs/pull/82043 is merged.


[VSCode] Syntax highlight is broken for array types. string[] should highlight

hi,
I am interested in it and would greatly appreciate it if you could kindly offer more insights or suggestions

Do you have something in mind you want to make? Feel free to join our Discord as well.


[MM-28414] - Add test for reply icon in archive channels

Summary
Added an e2e test for reply icon in archived channels
Ticket Link
https://mattermost.atlassian.net/browse/MM-28414

/update-branch

/update-branch

@nevyangelova Can you request for a review when SA change requests are addressed?

@saturninoabril updated, however I am a bit confused with the test script. It says that user should be able to reply to the post in the archived channel but that's not how the UI behaves, see screenshot. Users can't reply to a post in an archived channel. Perhaps they mean reply to the permalink message itself?

Hello @nevyangelova, thanks for checking. I thought that's actually the expected UI. Per test case, the expected is "Reply view opens, with no reply box available because it's an archived channel".
Btw, I tried manually and the confusing part for me is steps 4 and 5. When I saved the permalinked message (original post from archived channel), then click "Save" icon, such permalinked message is not showing up in the RHS "Saved Posts" list.  I've asked @jgilliam17 to further clarify the test requirement.
4. Have another user click the permalink, then Save the permalinked message
5. Have that other user click the Save icon to view Saved Posts list, then click Reply on the post they just saved

@saturninoabril @nevyangelova I updated the test steps and added screenshots in MM-T1722. Let me know if you have any additional questions or need more info. Thanks.

Thanks @saturninoabril and sorry, I forgot to update the scope, this was due to the previous approach I was taking :D it got some getting used to the e2e tests for me.

Oops, I apologize for all the label updates 🙂, missed a pending review

@sudheerDev kind reminder to review


Looking for maintainer.

It looks like the current author is looking for a maintainer of this software: https://twitter.com/mattupstate/status/790184050640162816. I wrote another jwt flask extension that offers what this extension does, plus some extra goodies on top:

refresh tokens
token blacklist
fresh vs non-fresh tokens, with seperate endpoints only fresh tokens can access
option to store tokens in cookies and csrf protect the endpoints
easy way to add additional claims to the jwt

You can view the code here (link to the documentation is in the readme)
https://github.com/vimalloc/flask-jwt-extended
I was thinking of reaching out to the author and trying to merge my extension into this one. However, it might cause some pretty big breaking changes. I could probably alleviate most of them by making sure all the functionality of this extension existed in mine, but marking the breaking changes as depreciated, in order to give users a chance to migrate their code. But before I start looking at that, I was wondering if anyone would actually be interested in this? I would love to get feedback before I offered to start making changes that people may not want.

@vimalloc (cc @mattupstate): I've just started on a package that is dependent on flask-jwt called flask-praetorian (https://github.com/dusktreader/flask-praetorian). I am considering adopting flask-jwt if there doesn't seem to be any interest from other folks in taking over maintainership.

I'm not interested in maintaining this, but I'm pretty interested in having it up to date.
As far as I can see right now this extension is incompatible with current recent flask release (0.12), so I'll have to go look elsewhere or implement it myself. Whoever considers taking over this project - yes, there is interest in it, and I don't mind breaking changes as long as the version number is changed respectively and semver maintained.

With how long it has been without contact, I wouldn't hold my breath on this project being maintained again anytime soon. As an alternative, Flask-JWT-Extended is still growing and being maintained if you don't mind how it is opinionated (I'm the author, so I'm of course biased). If you want a way to just use simple JWTs for fast prototyping, at this point I think using pyjwt directly in your application is probably the best way to go.

@vimalloc I already have an issue in flask-praetorian to see how well I can transition to flask-jwt-extended. It is pretty opinionated, but if the api is pretty similar and I can use it in a light-weight way, that will work for me

I've switched to Extended. However for naming simplicity I would very much prefer Extended to take over this project, merge and rebrand into single functional and well supported flask-jwt.
Also, the Extended docs claim that asymmetric algorithms are not currently supported, but practically they actually are supported pretty well by underlying libs and only the Extended itself cannot handle the public/private keypair. I've fixed that, see pull request #40.

@vimalloc @alexykot I've elected to switch to using straight up PyJWT in my package flask-praetorian. I agree that flask-jwt-extended should probably just replace this package.


ebiten: API to get mapping between a physical button and a standard gamepad layout

Operating System

[ ] Windows
[ ] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] Xbox
[ ] Web Browsers

What feature would you like to be added?
Sometimes a gamepad has more buttons than the standard gamepad layout. If someone wants to use such extra buttons, the current standard gamepad layout APIs are useless since there is no way to know which button ID is an extra button or a button in the standard layout. So, let's consider to have APIs to know the mapping.
Why is this needed?
No response

Things are complicated. A button might be mapped to a standard axis, or an axis might be mapped to a standard button. So, I want to stand with these API that return just a bool value in order to avoid confusions.
func GamepadMapping(id GamepadID) GamepadMapping

type GamepadMappingType struct {}

func (*GamepadMappingType) IsButtonMapped(button GamepadButton) bool
func (*GamepadMappingType) IsAxisMapped(axis GamepadAxis) bool

Another suggestion:
type GamepadMappingItem struct {
    Type GamepadMappingItemType // std button or std axis
    // Details...
}

func (*GamepadMappingType) ButtonMappings() []GamepadMappingItem // A index is a gamepad button ID
func (*GamepadMappingType) AxisMappings() []GamepadMappingItem // A index is a gamepad axis ID

Knowing the exact mapping is also useful for display purposes during input configuration and similar. Like, if you have a standard layout for a controller and want to show a schematic indicating which actions correspond to each button under the current configuration in your game, you can't do it without knowing the exact mapping. So, the methods from the first proposal wouldn't help for that case.
Just to offer yet another perspective, the lowest level solution to get back all the relevant information would be GetStandardLayoutGamepadMapping() string. Of course, this is far from ideal and a struct would seem like a much better option, but UpdateStandardLayoutGamepadMappings(string) (bool, error) is already that low level and dependant on the SDL format.

Just to offer yet another perspective, the lowest level solution to get back all the relevant information would be GetStandardLayoutGamepadMapping() string.

My last suggestion is actually close to your suggestion. My suggestion treats a struct instead of a string. Returning a string doesn't work on browsers. In web browsers, there is a standard layout mapping wihtout SDL string formats.

This proposal might not be efficient, but this should reflect what we need:
// GamepadMapping returns a mapping of pairs with a standard button/axis and a physical button/axis.
func GamepadMapping(id GamepadID) []GamepadMappingPair

type GamepadMappingPair struct {
    Standard any // Either StandardGamepadButton or StandardGamepadAxis
    Physical any // Either GamepadButton or int // This will be type GampadAxis (#1718)
}

Go doesn't have a union type (yet).

I was thinking about UpdateStandardGamepadLayoutMappings(mappings string) and whether we would be able to unify getting the mappings and setting them with this new struct. Like, GetGamepadMapping(id GamepadID) []GamepadMappingPair and SetGamepadMapping(SDLID string, []GamepadMappingPair) error. The current update method is more general and powerful (updating multiple gamepad mappings at once), but in my opinion being able to manage this with the more explicit GamepadMappingPair structs would make the job easier for ebitengine users.

type GamepadMappingPair struct {
    Standard any // Either StandardGamepadButton or StandardGamepadAxis
    Physical any // Either GamepadButton or int // This will be type GampadAxis (#1718)
}

A mapping was not so simple. This has to consider axis scales and axis offsets. Hmm

I've implemented a prototype, and realized that the API might be useless to know actually unmapped physical buttons. For example, a PS5 controller has trigger buttons on its shoulder. These physical buttons are not mapped, but physical axes are mapped instead. So, StandardGamepadButtonFrontBottomLeft/Right are still available as buttons though the mapping doesn't include items for these physical buttons.

Let me postpone this task. I assume that this request is relatively niche.

Note to myself: apparently the index 17 and more are assigned for extra buttons in the Web API. This doesn't seem standardized or speced.

I think https://github.com/hajimehoshi/ebiten/issues/2775#issuecomment-2001940682 is not solvable.


Multimodal information extraction

Can you refer to the UBIAI tool design to export xfund and funsd datasets
https://ubiai.tools/NLP/

@tianchiguaixia please check this comment and this issue:
https://github.com/heartexlabs/label-studio/issues/2634#issuecomment-1251648670

Also check this PR in the LS converter:
https://github.com/heartexlabs/label-studio-converter/pull/127#issue-1378594350


How do i connect to & manage multiple namespaces ?

I would like to do the following.
//Establish socket connection with server
var parentSocket = Create a socket connection to a URL : http://myapp.com
//Create multiple namespaces and manage their life cycle (associated with parent connection) like mentioned below
var ns1 = parentSocket.createNameSpace('/ns1')
emit and recieve ping/pongs in ns1
recieve message in ns1
close ns1 when needed
--

Ideally i want to have only one socket connection and multiple namespaces from that.
Is there any reactive extensions written on top of this library. ? Please share if any.

CC: @nuclearace
Thanks in advance.

This is a base RFC 6455 conforming WebSocket library and since the spec doesn't have the notation of namespaces, neither does this library. That would be something you would need to build on top of this library. I assume from you referencing @nuclearace you are using the Socket.io client, which has the concept of namespaces. https://github.com/socketio/socket.io-client-swift

Yes, I think so. That being said, we don't maintain any of them, so I can't speak to any of them. I would suggest search Github and using your favorite.

@acmacalister : Thanks man 👍


Updating to V6 of the vbb transport rest API

resolves #15

You will need to update your IDs

You will need to update your IDs

Oh, did they change Stop ID's in the new API? Or which IDs you mean?

Yes they've updated the stop IDs in the new API

You can use the URL from the readme to find the updated Stop IDs

Yeah, I'm just worried about people who decide to update the widget and it will break their backward compatibility.

They disabled v5 API anyway, it stopped working, so there are no choices :)


README: Use SVG build badge

This PR changes the build badges to SVG for sharper readability ✨

too many changes/commits/conflicts for a simple change :) please retry ...


Propagate run-name, through whole CI pipeline. Closes #13449

propagate run-name down the CI pipeline.
See #13449

Integrated into main, thanks @rigazilla !


05 Dec 2024 - A11y Theme Builder Meeting Minutes

Date
2024-12-05 - 09:15am EST
Zoom info

Meeting link: https://zoom.us/j/91013899295?pwd=Qnh5UVN1aUZ4ak9tODgvMVNLNUg5Zz09
Meeting id: 910 1389 9295
Password: 123225
Call-in: +1<PHONE_NUMBER> US (New York) (Check calendar for more options)

Untracked attendees

Fullname, Affiliation, (optional) GitHub username
...

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[x] Convene & roll call (5mins)
[x] Display FINOS Antitrust Policy summary slide
[x] Review Meeting Notices (see above)
[x] Approve past meeting minutes
[x] Landing page update (@lwnoble)
[x] Mentorship project update (@omesh-omg)
[x] ...
[x] AOB, Q&A & Adjourn (5mins)

Minutes

Lise updated the team on Landing Page progress

Yessel is working on putting colors and fonts to the current wireframes

Trying out some of the values used in the new Ebay Playbook design system

Aaron gave a small update on his current and future looking SDK work w.r.t. the Mentorship Project and the dependency graph work
We went through the new issues in the board
After call wrapped up, Lise and Aaron stayed on and discussed how AA and AAA work in V1 and how it'll need to work in V2.  https://github.com/finos/a11y-theme-builder/issues/1053 updated with discussion results.

Decisions Made

[ ] ...

Action Items

[ ] (from last week) Lise to get Omesh and Aaron CSS and responsive breakpoints and behaviors for #820 design

will provide CSS for framework only for now

[ ] (from last week)Aaron and Evan need to break the Epic that will be worked on by the mentee into detailed and digestable issues
[ ] (from last week) Lise to work with Aaron to update video in mkdocs documentation
[ ] (from last week) Cody to look at pre-push hook
[ ] (from last week) Aaron to follow up with author of #1026
[ ] Aaron meeting with Lise to talk about backgrounds
[ ] Aaron meeting with Lise to talk about "awaiting feedback" issues

@lwnoble

Also attended by:
Cody - NearForm
Aaron - DFS
Kathleen - Black Rock


cyber_monitor no message bug fix

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


[Errno 13] Permission denied when executing with bdist_pex

It seems that this review released in version 1.4.6 has introduced a regression when executing pex with the bdist_pex target
running bdist_pex
Writing environment pex into dist/test-0.1.pex
error: [Errno 13] Permission denied: '/tmp/tmpaumuj9wb/.deps/tensorflow-1.10.1-cp36-cp36m-manylinux1_x86_64.whl/tensorflow/libtensorflow_framework.so'

The package that fails is tensorflow.
Minimal setup.py:
#!/usr/bin/env python3

import setuptools
import os

setuptools.setup(
    name='test',
    version='0.1',
    install_requires=["tensorflow==1.10.1"],
    packages=setuptools.find_packages())

It works when just calling the command line tool pex:
pex tensorflow==1.10.1
Can you have a look ?

Hrm. Will do.


Can you add a web based guide and check list

This guide is but would be better as a web site.

This is not a priority.


dataset preparing

hello, timmh. may I ask for your dataset sharing?  I can't download the blender open movie assets for preparing dataset.

So far I have only rendered a subset of the open movies, but feel free to download what I have from here.

My bad! I re-uploaded the dataset here


Clayforming didnt work

Clayforming didnt work

Could you elaborate the problem a bit more?
I tested with Version 1.0.5 of the mod and could not reproduce any problems.
In wich context did you encounter the Problem an what does/doesn't work?


Calculate the entered visa and final grade average in python

Welcome to Our Coding World. Note : For Hacktober Fest 22 Your PR will counted form 1st-Oct.


Spring Boot 2.4.2 and Azure SDK (Azure Storage Blob and Queue) - Application does not start anymore

Query/Question
We are using the azure sdk for java to interact with the azure storage account (blob and store). We are currently upgrading our backend services to spring boot 2.4.2. and it seems that the async tasks in the library are no longer executed. The application does not start, it simply stops on any interaction with the blob client or queue client (or times out, if we set a timeout). We have a feeling, that there are no reactor threads to pick-up the async part. Any idea what is happening here?
Why is this not a Bug or a feature Request?
We do not know if this is bug or an incompatability or wrong usage.
Setup (please complete the following information if applicable):
Spring Boot 2.4.2 and various starters
com.azure:azure-storage-blob:12.10.0
com.azure:azure-storage-queue:12.8.0
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Query Added
[x] Setup information Added

Hi @larsduelfer, thank you for submitting this issue.
There are known dependency mismatches between Spring Framework 2.4.x and the latest releases of the Azure SDK libraries. Spring Framework upgraded to a new major version of Reactor Netty (1.0.x) which is incompatible with the version that the Azure SDK libraries use (0.9.x). This may be the cause for the SDKs no longer working.
We are currently working on upgrading our dependency to 1.0.x as well. I'll update this as we progress on our upgrade.

Hi @larsduelfer, thank you for submitting this issue.
There are known dependency mismatches between Spring Framework 2.4.x and the latest releases of the Azure SDK libraries. Spring Framework upgraded to a new major version of Reactor Netty (1.0.x) which is incompatible with the version that the Azure SDK libraries use (0.9.x). This may be the cause for the SDKs no longer working.
We are currently working on upgrading our dependency to 1.0.x as well. I'll update this as we progress on our upgrade.

Hi @alzimmermsft, do you already know how long it will take until the new version is released? Days? Weeks? Months?

Hi @alzimmermsft, do you already know how long it will take until the new version is released? Days? Weeks? Months?

Hi @alzimmermsft just some more informationen about our setup. We are NOT using the spring reactive stack (webflux), just the spring mvc stack. Therefore, without the azure library, we would not have any reactor dependencies. That is, what makes me wonder, if that is the root cause. Nevertheless, an upgrade of the dependencies to matcht the ones in spring boot 2.4.2 is much appreciated.
From debugging, we saw that the reactor thread factory is being called and a thread called "parallel-1" is started but there are no reactor epoll threads as there were before the upgrade. I am wondering, which component is responsible for starting those. Can you provide some insights?

Hi @alzimmermsft just some more informationen about our setup. We are NOT using the spring reactive stack (webflux), just the spring mvc stack. Therefore, without the azure library, we would not have any reactor dependencies. That is, what makes me wonder, if that is the root cause. Nevertheless, an upgrade of the dependencies to matcht the ones in spring boot 2.4.2 is much appreciated.
From debugging, we saw that the reactor thread factory is being called and a thread called "parallel-1" is started but there are no reactor epoll threads as there were before the upgrade. I am wondering, which component is responsible for starting those. Can you provide some insights?

Hi @alzimmermsft I am currently trying to pin the problematic spring library that causes the application start to fail in combination with the azure sdk on the classpath. So far, I see that this is happening as soon as the following lib is on the classpath:
org.springframework.data:spring-data-jpa
I am really struggling to understand, which library (spring or azure) is causing the problem. I highly appreciate any help from your side in this regard. Since everyhing worked fine with spring boot 2.3.x, I still have a feeling that something changed with spring boot (maybe in the autoconfiguration) that is causing this. The main thread is blocked by an await() statement and it seems as if the thread that the main thread is waiting for, does not release the main thread again by calling the appropriate countDown() method in the CountDownLatch that is handed over to the other thread.

Hi @alzimmermsft I am currently trying to pin the problematic spring library that causes the application start to fail in combination with the azure sdk on the classpath. So far, I see that this is happening as soon as the following lib is on the classpath:
org.springframework.data:spring-data-jpa
I am really struggling to understand, which library (spring or azure) is causing the problem. I highly appreciate any help from your side in this regard. Since everyhing worked fine with spring boot 2.3.x, I still have a feeling that something changed with spring boot (maybe in the autoconfiguration) that is causing this. The main thread is blocked by an await() statement and it seems as if the thread that the main thread is waiting for, does not release the main thread again by calling the appropriate countDown() method in the CountDownLatch that is handed over to the other thread.

Hi @alzimmermsft, do you already know how long it will take until the new version is released? Days? Weeks? Months?

The current timeline is looking to fall in the middle, weeks, category. We've performed the upgrade process but are working on stabilizing our test runs and then will perform performance and stress testing validations before shipping.
@larsduelfer could you give a small code sample and POM configuration that I could use to help troubleshoot the issue further.

Hi @alzimmermsft, do you already know how long it will take until the new version is released? Days? Weeks? Months?

The current timeline is looking to fall in the middle, weeks, category. We've performed the upgrade process but are working on stabilizing our test runs and then will perform performance and stress testing validations before shipping.
@larsduelfer could you give a small code sample and POM configuration that I could use to help troubleshoot the issue further.

Hi @alzimmermsft, it took a while but here is now a link to a github repo with a demo app showing the issue on application start. In order to use it, you need to add a connection string to a mysql db (docker container, for example) and a connection string to an azurite container as well as the name of a "container" inside the emulated azure storage account. (see application.yml)
https://github.com/larsduelfer/azure-blob-store-issue
As is, the applications does not start. If you, for example, remove the @Component annotation from the BlobStorageHealthEndpoint class. The application will start. This was different before the sprint boot update where there was not issue with all beans contained in this repo.
It seems, that depending on the sequence how the beans are creates, the issue appears or does not appear.

@larsduelfer, there have been a few additional releases since this issue has been reported and all recently released Azure SDKs in the com.azure group should be compatible with Spring 2.4. Could you leverage azure-sdk-bom 1.0.3 to manage your Azure SDK dependencies.
https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/boms/azure-sdk-bom/README.md#adding-the-bom-to-your-project


The keras.layers.CategoricalEncoding layer removes batch dimension for single-element batches.

System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian stable
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.7, tf-nightly
Python version: 3.7
Bazel version (if compiling from source):
GPU model and memory:
Exact command to reproduce:

Describe the problem.
When tf.keras.layers.CategoryEncoding(output_mode="one_hot") is used on a single-element batch with a scalar value (i.e., input with shape [1]), it removes the batch dimension on the output, i.e., creates an output with shape [num_classes]. When an input with shape [2] is used, the output has shape [2, num_classes].
Therefore, if the CategoryEncoding is used in a model passing scalar-per-batch-example through it, the model breaks when used on a single-element batch.
Describe the current behavior.
The code
category_encoding = tf.keras.layers.CategoryEncoding(16, output_mode="one_hot")
for input_shape in ([1], [2], [3]):
  print("For input shape {} the CategoryEncoding produces output with shape {}".format(
      input_shape, category_encoding(tf.zeros(input_shape, dtype=tf.int32)).shape))

produces an output
For input shape [1] the CategoryEncoding produces output with shape (16,)
For input shape [2] the CategoryEncoding produces output with shape (2, 16)
For input shape [3] the CategoryEncoding produces output with shape (3, 16)

Describe the expected behavior.
I would expect the output of the above snippet to be
For input shape [1] the CategoryEncoding produces output with shape (1, 16)
For input shape [2] the CategoryEncoding produces output with shape (2, 16)
For input shape [3] the CategoryEncoding produces output with shape (3, 16)

Further Information
Note that the documentation at https://www.tensorflow.org/api_docs/python/tf/keras/layers/CategoryEncoding states that

"one_hot": Encodes each individual element in the input into an array of num_tokens size, containing a 1 at the element index. If the last dimension is size 1, will encode on that dimension. If the last dimension is not size 1, will append a new dimension for the encoded output.

So the described "remove batch-dimension if of size 1" issue can be seen as an application of this "remove the last dimension if of size 1" rule. However, I would argue that the "remove the last dimension if of size 1" should be only applied to non-batch dimensions.
If this is deemed to be a bug, the documentation has to be updated.
Contributing.

Do you want to contribute a PR? (yes/no): no

Standalone code to reproduce the issue.
https://colab.research.google.com/drive/1cXGc4bN0Cg660-oV3B7omvW9Sp8ebav2?usp=sharing

@jvishnuvardhan ,
I was able to reproduce the issue in v2.7 and nightly.Please find the gist of it here.

@foxik,
Looks like its expected behaviour.
input with shape [2] ==> output shape [2, num_classes]
import tensorflow as tf

category_encoding = tf.keras.layers.CategoryEncoding(num_tokens=4, output_mode="one_hot")
category_encoding(tf.zeros([2],dtype=tf.int32))

<tf.Tensor: shape=(2, 4), dtype=float32, numpy=
array([[1., 0., 0., 0.],
       [1., 0., 0., 0.]], dtype=float32)>

input with shape [1] ==> output shape [num_classes,] ==> numpy=array([1., 0., 0., 0.]
1-D Tensor ==> output shape ==> shape=(number_elements,)
import tensorflow as tf

category_encoding = tf.keras.layers.CategoryEncoding(num_tokens=4, output_mode="one_hot")
category_encoding(tf.zeros([1],dtype=tf.int32))

<tf.Tensor: shape=(4,), dtype=float32, numpy=array([1., 0., 0., 0.], dtype=float32)>
Example of 1-D Tensor
import tensorflow as tf
a = tf.constant([1, 2, 3, 4, 5, 6])
a
<tf.Tensor: shape=(6,), dtype=int32, numpy=array([1, 2, 3, 4, 5, 6], dtype=int32)>

Hi,
I understand that it can be seen as the application of the rule from the documentation (as stated above).
However, removing batch dimension seems very wrong -- a valid model will break when executed with a batch size of 1 (while it will work with batch sizes 2 or more). So personally I think the batch dimension should never be removed (i.e., that the rule about removing dimensions of size 1 should apply only for all-but-the-first dimensions), and that the current behavior is actually a bug.
Cheers ;-)

@foxik I think an issue with what you are proposing is we really can't assume a batch dimension at all. We need to support to flows generally speaking with preprocessing...
ds.map(preprocessing).batch(8)
ds.batch(8).map(preprocessing)

This makes our preprocessing as a whole much more flexible in terms of where it can be applied, particular when thinking about multi-worker settings. But it does lead to some ambiguous cases like this! Where we can't actually be sure at the layer level if a input with shape [1] is a batch or a single sample (and you would want to handle the output shape differently).
The best solution for dealing when dealing with batched scalars would probably be to add a second dimension to the input. A batch with one scalar element should have shape [1, 1], a batch with two scalars should have shape [2, 1], and the output will have shape [bs, num_tokens] in all cases. Would that work for you?

Hi,
thanks for the reply -- I did not think about using the layer in the tf.data pipeline, where single examples are processed (instead, I imagined the layer to be used only in the network, where the 0-th dimension is a batch dimension), so I understand why you want to keep the current behavior, even if it might cause problems in single-example batch inference.
We used the work-around with introducing an additional dimension ourselves, but it was surprising that we need to do it anyway.
Thanks for your answers, closing the issue. Cheers!


sequence and structure database

Hi. Can you add miracles or torrents for sequence and structure databases?
Download speed is very slow now.
Thanks.

Download speed recovered


fallback encoding

I opened an issue to here https://github.com/atom/encoding-selector/issues/27
But I think atom core is the right place.
In sublime there is two encoding options
One is default_encoding, the other is fallback_encoding
This is useful specifically for mixed encoding projects.
default_encoding

// Encoding used when saving new files, and files opened with an undefined
// encoding (e.g., plain ascii files). If a file is opened with a specific
// encoding (either detected or given explicitly), this setting will be
// ignored, and the file will be saved with the encoding it was opened
// with.
"default_encoding": "UTF-8"

fallback_encoding

// The encoding to use when the encoding can't be determined automatically.
// ASCII, UTF-8 and UTF-16 encodings will be automatically detected.

Summarizing my thoughts on this from the original Issue:

I agree that in specific situations it could be useful
In various other cases, it could be confusing or detrimental

If default_encoding is UTF-8 and fallback_encoding is ISO-8859-9 but the file is UTF-16, this strategy would use ISO-8859-9 instead of the correctly detected UTF-16

Given the above, I feel this would be best as a package rather than a core Atom feature.


Previous frame in the latent space

To complete video inference based on the first frame and make the generated situation more consistent with reality, simply adding the effect of the previous frame in the latent space is not very effective.

You are right. Indeed, our primary objective is to validate the feasibility of employing generative models as simulators. As for how to make the generator have better temporal consistency, we are also exploring it, and we expect growing interest from the research community in advancing the generator's capabilities.


Fixing broken apiserver feature gate logic for 1.9.3

What
A small fix in the logic for featuregate flags, if you are running kube < 1.11 these feature gates need to be explicitly set to true. The existing logic was to always set them to false.
Why
When the flags are set in the cluster.yaml they were not being applied in the cluster.

/assign @davidmccormick

Codecov Report

Merging #1593 into v0.11.x will decrease coverage by 0.06%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           v0.11.x    #1593      +/-   ##
===========================================
- Coverage    38.41%   38.34%   -0.07%
===========================================
  Files           74       74
  Lines         4605     4613       +8
===========================================
  Hits          1769     1769
- Misses        2591     2595       +4
- Partials       245      249       +4

Impacted Files
Coverage Δ

core/controlplane/config/config.go
63.01% <0%> (-0.28%)
:arrow_down:

core/nodepool/config/config.go
33.9% <0%> (-0.6%)
:arrow_down:

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 fba142b...1227710. Read the comment docs.

Thanks for your continued contributions Luke! 🙏


[Question] Line Chart zoom in/out on mouse scrolling

Hey hi everybody,
My question: Is it possible to do a zoom in and out using the mouse scroll ?
If not possible do you have any suggestion in order how to implement this (or if its there one open thread about it and how to use it).
Thanks in advance for any help,
Alan

Hi Alan,
I don't think this is possible right now, because also in pure ChartJs they use a plugin https://github.com/chartjs/chartjs-plugin-zoom for that.
A workaround might be difficult. Althought i should be possible to add the js-file to vaadin but as soon as you try to configure it you get stuck.
The best solution would be if I integrate the plugin directly into the addon. The addional js size shouldn't matter.
BR,
Michael

Hey hi Michael,
Ok ok I understand, so thanks for your prompt reply and let me know if I can help with something please.
Have a nice week ahead,
Alan

I will add support for it in the next release. As I want to have a typed api I will only support "String" and "Double" for the x and y value of the following options.
Let's see how this works out.
rangeMin: {
			// Format of min pan range depends on scale type
			x: null,
			y: null
		},
		rangeMax: {
			// Format of max pan range depends on scale type
			x: null,
			y: null
		}

Unfortunately the zoom/pan plugin is not actively maintained so this feature might be a little experimental ;)


Wrong View positions after presenting ModalViewController in iOS7

From one of my slides, I am calling a delegate method to present an UIImagePickerController from the MasterViewController. After hiding it, the views of all slides with speedVariance set, are positioned wrong.
Watch: https://youtu.be/_E6Haw8NNA4

@mschonvogel  I'm probably going to drop iOS 7 support :/ in the next versions.

Hi @mschonvogel I decided to drop support for iOS 7. I close this bug since it seems to be related to iOS 7 only, just let me know if you encounter it with iOS 8 / 9 too and I'll reopen the issue immediately!


[GitHub] [Chore] Remove useless state.yml

Purpose of this pull request
Same with https://github.com/apache/incubator-seatunnel/blob/dev/.github/workflows/stale.yml

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

@EricJoy2048 seems to have some error in changes-ci


ignite new should expand '~' for the boilerplate argument

What's going on?
ignite new <name of new project> --boilerplate=~\path\to\boilerplate fails to expand to \Users\<name of user>

The boilerplate option works fine if provide a full path:
ignite new <name of new project> --boilerplate=\Users\<name of user>\path\to\boilerplate

Steps to reproduce
Ignite a new project with a boilerplate option that begins with '~'
ignite doctor results:
System
  platform           darwin
  arch               x64
  cpu                8 cores                                              Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
  directory          /Users/derekgreenberg/Documents/Ignite2Experiments

JavaScript
  node               7.7.4        /usr/local/bin/node
  npm                4.1.2        /usr/local/bin/npm
  yarn               0.23.2       /Users/derekgreenberg/.yarn/bin/yarn

React Native
  react-native-cli   2.0.1

Ignite
  ignite             2.0.0-beta.8   /Users/derekgreenberg/.node/bin/ignite

Android
  java               1.8.0_73     /usr/bin/java
  android home       -            /usr/local/opt/android-sdk

iOS
  xcode              8.3.2

I think this is related to #985, @derekgreenberg.

Closing as duplicate of #985.


Retired EOL'd Ruby

What: 1.8.7, 1.9.2 and 1.9.3 have reaches their EOL. Is there any plan to drop support for those Ruby?
Why: It is to me for the sake of gem maintenance.
Please treat this issue just as a question.

Hey @joneslee85,
thanks for the proposal/question.
I think we'll still support those versions for now since we have customers still using those Ruby versions. But I agree with you in the "Why".
We'll discuss this internally. Thanks!


[dont merge] - Add Rainbow and WC support

This PR is an effort to get Bubki piped straight into our Rainbow wallets. It uses the excellent wagmi to handle the wallet connection and contract hooks.
A basic working demo can be found on the mint page at /mint-rainbow  (check preview URL below)
Next step would be to asses how much work it might be to connect the rest of the contracts such as staking etc, with  wagmi hooks.
Note: There seems to be an issue on mobile safari - walletconnect sends you to the appstore rather than straight to Rainbow App. The QR code from desktop seems to be working well however. If anyone knows why this could be please sing out.

Looks like the rainbow/appstore thing is a known issue
https://github.com/WalletConnect/walletconnect-monorepo/issues/444


[SPARK-28343][FOLLOW-UP][SQL][TEST] Enable spark.sql.function.preferIntegralDivision for PostgreSQL testing

What changes were proposed in this pull request?
This PR enables spark.sql.function.preferIntegralDivision for PostgreSQL testing.
How was this patch tested?
N/A

Test build #107729 has started for PR 25170 at commit 9ec8e4b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12856/
Test PASSed.

Test build #107729 has finished for PR 25170 at commit 9ec8e4b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107729/
Test PASSed.


Remove workflows now managed by the org

https://issues.redhat.com/browse/HACBS-2534

Codecov Report

Merging #187 (e3d0d2c) into main (2d598fb) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #187   +/-   ##
=====================================
  Coverage   1.19%   1.19%
=====================================
  Files          3       3
  Lines        167     167
=====================================
  Hits           2       2
  Misses       165     165

Flag
Coverage Δ

api
1.27% <ø> (ø)

controller
0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Confused terms for beginner

I saw that you use some kind of dataset like Alpha360, Alpha158, and some Chinese stock instrument - but without clearly explaination, or referencing. It's really difficult for any beginner who want to explore this Qlib framework
https://github.com/kyhoolee/qlib/blob/main/examples/benchmarks/README.md
Anyone can give me some easy and intuitive starting point of using Qlib framework

Here is a document for users who are new to the qlib project: Qlib Documentation. If you want to learn about the construction method of Alpha features, you can refer to this code: handle.py. I hope it will be helpful to you.

I saw that you use some kind of dataset like Alpha360, Alpha158, and some Chinese stock instrument - but without clearly explaination, or referencing. It's really difficult for any beginner who want to explore this Qlib framework https://github.com/kyhoolee/qlib/blob/main/examples/benchmarks/README.md
Anyone can give me some easy and intuitive starting point of using Qlib framework

可以参考这个qlib视频教程
https://www.cctalk.com/m/group/90710187


Editable shared tree bubble bench

Description

Adds a new shared tree implementation of Bubble Bench, specifically using Editable Tree.

Breaking Changes

Adds new exports from the shared tree folder.

Reviewer Guidance
Running the test locally

Bubble bench is currently at a state where it fails to run in a normal state with 2 clients due to the inability of the front end application to observe and react accordingly to backpressure on the server. So, at this point in time, to get it to run you must take the following steps:

execute the command npm run start
when navigating to the url/port the front end is running on you MUST put /manualAttach For example, localhost:8080/manualAttach
Note that this mode will run only 1 client. But, its still good for getting an idea of how editable shared tree compares to the other versions of bubble bench running 1 client.

For an example of the Bubble Bench Tree Structure: see the variable mockAppStateJsonTree in experimental/examples/bubblebench/editable-shared-tree/src/schema.ts
Understanding the class structure of bubble bench
1. app.tsx - The actual front-end application: experimental/examples/bubblebench/common/src/view/app.tsx

Here you'll see that the React component forcefully re-renders itself in a loop. During each render, the useEffect() method redraws the bubbles on the screen. It retrieves its local client (Client.ts) and iterates though its bubbles, checks for bubble collisions, and updates the bubbles coordinates and velocity accordingly. The same process is repeated in an n^2 loop that checks the local clients bubbles against the bubbles of each remote client. This infinite rendering process is constrained by the FPS of the app. If the FPS exceeds 24, new bubbles are created. If the FPS drops below 24, existing bubbles are deleted until the system has as many bubbles on screen as can be rendered at 23-24 FPS. Keep in mind that all clients, their respective bubbles, and the bubbles themselves are all nodes accessed from within the Shared Tree

2.  BubbleBench.ts - The starting point of the Fluid Framework related code for Bubble Bench: experimental/examples/bubblebench/editable-shared-tree/src/Bubblebench.ts

This class extends DataObject and is what instantiates a new shared tree or connects to an existing one. Pretty standard implementation but you can check if there are oddities.

3. AppState.ts - The controller for the front end application to create its local client, access data from remote clients as well as increase or decrease the bubbles of its respective local client experimental/examples/bubblebench/editable-shared-tree/src/AppState.ts

Upon instantiation this class creates a new local client with a preset number of bubbles. You will notice that when retrieving clients, getClients() what happens is that EditableTree nodes are first retrieved from the tree, and then these nodes are casted to Client classes before being returned.

4. Client.ts - Represents each 'user'/front end app connected to the tree.

For each client connecting to the application, one local instance of Client is created by AppState and inserted into the tree under the root node's clients field. Each client class very simply wraps over an EditableTree node, it overrides its getters and setters to access the client editable tree node underneath. You'll probably notice that the class seems redundant, but its purpose is to inherit from the common interfaces used amongst the other implementations of bubble bench, Similary to AppState, you'l see that when calling get bubbles() that an array of editable tree nodes its casted into an array of the Bubble class.

4. Bubble.ts - Reperents each and every bubble you see on the front end application.

This class, very similarly to Client.ts, wraps over an EditableTree node, it overrides its getters and setters to access the client editable tree node underneath. It has values for its position on screen as well as its velocity. Each client node contains a sequence of bubble nodes under its bubbles field.

Breaking Changes

Adds new exports from the shared tree folder.

There is no reason to format that as a quote.
Also that's not a breaking change (adding exports can't break existing code other than the edge case of collisions with import * from ..., but generally that pattern is discouraged and we don't count that as a breaking change).
Also, what matters to breaking changes is packages, not folders, so if that were a breaking change, it would make more sense to say adding exports to the tree package.

Reviewer Guidance
Running the test locally

Bubble bench is currently at a state where it fails to run in a normal state with 2 clients due to the inability of the front end application to observe and react accordingly to backpressure on the server. So, at this point in time, to get it to run you must take the following steps:

execute the command npm run start
when navigating to the url/port the front end is running on you MUST put /manualAttach For example, localhost:8080/manualAttach
Note that this mode will run only 1 client. But, its still good for getting an idea of how editable shared tree compares to the other versions of bubble bench running 1 client.

I'd prefer to see guidance like this in the relevant readme (so people looking at the code after this is merged have it), or if it is already there, at least note that here instead of duplicating the instructions.

@seanimam - Very excited to see this in the tree.  You've made my week!
@CraigMacomber - Thank you for shepherding it.


Build is failing

Hello, building the package is failing with this error:
error: builder for '/nix/store/7qlz44yq5kifav7g1mhmia7as3qzh8vz-python3.11-nvchecker-2.12.drv' failed with exit code 1;
       last 10 log lines:
       > ERROR tests/test_regex.py::test_regex_post_json
       > ERROR tests/test_regex.py::test_regex_post_json2
       > ERROR tests/test_substitute.py::test_substitute_prefix
       > ERROR tests/test_substitute.py::test_substitute_prefix_missing_ok
       > ERROR tests/test_substitute.py::test_substitute_regex
       > ERROR tests/test_substitute.py::test_substitute_regex_missing_ok
       > ERROR tests/test_substitute.py::test_substitute_regex_empty_to_pattern
       > ERROR tests/test_substitute.py::test_substitute_prefix_has_higher_priority
       > =========== 2 passed, 13 skipped, 74 deselected, 26 errors in 0.66s ============
       > /nix/store/3qnm3nwjajgqa771dmi2dnwxrw0kzq5m-stdenv-linux/setup: line 1578: pop_var_context: head of shell_variables not a function context

Thanks before!

Maybe already fixed by https://github.com/NixOS/nixpkgs/pull/291229 ?

I'm consuming the package from this repo flake.nix file at packages.default. Not sure if I'm also affected by the nixpkgs changes. I also tried using the nixpkgs provided by this repo's flake and build still failing.

maybe you use nixpkgs.follows in your flake.

@wrvsrx I tried with and without follows. I think it's because of nvchecker package that's being used to build nvfetcher like @berberman mentioned above. I'll just wait until that PR got into unstable and close this issue.

@budimanjojo nix build github:berberman/nvfetcher/367e2eaa92d8f5133c2c5ac03a80c0cf25f301b8 just works (367e2eaa92d8f5133c2c5ac03a80c0cf25f301b8 is the latest commit now). This issue only occurs in nixpkgs since nixpkgs have updated some dependency. You might set some follows or overlays, maybe you can provide a minimal example that can reproducbe this issue.

I think this issue has nothing to do with nvfetcher itself, so I'm closing it.


https://flutter.io/assets-and-images/ is out of date

Looks like it only got half-updated after my last pass at images.
For example, it still mentions AssetVendor.

Also the Asset variants section makes no sense at all...

The Specifying assets section should say that if you have an asset in images/foo.png then the name of the asset is images/foo.png (not just foo.png).

Thanks for noticing and filing this!

Should we just remove those sections of the doc in the meantime?

I think I fixed this eventually.


Investigate UI blocks on project load

It appears that there are some UI blocks on project load - much more than desktop and it runs design-time builds on the UI thread.
We should investigate - it's much more obvious under the debugger where it can block for 10 or 20 seconds at a time.

Now tracked by VSO 366684


Suffix-related bugfixes and tests and some refactoring

[x ] I have added an entry to docs/changelog.md
(I'm always thankful for this checkbox as I often forget)

Summary of changes
This was my attempt to clean up the code completely for suffix operation, as well as fixing the fact that reinstall-all was broken.
Major Changes

Fix reinstall-all to work with suffixed venvs
Add many tests

Test reinstall-all with installed suffixed package
New helper function mock_legacy_venv() to convert existing venv to look like old venv with missing or previous-version metadata
Add tests that mock legacy venvs (no metadata or old metadata version) to all commands that access venvs

Refactor code

eliminate some package arguments that were often None or not necessary anyway
try to eliminate ambiguity by renaming variables (e.g. many package renamed to venv_dir.name), now that it is possible for main_package != package != venv_name
Make new venv.main_package_name property which is a great convenience for code that accesses venvs

Changed inject to exit with PipxError and display instructions to reinstall venv when trying to inject package on pre-<IP_ADDRESS> venv with missing metadata (fixing an existing error condition found by new tests!)
Changed upgrade-all to raise PipxError and hence non-zero exit code if any individual venv upgrade had an error.
Added function _convert_legacy_metadata in pipx_metadata_file.py to centralize any adjustments needed for reading legacy metadata.
New venv.main_package_name made venv.get_package_metadata() unnecessary and it was removed.
Added help text to --suffix indicating that it is an experimental feature.

Minor / Incidental Changes

Added flake8-bugbear to .pre-commit-config.yaml to make its use of flake8 match our Lint tests
Added example of pipx install ./LOCAL_PATH to pipx install help text

TODO for later
pipx help text is now a little confusing, as it refers to PACKAGE when it could mean any of VENV_WITH_SUFFIX, VENV, INSTALLED PACKAGE, etc.
I at least tried to make the internal code more self consistent, referring to venv_dir.name, main_package, package to clearly differentiate what used to be used interchangeably in the code as package.
Test plan

Tested by running
To test the most obvious problem, that reinstall-all fails currently on suffixed packages:
> pipx install --suffix 2 pycowsay
  installed package pycowsay <IP_ADDRESS>, Python 3.8.5
  These apps are now globally available
    - pycowsay2
done! ✨ 🌟 ✨
> pipx reinstall-all
Traceback (most recent call last):
  File "/usr/local/Cellar/pipx/<IP_ADDRESS>/libexec/bin/pipx", line 33, in <module>
    sys.exit(load_entry_point('pipx==<IP_ADDRESS>', 'console_scripts', 'pipx')())
  File "/usr/local/Cellar/pipx/<IP_ADDRESS>/libexec/lib/python3.8/site-packages/pipx/main.py", line 591, in cli
    return run_pipx_command(parsed_pipx_args)
  File "/usr/local/Cellar/pipx/<IP_ADDRESS>/libexec/lib/python3.8/site-packages/pipx/main.py", line 194, in run_pipx_command
    return commands.reinstall_all(
  File "/usr/local/Cellar/pipx/<IP_ADDRESS>/libexec/lib/python3.8/site-packages/pipx/commands/reinstall.py", line 75, in reinstall_all
    reinstall(
  File "/usr/local/Cellar/pipx/<IP_ADDRESS>/libexec/lib/python3.8/site-packages/pipx/commands/reinstall.py", line 15, in reinstall
    venv = Venv(venv_dir, verbose=verbose)
  File "/usr/local/Cellar/pipx/<IP_ADDRESS>/libexec/lib/python3.8/site-packages/pipx/venv.py", line 82, in __init__
    self.pipx_metadata = PipxMetadata(venv_dir=path)
  File "/usr/local/Cellar/pipx/<IP_ADDRESS>/libexec/lib/python3.8/site-packages/pipx/pipx_metadata_file.py", line 68, in __init__
    self.read()
  File "/usr/local/Cellar/pipx/<IP_ADDRESS>/libexec/lib/python3.8/site-packages/pipx/pipx_metadata_file.py", line 144, in read
    self.from_dict(
  File "/usr/local/Cellar/pipx/<IP_ADDRESS>/libexec/lib/python3.8/site-packages/pipx/pipx_metadata_file.py", line 103, in from_dict
    self.main_package = PackageInfo(**input_dict["main_package"])
TypeError: __new__() got an unexpected keyword argument 'suffix'
>

P.S. Do I need a changelog entry for change in exit code in case of a problem with one or more venvs with upgrade-all?

Another question to consider:  It seems to me that since we have only one suffix per venv, the proper place for suffix in the metadata would be at the PipxMetadata-level of abstraction.  However, for implementation it seems much easier for it to be in the lower PackageInfo level.
Any opinions on this?  It would be good to resolve before the next release of pipx puts metadata v0.2 into the wild.


Fix broken link in 04

Previous link:
https://pytorch.org/vision/stable/auto_examples/plot_transforms.html#illustration-of-transforms
New link:
https://pytorch.org/vision/main/auto_examples/transforms/plot_transforms_illustrations.html

Thank you @vladimir-skvortsov !


Installation: instructions on how to run gitea on another port

Gitea version (or commit ref): 1.1.2 (pre-built binary)
Git version: 2.12.3
Operating system:
Database:

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite
[X] Not Relevant

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[X] Not relevant

Description
As far as I understand gitea is supposed to create its required directory structure + config file when run for the first time (./gitea web).
If the default port 3000 is already in use, gitea fails before creating these.
side effect: installing gitea, default port 3000 already in use
expected behaviour: ./gitea web detects default port already being in use, nevertheless creates default directories and files, then exits after a port-already-in-use warning
actual behaviour: ./gitea web fails & exits after bind failure, doesn't create files and directories
Interestingly, setting the PORT environment variable also doesn't help: Even when running PORT=3006 ./gitea web the bind failure message still mentions the default port 3000. But this may be another issue.
As a workaround I just created custom/config/app.ini myself using the config/app.ini from this repo.
Log
$ ./gitea web
2017/06/16 19:59:41 [W] Custom config '/home/git/gitea/custom/conf/app.ini' not found, ignore this if you're running first time
2017/06/16 19:59:41 [T] Custom path: /home/git/gitea/custom
2017/06/16 19:59:41 [T] Log path: /home/git/gitea/log
2017/06/16 19:59:41 [I] Gitea v1.1.2 built with: bindata, sqlite
2017/06/16 19:59:41 [I] Log Mode: Console(Trace)
2017/06/16 19:59:41 [I] XORM Log Mode: Console(Trace)
2017/06/16 19:59:41 [I] Cache Service Enabled
2017/06/16 19:59:41 [I] Session Service Enabled
2017/06/16 19:59:41 [I] SQLite3 Supported
2017/06/16 19:59:41 [I] Run Mode: Development
2017/06/16 19:59:41 [I] Listen: http://<IP_ADDRESS>:3000
2017/06/16 19:59:41 [....io/gitea/cmd/web.go:702 runWeb()] [E] Failed to start server: listen tcp <IP_ADDRESS>:3000: bind: address already in use

The only bug I'm seeing here is that PORT=3006 ./gitea web doesn't work. IMO Gitea should not create anything if it fails to start.

After having a look at gogs' documentation I found that ./gitea web -port 3006 works. This should be added to the gitea docs if it is intended functionality.

IMO Gitea should not create anything if it fails to start.

Having successfully installed gitea now I tend to agree. It could be helpful to make the error message more helpful with adding instructions on how to run gitea on another port, at least if all signs point to "probably an installation", though.

Hi schmittlauch, I had a similar dilemma when first starting out with gitea, but using gitea help and gitea help web I could discover this parameter. I agree that it should be part of the wiki, and also the change you requested :)

custom/conf/app.ini does not get created before you've completed the installation page

I cannot make gitea to work on non-default port. I am running gitea-1.1.2-linux-arm-7 on Raspbian. Config file has been generated and has an entry "HTTP_PORT = 8001". Config seems to be generally working (I have placed the git repositories in non-default location (NFS mounted QNAP) and gitea has created directories for LFS and my user, but it only runs on port 3000. I tried to pass parameters "--port 8001" and "-p 8001" but none of this works.

Closing this as above PR has been merged.

@techknowlogick Why not add this to the docker container by default? I think there is no security concern doing so!
I'm currently using the following to get everything working:
FROM gitea/gitea:latest

RUN apk --no-cache add libcap
RUN echo "setcap 'cap_net_bind_service=+ep' /app/gitea/gitea" >> /etc/s6/gitea/setup


Good idea, I can accept a PR for this feature


Fix socks5 proxy zh-cn doc as well

The upstream fix should be merged before fixing localized version.

#37309

/hold

/close
This is supposed to be sync'ed separately.


Not receive Exception Send

I have a project in Ploi with Larabug, and sending the test or even errors, it says it is sent to Larabug, but nothing arrives on the panel, what may be happening?

Can you try this on you local development with assign API credential same with your production/staging site?

Both local and production, the test submission returns as sent, but in Larabug, it does not receive.


fix: make some important changes in the documentation

@DanWahlin I made some changes as asked by HERE

Thanks for the updates @glaucia86! They should be live now.


add sqlserevr__alter_relation_add_remove_columns()

missing implementation for alter_relation_add_remove_columns macro in 0.21.0rc1
https://github.com/dbt-labs/dbt-core/blob/8442fb66a591c4f5353f8baaaaf62f846c5f5171/core/dbt/include/global_project/macros/adapters/columns.sql
leads to incompatible with t-sql default statement generation "alter table xxx add column" when trying to use "append_new_columns" option for incremental models

thanks for identifying! can you tell me how this macro needs to be changed? or would be willing to open a pull request for this?

at first glance looks as simple as removing  "column" from "add column" but needs to be tested carefully: the second point in our discussion on slack  was a bit more spooky:
https://getdbt.slack.com/archives/CMRMDDQ9W/p1636568890048600?thread_ts=1636568890.048600&cid=CMRMDDQ9W
for 0.21:
apparently there are some problems with "append_new_columns"  https://docs.getdbt.com/docs/building-a-dbt-project/building-models/configuring-incremental-models

"alter table add column" is not valid in t-sql, "column" keyword should be remved
some columns from other models are trying to get into the model - some problems with metadata collection - in the same statement as for the problem 1


connection closed

Source information
E-HENTAI 1.4.20
Source language
English
Steps to reproduce
when trying to download the manga which on e-Hentai. The download process always stops when there are only a few pages left and shows  “connection closed.” This issue only occurs with the e-Hentai. last week it was working perfectly fine, but now I’m unable to download anything at all.
Expected behavior
This should download successfully but not.
Actual behavior
It's only happened on e-HENTAI.
I also tried to change my internet or vpn,But it doesn't work,don't know what's happened with it.
Mihon/Tachiyomi version
0.16.5
Android version
Android12
Other details
I have already tried to solve this problem, but I haven't been able to resolve it.
I would greatly appreciate your help in resolving this issue. apologize for my poor English.
Acknowledgements

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

Can't seem to reproduce the problem.... not sure about anyone else


create a linkblog page

a blog/feed to forward links. URL with optional commentary. Automatically extract the title of the URL, with a default.

I've read this like 5 times and can't tell what you're getting at. Just like a page with links to external resources/friends?

A blog of just interesting or relevant things found on the web, like Jorn Barger's first blog. Examples:
https://www.somebits.com/linkblog/
https://www.somebits.com/weblog/ (another view of the same)
Maybe start by populating before publishing anything.
Different from the related references because it's less important, just "interesting stuff found on the web".


Update-buildkite-bot-settings

also need to allow github-actions bot
_from documentation:
allowed_list
Comma-separated list of users who are able to trigger this job
Value: user1,user2,user3
Default: _

:hourglass_flowing_sand: Build in-progress, with failures

Buildkite Build
Commit: 1a305950e3d5a63cc7912efadce6ba00338e11bd

Failed CI Steps

:linux: Test Linux

:green_heart: Build Succeeded

Buildkite Build
Commit: 2fec84c6f9b4971a086efb3b59081fd1dbf6f273

History

:broken_heart: Build #132 failed 1a305950e3d5a63cc7912efadce6ba00338e11bd


Covariance Estimation final for code review

Great work! Just a couple ideas:

Would it be possible to add more commenting, as you did in the FRED Factors file?
In terms of usage of this function, would you picture users choosing one of the functions and going with that? Or do you think it might make sense to have a top-line get_cov_mat or however you want to name it function where we recommend a default that does something more than .cov()

Great work! Just a couple ideas:

Would it be possible to add more commenting, as you did in the FRED Factors file?
In terms of usage of this function, would you picture users choosing one of the functions and going with that? Or do you think it might make sense to have a top-line get_cov_mat or however you want to name it function where we recommend a default that does something more than .cov()

Added some more commentary! I envision that these functions are simple enough that the user can pick 1 or more and go with that!


chore: publish packages with provenance

Contributes to #3748
Finally doing this even though the steps really were as simple as Taylor described 🙈 https://github.com/carbon-design-system/ibm-products/issues/3748#issuecomment-1802190991
What did you change?
Add workflow permissions Ensure workflow permissions include id-token: write and contents: write
Add provenance: true to publishConfigs
How did you test and verify your work?
GitHub actions are hard to test but perhaps we can do a prerelease after merge??

@allcontributors add @elycheea for code

@allcontributors add @elycheea for infra

@allcontributors add @elycheea for infra


Add encodeToText function

Similar to 'encode', this is a convenience function to get directly
the textual encoding of a route (which can be used, for example, in a href),
given that one has an 'Encoder' to a 'PageName'.

@meditans this looks like it's mixed in with a bunch of other stuff, including some changes to how we compile to js. Could you explain the other changes in this PR or, preferably, separate them out into other PRs?

Separated now.

How does this relate to renderBackendRoute, renderFrontendRoute, and renderObeliskRoute?

@meditans  @cgibbard ^ ?

Yeah, this feature is probably subsumed by renderBackendRoute, renderFrontendRoute, and renderObeliskRoute from Obelisk.Route. I wasn't aware of those at the time.
@cgibbard for confirmation


Feature proposal: Terminal

Possibility to open a split terminal window (on bottom for example) to be able to run something at the same time in a faster way and without leave the current window.

By terminal, do you mean something as in the existing terminal session (e.g. bash, zsh) or Python (e.g. Sublime Text)?

Bash or zsh.

Heh, yep. I was going to say it's YAGNI/breaks the Unix Philosophy as tmux can handle that and much more =P

I know some editor that does that, don't remember now if it's jed or other.

I agree that this could be nice to have, but also think that tmux would probably do the job better.
If I'm on a server without tmux I usually just SSH into it with two different terminals.
I wouldn't object if someone wants to implement this as a module when the API supprts it, but unfortunately I won't have time to do it, so I'll close this for now.


Delinting and cleanup

We have accumulated a lot on linting warnings.
I'm going to run pylint, ruff and black and clean up as many as I can without changing any functionality, and then #pylint: disable these more complicated ones

closed with #123


refactor: now returns as dict

What does this pull request change?
Make it easier to specify which one you want.
Why is this pull request needed?
Issues related to this change
#357

This task was a bit more complex than I thought, and requires updating the UiPluginContext.
Please see https://github.com/equinor/dm-core-packages/pull/377 for inspiration :)


Add support for deleteActivity and updateActivity

Is your feature request related to a problem? Please describe.
We currently cannot use the emulator to test bots that use deleteActivity and updateActivity. These are pretty commonly used methods in real bots.
Describe the solution you'd like
Add support for these 2 methods.  According to @tomlm this is dependent on support being added to webchat. I've opened a ticket on that repo as well.
[enhancement]

Unclear channel support roadmap for update and delete activity. @seaen; @compulim - let's triage this for webchat support separately.

Any news on this feature? We need this feature badly.

As far as I know, the status last given by the Direct Line service still stands:

support for Update and Delete within the Direct Line service remains on the backlog with low priority and no ETA due to low customer demand

Since this feature relies on changes in the service, and then in Web Chat, it is not currently on our radar until that work is done.

exactly when will that happen? it's been 3 years.

Any chance on this ever being updated?


onEnter & replace: replace wants state as first arg in rc4

I'm upgrading app to 2.0.0-rc4 and notice an issue with onEnter hook:
(nextState, replace) => replace('/foo') // <--- throws
(nextState, replace) => replace(null, '/foo') // <--- ok

Looks like it is an issue in rc4: https://github.com/rackt/react-router/blob/v2.0.0-rc4/modules/Redirect.js#L41
And it's fixed in master: https://github.com/rackt/react-router/blob/master/modules/Redirect.js#L41
If I get it right, issue can be closed. Reporting just in case :)

Yes, you'll see that I made this change after rc4 was cut.