Add Unicode support

Hi,
first of all, thanks for taking the time to do this PR and sorry for my late response.
I have to admit I'm not sure what's the usecase of this - is it to transform a potentially non-unicode Python 2 string to a unicode object or is it to get a textual representation of potentially non-string object? I don't think that whooshee should support the second case. As for the first one, I'd need to give it a thought, but I think it shouldn't be necessary on Python 2 and it doesn't work on Python 3 (see the failed travis tests).
Also, it seems that travis is failing for Python 2.6 branch, but that's unrelated to this PR, so feel free to disregard that.

Sorry I didn't explain this thing.
I got a UnicodeDecodeError: 'ascii' codec can't decode byte...  when I try to search Non-English query, I add this to make it work. I thought it was kind of indexes problem (similar to this), but I can't reproduce the error now.

Ok, thanks, I managed to reproduce it - the problem is in the same function you're patching, few lines below - s = u'*{0}*'.format(re.sub('[\s]+', '* *', s)) - the issue here is that if a str object is passed, Python 2 tries to interpolate the s into the unicode string using the ascii codec. So if s contains non-ascii chars, this obviously fails.
For me, trying to use your solution fails as well, but I came up with following patch that seems to work ok [1] - could you verify that it works ok for you? If so, I'll use it to fix the issue.
Thanks!
[1] https://paste.fedoraproject.org/paste/3b2kAJqIeCnxtYhwYBLTlg

Ok, cool, thanks. I'll commit my patch then. Either way, thanks for working on this!

Fixed in https://github.com/bkabrda/flask-whooshee/commit/13d8272a9c1fc33e142acbf30ecbb9db5336f5ff

Released as part of flask-whooshee 0.5.0: https://pypi.python.org/pypi/flask-whooshee/0.5.0

Sorry to disturb you, it seems that the problem still exists on 0.5.0. When I search with non-ascii string, I got this:
  File "C:\Users\Administrator\projects\albumy\albumy\main\views.py", line 56, in search
    pagination = Photo.query.whooshee_search(q).paginate(page, per_page)
  File "C:\Users\Administrator\.virtualenvs\albumy-aCIvDf20\lib\site-packages\flask_whooshee.py", line 90, in whooshee_search
    limit=limit)
  File "C:\Users\Administrator\.virtualenvs\albumy-aCIvDf20\lib\site-packages\flask_whooshee.py", line 153, in search
    prepped_string = cls.prep_search_string(search_string, match_substrings)
  File "C:\Users\Administrator\.virtualenvs\albumy-aCIvDf20\lib\site-packages\flask_whooshee.py", line 171, in prep_search_string
    search_string = search_string.decode('utf-8')
  File "C:\Users\Administrator\.virtualenvs\albumy-aCIvDf20\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)

However, with this pr everything worked.

Any ideas? @bkabrda

Hi, @bkabrda, what need I do to make this PR merged?


->find() not working as expected

Hi,
When I'm trying to query using find() without a $filter it is returning results, but when I tried adding a $filter, it is not working as expected.
Here's my code
<?php
$client = new MongoDB\CLient();
$db = $client->selectDatabase( 'dbhere' );

$records = $db->selectCollection( 'form_data' )->find(
[
'_form_id' => '5ba3501be746b22960005094'
]
);

foreach( $records AS $values ):
var_dump( $values );
endforeach;
?>

this one returns zero result.
Below are the screenshots of the same query from the terminal and the data I'm trying to fetch.

Hoping for your fast reply.
Regards,
Henry

Hi,
You didn't show to which database you were talking in the screenshot, so it is possible that you are using a different one there. You need to make sure that on the shell, db.getName(); shows the same as in your PHP script (dbhere). Can you share this?
Alternatively, see whether if you make a query in PHP without the filter, you get the right documents as well. And if it does show up, can you share it here? Perhaps it's just formatted slightly differently.
Please also make sure that the PHP script and the shell run on the same server, and connect to the same MongoDB database server.
You are trying to query for an value that looks like an ObjectID by using a string ('_form_id' => '5ba3501be746b22960005094'). You might want to reconsider that as well, and store the _form_id field values as an actual ObjectID (ObjectID('5ba3501be746b22960005094)).
cheers,
Derick

Closing due to inactivity. Feel free to follow up if this is still outstanding.


VoiceOver on OSX

Tested using Safari (don't know if it is the same for other browsers)
Typing in for example “UN” results in “11 Re un” - the word “results” is cut off. You can see the full text appear in the VoiceOver "11 results. United Kingdom 1 of ...", but it disappears in milliseconds.

There is new behaviour that waits a second or so before announcing these messages to resolve this issue in 2.0.0


Sanddollarclassic

[ ] I will not ping the Discord about this pull request.

Please provide the following information for your token.
Please include change to the src/lib/.json and in the PR
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

JSON format is not valid,
You missed a comma : https://github.com/solana-labs/token-list/pull/251/files#diff-827c1376911cec5eb14653be1a34f430bcfb675b355c19c23c352633d625da50R7962


[Examples] Fix compilation

Which Delta project/connector is this regarding?

[ ] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[X] Other (Examples)

Description
Previously, the <delta>/examples/scala sbt project was using (hardcoded) an older version of delta, which had no delta-iceberg artifact. Updated the delta version to be the latest.
How was this patch tested?
cd <delta>/examples/scala && build/sbt compile
Does this PR introduce any user-facing changes?
No

I see the failure is intermittent (sometimes fails for Scala 2.13 CI job and othertimes Scala 2.12 CI job)? Wondering if this should be decoupled into its own job (create a github issue?)?


[RFC]: Hamming distance between two strings

Description
This RFC proposes adding a function to calculate the Hamming (edit) distance between two strings.
Package: @stdlib/string/base/distances/hamming.
The function should have the following signature (a: string, b: string): number.
The function should take two strings as arguments and return the Hamming distance between them. The Hamming distance is defined as the number of characters that have to be changed to convert one string to the other. Since it only allows substitutions, it can only be used to compare strings of the same length.
Related Issues
Related issues # , # , and # .
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

@Planeshifter i would like to work on this issue. would you guide me more how to work on this?

@Ahtaxam Are you still interested in working on this?

Hi, I would like to work on this
Can I be assgined this

@marsian83 Sure. Would you be open to working on @stdlib/string/base/distances/hamming-code-points?

Not that the UTF-16 code unit implementation has already been added. The code points implementation should iterate over Unicode code points (e.g., most Unicode characters and some emoji). You can find other code points implementation in the string/base/* namespace.

Note that the UTF-16 code unit implementation has already been added. The code points implementation should iterate over Unicode code points (e.g., most Unicode characters and some emoji). You can find other code points implementation in the string/base/* namespace.

Sure, I'll see how these work.
Thanks for the reference

@kgryte Hello ! Can I work on the grapheme clusters part ?

@mayankkamboj47 Sure. You'll probably want to rely on next-grapheme-cluster-break in order to compare substrings.

@kgryte @Planeshifter If noone is working on @stdlib/string/base/distances/hamming-code-points, can i work on it?

@kgryte I created a pull request for Hamming distance between Unicode characters (#1759). Can you please review it.
Looking forward for your reply.

@kgryte I created a pull request for Hamming distance between Unicode characters (#1948 ). Can you please review it.
Looking forward for your reply.

Hello there, can someone please review PR #1948 on @stdlib/string/base/distances/hamming-code-points.

@kgryte Hi, I am looking forward to get the required things on track
please assign task for @stdlib/string/base/distances/hamming-code-points

Hello, everyone ! I'm interested in contributing to the Hamming distance feature. I noticed that parts of the implementation for different comparison modes (UTF-16 code units, Unicode code points, and grapheme clusters) have been discussed and some PRs have been submitted. Could someone please update me on the current status of this issue and let me know if there are any open tasks I could help with? Thank you !

@MynameisSanskar @Anant1004 As tracked in the OP, calculating the distance between two strings when comparing code points has not been completed. Initial attempt to add support can be found in https://github.com/stdlib-js/stdlib/pull/1948, but that PR stalled.


internal.db database is written to WAY too often

I'm seeing Litestream backing up that database (when loaded on disk using the --internal option) constantly even when it shouldn't have had any changes.

I applied this change:
diff --git a/datasette/utils/internal_db.py b/datasette/utils/internal_db.py
index dbfcceb4..6a8c1eb8 100644
--- a/datasette/utils/internal_db.py
+++ b/datasette/utils/internal_db.py
@@ -66,9 +66,11 @@ async def init_internal_db(db):

 async def populate_schema_tables(internal_db, db):
+    print("populate_schema_tables")
     database_name = db.name

     def delete_everything(conn):
+        print("  delete_everything")
         conn.execute(
             "DELETE FROM catalog_tables WHERE database_name = ?", [database_name]
         )

And confirmed that the populate_schema_tables() function is called once at startup and then only after a schema change has been made.

Which lead me to this piece of code:
https://github.com/simonw/datasette/blob/86335dc722d31dbf44c6d4bbffd7c5d2d11b1290/datasette/app.py#L486-L505
I thought for a moment that the INSERT OR REPLACE INTO there meant there would be constant changes to the internal.db database, but actually that looks like it only runs if the schema version has changed.

To help investigate I upgraded this plugin:

https://github.com/simonw/datasette-schema-versions/issues/4

It doesn't seem to be showing the _internal database being upgraded much though - it's at version 36 and sticking there.

Added this debug code:
diff --git a/datasette/app.py b/datasette/app.py
index 8591af6a..ea61ba75 100644
--- a/datasette/app.py
+++ b/datasette/app.py
@@ -486,8 +486,12 @@ class Datasette:
         for database_name, db in self.databases.items():
             schema_version = (await db.execute("PRAGMA schema_version")).first()[0]
             # Compare schema versions to see if we should skip it
+            print("schema_version = {}, current_schema_version = {}".format(
+                schema_version, current_schema_versions.get(database_name)
+            ))
             if schema_version == current_schema_versions.get(database_name):
                 continue
+            print("  Did not skip, gonna INSERT OR REPLACE INTO")
             placeholders = "(?, ?, ?, ?)"
             values = [database_name, str(db.path), db.is_memory, schema_version]
             if db.path is None:

And it looks like that INSERT OR REPLACE INTO is only run when the schema changes, so it shouldn't be running very often at all.

I'm not at all sure that internal.db is being updated often - I think this bug I'm seeing may relate to a specific configuration of the way I'm running it in Datasette Cloud.
I'll try one last thing: I'm going to run datasette --internal internal.db locally with some plugins and have a watch command that checks the MD5 hash of the database to see if it changed.

I ran watch md5sum internal.db and fired up Datasette, then messed around with inserting rows and altering the schema.
The MD5 of that file only updated after I altered the table schemas, which is as it should be.
So this isn't a Datasette bug after all.


Inconsistent results between jupyter-scala and the scala REPL

On jupyter-scala:
def foo(x:Int)(y:Int) = x+y
val y: Int=>Int = foo(5)

returns an error:
Main.scala:26: type mismatch;
 found   : () => Int => Int
 required: Int => Int
}.apply
  ^

However, this is valid scala and works in the repl.

Thanks for the report. As a workaround, the following is fine:
def foo(x:Int)(y:Int) = x+y
val y: Int=>Int = foo(5)(_)

Works fine with the current master (and all releases under the "almond" name should be fine too).


Add license plugin, which requires modules to be used

Note, with the latest version of license-maven-plugin, the mapping section requirements have changed.  First, we now must use constants such as "SCRIPT_STYLE" (instead of "properties").  Second, some additions file extensions are now supported that we used to map.

LGTM, one question on what happens in src/main/META-INF, if it doesn't recognize the file type and doesn't throw a warning then I'm fine leaving it how it is.

Also, I still suggest using the year property, assuming that means we don't have to re release community and enterprise every year

@ahousing waiting for feedback

I ran this on gateway.  Four things of note:

Several of the copyrights changed more than just the year.  Specifically, the line wrap of the copyright, and maybe the text content, changed.
mina.core/core/src/test/resources/log4j.properties had a comment right below the copyright that is removed.  If we still want this comment, we'll probably need to put in some empty space or something.  I'm not sure if the comment is current, though.
distribution/src/main/gateway/3RDPARTY.txt had a copyright by Drew Davidson.  That copyright is kept, but the special symbol for copyright is changed to a symbol that is unrecognized by my system.  If we just change it to "Copyright 1997-2003...", then I presume nothing would change.
You now have to do:

mvn com.mycila:license-maven-plugin:RELEASE:format

Now that I know how version numbers are updated (I was thinking more along the lines of our old way, with jgitflow), I was able to test with the versions plugin.  "mvn versions:set -DnewVersion=1.0.3-SNAPSHOT" will set not only the versions to 1.0.3-SNAPSHOT, but also any explicit dependency to this (as long as the dependency was the same version as project.version, or something like that).  So, everything seems good, since we are using this plugin.


trkqual branch should be a vector

Currently the trkqual branch is only storing a single trkqual result. It should really be a vector like the normal track branches

@AndrewEdmonds11 I will start looking at this, since I would like to add this cut into our analysis

Fixed in #205


Drop support for old Yocto release before kirkstone

Remove the support for dunfell, gatesgarth, hardknott and honister
Update the CI repo manifest.xml documents
Update the CI test jobs (nanbield is the main one to stress now)

Errors un scarthgap are not related with the meta-webkit components. Build fails on 'shadow-native'. Reported here: https://github.com/shadow-maint/shadow/issues/918

I've changed my mind. We will split this task in 2 steps. I will move forward this : https://github.com/Igalia/meta-webkit/pull/490 first (webkit bump-up) and I will delete this after the the release of the 2.44 release.

Closed in favour of https://github.com/Igalia/meta-webkit/pull/496


fix: address tag-related deletion issues raised in #26654

I wasn't able to reproduce the issues in #26654, but wanted to submit this diff here as something to try. I'm not likely to push this through but thought a PR would be a good way to suggest a fix and open centralize the discussion

Ok, was told this didn't fix the issue... closing.
It'd be great to have a way to reproduce this...


Make Distribution generic in its output type

Currently, the Distribution base class assumes that observations are of type double. We will want to support other types of observation (most notably string-valued observations). To lay the groundwork for this, we will need to make Distribution generic over its output type.

I can take this one (feel free to assign it to me, or maybe there's a setting to change so we can assign ourselves, depending on what you want to do with permissions)

I pushed some work on this here: https://github.com/probcomp/hierarchical-irm/tree/051624-emilyaf-generic-dist-type
It doesn't fix the issue yet, but it makes Distribution and Relation templated classes (still with only double as the template parameter so the code still runs). We'll have to think through how to modify the data structures that store observations and (pointers to) relations and distributions, since those can now have different types. We could do a minimally invasive quick-ish fix, but maybe it makes sense to rethink the design more substantially (either now in the existing code base if we think it'll translate well to the hybrid HIRM/PClean system, or later as we're thinking through the design of that system). Loom had a solution for this if I remember right, which wasn't especially nice but it also wasn't obvious to me how to improve it.
I'm off work tomorrow and will pick this up again on Monday.

@emilyfertig Thanks, this looks great! And thanks for raising these issues.
Maybe it makes sense to divide the work into a couple steps:
Step 1. Make Distribution a templated class, but have all the rest of the code explicitly use Distribution<double>. This will unblock #7, at least, because we will be able to implement distributions on types other than doubles (even if they cannot yet be used by the rest of the code base).
We could make Relation templated at the same time, but I wasn't sure how this would work with code like the following, which assumes the underlying distribution is BetaBernoulli: https://github.com/probcomp/hierarchical-irm/blob/0f2d8eaa41ab32821a111ef5021a74bd540ffa28/cxx/hirm.hh#L370-L371
Maybe we will ultimately need to make Relation parametric in the Distribution type that models its outputs, rather than in a value type alone.
Step 2. We could then figure out a general solution to handling relations with varying output types, which is also a concern for #4. I'm curious what you all think makes the most sense here. One option, since we're in C++17, is to define a type RelationVariant:
using RelationVariant = std::variant<Relation<int>, Relation<double>, Relation<std::string>>;

Then the relations attribute of an IRM could be a map<string, RelationVariant>, and we could use std::visit to call the appropriate, e.g., unincorporate method depending on the type inside the variant:
void unincorporate(const string &r, const T_items &items) {
        std::visit([&items](auto&& rel) { rel.unincorporate(items); }, relations.at(r));
}

But I'm definitely open to any design you think makes sense. I haven't worked much with the Loom codebase -- curious to hear how they handled it, if you think a similar design could work for us. (Tagging @ThomasColthurst in case this is also relevant to #4.)

We could do a minimally invasive quick-ish fix, but maybe it makes sense to rethink the design more substantially (either now in the existing code base if we think it'll translate well to the hybrid HIRM/PClean system, or later as we're thinking through the design of that system.

I think it's worth designing something that we are at least somewhat happy with. I suspect we'll be able to get a lot of the way to the hybrid model (at least an initial implementation) via incremental changes to this codebase.

I sent a PR to make Distribution a templated class, so we’re unblocked for the bigram string distribution. I held off on making changes to Relation before I spend some more time understanding the code -- thanks for outlining some of the possibilities.

I've uploaded my in-progress branch 052024-thomaswc-schema so you can see how I'm planning on parsing and storing the distribution name.  It's mostly done; I'm just tracking down a segfault.


Duplicate request to remote datasource when search is enabled

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

What is the current behavior?
When I define a grid that has an URL to the remote server as a data source and if I turn on search on original toolbar - 2 requests are issued to the server upon grid initialization. If I cut out URL definition and add the same later, only one request is made.

If the current behavior is a bug, please provide the steps to reproduce and if possible a screenshots.
To reproduce this behaviour one has to define grid including remote URL and toolbar and search. More will be available on JS fiddle URL provided below.

What is the expected behavior?
Expected behaviour is to issue one request to the server no matter search

What is the motivation / use case for changing the behavior?
Want to have search and remote datasource at the same time.

Link to jsFiddle that demonstrates the problem:
https://jsfiddle.net/28reypsw/

Other information

This could be work around:
Around line 8981: following line can be replaced:
FROM  } else {'+
TO } else if (val!=\'\' ) {'+

I've created a fiddle based on your fiddle, but I cannot reproduce the issue: http://jsfiddle.net/vLe9q4km/
Maybe it has been fixed already. Can you please confirm?

Closing issue: cannot reproduce; no response


how to get consumption status for ios

How to get the consumption of in-app purchases status in IOS?
the database with what user consume must be held by apple right?
Thanks,
Lucian

Last time I’ve checked that Apple suggest you to handle that on your backend. Please update me when I am outdated.
Feel free to reopen when you find any news.


Scheduled time settings for triggers are "broken" after save

It's hard to solve a problem when important details are missing. For fast resolution of problems, include as much detail in the fields below.
Actual Behavior:

What is the issue? *
What is the expected behavior?

Additional Information:

Browser Type: *
Browser Version: *
OS: *
Page URL: *

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Add screenshots, gifs, illustrations as required to demonstrate your issue.

No duplicates, please use the search tool.

@mep253 Use the format fixes #id  in your commit messages to automatically close these ;)


yaml file

Hello, will the yaml file of your code be published?

The yaml file is consistent with CasA. For the convenience of code execution, we did not change the module naming in CasA.


custom scales: Cannot determine type of '${name}' axis.

Expected behavior
I'm developing https://github.com/sgratzl/chartjs-chart-geo and I'm in the process to upgrade to chart.js v4. Part of the plugin are multiple new scales types configured in scale keys like xy, size, and color.
e.g.
https://github.com/sgratzl/chartjs-chart-geo/blob/3d92cd17afaeec887d05bf9ccf677a2e0bdab607/samples/albers.html#L40-L50
I expect that I don't to alter the configuration and it keeps working like before
Current behavior
However, I now get this error:
Cannot determine type of '${name}' axis. Please provide 'axis' or 'position' option.

which I don't understand or how I fix it
Reproducible sample
https://codepen.io/sgratzl/pen/GRGzEjb
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
v4.0.1
Browser name and version
No response
Link to your project
No response

@sgratzl maybe I'm wrong but it could be enough to add "axis" option in the controllers where the defaults are set.

@sgratzl FYI I'm wrapping the geo controller in my lib for GWT/J2CL. I was already setting (with CHART.JS 3.x) the axis option on the geo scales because I need that, it worked.
Projection: axis: 'x'
Size: axis: 'x'
Color: axis: 'x'

thx. hm. setting it in the controller wasn't enough. seems like that the axis check is before the defaults from the controller are merged into it. Thus, each time I want to configure this custom scale, I will also have to provide the axis option.

I have not checked the code but if it is checking before merging sounds to me not correct. Asa I have time I will have a look.

Having the same issue here. Any news about this issue ? This is blocking us from moving to version 3 to 4 since a while.

Hi, I'm running Chart.js version 4.2.1 and adding the below setting in options, it solved the problem.
...
scales: {
gridLines: {
type: 'logarithmic',
position: 'right',
display: false,
},
},
....

@cunha20 I don't think those options are correct and everything set looks like it would be ignored.
The reason this error occurs is because it happens during the config merge process. Basically to support legacy use cases of having a default category axis for the X and a linear axis for the Y we have to figure out where the axis is.
That being said, reading the code now I think we need to have some escape mechanisms for custom scales that don't have positions (like the color scale in this case)
@LeeLenaleee @dangreen @igorlukanin @kurkle what if we move the error up a bit and only throw it if we can't match the position and there is no scale of that type (where type falls back to id) registered?

@etimberg in my case, I'm making compatible an App that was using Chat.js 3.9.1 to the latest version and adding the mentioned properties solved the problem in my application. Thanks for the feedback.

@etimberg apologize because I had a look some days ago, for @sgratzl issue.  I have seen that the main issue could be that if you set axis option in custom scale default, this is ignored or better, the determineAxis function checks the chart config without falling back to the defaults. And this is happening in mergeScaleConfig function. Maybe, as first workaround, we could change the code in order to check axis option in chart config and scale default. In this way, I can develop my scale and set axis in my default.
I have tested the following:
    const tempScaleConf = mergeIf(Object.create(null), [scaleConf, defaults.scales[scaleConf.type]]);
    const axis = determineAxis(id, tempScaleConf);
    const defaultId = getDefaultScaleIDFromAxis(axis, chartIndexAxis);
    const defaultScaleOptions = chartDefaults.scales || {};
    scales[id] = mergeIf(tempScaleConf, [{axis}, defaultScaleOptions[axis], defaultScaleOptions[defaultId]]);

and my scale/chart sample:
class MyScale extends Chart.LinearScale {
    /* extensions ... */
};
MyScale.id = 'color';
MyScale.defaults = {
  axis: 'y'
};
Chart.register(MyScale);
var ctx = document.getElementById("myChart");
var myChart = new Chart(ctx, {
    type: 'line',
    data: {
        labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],
        datasets: [{
            label: '# of Votes',
            data: [12, 19, 3, 5, 2, 3],
            yScaleID: 'color'
        }]
    },
    options: {
      scales: {
        color: {
          type: 'color'
        },
        y: {
          display: false,
        },
        x: {
        }
      }
    }
});

Of course, you could add a specific escape for custom scale but maybe it could be enough to use the custom scale defaults where axis or position have a default. Because the annoying thing is that the axis/position must be configured in every chart instances (avoiding the defaults).

@cunha20 I don't think those options are correct and everything set looks like it would be ignored.

@etimberg @cunha20  the options sounds to be correct, the scale ID is "gridLines" and it's working because the position options has been set in the configuration. I think if @cunha20 will remove the position, it would not work anymore.

@etimberg @LeeLenaleee @dangreen @igorlukanin @kurkle may I try to prepare and submit a PR?


Upgrade bulk_data_methods to rails 4

https://jira.fiksu.com/browse/DO-788

Travis is running the tests with Rails 4.2, which may or may not be what you want.  Also, is it feasible to have two Travis runs, one for Rails 3.2 and one for 4.x?  Just so we know that it's actually compatible with both.

My 2 cents: Unless we think we're going to need to backport fixes for rails 3 (which I don't think is likely), separate travis runs aren't going to be very useful.  We know that master passes, I think it's good enough to declare success for rails 3 and only focus on rails 4.
I would say tag master with a version (v1.1.4 ?) and declare that to be rails 3 final, then merge this and tag it as rails 4.  People who want to upgrade can do so by bumping up the tag they point at.

LGTM


Losing dynamic updates for overlays

In some cases (I can't quite figure out when!) overlaying a DynamicMap with or on another Element is currently causing dynamic updates to fail.  E.g.:
import numpy as np
import holoviews as hv
from holoviews.operation.datashader import datashade

hv.extension('bokeh')

gaussian = hv.Points(np.random.multivariate_normal(np.random.randn(2), np.array([[0.5, -0.3],[-0.3, 0.3]]), (100000,)))
datashade(gaussian) * hv.HLine(y=0)

The same code works fine when there's no overlay:

The JS console shows errors when zooming fails:

Fixed by #2033


Multiple Candidates and catalognum

Setting album_id to ASIN. This allows multiple candidates to be presented to the user.
No notable ill effects. I remove mb_albumid from tags before they are written.
Set catalognum to ASIN. This will now display catalognum in the candidate list and calculate distance based on different catalognums

I would prefer to fix the album_id issue upstream if possible. If I'm not mistaken, album_id is interpreted as a Musicbrainz id, so I'm concerned about setting that to asin.

Both the Deezer and Discogs plugins use album ids from their own sites, not musicbrainz. And since those are official plugins I think it's fine if we do the same.
https://github.com/beetbox/beets/blob/988bf2672cac36fb625e0fc87983ff641a0c214e/beetsplug/deezer.py#L100-L117
https://github.com/beetbox/beets/blob/988bf2672cac36fb625e0fc87983ff641a0c214e/beetsplug/discogs.py#L308


streams: Send peer events to subscribed guest users also and followups.

streams: Send peer events to subscribed guest users also.
style: Remove redundant brackets from typeof operator.
For this actually there is a separate eslint rule https://eslint.org/docs/rules/no-extra-parens but I wasn't sure whether it is worth for enabling!

@timabbott  Today I was tracking some old low priority followups and wanted to confirm if any of these are worth doing:

https://github.com/zulip/zulip/pull/9256#issuecomment-385191807
https://github.com/zulip/zulip/pull/9099#issuecomment-382479488
https://github.com/zulip/zulip/pull/9099#issuecomment-382479488
https://github.com/zulip/zulip/pull/8909#issuecomment-377807971
https://github.com/zulip/zulip/pull/7978#issuecomment-361285021

Adding another commit here removing package leftovers of i18n refactor.

I merged the yarn and style commits.

https://github.com/zulip/zulip/pull/9099#issuecomment-382479488

This would still be super nice, since it'd basically save a couple steps for anyone testing our graphs (since you wouldn't need to run an obscure command and then login as a new user, etc.; you could just do it with having Iago visit /stats/analytics).

https://github.com/zulip/zulip/pull/7978#issuecomment-361285021

This is the auto mass bot deactivation feature when one sets this?  I don't think we want that behavior; there's use cases where you might want to create and give ownership of a few bots to specific users, while maintaining mostly an admin monopoly on them.  And it's not hard to do a query to check manually (or ask support to do so) in the case where someone definitely wants that.  @rishig FYI.

https://github.com/zulip/zulip/pull/9256#issuecomment-385191807

I think enforcing integer is the right answer here.

https://eslint.org/docs/rules/no-extra-parens

Feel free to submit a PR with this quick change; I'm curious what it turns up.  If the changes are ~all improvements, I'd merge it.
Closing this PR, since I think the last commit we're not going to merge without rewriting (and I think that shouldn't be our next step on this issue, since the bug it fixes is not bad and the problem those extras queries is pretty bad)...


vscode.dev doesn't allow Ctrl+V clipboard usage after copying a file

I posted this to StackOverflow, out of the possibility that I might be doing something wrong. however, there's a good chance this is a bug.
For whatever reason, Visual Studio Code for the web (vscode.dev) appears
to copy the path of a file when clicked on, and immediately copied. It is
a very helpful feature, but once I do it once, I am no longer able to copy
and paste anything else besides file paths and files.

I am forgetful, and I keep text selected on different files for later use
to keep track of my work. Sometimes I forget to focus my cursor to the
text editor, and I end up copying, using Ctrl + C, the file path; I know
because pasting into the text editor, using Ctrl+V on the text editor of a
file pastes the path of the file I previously was. I then go to manually
reselect the text from the said file whose path I'd copied, and paste the
text into the other, but it still gives me the same content, the file
path. The same filepath all the time, everywhere, until I copy another
file using Ctrl + C directly from the file selection menu, and then, only
then, does the in-vsc clipboard content change. it changes to that file's
path.

I can right click on the text editor to get the Paste option, And
successfully paste the desired clipboard content, but it requires browser
clipboard permissions, and I find two clicks of the right hand to be a
waste of time, even for 1 second. I can easily reload, and regain access
to my system clipboard (using Ctrl + V), but then I waste even more time
having to load the folder back into the site, and then giving two separate
read and write permissions.

Version: 1.79.2
Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06
User Agent: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: vscode.dev

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

@mjbvz here you go. I came across the same problem:

Repo steps:

On vscode.dev
Open a text file
In the explorer, copy a file using ctrl+c
Paste it into the text file and confirm the file path shows up
Now copy some code in the text file using ctrl+c
Paste

🐛 The file path is pasted instead of the selected text you just copied


Fix return value of analyzeImage

Thanks for your contribution. I do however think its better to change as bool to as Future<bool> since that is the type.


Unable to load the bindings in a fresh ubuntu 20.04 installation

When I tried to load the bindings in ubuntu 20.04 I got the following error
ipython3
Python 3.8.10 (default, Jun  2 2021, 10:49:15)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import bipedal_locomotion_framework as blf
terminate called after throwing an instance of 'pybind11::error_already_set'
  what():  SystemError: <built-in method __contains__ of dict object at 0x7f92c10b13c0> returned a result with an error set
Aborted (core dumped)

Installing manifpy solves the problem


Status not updated after adopting commit email

There seems to be some issue which happened in this PR:
https://github.com/SAP/openui5/pull/874
As far as I understand, it was like this:

Opened PR with a commit author email which is not liked to user account
Signed CLA (user is showing up the list with date of PR)
Amend commit to change mail
Status is still "not signed yet" even after running "Recheck PRs"

Might be related to #102 (regarding "Recheck PRs")

I believe I'm still having the same issue ref: #114

indeed it seems to be related to #102 and thus fixed.


Emulator stuck when booting Linux

Running make run-linux, you are able to see the message like this.
OpenSBI v1.1
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : riscv-virtio,qemu
Platform Features         : medeleg
Platform HART Count       : 1
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 10000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform Reboot Device    : ---
Platform Shutdown Device  : ---
Firmware Base             : 0x80000000
Firmware Size             : 288 KB
Runtime SBI Version       : 1.0

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*
Domain0 Region00          : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01          : 0x0000000080000000-0x000000008007ffff ()
Domain0 Region02          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x0000000082200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART Priv Version    : v1.12
Boot HART Base ISA        : rv64imac
Boot HART ISA Extensions  : sscofpmf,time,aia,smstateen,sstc
Boot HART PMP Count       : 64
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count      : 29
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109
[    0.000000] Linux version 6.4.0 (rin@rin-ROG-STRIX-G10CES-G10CES) (riscv64-unknown-linux-gnu-gcc () 12.2.0, GNU ld (GNU Binutils) <IP_ADDRESS>30214) #1 SMP Tue Jul 25 00:51:09 CST 2023
[    0.000000] Machine model: riscv-virtio,qemu
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) map non-reusable mmode_resv0@80000000
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000] SBI specification v1.0 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10001
[    0.000000] SBI TIME extension detected
[    0.000000] SBI IPI extension detected
[    0.000000] SBI RFENCE extension detected
[    0.000000] SBI HSM extension detected
[    0.000000] riscv: base ISA extensions acim
[    0.000000] riscv: ELF capabilities acim
[    0.000000] percpu: Embedded 19 pages/cpu s40056 r8192 d29576 u77824
[    0.000000] Kernel command line: root=/dev/vda rw console=ttyS0
[    0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32256
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Virtual kernel memory layout:
[    0.000000]       fixmap : 0xff1bfffffea00000 - 0xff1bffffff000000   (6144 kB)
[    0.000000]       pci io : 0xff1bffffff000000 - 0xff1c000000000000   (  16 MB)
[    0.000000]      vmemmap : 0xff1c000000000000 - 0xff20000000000000   (1024 TB)
[    0.000000]      vmalloc : 0xff20000000000000 - 0xff60000000000000   (16384 TB)
[    0.000000]      modules : 0xffffffff01576000 - 0xffffffff80000000   (2026 MB)
[    0.000000]       lowmem : 0xff60000000000000 - 0xff60000008000000   ( 128 MB)
[    0.000000]       kernel : 0xffffffff80000000 - 0xffffffffffffffff   (2047 MB)
[    0.000000] Memory: 89268K/131072K available (8491K kernel code, 4961K rwdata, 4096K rodata, 2195K init, 476K bss, 41804K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[    0.000000] rcu: 	RCU debug extended QS entry/exit.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: plic@c000000: mapped 53 interrupts with 1 handlers for 2 contexts.
[    0.000000] riscv: providing IPIs using SBI IPI extension
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns:<PHONE_NUMBER>20 ns
[    0.000027] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every<PHONE_NUMBER>100ns
[    0.010612] Console: colour dummy device 80x25
[    0.012067] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
[    0.012830] pid_max: default: 32768 minimum: 301
[    0.017284] LSM: initializing lsm=capability,integrity
[    0.023205] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.023941] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.131955] cblist_init_generic: Setting adjustable number of callback queues.
[    0.132325] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.138456] riscv: ELF compat mode unsupported
[    0.139316] ASID allocator using 16 bits (65536 entries)
[    0.146336] rcu: Hierarchical SRCU implementation.
[    0.146587] rcu: 	Max phase no-delay instances is 1000.
[    0.160883] EFI services will not be available.
[    0.169264] smp: Bringing up secondary CPUs ...
[    0.169515] smp: Brought up 1 node, 1 CPU
[    0.189642] devtmpfs: initialized
[    0.264228] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>100000 ns
[    0.265024] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.274186] pinctrl core: initialized pinctrl subsystem
[    0.369311] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.399072] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.400644] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.402980] audit: initializing netlink subsys (disabled)
[    0.432550] audit: type=2000 audit(0.000:1): state=initialized audit_enabled=0 res=1
[    0.433291] cpuidle: using governor menu
[    0.548534] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.548924] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.580090] iommu: Default domain type: Translated
[    0.580428] iommu: DMA domain TLB invalidation policy: strict mode
[    0.612895] SCSI subsystem initialized
[    0.633758] usbcore: registered new interface driver usbfs
[    0.636063] usbcore: registered new interface driver hub
[    0.638171] usbcore: registered new device driver usb
[    0.707629] vgaarb: loaded
[    0.718912] clocksource: Switched to clocksource riscv_clocksource
[    1.319742] NET: Registered PF_INET protocol family
[    1.333160] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    1.391501] tcp_listen_portaddr_hash hash table entries: 128 (order: 0, 4096 bytes, linear)
[    1.392761] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.393747] TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    1.395670] TCP bind hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    1.401584] TCP: Hash tables configured (established 1024 bind 1024)
[    1.404464] UDP hash table entries: 256 (order: 2, 24576 bytes, linear)
[    1.407186] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes, linear)
[    1.416796] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.438112] RPC: Registered named UNIX socket transport module.
[    1.438443] RPC: Registered udp transport module.
[    1.438753] RPC: Registered tcp transport module.
[    1.439063] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.439586] PCI: CLS 0 bytes, default 64
[    1.491842] workingset: timestamp_bits=46 max_order=15 bucket_order=0
[    1.527037] NFS: Registering the id_resolver key type
[    1.529272] Key type id_resolver registered
[    1.529579] Key type id_legacy registered
[    1.531145] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.531541] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.540741] 9p: Installing v9fs 9p2000 file system support
[    1.553946] NET: Registered PF_ALG protocol family
[    1.556274] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.556975] io scheduler mq-deadline registered
[    1.557333] io scheduler kyber registered
[    1.558668] io scheduler bfq registered
[    5.200454] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    5.285929] printk: console [ttyS0] disabled
[    5.290622] 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 12, base_baud = 230400) is a 16550A
[    5.291806] printk: console [ttyS0] enabled
[    5.438122] SuperH (H)SCI(F) driver initialized
[    5.810059] loop: module loaded
[    5.813321] virtio_blk virtio0: 1/0/0 default/read/poll queues
[    5.831816] virtio_blk virtio0: [vda] 204800 512-byte logical blocks (105 MB/100 MiB)
[    6.022780] e1000e: Intel(R) PRO/1000 Network Driver
[    6.024059] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    6.055318] usbcore: registered new interface driver uas
[    6.058862] usbcore: registered new interface driver usb-storage
[    6.071127] mousedev: PS/2 mouse device common for all mice
[    6.107089] sdhci: Secure Digital Host Controller Interface driver
[    6.108590] sdhci: Copyright(c) Pierre Ossman
[    6.114408] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.126373] usbcore: registered new interface driver usbhid
[    6.127858] usbhid: USB HID core driver
[    6.137775] riscv-pmu-sbi: SBI PMU extension is available
[    6.141110] riscv-pmu-sbi: 16 firmware and 31 hardware counters
[    6.142703] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[    6.171861] NET: Registered PF_INET6 protocol family
[    6.236978] Segment Routing with IPv6
[    6.243162] In-situ OAM (IOAM) with IPv6
[    6.249121] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.288359] NET: Registered PF_PACKET protocol family
[    6.296625] 9pnet: Installing 9P2000 support
[    6.303153] Key type dns_resolver registered
[    8.275479] debug_vm_pgtable: [debug_vm_pgtable         ]: Validating architecture page table helpers
[    8.307897] clk: Disabling unused clocks

As you can see, the last line which we can see is clk: Disabling unused clocks. We are not able to enter the initramfs. After some experiments, I only found that the kernel never returns from the wait_on_buffer in __ext4_get_inode_loc which is under the file fs/ext4/inode.c. However, I have no idea which part of the emulator should be fixed for the issue :(
Although I guess that it could be the problem of virtio_blk since the issue relates to the ext4 file system.

The expected result can be saw by running make qemu-run-linux.
OpenSBI v1.1
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : riscv-virtio,qemu
Platform Features         : medeleg
Platform HART Count       : 1
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 10000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform Reboot Device    : sifive_test
Platform Shutdown Device  : sifive_test
Firmware Base             : 0x80000000
Firmware Size             : 288 KB
Runtime SBI Version       : 1.0

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*
Domain0 Region00          : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01          : 0x0000000080000000-0x000000008007ffff ()
Domain0 Region02          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x0000000082200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART Priv Version    : v1.12
Boot HART Base ISA        : rv64imafdch
Boot HART ISA Extensions  : time,sstc
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count      : 16
Boot HART MIDELEG         : 0x0000000000001666
Boot HART MEDELEG         : 0x0000000000f0b509
[    0.000000] Linux version 6.4.0 (rin@rin-ROG-STRIX-G10CES-G10CES) (riscv64-unknown-linux-gnu-gcc () 12.2.0, GNU ld (GNU Binutils) <IP_ADDRESS>30214) #1 SMP Tue Jul 25 00:51:09 CST 2023
[    0.000000] random: crng init done
[    0.000000] Machine model: riscv-virtio,qemu
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) map non-reusable mmode_resv0@80000000
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000] SBI specification v1.0 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10001
[    0.000000] SBI TIME extension detected
[    0.000000] SBI IPI extension detected
[    0.000000] SBI RFENCE extension detected
[    0.000000] SBI SRST extension detected
[    0.000000] SBI HSM extension detected
[    0.000000] riscv: base ISA extensions acdfhim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: Embedded 19 pages/cpu s40056 r8192 d29576 u77824
[    0.000000] Kernel command line: root=/dev/vda rw console=ttyS0
[    0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32256
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Virtual kernel memory layout:
[    0.000000]       fixmap : 0xff1bfffffea00000 - 0xff1bffffff000000   (6144 kB)
[    0.000000]       pci io : 0xff1bffffff000000 - 0xff1c000000000000   (  16 MB)
[    0.000000]      vmemmap : 0xff1c000000000000 - 0xff20000000000000   (1024 TB)
[    0.000000]      vmalloc : 0xff20000000000000 - 0xff60000000000000   (16384 TB)
[    0.000000]      modules : 0xffffffff01576000 - 0xffffffff80000000   (2026 MB)
[    0.000000]       lowmem : 0xff60000000000000 - 0xff60000008000000   ( 128 MB)
[    0.000000]       kernel : 0xffffffff80000000 - 0xffffffffffffffff   (2047 MB)
[    0.000000] Memory: 89252K/131072K available (8491K kernel code, 4961K rwdata, 4096K rodata, 2195K init, 476K bss, 41820K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[    0.000000] rcu: 	RCU debug extended QS entry/exit.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: plic@c000000: mapped 95 interrupts with 1 handlers for 2 contexts.
[    0.000000] riscv: providing IPIs using SBI IPI extension
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns:<PHONE_NUMBER>20 ns
[    0.000064] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every<PHONE_NUMBER>100ns
[    0.000163] riscv-timer: Timer interrupt in S-mode is available via sstc extension
[    0.004288] Console: colour dummy device 80x25
[    0.007053] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
[    0.007165] pid_max: default: 32768 minimum: 301
[    0.008160] LSM: initializing lsm=capability,integrity
[    0.009510] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.009541] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.031280] cblist_init_generic: Setting adjustable number of callback queues.
[    0.031409] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.031662] riscv: ELF compat mode supported
[    0.031908] ASID allocator using 16 bits (65536 entries)
[    0.032562] rcu: Hierarchical SRCU implementation.
[    0.032585] rcu: 	Max phase no-delay instances is 1000.
[    0.034212] EFI services will not be available.
[    0.035863] smp: Bringing up secondary CPUs ...
[    0.035965] smp: Brought up 1 node, 1 CPU
[    0.043320] devtmpfs: initialized
[    0.048219] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>100000 ns
[    0.048447] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.050068] pinctrl core: initialized pinctrl subsystem
[    0.054564] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.060785] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.060941] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.061106] audit: initializing netlink subsys (disabled)
[    0.064210] cpuidle: using governor menu
[    0.074006] audit: type=2000 audit(0.056:1): state=initialized audit_enabled=0 res=1
[    0.075572] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.075591] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.079905] iommu: Default domain type: Translated
[    0.079932] iommu: DMA domain TLB invalidation policy: strict mode
[    0.081503] SCSI subsystem initialized
[    0.082746] usbcore: registered new interface driver usbfs
[    0.082925] usbcore: registered new interface driver hub
[    0.083025] usbcore: registered new device driver usb
[    0.091522] vgaarb: loaded
[    0.094136] clocksource: Switched to clocksource riscv_clocksource
[    0.109025] NET: Registered PF_INET protocol family
[    0.109779] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.113672] tcp_listen_portaddr_hash hash table entries: 128 (order: 0, 4096 bytes, linear)
[    0.113748] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.113800] TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.113921] TCP bind hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.114061] TCP: Hash tables configured (established 1024 bind 1024)
[    0.114821] UDP hash table entries: 256 (order: 2, 24576 bytes, linear)
[    0.115017] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes, linear)
[    0.115817] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.117861] RPC: Registered named UNIX socket transport module.
[    0.117903] RPC: Registered udp transport module.
[    0.117910] RPC: Registered tcp transport module.
[    0.117917] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.118018] PCI: CLS 0 bytes, default 64
[    0.122934] workingset: timestamp_bits=46 max_order=15 bucket_order=0
[    0.125536] NFS: Registering the id_resolver key type
[    0.126154] Key type id_resolver registered
[    0.126179] Key type id_legacy registered
[    0.126385] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.126473] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.126938] 9p: Installing v9fs 9p2000 file system support
[    0.128001] NET: Registered PF_ALG protocol family
[    0.128225] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.128307] io scheduler mq-deadline registered
[    0.128349] io scheduler kyber registered
[    0.128433] io scheduler bfq registered
[    0.131098] pci-host-generic 30000000.pci: host bridge /soc/pci@30000000 ranges:
[    0.131683] pci-host-generic 30000000.pci:       IO 0x0003000000..0x000300ffff -> 0x0000000000
[    0.132028] pci-host-generic 30000000.pci:      MEM 0x0040000000..0x007fffffff -> 0x0040000000
[    0.132074] pci-host-generic 30000000.pci:      MEM 0x0400000000..0x07ffffffff -> 0x0400000000
[    0.132444] pci-host-generic 30000000.pci: Memory resource size exceeds max for 32 bits
[    0.132706] pci-host-generic 30000000.pci: ECAM at [mem 0x30000000-0x3fffffff] for [bus 00-ff]
[    0.133888] pci-host-generic 30000000.pci: PCI host bridge to bus 0000:00
[    0.134047] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.134104] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.134135] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff]
[    0.134144] pci_bus 0000:00: root bus resource [mem 0x400000000-0x7ffffffff]
[    0.135026] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
[    0.203572] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.209239] printk: console [ttyS0] disabled
[    0.210591] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 12, base_baud = 230400) is a 16550A
[    0.211572] printk: console [ttyS0] enabled
[    0.245898] SuperH (H)SCI(F) driver initialized
[    0.267145] loop: module loaded
[    0.268436] virtio_blk virtio0: 1/0/0 default/read/poll queues
[    0.278896] virtio_blk virtio0: [vda] 64000 512-byte logical blocks (32.8 MB/31.3 MiB)
[    0.307664] e1000e: Intel(R) PRO/1000 Network Driver
[    0.307937] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.316858] usbcore: registered new interface driver uas
[    0.317139] usbcore: registered new interface driver usb-storage
[    0.317976] mousedev: PS/2 mouse device common for all mice
[    0.320270] goldfish_rtc 101000.rtc: registered as rtc0
[    0.320783] goldfish_rtc 101000.rtc: setting system clock to 2023-07-27T02:14:46 UTC<PHONE_NUMBER>)
[    0.323980] syscon-poweroff poweroff: pm_power_off already claimed for sbi_srst_power_off
[    0.324692] syscon-poweroff: probe of poweroff failed with error -16
[    0.326893] sdhci: Secure Digital Host Controller Interface driver
[    0.327115] sdhci: Copyright(c) Pierre Ossman
[    0.327681] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.328636] usbcore: registered new interface driver usbhid
[    0.328839] usbhid: USB HID core driver
[    0.329495] riscv-pmu-sbi: SBI PMU extension is available
[    0.330171] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[    0.330410] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[    0.333124] NET: Registered PF_INET6 protocol family
[    0.346991] Segment Routing with IPv6
[    0.347381] In-situ OAM (IOAM) with IPv6
[    0.347909] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.350466] NET: Registered PF_PACKET protocol family
[    0.351502] 9pnet: Installing 9P2000 support
[    0.351885] Key type dns_resolver registered
[    0.383601] debug_vm_pgtable: [debug_vm_pgtable         ]: Validating architecture page table helpers
[    0.388563] clk: Disabling unused clocks
[    0.648844] EXT4-fs (vda): mounted filesystem 4e223410-6c53-49ca-9f70-c891af3c5bf9 r/w with ordered data mode. Quota mode: disabled.
[    0.649477] VFS: Mounted root (ext4 filesystem) on device 254:0.
[    0.651178] devtmpfs: mounted
[    0.678971] Freeing unused kernel image (initmem) memory: 2192K
[    0.680187] Run /sbin/init as init process
mount: mounting none on /dev failed: Device or resource busy

Please press Enter to activate this console.
/ #

After some studies, I found out that it stuck because of some wrong virtio_blk implementation, which is now fixed at efa31d3.
However, we still need further work because it doesn't really boot completely after this patch. The booting messages now look like this:
OpenSBI v1.1
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : riscv-virtio,qemu
Platform Features         : medeleg
Platform HART Count       : 1
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 10000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform Reboot Device    : ---
Platform Shutdown Device  : ---
Firmware Base             : 0x80000000
Firmware Size             : 288 KB
Runtime SBI Version       : 1.0

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*
Domain0 Region00          : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01          : 0x0000000080000000-0x000000008007ffff ()
Domain0 Region02          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x0000000082200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART Priv Version    : v1.12
Boot HART Base ISA        : rv64imac
Boot HART ISA Extensions  : sscofpmf,time,aia,smstateen,sstc
Boot HART PMP Count       : 64
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count      : 29
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109
[    0.000000] Linux version 6.4.0 (rin@rin-virtual-machine) (riscv64-unknown-linux-gnu-gcc () 12.2.0, GNU ld (GNU Binutils) <IP_ADDRESS>30214) #2 SMP Tue Aug  1 11:31:15 CST 2023
[    0.000000] Machine model: riscv-virtio,qemu
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) map non-reusable mmode_resv0@80000000
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000087ffffff]
[    0.000000] SBI specification v1.0 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10001
[    0.000000] SBI TIME extension detected
[    0.000000] SBI IPI extension detected
[    0.000000] SBI RFENCE extension detected
[    0.000000] SBI HSM extension detected
[    0.000000] riscv: base ISA extensions acim
[    0.000000] riscv: ELF capabilities acim
[    0.000000] percpu: Embedded 19 pages/cpu s40056 r8192 d29576 u77824
[    0.000000] Kernel command line: root=/dev/vda rw console=ttyS0
[    0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32256
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Virtual kernel memory layout:
[    0.000000]       fixmap : 0xff1bfffffea00000 - 0xff1bffffff000000   (6144 kB)
[    0.000000]       pci io : 0xff1bffffff000000 - 0xff1c000000000000   (  16 MB)
[    0.000000]      vmemmap : 0xff1c000000000000 - 0xff20000000000000   (1024 TB)
[    0.000000]      vmalloc : 0xff20000000000000 - 0xff60000000000000   (16384 TB)
[    0.000000]      modules : 0xffffffff01576000 - 0xffffffff80000000   (2026 MB)
[    0.000000]       lowmem : 0xff60000000000000 - 0xff60000008000000   ( 128 MB)
[    0.000000]       kernel : 0xffffffff80000000 - 0xffffffffffffffff   (2047 MB)
[    0.000000] Memory: 89268K/131072K available (8491K kernel code, 4961K rwdata, 4096K rodata, 2195K init, 476K bss, 41804K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[    0.000000] rcu: 	RCU debug extended QS entry/exit.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: plic@c000000: mapped 53 interrupts with 1 handlers for 2 contexts.
[    0.000000] riscv: providing IPIs using SBI IPI extension
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns:<PHONE_NUMBER>20 ns
[    0.000027] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every<PHONE_NUMBER>100ns
[    0.010612] Console: colour dummy device 80x25
[    0.012067] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
[    0.012830] pid_max: default: 32768 minimum: 301
[    0.017284] LSM: initializing lsm=capability,integrity
[    0.023205] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.023941] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.131955] cblist_init_generic: Setting adjustable number of callback queues.
[    0.132325] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.138456] riscv: ELF compat mode unsupported
[    0.139316] ASID allocator using 16 bits (65536 entries)
[    0.146336] rcu: Hierarchical SRCU implementation.
[    0.146587] rcu: 	Max phase no-delay instances is 1000.
[    0.160883] EFI services will not be available.
[    0.169264] smp: Bringing up secondary CPUs ...
[    0.169515] smp: Brought up 1 node, 1 CPU
[    0.189642] devtmpfs: initialized
[    0.264228] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>100000 ns
[    0.265024] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.274186] pinctrl core: initialized pinctrl subsystem
[    0.369311] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.399072] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.400644] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.402980] audit: initializing netlink subsys (disabled)
[    0.432550] audit: type=2000 audit(0.000:1): state=initialized audit_enabled=0 res=1
[    0.433291] cpuidle: using governor menu
[    0.548534] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.548924] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.580090] iommu: Default domain type: Translated
[    0.580428] iommu: DMA domain TLB invalidation policy: strict mode
[    0.612895] SCSI subsystem initialized
[    0.633758] usbcore: registered new interface driver usbfs
[    0.636063] usbcore: registered new interface driver hub
[    0.638171] usbcore: registered new device driver usb
[    0.707629] vgaarb: loaded
[    0.718912] clocksource: Switched to clocksource riscv_clocksource
[    1.319742] NET: Registered PF_INET protocol family
[    1.333160] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    1.391501] tcp_listen_portaddr_hash hash table entries: 128 (order: 0, 4096 bytes, linear)
[    1.392761] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.393747] TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    1.395670] TCP bind hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    1.401584] TCP: Hash tables configured (established 1024 bind 1024)
[    1.404464] UDP hash table entries: 256 (order: 2, 24576 bytes, linear)
[    1.407186] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes, linear)
[    1.416796] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.438112] RPC: Registered named UNIX socket transport module.
[    1.438443] RPC: Registered udp transport module.
[    1.438753] RPC: Registered tcp transport module.
[    1.439063] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.439586] PCI: CLS 0 bytes, default 64
[    1.491841] workingset: timestamp_bits=46 max_order=15 bucket_order=0
[    1.527036] NFS: Registering the id_resolver key type
[    1.530968] Key type id_resolver registered
[    1.531275] Key type id_legacy registered
[    1.532841] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.533237] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.542414] 9p: Installing v9fs 9p2000 file system support
[    1.555619] NET: Registered PF_ALG protocol family
[    1.557947] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.558648] io scheduler mq-deadline registered
[    1.559006] io scheduler kyber registered
[    1.560340] io scheduler bfq registered
[    5.202286] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    5.287777] printk: console [ttyS0] disabled
[    5.292470] 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 12, base_baud = 230400) is a 16550A
[    5.293654] printk: console [ttyS0] enabled
[    5.439828] SuperH (H)SCI(F) driver initialized
[    5.811712] loop: module loaded
[    5.814974] virtio_blk virtio0: 1/0/0 default/read/poll queues
[    5.833470] virtio_blk virtio0: [vda] 204800 512-byte logical blocks (105 MB/100 MiB)
[    6.024450] e1000e: Intel(R) PRO/1000 Network Driver
[    6.025728] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    6.056980] usbcore: registered new interface driver uas
[    6.060524] usbcore: registered new interface driver usb-storage
[    6.072789] mousedev: PS/2 mouse device common for all mice
[    6.108751] sdhci: Secure Digital Host Controller Interface driver
[    6.110252] sdhci: Copyright(c) Pierre Ossman
[    6.116070] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.128035] usbcore: registered new interface driver usbhid
[    6.129519] usbhid: USB HID core driver
[    6.139437] riscv-pmu-sbi: SBI PMU extension is available
[    6.142772] riscv-pmu-sbi: 16 firmware and 31 hardware counters
[    6.144365] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[    6.173553] NET: Registered PF_INET6 protocol family
[    6.238633] Segment Routing with IPv6
[    6.244817] In-situ OAM (IOAM) with IPv6
[    6.250776] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.290014] NET: Registered PF_PACKET protocol family
[    6.298280] 9pnet: Installing 9P2000 support
[    6.303111] Key type dns_resolver registered
[    8.196822] debug_vm_pgtable: [debug_vm_pgtable         ]: Validating architecture page table helpers
[    8.236054] clk: Disabling unused clocks
[    8.374045] EXT4-fs (vda): mounted filesystem 7e92b8e2-9edb-4d9d-bc46-9309be1a868f r/w with ordered data mode. Quota mode: disabled.
[    8.376945] VFS: Mounted root (ext4 filesystem) on device 254:0.
[    8.386316] devtmpfs: mounted
[    8.454539] Freeing unused kernel image (initmem) memory: 2192K

It is almost close to finishing the booting process!


Is it possible that pre-training weights have a big impact on the convergence of the network? Because I did not use pre-training weights, the map is only 38.8, how did you train it?

transreid.train INFO: mAP: 38.8%
transreid.train INFO: CMC curve, Rank-1  :55.5%
transreid.train INFO: CMC curve, Rank-5  :80.0%
transreid.train INFO: CMC curve, Rank-10 :88.0%

Hello, vision transformer weight on imagenet datasets is critical for a downstream task like reid.
It is fair because R50 also use imagenet pretrained weight.


Config doesn't save on Project64 1.6

I'm using this plugin with Project64 1.6 (which is the only version which works with an autosplitter I use), but the config doesn't seem to save on this version and resets every time p64 is closed and relaunched.
Seems like 1.6 doesn't even have a Config directory. I tried creating one but still don't see the .bin file there after I hit save config.
Happy to fix this myself, just wondering if there is a way to see logs/errors originating from the plugin? If I can find those I can probably fix this and put up a PR.

hey, couple notes about config saving:

program files (where pj64 1.6 is installed by default) is write protected on new versions of windows. this might be the reason you're having problems,
determining the path is currently subtly broken as it uses current working directory as base, this can make the config/log folders end up in weird places under some circumstances. this is probably would be best fixed by deriving the path from GetModuleFileName, or frankly simpler and more foolproof, by just saving the config in %appdata% instead, which will solve the write permission woes as well

as for logs, by default they only get output to a text file, which is not particularly convenient when you can't get any files written lol. i would suggest putting a OutputDebugString(msg) call or similar in the dlog (log.h) function somewhere, the output then can be viewed using debugview: https://learn.microsoft.com/en-us/sysinternals/downloads/debugview
let me know if you have any other questions!

Thanks for the quick response!
I did manage to solve this, I got rid of the write protection but I think this was actually caused by windows doing some weird stuff with application shortcuts messing up the paths. Anyways when I launch Project64.exe directly it works fine now.


[ADD] Terra ecosystem

Please integrate the Terra chains:

[ ] Terra Classic (columbus-5)
[ ] Terra (phoenix-1)

please support coin types for both chains:

[ ] 330
[ ] 118

Also please support CRW-20 tokens with teh "Choose Token" and "Custom Token" UX flow.

@yvebe can the issue be closed?


[OTHER] Improving Loading and Working

What would you like to share?
Currently

The images on the website are taking time to load as they are in png/jpeg format.
I will convert it into webp format

Advantages of webp over png
Smaller File Size :

WebP images typically have a smaller file size compared to PNG images while maintaining similar image quality. This results in faster webpage loading times, reduced bandwidth usage, and improved overall user experience.

Wide Browser Support:

WebP is supported by major web browsers, including Google Chrome, Opera, and Microsoft Edge. Additionally, popular image editing software like Adobe Photoshop and GIMP provide WebP support, making it easy to work with these files.

Faster Image Loading:

With smaller file sizes, WebP images can be downloaded faster by website visitors. This leads to quicker rendering of images on the page, resulting in a better user experience.

Bandwidth Savings:

The reduced file size of WebP images means less data needs to be transferred between the server and the user's device. This can be particularly advantageous for websites with a large number of images or for users on limited bandwidth connections.

🥦 Browser
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (blank for no)

Hey @tamalCodes Please review it

Hi @tamalCodes  I am new to open source and would love to work on this issue. What do i need to do??


Manage unassigned open review requests  window is completely broken

What happened?
The manage unassigned window is completely broken. This will make review assignment impossible.
The first document properly has "Assign reviewer" and "Close" buttons (but on separate line, they should be on same line)., but the following documents show those hidden elements that are shown when you press those two buttons, i.e., they are not hidden from the beginning at all.
I.e., the "assign review" button should open up (on same line) 3 new elements, one saying "Assing Reviewer: ", next one having checkbox of "skip next time", and then button for "cancel", which will hide the assigned reviewer specific elements and go back to original two options
When you click "Close" there that should open 3 new elements, one for popup for "Team will not review version / Team will not review document", one for optional comment text, and finally a "cancel" button to hide the elements and show back the original two selections.
Also when you click assign reviewer or close all the elements should be on the same line where the original two buttons were. I.e. the displayed length of the item should not change.
Unfortunately I can't include any images as attaching images to github does not work on my browser.
What browser(s) are you seeing the problem on?
No response
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

I was able to get it to work, but the interface is messy: it shows drop-down lists for both Assign: and Close: simultaneously. I was able to select a reviewer for each document in the Gen-ART queue, but it didn't start suggesting a reviewer until I had already assigned two reviews.  I didn't do a screen capture, but screen captures could be attached by creating a zip file (GitHub will accept those).

#3774 fixed much of this. Still need to address putting the form fields on a single line. At present, they use the same area of the page but are split over a couple lines and are somewhat taller.
Also need to fix sticky tooltip behavior when interacting with the buttons. The tooltips open and stay visible even after the elements they reference have been hidden.


Fix error handling when Campfire API doesn't return a proper date

When the campfire API doesn't return a proper date for the last message in a room (probably because the room has no messages), the exception handler throws an error. There is no room attribute (should be name) and we want the current date, not time (so Date.new() instead of Time.now().)

Thanks @mikewebkist, sorry I didn't see the PR earlier. Guess I didn't have notifications turned on for this repo. I'll merge this, and just make the stylistic change myself to remove the () after the date initialization. I may leave the Time.now for now, though, since I'm not sure about the semantics of Date.new, which returns -4712-01-01 for me. Maybe it would be better to pull a creation time for the room or something?
Since this codebase has no tests, I just want to be careful about not changing behavior without really understanding the implications.
I'll push a new gem with your fix as well.
Thanks!

Ok I pushed 0.5.1 with part of your change to RubyGems.
I think that the previous reference to room instead of name was just a typo, and that has been fixed now (as a side note, it's really too bad that Ruby can't detect simple errors like this for us before run-time!).
I kept the reference to Time.now, since the message seems to reflect that it should be the current day, but we can change this in the future if we have better behavior in mind. Thanks for your help!
Fingers crossed - changes pushed without any manual testing, automatic tests, or static analysis.
:shipit:


Option to allow maximum supported resolution

I wanted to get as high-resolution of a grab as possible from the user.  When the dest_height/dest_width were set too high though, the JS User Media API throws errors saying it didn't satisfy the conditions for some users.
This PR adds a param res_required.  It defaults to true which maintains the existing behavior of erroring if the dest dimensions are not supported by that users webcam.
With res_required set to false, the outputted data will always come out as the specified resolution.  If the user's browser doesn't support that resolution, the resulting image is upscaled.
Tested w/ and w/o flash on chrome.

A simpler option might be to default to optional constraints in the getUserMedia request.
http://tools.ietf.org/html/draft-alvestrand-constraints-resolution-00#page-4

I think someone mentioned using optional constraints once before, and when attempting to implement them If found that not all browsers supported it.  However, that may have changed.  I'll do some poking around and try to find the best solution.

Okay, so I went a slightly different direction, and am allowing the user to simply override the entire constraints parameter with whatever they want.  This is now v1.0.4:
https://github.com/jhuckaby/webcamjs/releases/tag/v1.0.4
A added a blurb in the docs which explains how to use it:
https://github.com/jhuckaby/webcamjs#custom-user-media-constraints-advanced
Custom User Media Constraints (Advanced)
The HTML5 getUserMedia API has a constraints system by which you can specify optional or mandatory requirements for the video stream.  These include things such a minimum or maximum resolution and/or framerate.  By default, WebcamJS will specify a mandatory minimum width and height, matching your dest_width and dest_height parameters.  However, if you want to customize this, you can set a constraints parameter using Webcam.set(), and pass in an object containing all the custom constraints you want.  Example:
	Webcam.set( 'constraints', {
		mandatory: {
			minWidth: 1280,
			minHeight: 720,
			minFrameRate: 30
		},
		optional: [
			{ minFrameRate: 60 }
		]
	} );

To remove the mandatory constraints and instead just specify the resolution you would prefer, you can set simple width and height properties like this:
	Webcam.set( 'constraints', {
		width: 1280,
		height: 720
	} );

Please call this this before calling Webcam.attach().
Note that some browsers may not support every possible constraint, so consult your browser's documentation and test in all your supported browsers before using this advanced feature.  For example, as of this writing Chrome 44 doesn't support framerate constraints.
For more information see the Media Capture Spec and the WebRTC Constraints Spec.
Hope this helps!

Perfect!

Just replaced this PR with 1.0.4 and it worked great - thanks!
If anyones curious, here's my config:
let outputWidth = 1280;
let ratio = 0.75;
Webcam.set({
  width: width,
  height: width * ratio,
  dest_width: outputWidth,
  dest_height: outputWidth * ratio,
  constraints: {},
});


resolves #6 clear zoom / transform setting if ratio is 1

Clear the previous zoom or transform style property if the ratio is exactly equal to 1.

I probably need to add a test for this case.

Tests added.


Refactoring atomizer.js

Currently the Atomizer API is very nice, we have just 1 class class with methods that are nicely named and do what you expect. But some of those methods are very big (more than 200 lines) and have too much logic. I think we can use composition + single responsibility principle to make the code more maintainable and easier to test edge cases on smaller pieces of code.
Below there is an example of how 2 of our biggest methods that could be refactored:
Atomizer.prototype.getSyntax = function getSyntax() {
    if (!this.syntax) {
       // All Grammar and syntax parsing  should be in the Grammar class
       this.syntax =  new Grammar(this.rules, this.helpers).getSyntax();
    }

    return this.syntax;
};

Atomizer.prototype.getCss = function (config, options) {
     // Class responsible for building the css
     return new CssGenerator(this, config).getContent(options);
};

We can address this in a future release, I'm going to keep this opened for now. We welcome a PR for this.