Improve dragging of the main window

This PR doesn't fix all issues, but it improves the overall dragging experience and removes often-occuring glitches when dragging main window close to the menubar icon. I confirmed if resetMainWindowShadow() isn't called during dragging, there are no more glitches left with this PR. Perhaps this is something we could just improve/remove later when it's fixed in Electron.
Before: https://www.dropbox.com/s/fp5ph28co96s8vi/before.mov?dl=0
After: https://www.dropbox.com/s/icpgz03p3wujur8/after.mov?dl=0
This PR stops relying on the native move event from Electron's MainWindow, because it's triggered only when the dragging is finished on the OS X. That's why Kap can't react to the dragging changes immediately. As a result, it's hard to predict in which place the window will get stick/unstick  to/from the menubar. Instead, I'm relying the combination of detecting dragging operation in the renderer process and using screen.getCursorScreenPoint(), which provides accurate coordinates of the mouse position. start-move-window event is used to record initial mouse position inside the main window, so that we can later detect correct coordinates of the main window position.
It also stops showing/hiding dock icon during the drag operation, because that may result to lags. Instead, it happens when the dragging is finished (mouse is released).
Let me know what you think!

@CodeTheory @skllcrn Can you try this one out?

It feels way more buggy than the current implementation 😔 https://file-hqerarpbfp.now.sh/kap-improve-dragging.mov
I remember trying something like this over the IPC back in the early days, and I wasn't very successful – the outcome was pretty much similar 😕 Not sure if there's a trivial way to improve it.
It would be neat if move wasn't an alias for moved 😕

Hmm, that's not the behavior that I was getting. I'll get back to this PR later and see what can be done.

For me it's a little better in certain situations. There's a few issues related to the menubar implementation, if you're interested see #53

Closing this as we're going a different way (#409) with Kap 3. Sorry, Vadim.


does not work for kubernetes jenkins plugin

error: Killing container with id docker://jnlp:Need to kill Pod
my jobs is this:
def label = "docker-${UUID.randomUUID().toString()}"

podTemplate(label: label, yaml: """
apiVersion: v1
kind: Pod
spec:
  containers:
  - name: myjnlp
    image: cloudbees/java-build-tools
    tty: true
    volumeMounts:
    - name: dockersock
      mountPath: /var/run/docker.sock
  volumes:
  - name: dockersock
    hostPath:
      path: /var/run/docker.sock
"""
  ) {

  node(label) {
    stage('Build Docker image') {
      git 'https://github.com/jenkinsci/docker-jnlp-slave.git'
      container('myjnlp') {
        sh "ant -version"
      }
    }
  }
}

Likely need more information to reproduce. https://github.com/jenkinsci/kubernetes-plugin/pull/507 does work. Perhaps your issue is specific to using a Docker bind-mount (which you should avoid anyway; try Kaniko or at worst DinD).

I have a Custom JNLP Image is unable to run the "ENTRYPOINT["jenkins-agent"]"
Can you guys please help me with this...?


Using '-' as bids_dir no longer acceptable

The problem
Previously we could set the bids dir to any string (e.g. -) if custom paths were specified with --path-* CLI options.
With snakebids 0.6.0 this now gives an error, e.g. can be seen here:
https://github.com/khanlab/hippunfold/runs/6691842701?check_suite_focus=true
Since the workaround is pretty simple (just specify some folder as the bids dataset, or could be even .) not sure it is worth changing the behaviour so - would be acceptable, but interested in hearing what others think. It does feel odd to specify a folder when it is not being used at all though..
The downside of keeping things as is, is we would have to update documentation, tests, from other apps (e.g. hippunfold) that refer to using - as the input when solely custom paths are used.

I like that idea

I figured out the underlying problem with this bug. When generating the BidsLayout, snakebids is supposed to check if the bids_dir passed .exists(). Instead, it's just checking if it's truthy:
if Path(bids_dir):
   ...

# instead of
if Path(bids_dir).exists():

I'm still going to carry on with the idea above, though: I think the optimization is worth it, and it's fairly trivial to implement. But changing the above line, it's not strictly necessary anymore.


.curvature randomly being unknown

Describe the bug
Curvature of the attached example is not deterministic. It appears to be coming from the quad_form routine which will sometimes be convex, and sometimes be unknown.
To Reproduce
Please run attached python file (as a file because the matrix used is huge and I cannot replicate this issue for random numbers, for this I can only apologise). The gist is we create what should be a convex atom over and over again and print its curvature each time.
Expected behavior
The eigenvalues of B are all positive, so I would expect the quad_form_part.curvature line to print as "Convex" everytime. Regardless, I would expect consensus on whether the problem has unknown or convex curvature.
Output
quad_form_part.curvature = 'CONVEX'
quad_form_part.curvature = 'CONVEX'
quad_form_part.curvature = 'CONVEX'
quad_form_part.curvature = 'CONVEX'
quad_form_part.curvature = 'UNKNOWN'
quad_form_part.curvature = 'CONVEX'
quad_form_part.curvature = 'UNKNOWN'
quad_form_part.curvature = 'CONVEX'
quad_form_part.curvature = 'CONVEX'
quad_form_part.curvature = 'UNKNOWN'
quad_form_part.curvature = 'CONVEX'
quad_form_part.curvature = 'UNKNOWN'
quad_form_part.curvature = 'CONVEX'
...

Version

OS: macOS Ventura 13.0.1 (Apple M1 MacBook Air)
CVXPY Version: 1.2.1 and 1.3.1
Python Version: 3.8.13
Scipy Version: 1.9.1
Numpy Version: 1.23.2
non_deterministic_curvature.py.txt

Thanks for reporting, @timothy-nunn. The problem is that we use the scipy method eigvalsh to try and compute the (algebraically) smallest eigenvalue of a given matrix. That function uses a random starting vector in an iterative method. We can fix this specific issue by generating the random starting vector for eigvalsh ourselves, with a fixed random seed. We'd welcome a contribution from you if you would be up for implementing that.

@Transurgeon I checked for this issue, and the function eigvalsh itself (from my current understanding) does not provide input parameters to specify a starting vector for the algorithm which generates the eigenvalues. I do not know how to make this kind of changes since I assume you need to manipulate scipy itself and deploy this manipulated version in cvxpy

Hi @Paulnkk, you are right. The documentation for eigvalsh has no mention of an input parameter for specifying a starting vector.
Perhaps we could take a look at the source code for linalg.eigh. But if you are right about needing to manipulate scipy, I also have no clue on how to make those changes.
@rileyjmurray, could explain what you meant when you mention that the "the function uses a random starting vector in an iterative method"?

This probably won't work, but it might be worth trying setting the numpy random seed before calling eigh and seeing if that produces more consistent outputs.

Sorry for the confusion! I got the function name wrong. The correct function is
https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.eigsh.html
The relevant argument is v0.

Hey @rileyjmurray , I tried to add a simple random seed to choose a vector as the starting argument v0.
However, when running the pytest unit testing suite, I run into fails for these two methods.

I did some digging and noticed that it only runs into issues when dealing with a sparse diagonal matrix.
For example, in test_constant_psd_nsd, all asserts pass successfully until we start dealing with sparse matrices.
I saw some past similar issues, but im not sure if they are entirely related...
Do you have any ideas why this is happening?

@Transurgeon I created a PR for this issue and we can work on the branch together. I found another issue from my point of view, which I addressed in the PR, maybe you have an idea how to deal with it (it is not related to the issue you mentioned here, but more of an problem related to the convexity property itself for this case).

Resolved by #2086.


Class binding removes dynamically added classes

Vue.js version
2.0.3
Reproduction Link
http://jsfiddle.net/df4Lnuw6/18/
Steps to reproduce
See Fiddle.

Create v-bind:class
Dynamically add a class using JS element.className.
Change the v-bind:class binding value.
This will overwrite the class added using element.className

What is Expected?
In Vue 1.0, it was possible to dynamically add classes.
This is important for MDL support, as it dynamically adds classes like "is-upgraded".
What is actually happening?
Class names added manually are removed.

This is expected behaviour in 2.0, since these changes can't are not reflected in the virtualDOM.

Is there a known workaround for this?

theoretically, you could do this:

in( beforeUpdate()`, use the DM API to get the classes from the element
in updated(), you could re-apply them - if the element was updated and the classes are missing.

that would be pretty tedious, complicated and error-prone, though.

Eh, better to store classes in component data then & change them there. I was only asking because I was going unconventional and (in my circumstance) not using the element w/ dynamic classes in a component. Thanks for the input @LinusBorg


Consolidate the environment data models

It consolidates the 2 environment data models into one so that we don't have 2 data models for the same type of entity: Archer Environment.

This PR fixes #231
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hm, I don't mind a little duplication if these are truly different, which they seem to be. A Pipeline stage happens to be associated with an environment, but they aren't an environment. The yaml/json mixing is confusing and will stop us from ever serializing the envs to yaml in SSM.
It's quite common to have different views of the same logical resource represented differently within a go project. Take a look at this.


[zh]update file content/zh/docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-deprecation-affects-you.md

@jihoon-seo The document has been perfected, please help to review it again, thanks

/label tide/merge-method-squash

/lgtm
/approve


MINOR: R Devdocs CI fix

Testing a fix for our dev docs job on releases. Currently based off of our maintenance branch to test — will rebase on main if this works.

@github-actions crossbow submit test-r-devdocs


Use __has_declspec_attribute for shared builds

Clang compilation targets may support __declspec attributes. Because of that it has a __has_declspec_attribute check.
Currently libpsl just assumes that __declspec is Windows only. This adds a compatibility macro and checks whether dllimport and dllexport are available.

Thanks, amended and pushed.


rend elements not nestable

Inner <rend> elements in nested rendition markup created in tinyMCE don't survive the HTML parser in MerMEId's PUT filter. The inner element is reduced to an empty <rend/>.

The custom-made parser did not handle nested elements of the same name correctly.  With XSLT 3.0 we can now simply use fn:parse-xml(). Fixed with this commit.


Add make npm_licenses command to docker build instructions

In order to run make common-docker-amd64, the npm licenses must be generated using make npm_licenses. I originally came across this when troubleshooting docker builds on macOS (#8912), but after testing I believe this applies to all operating systems.

:+1: Good catch, thanks!


test: remove all containerization

Proposed changes

Move Verdaccio poutine into Jest setup
Remove all Docker ref. deps

This required 'git sandboxing' of the react/vue/angular artifacts, otherwise it was mangling the git worktree of the CLI.

Add hard dep on mitmproxy
QoL improvements:

ReadMe
Preflight checks to avoid 'duh failure'
Fallback on CLI config (my fav!)

Added the notion of 'ci-only' tests: Some tests should not be run locally 95% of the time, like auth
Improved npm bin acquisition: No more cross-os shenanigans, only rely on local npm to avoid various JS toolchain manager shenanigans (Volta was failing with the current setup).

Big PR, too large for me to be able to provide a good review of everything, sorry...
When those kind of thing happen, it would make sense to start breaking up such big changes in a "feature branch", where every individual smaller/logical piece of PR is against that branch.
And once everything has been done and reviewed, you can just open "the real PR" against master, and we can just auto/quickly approve as a team.
So I'll just click approve, but, yeah 🤷

Yeah, I think this one is a bit on the line, more because its scope is broad than the PR being big. (effective changeset is +352/-412 when removing package-lock)
The thing I could have done prolly is to exclude some refactors to limit the scope, but not much more I think really


metadata function prepare_column_descriptions doesn't handle booleans or bigint(e.g. postgresql)

Hi there,
Using metadata utility function prepare_column_descriptions and execute interprets boolean fields at dt_string.  This makes it not possible to determine whether the field is boolean or not.
In the type conversion class template in column-info there is no boolean handling:
may I suggest inserting in the else if chain in from_base():
else if (type_name.find("boolean") != std::string::npos ||
type_name.find("BOOLEAN") != std::string::npos ||
type_name.find("bool") != std::string::npos ||
type_name.find("BOOL") != std::string::npos)
{
ci.type = dt_integer;
}
?
Also may I suggest adding a field to the column_info struct for the raw data type name?  This could add as a fall back for the case of further back-ends added.
Thanks,
Kevin.

Also similarly with bigint with postgresql - is interpreted as a string instead of long long.

I worked around this by creating my own column-info and types with conversion routine for the project I was working on (creating code generation utility creating model structs from an existing database).

Could you please show the actual code using the function and demonstrating the problem? Ideal would be to have a new unit test for this in tests/common-tests.h. Of course, really ideal would be to have a PR with the test case and the fix for it, but a test case on its own would already be very useful. TIA!

Just used the code from the docs.  Any postgresSql bigint or boolean column gives a column_info.data_type of dt_string.
In the column_info.h column_info conversion class template you can see that no handling for bigint or boolean is in place so it defaults to dt_string.
I ended up copying the column_info.h file to a new file, and modifiying with my own renamed type - 'mycolumn_info', a mydata_type enum with a boolean entry in it and using that for into().  This allowed me to do what I needed.

I wonder if a dt_bool entry in the data_type enum might be a good idea, a couple of databases do support it.

By the way SOCI is an excellent library. I am enjoying getting to know it.


ENHANCEMENT Update sake to reference new docs

Links update due to the restructure of the new docs.

:+1:


Neko-Sama nethttps error

Source information
Neko-Sama 14.11
Source language
Français
Steps to reproduce
Cherche for an anime like Owarimonogatari with Neko-Sama and you get this
Expected behavior
Anime page to be successful.
Actual behavior
Unable to resolve "neko-sama.nethttps"
Aniyomi version
App version: <IP_ADDRESS> (standard, 959f84a, 124, 2024-07-01T22:25Z) Android version: 14 (SDK 34; build UP1A.231005.007.A346BXXU7CXE1) Android build ID: UP1A.231005.007.A346BXXU7CXE1 Device brand: samsung Device manufacturer: samsung Device name: a34x (a34xeea) Device model: SM-A346B WebView: Android System WebView Dev 128.0.6601.2 MPV version: 4d32db2 Libplacebo version: v7.349.0 FFmpeg version: n7.0
Android version
Android 14
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version <IP_ADDRESS>.
[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.

Ah, and I have forgotten to say that the recent section don't work but the popular section work... 🤷♂

Issue resolved !


Add translation links to all README's

Include same translation links at the bottom of the master README on all README files.

I could work on it.


DEHB update design (async strategy)

Hello, According to the paper "DEHB: Evolutionary Hyperband for Scalable, Robust, and Efficient Hyperparameter Optimization," DEHB employs an immediate update design for DE by utilising the AsyncDE class. However, despite passing the async strategy argument in DEHB, it does not change the async strategy of the AsyncDE class, which by default is 'deferred.'  How was this mitigated as I see that the async_strategy argument is passed?
The DE class currently only uses deferred updates. If one would like to compare DEHB and its DE component as separate optimisers for optimising a model's validation score, would the update design of deferred vs immediate have a significant impact on the final validation score or simply the wall-clock time? I'd like to compare DE and DEHB using the same update design, and the paper suggests that the immediate update design outperforms deferred DE.

Duplicate of the issue in DEHB, which has been addressed already.


Countries/Regions/Affilliations

In traditional sporting competitions there's demand for countries and nation states competing with each other. However this stems from the fact that the main advertising entities are the nation states themselves.
The dilemma: on the one hand there's market demand, on the other hand I would feel bad supporting these violence organizations.
One way to resolve this could be with the help of the concept of cold anarchy. Cold anarchy recognizes anarchy as an existing, underlying condition, unlike hot anarchy, which seeks to actively overthrow systems through radical action. We get there not by focusing on the individual, but by dividing current violence organizations further and further. For example instead of noting the US as the country a person is coming from, we could note the state. Or we could divide China into many different parts like Xinjiang, Tibet, Inner Mongolia, etc.. While we still support the violence organizations, this system divides them and can lead as an example for other.
But probably the right way to divide athletes is to let them form teams in any way they want. This lends itself to a more capitalistic world view. The only draw back to this is this doesn't conform to a world cup theme. Yeah, probably this is the best way to go about it.

Even though if we go with teams by default, we should still have country/region sections, maybe even cities, because this gives the opportunity for rewarding people's accomplishments in a more granular manner. Athletes then can say things like "I was #1 Indian longevity athlete on the 2021 Longevity World Cup" and such.
Based on this logic genders should also be included ofc.


Performace across browsers varies, ios very slow

Thanks for Dexie... it makes indexeddb usable.
My goal is to make a autocomplete textbox with data looked up from the local db. The main target is cordova on android and ios. In prototyping this I found vastly different run times in chrome and firefox. On ipad and iphone found very poor performance compared to android. The collection will have 10000+ objects and the filter will be "containsIgnoreCase". On all the browsers the query is not fast enough to do the character by character lookup. Here are some highlights of the prototype:
db.version(1).stores({ items: 'id,[program+partnum],program,partnum,description,[program+description]',

// works but is slow. 400 ms on chome to 5000+ ms on ios
db.items.where("program").equals(program)
.filter( function(item){ return (item.description.toLowerCase().indexOf(filtertext) > -1 ) }  )
.toArray(function(items){
$("#log").append( "where/filter "  + items.length + " "+ (Date.now() - start)  + " milliseconds." ) ;
});

//this is much faster, and leads to the idea to cache data in a variable. the data load 125ms on chrome, lodash filter is 5ms.
db.items.where("program").equals(program).toArray().then(function(items) {
$("#log").append( "mem slurp "  + items.length + " "+ (Date.now() - start)  + " milliseconds." )  ;
result = _.filter(items, function(item) { return (item.description.toLowerCase().indexOf(filtertext) > -1 ) ; }) ;
$("#log").append( "lodash filter "  + result.length + " "+ (Date.now() - start)  + " milliseconds." )    ;
});

Is there a better way to do the filter? Any ideas to improve performance on ios?

I would've tested to store a multiEntry indexed field on description.split(' '), that is all words that description holds. You could use lunr to optimize it further by removing stop-words if you want. You could then perform the search something like the following:
db.version(1).stores({
    items: 'id, *words, ...'
});

// When storing an item, also store the "words" array
db.items.put({
    id: id,
    description: description,
    words: description.toLowerCase().split(' ')
});

// Finding:
db.items.where('words').startsWithAnyOf(filterText.split(' '))
    .distinct()
    .limit(25)
    .toArray()

You could also try to replace startsWithAnyOf() with anyOf(). That will require the search box to enter full words to get a match.
The limit is there because you'd probably don't want to show all matches anyway, so it will speed-up the search a lot when a user just presses a single key.

If you need the program criteria within the search, you could just prefix each word with the program.
// When storing an item, also store the "words" array
db.items.put({
    id: id,
    description: description,
    words: description.toLowerCase().split(' ').map(w => program + ':' + w)
});

// Finding:
db.items.where('words').startsWithAnyOf(
        filterText.toLowerCase().split(' ')
        .map(x => program + ':' + x))
    .distinct()
    .limit(25)
    .toArray()

Thanks for the quick reply. I have been musing about the problem, here is what I can come up with so far.
Using the prefixing simplifies the multi-key index.
.startsWithAnyOf(filterText.toLowerCase().trim().split(' ') implements an OR on the keywords. The autocomplete logic should be AND on keys or full string for multiple key words.
IE and Edge are not my targets but in testing I found these did not produce any results: db.items.where('words').equals(...
db.items.where('words').startsWithAnyOf(...
db.items.where('words').anyOf(...
My current strategy is to work with the autocomplete rule that queries the db after 3 characters are input, then filter the rest of the key words in memory. The words index will only need the first three characters of each word. Then use of .where('words').equals(... which is 10-90% faster depending on the browser. On Android this is very fast and will meet the response time goals,
data[i].words = data[i].description.trim().toLowerCase().split(' ')
.map(function(w) {return data[i].program + ':' + w.substr(0,3) })  ;
db.items.where('word').equals(filtertext.substr(0,3)).toArray()
However the query on iphone and ipad are still both very slow 1000ms vs 30ms on android. Something seems wrong that and ipad or iphone 6s are 33 times slower than a samsug galaxy 4s. The bulkPut and bulk reads are also much slower on IOS. Any idea why this might be?

Improvements for Safari are on its way. See #481. Maybe you should try out whether indexeddbshim would possibly be faster than native indexedDB. I haven't tested but I think it's worth a try until later Safari preview is released and most devices become updated

On IOS 10.2.1 indexeddbshim is much faster than Native. Native bulkPut(adds) are about 2x the time vs the shim, native bulkPut(updates) are very very slow. On the shim the bulk reads and queries are also much faster.  On the shim it's faster to bulk read 10K records to an array than to do any type of query (300ms vs 1200ms).

Thanks a lot for this info. We need to keep a close eye on this. Still might be best to use the shim then. Has anyone tested how bulkPut() behaves performance-wise on the latest Safari preview? If anyone reading this issue has the preview installed and is able to test how bulkPut() performs in it, that would also be great to know.

@beidson, I ran my test page on Safari Technology Preview release 25. It is better but still slower than Chrome.
bulkPut(add) 3500 records: Chrome ~1000ms
bulkPut(update) 3500 records: Chrome ~1000ms
bulkPut(add) 3500 records: STP~2000ms
bulkPut(update) 3500 records: STP~95000ms !!!! :(
bulkPut(add) 3500 records: STP/w shim ~1800ms
bulkPut(update) 3500 records: STP/w shim ~2000ms
good news, the "words" indexed queries are comparable between Chrome and STP. ~10ms, on the shim ~180ms
bulk read of 3500 records to an array: Chrome: 125, STP: 250ms, STP/w shim: 60ms

Here is the test page:
http://acmebot.com/dexie/
With the shim, the "where/filter" and "word substr equals" do not work. Changing equals to anyOf works but it slower.
http://acmebot.com/dexie/shim.html

Some good news on IOS 10.3.1, bulkPut add operation is much(about 5 times) faster than 10.2.1. On Non IOS devices the bulkPut update same records with the same values is about the same run time as the add. On IOS the bulkPut updates are about 25-90 times slower then the add.  Something is not right... I will try put and update.

Thanks for working on this exploration. To make sure we don't miss it, could you please file a bug at bugs.webkit.org?


Migration - ilo -alignement-rater component

Description
This allows all users to rate their alignment for the task which they have submitted to the system. Simply students can rate their assignment align rate to show the tutor that they have completed the given assignment to given standard or not.
Fixes # (issue)
No issues
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as
expected)
[x] Documentation (update or new)

How this has been tested
Created the file and previewed  the document

The component iloalignment-rater.coffee: task component has been identified correctly and attached images provide a clear evidence of component identification. Component purpose, path, and outcomes are mentioned properly in the markdown document.
As the component identification is completed, continue with the migration.


Cadvisor docs update

Can one of the admins verify this patch?

I signed it!

LGTM
Thanks for the example.


setPingTimeout deprecated without any note

According to this commit org.redisson.config.BaseConfig#setPingTimeout became deprecated. But there is no migration or deprecation note.
Are there any notes on this? Maybe this config option became redundant?
Redisson version
3.10.2

pingConnectionTimeout should be used instead

Thanks for pointing out!
The idea is to specify timeout as parameter for Node.ping and Node.pingAll methods. Just forgot to add these methods.


Properly escape quotes in field labels

Fix #560 (problem when people use an apostrophe inside a field label)
It turns out there are very weird rules about how to escape strings in YAML. We could use one of the many line continuation markers in combination with the label key for a Docassemble field, but that makes all of our fields statements harder to read and less idiomatic. We could remove quotes, which would mostly work, but it could cause problems when people use special symbols like : or the literal words yes and no. This fix just stops escaping quotes that can't be escaped in that position in a YAML file and leaves the rest alone.

Of all of the YAML escape characters, IMO we might want to also escape the \. I can't imagine someone actually trying to type a /, but a stray mistype causing a syntax error is possible. Escaping \ would prevent people from using other valid YAML escapes, but our user's aren't that technical and won't be using those anyway.

Of all of the YAML escape characters, IMO we might want to also escape the \. I can't imagine someone actually trying to type a /, but a stray mistype causing a syntax error is possible. Escaping \ would prevent people from using other valid YAML escapes, but our user's aren't that technical and won't be using those anyway.

That's a good idea. I can add that to this PR


Request on How to stack a FlexGrid.Row on another FlexGrid.Row

Description

As we are going to use FlexGrid in new block composition of site-builder, we faced the cases where we need to stack a Row overlapping another Row. We tried to find a solution for that but our experimental solutions did not work well, the example Screenshot is available below.

Screenshots

Hi @hamedmam,

we need to stack a Row overlapping another Row

Looking at the screenshot, I am thinking you are referring to the "floating" card when you say "stack a Row"
My first thought for how to lay this out would be something like this:
<FlexGrid.Row verticalAlign={bottom}>
  <BigBackgroundImage />
  <FlexGrid.Col span={4} offset={4}>
    <Card>Accessibility...</Card>
  </FlexGrid.Col>
</FlexGrid.Row>

And the catch would be that the BigBackgroundImage is absolutely positioned or something.

Thanks that solved it.


README.md update

Inside the README.md you forgot a comma after opened method.
    opened () {
      // do stuff
    }
    closed () {
      // do stuff
    }

Thank you for your package. Very useful.

@Xationch thanks for pointing that out. And thank you for using this plugin. :)


Oct30 uplift third_party/tt-metal effort

Plz cherry-pick a2e64a28 for some needed runtime changes to solve compile error that goes with metal PR https://github.com/tenstorrent/tt-metal/pull/14394

we have a bigger problem with merges, when we solve it - these will be automated again.

Comment on CI fails, one error is:
2024-11-01 16:16:18,806 - DEBUG - starting loop=1/1 for binary=test_perf_slice.mlir.ttnn
                 Always | FATAL    | Physical size (32, 16) must be multiple of page size (1, 32)
2024-11-01 16:16:19,059 - ERROR - ERROR: test=test_perf_slice.mlir.ttnn experienced an error with exception=TT_FATAL @ /localdev/kmabee/mlir2/third_party/tt-metal/src/tt-metal/ttnn/cpp/ttnn/tensor/layout/tensor_layout.cpp:97: width_remainder == 0 && height_remainder == 0

Talked to Artem on Friday and he said tt-metal bug and fix is coming ...soon...

We'll need this UMD fix: https://github.com/tenstorrent/tt-umd/issues/251#issuecomment-2454842824

Small update.  Renamed PR, and cherry picked 3 metal PR's (2 from Friday, 1 from today) and the failing tests in last week's CI run we saw are gone.  Rebased and force pushed this branch as we are getting close.  Going to try to test on Forge-FE too.
I haven't seen need for UMD fix referenced above though, or at least I didn't do anything, I get impression it's needed only for newer tt-metal not the Oct30 base we are still targeting with this uplift. tt-mlir is currently using Oct25 tt-metal.

We're making a lot of API changes, so UMD is regularly being uplifted to tt_metal (every one or two days). Of course, subject to UMD regressions, and to tt_metal CI regressions.

We're making a lot of API changes, so UMD is regularly being uplifted to tt_metal (every one or two days). Of course, subject to UMD regressions, and to tt_metal CI regressions.

Good to know! Thanks @broskoTT

Good news, this tt-metal uplift that started oct-30 is now passing now tt-mlir CI (and when tried in tt-forge-fe) after some follow up fixes last few days.  Ping owners @pilkicTT / @sdjordjevicTT / @jserbedzijaTT to unblock.
tt-mlir link: https://github.com/tenstorrent/tt-mlir/actions/runs/11803629246
tt-forge-fe link: https://github.com/tenstorrent/tt-forge-fe/actions/runs/11806004440
Notes:

Needed a conv2d fix in tt-metal made on 11/8 that I cherry picked.  Had to cherry-pick a revert of conv changes from Lewis too from tt-metal to solve conflicts.
Needed to rebase this branch on latest tt-mlir from 11/12 to try in tt-forge-fe to get a conv fix to allow maxpool2d tests to pass in tt-forge-fe
So this is using tt-metal base 3a24131822 (11/1) plus few cherry picks from tt-metal main, won't need them on next full tt-metal uplift.

If we like it I can clean up and merge.

Thanks @kmabeeTT for pushing this all the way forward!
Question:

Had to cherry-pick a revert of conv changes from Lewis too from tt-metal to solve conflicts.

Is this revert in tt-metal as well?

Yep, it sure is.  There was a change submitted, and then a revert a few days later, I just cherry picked the revert.

Rebased, and merging shortly.
Some documentation: There was some follow up experiments where I tried to remove maxpool2dPreshard workaround yesterday/today (in effort to try and get tt-forge-fe passing), in the end turns out we need to keep that workaround in place (otherwise maxpool2d fails in FFE). Rebased this branch, and dropped that commit just now, have already tried it on FFE, is passing).


error of installing the sink plugin of tdengine

Environment: docker  lfedge/ekuiper:1.12.3
What happened and what you expected to happen:
The sink plugin of tdengine cannot be installed.
The version of tdengine is <IP_ADDRESS>
If I use the default URL (https://packages.emqx.net/kuiper-plugins/1.12.3/alpine/sinks/tdengine_amd64.zip):
Report:   sinks plugins create command error: fail to download file https://packages.emqx.net/kuiper-plugins/1.12.3/alpine/sinks/tdengine_amd64.zip: cannot download the file with status: 403 Forbidden
If I use the URL given in doc (https://packages.emqx.net/kuiper-plugins/1.12.3/debian/sinks/tdengine_amd64.zip)
Report:   sinks plugins create command error: fail to install plugin: exit status 127

I think this is a duplicate of #2314

This is a problem caused by versions of docker images offered by the official team of ekuiper.
#2314 is to create a docker image by himself. So it's not the same.
But it's very lucky for me that after I change the image to 1.12.3-slim, the sink plugin can be installed.
I think more comments should be added for that.

lol. We just didn't provide the pre-built tdengine plugin for alpine, so users need to build by themselves. #2314 is still calling for help to build that in CI.

Btw, do you have the plan to support tdengine 3.x in the sink plugin?
Ekuiper seems to only support tdengine 2.6 as the latest version.
But you know, 2.6 is published one year ago and 3.x is said to be better than 2.x by the official team of tdengine

Yes, another issue #2054, call for help


abnormal pericardium development

Add new term:
abnormal pericardium development
DEF: any anomaly in the process whose specific outcome is the progression of the pericardium over time, from its formation to the mature structure
SYN: abnormal pericardial development
SOURCE: GO:0060039

Added new term:
abnormal pericardium development MP:0031587


[wxwidgets] not available anymore?

vcpkg install wxwidgets:x64-windows yields:
Error: Cannot find definition for package wxwidgets.
Is it no longer supported?
Using latest vcpkg from repo, Windows 10.

Ok, so this is kind of what happened last time. So I decided to create a new installation of vcpkg and try installing from there and it finds it when you do the install, how do you "reset" whatever it is that controls what vcpkg sees?

What is it all about? What's wrong?
All in open access, source code can watch

Hi @b1ain , thanks for reporting this issue.
Port wxwidgets works fine in vcpkg now. Here is my log:

PS E:\vcpkg> .\vcpkg.exe install wxwidgets:x64-windows
The following packages will be built and installed:
wxwidgets[core]:x64-windows
Starting package 1/1: wxwidgets:x64-windows
Building package wxwidgets[core]:x64-windows...
-- Using cached E:/vcpkg/downloads/wxWidgets-wxWidgets-v3.1.2.tar.gz
-- Using source at E:/vcpkg/buildtrees/wxwidgets/src/v3.1.2-38b1831b23
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Performing post-build validation
-- Performing post-build validation done
Building package wxwidgets[core]:x64-windows... done
Installing package wxwidgets[core]:x64-windows...
Installing package wxwidgets[core]:x64-windows... done
Elapsed time for package wxwidgets:x64-windows: 6.33 min

Total elapsed time: 6.33 min

You can update and try again.
Thanks.

@b1ain Thanks for your feedback. I could install wxwidgets:x64-windows successfully with VS 2017 15.9.11. Please reopen a new issue if it is still a problem for you!


Duplicate requirement in Pipfile.lock when case differs

With 3.4.1, $ pipenv install --lock mkdocs pdoc produces a Pipfile.lock containing:
        "markdown": {
            "hash": "sha256:812ec5249f45edc31330b7fb06e52aaf6ab2d83aa27047df7cb6837ef2d269b6",
            "version": "==2.4.1"
        },
        "Markdown": {
            "hash": "sha256:0ac8a81e658167da95d063a9279c9c1b2699f37c7c4153256a458b3a43860e33",
            "version": "==2.6.8"
        },

which fails on reinstall:
$ pipenv install
No package provided, installing all dependencies.
Pipfile found at /private/tmp/Pipfile. Considering this to be the project home.
Installing dependencies from Pipfile.lock...
An error occured while installing!
Double requirement given: Markdown==2.6.8 (from -r /var/folders/ly/0k1p93rj1q56hk9rnk5j774h0000gn/T/tmpfc2fvv8a-requirements.txt (line 9)) (already in markdown==2.4.1 (from -r /var/folders/ly/0k1p93rj1q56hk9rnk5j774h0000gn/T/tmpfc2fvv8a-requirements.txt (line 8)), name='Markdown')

Yep, this is definitely unintended @jacebrowning. The casing issue is easy to fix here, the thing that may need a bit more thought is versions. mkdocs requires Markdown>=2.3.1, where pdoc requires Markdown<=2.5.0. Fortunately 2.4.1 meets both of these requirements and works, but I'm concerned about a case that we choose the last downloaded file and end up with an incompatible dependency.
I'm going to have to read up on whether pip auto-detects this sort of things, and what our options are from third-part or pypa libraries. If anyone has background here and would like to share or propose a solution, that would be helpful.

If pip doesn't detect this kind of behavior, maybe https://github.com/rbarrois/python-semanticversion (or another semver library) could help do something like this pseudocode:
spec = Spec('>=2.3.1', '<=2.5.0')
for version in available_pip_downloads:
    if Version(version) in spec:
        return version

This should be resolved with #242 and will be released in 3.5.0.


Raise exception if link function is non-monotonic

Convexity of GLM relies on the link function being monotonic (and it probably doesn't make sense otherwise), so check that and raise an exception if not.
Not sure if we can actually check this, so maybe we just force users to choose from small list (exponential, softplus) instead.

Similarly, is it possible to check for convexity (or log-convexity)?


Vite: mode config option being set?

I have a vite.config.ts file (below) trying to set the mode option for vite. Vite uses this in place of NODE_ENV. It doesn't merge this config into the inlineconfig that vite takes, which may be expected?
https://github.com/nxext/nx-extensions/blob/main/packages/vite/src/executors/build/executor.ts#L46 If I manually add a mode: context.configurationName here then vite respects it as expected. What's the best way to set this mode option?
IMO this line should be added by default so that vite uses the same environment as NX. Thoughts?
vite.config.ts:
export default defineConfig(({ mode }) => {
  return {
    mode, // <--- where/how do we set this?
    cacheDir: path.join(__dirname, '.vite'),
    server: {
      host: '<IP_ADDRESS>',
      port: parseInt(process.env.PORT) ?? 3000,
    },
    define: {
      'process.env': { ...loadEnv(mode, __dirname), NODE_ENV: mode },
    },
    plugins: [react()],
  };
});

Hi. I'm having the same issue with nx&vite&react - is there any other, stable solution to set the 'mode' (or handle env variables for different build profiles) in the latest nxext version?
In my case 'mode' always defaults to production, ignoring passed params.


Crash in sdfToFogVolume

line 2231 in LevelSetUtil.h accesses internalNodes[0].
Calling this function with SDFs without internal nodes crash at that location. newTree->GetNodes(internalNodes); leaves the std::vector empty in that case.
Checking for internalNodes.size() > 0 before fixes the crash.

Thanks @fkemmler, this should now be resolved

thanks a lot :)


Update under-the-hood.mdx

describe your changes...

[ ] Read and sign the CLA. PRs that haven't signed it won't be accepted.
[ ] Make sure your PR complies with the writer's guide.
[ ] Review the diff carefully as sometimes this can reveal issues.
[ ] Do not abandon your Pull Request: Stale Pull Requests.
Remove these instructions from your PR as they are for your eyes only.

Could you sign the CLA and go through the PR template?

Closing as stale


Which version was the last to support R200?

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>
Which version was the last to support R200?
Thx a lot!

Hi @xuezu29  R200 was supported by librealsense1, also known as Legacy Librealsense.
https://github.com/IntelRealSense/librealsense/tree/v1.12.1

Hi @xuezu29  Do you require further assistance with this case, please?  Thanks!

Without, thanks a lot!

Thanks very much for the update!  As you do not require further assistance, I will close the case.  Thanks again!


Keep track of wrong answers

As a player
I want to know how many guesses I've guessed incorrectly
So that I know how I am performing in the guessing game

Acceptance Criteria:

The wrong guesses visible on the screen is incremented only when I guess incorrectly
if I guess correctly, the incorrect guesses are not incremented

closed with #14


Issue while debugging

Hi,
When I 'inspect popup' for debugging on chrome, the content doesn't load and I'm not able to hit the debugger point.
Please see the attached files.
The popup works perfectly fine - as shown in attachment 1
I am following the steps as shown in attachment 2 to debug the extension
Attachment 3 is what happens when I try to inspect the popup.
(The content doesn't load and also doesn't hit the debugger point)

Also, in console i tried: location.reload(true). It does hit the debugger but no data is loaded on the extension.
Thanks!


Chromecast Audio?

I am happily listening to some audio tracks from tchaik on my laptop right now, which is cool!
I saw you tweeted chromecast audio support, and it was this tweet which got me interested in tchaik. I can't figure out how to list and target chromecast's from the tchaik command line or UI; if this support is in, and you give me a few pointers, I'm happy to make a wiki page for it.
If it's not in, consider this a request for chromecast support!

If you're running tchaik in Google Chrome and you have the Chrome cast extension installed, then you should be able to cast the audio from the tchaik tab to your device (we use the standard HTML5 audio player, so it should be picked up).
However, the new Chromecast Audio is not yet available in Australia, so I've been unable to try this myself!
it would seem that there is a Javascript SDK for Chome "senders": https://developers.google.com/cast/docs/chrome_sender.  Would be good to implement this and allow config in the tchaik UI, so leaving this issue open for that!


dao.seeds needs to easily allow voice scopes being added or removed

Use case

We add a new category of proposal called "cats"
users receive voice scopes for cats
voting happens on that scope

Use case 2

we remove category cats again - that prop type no longer exists
voice scopes for cats are removed

Just want to make sure that this is easily possible.

@n13 hello, in the dao.seeds contract the voice scopes are defined in the contract as constants.
There is a vector of scopes, the functions: updatevoice, decayvoice, delegate, undelegate, changetrust and in general all the voice methods use that vector of voice scopes, so we would only have to add "cats" to that vector and it will work as the rest of scopes.
I am not quite sure a table is needed in this case (instead of a vector in the contract), I mean a table would allow you to add scopes without having to recompile the contract, but adding a new proposal type would require to recompile the contract anyways.
In the case of removal, it would be the same.
The problem is that for both cases, the changes will take effect in the next cycle, or better saying, they will take effect the next time updatevoiceis called:

for adding a scope, updatevoice will create it
for removing it, updatevoice won't update it anymore but currently it won't explicitly remove it from the users

So I think another action to delete a scope from the voice table for all the users has to be added to ensure the old scope being removed completely.

Hello @n13, I just need some confirmation:

Would you like the vector of scopes change for a table?
When you add the scope "cats", is it ok if the contract gives the scope to the users in the next period? or better to see the change immediately
I would need to add another function to erase the remaining of the erased voice scope, is that ok?


Max distance between same elements

Max distance between same elements
Link
Difficulty: Easy
Given an array arr[] with repeated elements, the task is to find the maximum distance between two occurrences of an element.
Note: You may assume that every input array has repetitions.
Examples:
Input: arr = [1, 1, 2, 2, 2, 1]
Output: 5
Explanation: distance for 1 is: 5-0 = 5, distance for 2 is : 4-2 = 2, So max distance is 5.
Input: arr = [3, 2, 1, 2, 1, 4, 5, 8, 6, 7, 4, 2]
Output: 10
Explanation: maximum distance for 2 is 11-1 = 10, maximum distance for 1 is 4-2 = 2 ,maximum distance for 4 is 10-5 = 5, So max distance is 10.

Expected Time Complexity :  O(n)
Expected Auxilliary Space : O(n)
Constraints:

1 <= arr.size() <= 106
1 <= arr[i] <= 109

Solved
class Solution:
    def maxDistance(self, arr):
        hist = {}
        rev_hist = {}
        n = len(arr)
        for i in range(n):
            if arr[i] not in hist:
                hist[arr[i]] = i
        for i in range(n):
            rev_hist[arr[i]] = i

        max_value = -1
        for k, v in hist.items():
            max_value = max(max_value, rev_hist[k] - hist[k])
        return max_value


Orderbook is broken because available market pairs API is not working properly

From Chris:

Hello. I just want to report that the orderbook tab/functionality is not working. I tried accessing it accross iOS, Safari, and Firefox browsers. Thanks!

Regression in 0.8.0

Fixed in 0.8.9


UI Scaling

Is your feature request related to a problem? Please describe.
The game supports font scaling, but no UI scaling; if you somehow come across a way to scale down the size of the UI it would make many of us that play at 2k-4k and greater resolutions very happy. The game's auto scaling at larger resolutions makes certain aspects of the UI very massive and take up way too much space, esp during combat.
Ideally, being able to shrink down about 30% would be so nice.
Describe the solution you'd like
A slider that makes the UI smaller. Mostly, UI elements that are too large are:

Event Log Pane (Bottom Right)
Menu Bar Pane (Bottom Left)
Character/Skill Pane (Bottom Middle)
Extra Skill Bars (Left)

Describe alternatives you've considered
There are none, since there is no official support for UI scaling
Additional context
<3

It would also be amazing if you could see all your companions, including the animal companions, without having to scroll the party bar... but I doubt it's doable with modding =(

I think changing the UI so companions show up differently would be way outside the scope of toybox, but damnit if I dont wish I could change it lol


[QUESTION]: State of UEFI development

Hi,
We are interested in Bareflank hypervisor support for UEFI. The website says it is under development, what is the status of development? Can we help in debugging/development?

It currently works fine so long as you include the Extended APIs. We absolutely could use more testing, however. The instructions for setting up EFI are on the main README.md, but I will also do a screencast tomorrow morning and upload it to our YouTube channel to help walk you through it.
The short answer is, use the example config and turn on EFI and the extended APIs. Once you do that, the build system should output a bareflank.efi.  If all goes well, the OS will load while under Bareflank. You can then use the rest of the APIs to set up Bareflank to do whatever you want.
There are a couple of limitations that we have not fixed yet (would love help finishing these):

When using Linux, you might have to tell Linux to use the INIT delay. We need to patch the Linux kernel with a BF specific init to prevent the INIT delay from being set to 0. Ubuntu works fine, but Arch doesn't. We talked to the Linux community and even though this is an issue for all hypervisors, they would prefer a BF specific fix.
Sleep is not supported. If you put the system to sleep, when you wake BF will no longer be loaded. We need to add a sleep handler to EFI to reload BF on wake.

@rianquinn thanks for prompt feedback. I will try that as soon as I will find the time. We wonder about loading 4 independent bare metal binaries, but I assume first we would like to exercise how Linux works to understand principles. Will get back to you as soon I will exercise described procedure.

I updated the README to be a bit more explicit.

@pietrushnic Here is the YouTube video that shows how to do this.
https://www.youtube.com/watch?v=FuEyjDqA53M&t=4s
I am going to close this for now. If you have any more questions, please don't hesitate to reach out.

@rianquinn thanks for that video. I have couple comments, which I would publish later e.g. I'm not sure why EFI is used, if we talking about UEFI.
Anyway, we investigating Bareflank internally and would like to do more research about it. Our goal is to run couple executables in separate VM, we will is if we can figure out how to do that.

@pietrushnic Sorry. I used to work a lot on EFI before it became UEFI, so I have a tendency to say EFI when I really mean UEFI. As for guest support, we are working on that work now. I should have a video on our progress by the end of the week which will include installation, UEFI and guest support on Windows (Linux works too) which will demo the ability to launch guest VMs from Bareflank after it was loaded using UEFI.
With that said.... guest support is very new. We can launch applications (C, C++ or Linux) so long as the application starts using the HVMLite protocol for Xen, which is really just 32bit Protected mode with Paging disabled. There currently isn't any support for disk or network, but we do have write-only serial support. Starting next year, we will be working on a more polished implementation of guest support that includes the ability to do disk, network and a full serial device and the specifics of that work will be announced near Christmas including what we plan to implement, tasking, and whose doing what which will absolutely include tasks that the rest of the community can help us complete.
As for building and running our internal demo (the demo I plan to make the video one in the next couple of days), if you want to run and install that yourself, let me know and I can make a quick video on that with a giant warning stating that its still in heavy development. 😄


pod installation

im having problems installing with pod. it installs and adds your files to my project, but then it doesn't recognize sv() and layout() inside my classes. could you help? thanks

Hey @rostik
Can you confirm your Podfile.lock has   - SteviaLayout (2.1.0), which the latest version.
sv() and layout() were introduced recently and their previous counterparts are sv([]) and layout([])
I know it sounds stupid but did you add import SteviaLayout at the top of the file?

adding 2.1.0 to pod file, fixed it, thank you!
On Mon, Mar 21, 2016 at 5:05 PM, S4cha<EMAIL_ADDRESS>wrote:

Hey @rostik https://github.com/rostik
Can you confirm your Podfile.lock has - SteviaLayout (2.1.0), which the
latest version.
sv() and layout() were introduced recently and their previous
counterparts are sv([]) and layout([])
I know it sounds stupid but did you add import SteviaLayout at the top of
the file?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/s4cha/Stevia/issues/25#issuecomment-199485604

--
Thanks,

Rostik


Inline editor for the file system dock

Modifies the file system dock to use the inline editor instead of a dialog.
Bugsquad edit: Closes https://github.com/godotengine/godot-proposals/issues/4933

Adding android team for android editor review

After the newest changes, you can't double-click Node's icon to focus it in the editor.

I honestly had not realized that was a feature. I've had to dig deeper that I first imagined when I started.
The default behaviour is simply that double clicks will call edit_selected() and if the items aren't editable, it will return false and emit the item_activated signal. The problem is that the filesystem_dock should be editable with the tree->edit_Selected(), but also emit item_activated signals on double clicks which isn't possible with the default behaviour.
if (rect.has_point(mpos)) {
	if (!edit_selected()) {   //<==== this will always edit inline when marked as editable
		emit_signal(SNAME("item_icon_double_clicked"));
	}
} else {
	emit_signal(SNAME("item_icon_double_clicked"));
}

https://github.com/godotengine/godot/blob/6980b2bf1761b9b980920dc5a4d32f240d88e211/scene/gui/tree.cpp#L3670C2-L3676
In this event, pressing 'ui_accept' (space or enter by default) will automatically edit the item and prevent the item_activation signal desired of the filesystem_dock.
if (p_event->is_action("ui_accept", true) && p_event->is_pressed()) {
        if (selected_item) {
                if (!edit_selected()) { //<==== this will always edit inline when marked as editable
                        emit_signal(SNAME(null));
                        incr_search.clear();
                }
        }
}

https://github.com/godotengine/godot/blob/6980b2bf1761b9b980920dc5a4d32f240d88e211/scene/gui/tree.cpp#LL3431C2-L3439C3
I didn't find other behaviour that didn't work as intented. I noticed that the action_map_editor was affected and added changes to make it act as usual.
Alternatively, it would be possible to simply change edit_selected() to add an optional 'bool force_edit' that would be employed in the specific case of the filesystem_dock. It would appear to be more of a hack than anything, but might get the job done in less code and less secondary effects.
case FILE_RENAME: {
    // some code
    tree->edit_selected(true);
    // more code
} break;

edit_selected(true) sounds fine tbh (unless it requires more changes than forcing the edit).

It doesn't need more than necessary I believe.

Not exactly sure what went wrong with the previous tests, but hopefully this solves the issues.

The argument needs to be added here:
https://github.com/godotengine/godot/blob/7f4687562de6025d28eca30d6e24b03050345012/scene/gui/tree.cpp#L5358
ClassDB::bind_method(D_METHOD("edit_selected", "force_edit"), &Tree::edit_selected, DEFVAL(false));

Ah, will do. That makes sense.

Changed the commit and PR description. Let me know if I should change anything.

Thanks! And congrats for your first merged Godot contribution :tada:


fixes typings (possibly closes #9 and closes #40)

Closes #9  and Closes #40
This should fix a problem with Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

Coverage remained the same at 100.0% when pulling 3c0d14d033c290f5cc273df89e4e4609f1c6cb8c on mokeev1995:bugfix/fix-typings into 32f8e288c2ed5b7f71aa47d5f9b980da5c9951aa on epoberezkin:master.

@epoberezkin Can you look at this PR, please?

Please can we get this merged?

I don't see any new NPM release so still experiencing the typings bug..


Externalize derive macro implementation

Hi,
I'm currently trying to make a crate built on top of serde to try to implement a relatively naive idea for struture versioning regarding #1137 as a POC (and hopefully a suitable solution).
For ease of use (both as the developper and user of the crate) I'd like my crate to be able to benefit from serde's derive implementation that is thankfully in a separate function that could be exported.
This would allow my crate (and other ones of the same kind) to be 100% compatible with all of serde derive's attribute and features by manually running the derive function and modifying the AST with quote and syn.
This would allow crate developers to inject their features direclty on the Serialize or Deserialize implementation outputed by serde_derive, kinda like what I'm doing:
--- usage.expanded.initial.rs	2024-06-28 23:42:09
+++ usage.expanded.modified.rs	2024-06-28 23:42:09
@@ -4,7 +4,7 @@
 use std::prelude::rust_2021::*;
 #[macro_use]
 extern crate std;
-use serde_derive::Deserialize;
+use my_serde::Deserialize;
 struct Foo {
     name: String,
     age: u8,
@@ -24,6 +24,11 @@
         where
             __D: _serde::Deserializer<'de>,
         {
+            'my_serde: {
+                {
+                    ::std::io::_print(format_args!("HI!!!\n"));
+                };
+            }
             #[allow(non_camel_case_types)]
             #[doc(hidden)]
             enum __Field {

original file being:
/* Clippy config */
#![allow(dead_code)]
/* Dependencies */
use serde_derive::Deserialize;

#[derive(Deserialize)]
struct Foo {
    name: String,
    age: u8,
    #[serde(default)]
    place_holder: String,
}

fn main() {}

This is, I think, kinda related to #2021.
To do so I pretty much replicated the serde_derive_internals situation.
If this change is ok to you (if its not I can simply use my fork for the time being), I'd like to have your opinion on how you want me to fix the current clippy issues (the lib file currently being the same as for serde_derive_internals)
Simply add a bunch of #[allow()] on the lib.rs, try my best to fix every one of them, alternative ?
Notes
English isn't my primary language, I'm sorry if I made mistakes, if anything sounds bad or if I'm hard to understand 😓.

Just released my code for versioning here if you want to take a look at what this PR allows ^^
https://github.com/vic1707/serde-versioning
btw, if you have time, I'd love to hear your opinion the project

May I ask for your review @dtolnay ?

The issues raised in https://github.com/serde-rs/serde/pull/2021 are not really resolved by this.
I think this is a feature needed commonly enough that we could probably quickly figure out a small robust rust language feature to allow you to call proc macros from other proc macros. I think that would be better in general

Going to close this as I don't see it landing in this form any time soon.

For now you can create a git repo with this repo as a submodule and create your crate that way. It'll be on you to update then, but that was already true. The main problem with those approaches is keeping in sync with the serde version for the internal API that the derives use

For now you can create a git repo with this repo as a submodule and create your crate that way.

Haha, I honestly didn't even thought about submodules, thanks for the idea!

The main problem with those approaches is keeping in sync with the serde version for the internal API that the derives use

Yup but that's a burden for libraries developers not for serde maintainers right ?
Lib devs would write down which version of serde is supported for each versions of their crates just like some already do when depending on/extending serde_derive themselves (thinking of crates like nutype which, I think, could face similar sync issues)?
(Not trying to get the PR opened again, just genuinely trying to understand, I probably am missing a point 😄)

Oh, I thought you were saying that for serde and the PR itself, yup it could become a pain for me and others if serde changes too much.
I didn't saw it as an issue for me as in #1137 dtolnay said that if an extension of serde becomes a popular/viable solution it could get merged directly in serde and was hoping I could one day get that chance 🙃.
Thanks for the explanations and your time 👍

Hi, sorry to bother you again 🙇
about

For now you can create a git repo with this repo as a submodule and create your crate that way.

how do you see this working ? My project https://github.com/vic1707/serde-versioning was already working using git url for the dependency, but couldn't publish to crates due to that.
I tried many approaches to get a working version publishable on crates.io but can't get one to work properly 😓.
I successfully added my fork as a submodule at the root, pointing the dependency to the local path works fine but I can't publish to crates.io since the newly made crate doesn't exist there (expected, same as using the git url).
So I tried multiple solutions using symlinks from and to various folders but none of them satisfies cargo build 😓.
Do you have an idea on how I can get it to work so I can do https://github.com/vic1707/serde-versioning/issues/2 😅  ?

I mean a literal git submodule, not a git dependency. Got submodules are not something cargo understands or cares about, it treats them as just normal files

Yeah thats what I tried but the files weren't getting used during publish, I finally found a way to get it to work properly 🥳

Would you be opened to merging half of this PR (in a separate PR ofc) ?
I would like to merge the creation of the implementation subfolder in serde_derive and move the root files there.
Meaning its the same content as this PR minus the new crate serde_derive_implementation.
Merging this tiny change, apart from making the serde_derive source a bit cleaner (in my opinion) would allow me close my fork as I can live without serde_derive_implementation using the submodule solution and directly depend on serde's HEAD commit, making everything a bit cleaner.
I understand this can be considered a selfish request so I'll wait for your answer before doing any of that.

After re-re-re-...-re reading your comment I think I finally understood what you were talking about
#[path = "../serde/serde_derive_implementation/src/mod.rs"]
mod serde_derive_implementation;

and using it like
use crate::serde_derive_implementation::de::expand_derive_deserialize;

Is this what you had in mind?
Unfortunately, due to the symlinks and crate::/$crate:: it causes cargo build to fail
error: could not compile `serde-versioning` (lib) due to 72 previous errors; 16 warnings emitted

But using
#[allow(clippy::all)]
#[rustfmt::skip]
#[path = "../serde/serde_derive/src/implementation/mod.rs"]
mod implementation;
#[allow(clippy::all)]
#[rustfmt::skip]
#[path = "../serde/serde_derive/src/internals/mod.rs"]
mod internals;

I can get all cargo build to work but not cargo publish despite adding "serde/**/*" to the include list of the Cargo.toml 🤔.
I'll continue searching in this direction. But if it works too I'll still ask if it's possible to make the half-PR 😅

else I'd have to make 7 #[path = ".../XX"] mod XX; one for each module at the root of serde_derive)

That seems not too bad to me. If your crate becomes important enough to support it from serde-rs we can always revisit

Ok then, will work with that for now then 👍


Push for stateless software design

Currently stateless software is more the exception than the norm within the windows ecosystem. For windows containers this is quite a challenge to overcome, as containers are not designed for stateful software. They are basically a tool to package an application without it's data. Therefore by design the application needs to be stateless and being able to resume from just it's database/files. For an upgrade it needs to be able to work with the files of the previous version, as the old version is just terminated and the application in the newer version is pointed towards the old files and started.
If one tries this with most windows software currently it just fails to start.
Therefore more in terms of educating developers and shifting best practices towards stateless software design within the windows ecosystem needs to be done. Compared with linux where every application works (or can be made working using a shart startup script), windows has still to catch up.
As an example, a container with ubuntu can run a whole desktop environment, one is running xrdp and another a custom web application that allows users to spawn there container/desktop environment and finally another one is running guacamole for html5 based rdp. Now the customer has a full vdi infrastructure within 4 containers (working on e.g. 2gb of ram and 2 cpu cores on any cpu architecture) and is able to login either via html5 or native rdp. Where as Windows requires a hypervisor and much much much more resources in general. In the linux example the root filesystem within the container can be mounted read only with the actual /home of the user being persistent. Now if the base container updates everything still continues to work for the user. Where as in the windows world applications start to bail out because they expect being able to do the resource/configuration version update within the installer/updater and not upon startup.
Therefore I'd like to see the following design goals/principals to be pushed more by microsoft:

Push the PackageManager WinGet more
Push steless software design concepts more. Most developers on windows don't know about steless design it seams.
This should be more popular among windows developers https://12factor.net
Get rid of the pet design within the windows ecosystem. And drive towards much more cattles based workloads (And finally drop the last pets).

Thanks for the inputs @agowa338. Most of the notes you made are not technical implementations on the platform, but design patterns that developers should be following. We have a bunch of documentation and developers tools to support that - although we can always improve on these.
From the above, the actionable item is the package Manager. This is something we're currently looking into but nothing to share at this stage as we're in early stages of investigation.
We'll keep this issue open for now and update once we have a more concrete plan of action.
Thanks for the inputs!

Per my previous comment, we're looking into a solution such as common package manager for Windows Containers. However, we don't have a timeline at this moment.
I'll be closing this, but please rest assured that we're looking into this issue.

Per my previous comment, we're looking into a solution such as common package manager for Windows Containers. However, we don't have a timeline at this moment.
I'll be closing this, but please rest assured that we're looking into this issue.


[Music] ...

Extension
https://www.raycast.com/fedevitaledev/music
Description

Error:

Steps To Reproduce

In Raycast Version 1.53.0
Run Play command, same satuation with command Toggle Play/Pause Next Track Previous Track etc
show something like "Something went wrong", but the command functions fine.

Current Behaviour
No response
Expected Behaviour
No response

Hi, are you able to copy any log from the action panel as the screen says?
Is this reproducible every time you run the Pause command? How about other commands? Are your Mac and Raycast up to date?

Error log：”Could not load command”
Is this reproducible every time you run the Pause command?  ------Yes
How about other commands? -----Toggle Play/Pause Next Track Previous Track these commands also show the error
MacOS version: Ventura 13.4
Raycast version :1.53.0

I don’t think that’s a bug from the extension itself. The pause / play commands are just bare AppleScript.
Can you try running the following in the Scripts app?

tell application “Music” to pause

Maybe this could help to understand what is happening

I think you're right, it's not a plugin issue, I'm closing it and trying to write a script to run it myself.
@raycastbot  close this issue

I don’t think that’s a bug from the extension itself. The pause / play commands are just bare AppleScript.
Can you try running the following in the Scripts app?

tell application “Music” to pause

Maybe this could help to understand what is happening

I had the same  #6985 , I tried to create Script and it works fine. Are you sure that this is not related to Raycast and extension?
'Add to library' don't work at all.
Could not load command

@kastov  The script works, thanks.Hope the developers will fix this.

@wty20060888 @kastov sorry for the inconvenience, something must have changed in the last updates. I'm delivering a fix right now.

@Rawnly Great!

Hello：
I recently encountered a problem where I can't access the Raycast website, and my IP is currently in China. What is the cause of this and how can it be solved?

2023年6月12日 01:15，Federico @.***> 写道：
@wty20060888 https://github.com/wty20060888 @kastov https://github.com/kastov sorry for the inconvenience, something must have changed in the last updates. I'm delivering a fix right now.
—
Reply to this email directly, view it on GitHub https://github.com/raycast/extensions/issues/6993#issuecomment-1586252270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALXULSL2U2EDMQJ2UQHYSOTXKX4K3ANCNFSM6AAAAAAY7OTNMU.
You are receiving this because you were mentioned.


Hyprland crash on 'clear' confirmation dialog

Steps to reproduce:

click clipboard icon in panel
click clear
move mouse inside confirmation dialog

hyprlandCrashReport15912.txt

Hyprland 0.41.0 crashes for many various reasons. See NOTE here: https://github.com/nwg-piotr/nwg-shell/discussions/348

Fixed in fe30e02a7a97665ebf87ae78f781e9bfb3706a42.


licensescan: Add licenses for more libraries.

Updating our database with the latest libraries, as needed by some other projects sharing this DB!

I re-ran the test and it passed both times, so it seems this does help with the flakes (or I got lucky!)


Compilation issue: Stored properties cannot be marked unavailable with '@available'

We are using UICircleProgressView 0.6.1, and updated Xcode to version 15. After update we are getting compilation error below:
Stored properties cannot be marked unavailable with '@available'
in class UICircleProgressButton and UICircleProgressView
Please update!

Thanks for your feedback. Should be fixed with v0.6.2.

Hey @ricwein , could you please update the version from 0.6.1 to 0.6.2 in UICircleProgressView.podspec? I'm eager to grab the latest version from your repository. Thanks!"

Hey. Sorry for the late response. I've updated the podspec and release the matching new version 0.6.3. Hopfully this works for you ;)


Clarify discussion part of Identifying Successful Software activity

@danielskatz asked "is this discussion just between each pair or is it between all the pairs?"

It's in each pair - have clarified.


Running this project from scratch gives error : "  'ole' is not defined "

Greetings from the Netherlands

omg. Thanks for pointing this out. I've fixed the README https://github.com/geops/openlayers-editor/commit/2a451c929b86d5755f33977fb6615e7584ee1e67 .
Just run 'npm run build' before 'npm start' then it should work.

omg. Thanks for pointing this out. I've fixed the README https://github.com/geops/openlayers-editor/commit/2a451c929b86d5755f33977fb6615e7584ee1e67 .
Just run 'npm run build' before 'npm start' then it should work.


Rollout #117

Rollout #117

 canary - Complete
uswest - Pending (run after canary)
useast - Pending (run after canary)


chore: Bench client ivc proof verification

Wires the verify_client_ivc bb call to the BBVerifier in ts (which still needs love so we don't read the vk from the tx object), and runs it multiple times as part of the full prover e2e to benchmark how much it takes to verify a client ivc proof. Outputs event logs like the following, though they are not yet loaded by bench-aggregate:
{"circuitName":"private-kernel-tail-to-public","duration":3640.18761600001,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:19.785Z"}
{"circuitName":"private-kernel-tail","duration":3630.627105999971,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:23.419Z"}
{"circuitName":"private-kernel-tail-to-public","duration":3636.371545000002,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:27.057Z"}
{"circuitName":"private-kernel-tail","duration":3561.3480010000058,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:30.620Z"}
{"circuitName":"private-kernel-tail-to-public","duration":3588.0015310000163,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:34.211Z"}
{"circuitName":"private-kernel-tail","duration":3610.198040999996,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:37.824Z"}
{"circuitName":"private-kernel-tail-to-public","duration":3569.164287999971,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:41.396Z"}
{"circuitName":"private-kernel-tail","duration":3557.741927999945,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:44.955Z"}
{"circuitName":"private-kernel-tail-to-public","duration":3568.2085040000384,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:48.526Z"}
{"circuitName":"private-kernel-tail","duration":3557.740408999962,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:52.088Z"}
{"circuitName":"private-kernel-tail-to-public","duration":3568.786586000002,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:55.659Z"}
{"circuitName":"private-kernel-tail","duration":3559.4025660000043,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:59.221Z"}
{"circuitName":"private-kernel-tail-to-public","duration":3567.728372999991,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:02.792Z"}
{"circuitName":"private-kernel-tail","duration":3566.036272999947,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:06.362Z"}
{"circuitName":"private-kernel-tail-to-public","duration":3569.9772229999653,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:09.935Z"}
{"circuitName":"private-kernel-tail","duration":3561.0968479999574,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:13.499Z"}
{"circuitName":"private-kernel-tail-to-public","duration":3569.0639850000152,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:17.071Z"}
{"circuitName":"private-kernel-tail","duration":3562.8168169999844,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:20.639Z"}
{"circuitName":"private-kernel-tail-to-public","duration":3568.064185999974,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:24.209Z"}
{"circuitName":"private-kernel-tail","duration":3558.7975469999947,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:27.771Z"}
{"circuitName":"private-kernel-tail","duration":3616.5346459999564,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:31.404Z"}

Flagging PR as ready for review, but I've had previous runs where the ClientIVC verification failed randomly (see here for a run where one tx succeeded but the other failed, or here for a run for the e2e_prover that worked when re-run). I haven't been able to reproduce it again though. Is it possible that either proof generation or verification for ClientIVC is flaky?

Benchmark results
Metrics with a significant change:

protocol_circuit_simulation_time_in_ms (private-kernel-tail-to-public): 4,000 (-41%)
avm_simulation_time_ms (Token:mint_public): 59.1 (-82%)
avm_simulation_time_ms (Token:_increase_public_balance): 15.0 (-82%)
avm_simulation_time_ms (FPC:pay_refund_with_shielded_rebate): 177 (+61%)
protocol_circuit_proving_time_in_ms (base-parity): 1,919 (+37%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,706
1,537
704 (-1%)
750 (-1%)
771

proof_construction_time_sha256_30_ms
11,743
3,152
1,407
1,422 (-2%)
1,468

proof_construction_time_sha256_100_ms
43,703
12,075
5,439 (-2%)
5,435 (-3%)
5,361 (-3%)

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
58.0 (-2%)
89.0 (-1%)

proof_construction_time_poseidon_hash_30_ms
1,516
416
200
224
266 (-1%)

proof_construction_time_poseidon_hash_100_ms
5,611
1,514
676 (-1%)
745 (+2%)
744 (-1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
708
708
708

l1_rollup_calldata_gas
6,576
6,590
6,576

l1_rollup_execution_gas
583,038
583,203
583,340

l2_block_processing_time_in_ms
756
1,430 (+1%)
2,699

l2_block_building_time_in_ms
13,077
25,584
51,153

l2_block_rollup_simulation_time_in_ms
13,077
25,583
51,153

l2_block_public_tx_process_time_in_ms
10,985
23,280
48,764

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
7,179 (+2%)
10,045 (+1%)

node_database_size_in_bytes
12,439,632
16,470,096

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
101 (+1%)
13,790

GasToken:set_portal
13.2 (+25%)
3,339

Token:constructor
123 (-2%)
23,692

FPC:constructor
94.4 (+1%)
13,592

GasToken:mint_public
84.9 (+4%)
10,158

Token:mint_public
:warning: 59.1 (-82%)
19,034

Token:assert_minter_and_mint
104 (+15%)
12,925

AuthRegistry:set_authorized
47.2 (+2%)
7,812

FPC:prepare_fee
111 (+14%)
11,068

Token:transfer_public
37.6 (-3%)
31,218

FPC:pay_refund
136 (+1%)
21,266

Benchmarking:increment_balance
1,301
11,281

Token:_increase_public_balance
:warning: 15.0 (-82%)
15,006

FPC:pay_refund_with_shielded_rebate
:warning: 177 (+61%)
22,361

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.151 (-6%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.4 (+1%)
16.9 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.604 (+1%)
0.518 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.5
75.7
131
247 (+1%)
470

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.496
0.465
0.450
0.447 (+1%)
0.439

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
60.0 (+1%)
112 (+1%)
183 (+1%)
355 (+1%)
693

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.507 (+1%)
0.500
0.484
0.480 (+1%)
0.474

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
73.3 (+1%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.521 (+1%)
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
77,341
668,542

Transaction size based on fee payment method
| Metric |  |
| - |  |


HSEARCH-4780 Test Hibernate Search against JDK 21

https://hibernate.atlassian.net/browse/HSEARCH-4780

JDK 8 tests are failing for unrelated reasons. JDK 21 tests are failing because Mockito doesn't seem to support JDK 21 yet; we'll probably need to pass an option to have bytebuddy process JDK 21 bytecode.


Support for big-endian architectures

Feature request: please consider to support also big endian architectures.

@avalentino  Sorry for the late reply. I have been thinking about it, and asked others for their opinion, too. My impression is there is no strong demand for it. It says in https://en.wikipedia.org/wiki/Endianness: "little endian is the dominant ordering for processor architectures". Many newer processors also support bi-endian, they can switch. My impression is that the overall share of big endian only processors continues to decline.
Adding big endian support to Lerc would mean bloating the code with swap commands, plus other changes. It would make life somewhat harder for everyone who wants to extend or modify the code. So at this point I'm leaning toward leaving it as is.

I thought about this, and I believe there are two approaches to supporting big-endian processors, only one of which suffers from the problems you note.  The cheap and simple way to do it is to declare by fiat that, while the standard interchange format for Lerc data shall be little-endian, implementations are free to use big-endian data internally.  While I have not had time to peruse Lerc’s actual code, in my experience, even arbitrary bit-field data tends to be processed at some level in multi-byte units of standardized size.  These units of standardized size - usually 32 or 64 bits, these days - behave predictably regardless of the order their constituent bytes are stored in.  Assuming nothing super esoteric is going on, it should be possible to compile Lerc almost as-is on a big-endian machine and have it behave in an internally consistent manner; once that milestone is achieved, allowing such a build to interact usefully with the little-endian majority is just a matter of inserting an I/O filter function to byte-reverse the individual fields in each blob if the code is run on a big-endian machine.  That doesn't require byte-swap operations strewn messily throughout the code, it just requires maintaining clarity of demarcation amongst the various data fields.  (By that I mean, shortcuts that make assumptions about adjacent data units may require extra analysis to ensure correct behaviour - but from a maintainability perspective, are such shortcuts really a good idea in the first place?)


Add max split size session parameters

This PR adds support for specifying max split size and max initial split size session parameters (which are hidden from the user), and also adds a fix that prevents hidden session parameters from being displayed with show session.
The reason we needed these session parameters is for fine tuning the performance of some of our queries that process highly compressed parquet files. For those queries the cluster-wide split size settings were suboptimal so we ended up tuning the split size per query (as we didn't want to change the write path).

I merged the first commit

@electrum rebased to master.

This seems fine to me, but I think @martint had concerns about adding this. Otherwise, good looks good and can be merged.

Merged, thanks!


Net Licensing Agent question

Vendor Question

I have a question on Net Licensing Agent.

a.I generated a nodeSecret for my machine lets call the node secret as ABCD.
b.Added to Net License Site. I generated xml and imported it to my machine.
c. For some reason i need to add few more parameter to my node Secret and i update my program and have a new nodeSecret for the same machine and lets call it as WXYZ
d. I added the nodeSecret (WXYZ) to net licensing SITE by logging in using my netlicense credentials. But i didnt export and import it to my local machine, after the new node secret change i made.

Now while validating the new nodesecret using the netlicensing agent. Will it be able to recognize the new node secret specified in licensing site however my db created from import using the net licensing agent is not the latest ?

While using NetLicensing Agent (offline licensing) modifying the licenses in the online management console will not have an immediate effect on the given on-prem customer.
New licenses need to be exported and imported in the on-prem NetLicensing Agent installation.
You may need to define trigger events for this activity, such as:

regular intervals (e.g. monthly, quarterly, yearly, etc.)
adding of the new licenses
modification of the license
audit results or findings
etc.


[Not for merge] Use default ephemeris in tests

This is just for demonstration in #453 ...
Pluto is not part of the astropy builtin ephemeris calculation and therefore would require jplephem for astropy. This is my patch to delete them.

I might actually want to merge this, since it's probably adding testing time somewhere. Not a big deal, ~10 MB, but still...

Thanks @olebole!


learning rate for 1024

Which learning rate do you use to train model on 1024 resolution?
Thanks!

Hi @happybunny56!
Merry Christmas! 🎄
We use the Prodigy optimizer which doesn't require manually setting a learning rate.


Problem with removed devices

I’ve got a problem with showing switchbot devices in HA.
By mistake I removed a switchbot devices from HA. I changed a config of SwitchBot MQTT but still there is no devices showing in HA.
How to “reset” ESP to show devices in HA?

when the esp32 reboots it sends the mqtt discovery info. your devices will automatically create when the esp32 reboots. if it does not that is an issue with your HA.
ensure the device is fully deleted, then reboot the esp32

How to ensure the device is fully deleted?

Configurations->Devices
if the switchbot is in the list, click it and select delete

I've deleted this way.
And now MQTT do not discovery again switchbot's.
I tried to remove MQTT integration an add a new one. My tasmotas devices showed up again but switchbot not.
In MQTT Explorer I can find switchbots curtains:

hmm... not sure
I've done it many many times, no issues. but with bots. it should work the same for curtain though.
let me google a little bit...

can u try with short names? maybe the discovery msgs are failing with long names. just for testing, make the names short and see if devices are discovered

oh... you have spaces in the names. I think thats it

I will check in the morning

Now is working.
Thanks!


chore: add synergy plugin to microsite

Hey, I just made a Pull Request!
This PR attempts to add a new plugin - Synergy to the microsite. It includes the associated YAML file with all relevant details and the static asset for the logo.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hi!
Cool plugin! Happy to add.
Some future ideas for the plugin while looking through the code:

Could add some installation instructions in the README files of the packages; just some small "how to backend.add this thing" type blurb for example for the backend one
You say that you only support the new backend system (which is perfectly fine!) but you still export the raw router too - feel free to remove that export from your index to not have users be tempted to "peek" at what's effectively closed interfaces
The backend reads config but doesn't have a corresponding config.d.ts and then referencing that in its package.json - see here - you especially want to mark tokens with secret visibility so they don't leak
You seem to only grab the first provider key from config, what about the rest? :)
The backend package's dependencies on the auth backend and guest module can be dev dependencies (it's only used in the dev entrypoint)
Your backend sets an auth policy of unauthenticated on its entire API surface, is that really what you want to do? It opens it up for any user to call it willy nilly with an unauthed curl

Thanks @freben for the thorough feedback 👍  I will look through these and fix wherever applicable.


InteractionManager is not working

Environment
React Native Environment Info:
    System:
      OS: macOS 10.14.1
      CPU: (4) x64 Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz
      Memory: 53.33 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.10.0 - /usr/local/bin/node
      Yarn: 1.9.4 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
      Android SDK:
        API Levels: 23, 25, 26, 27, 28
        Build Tools: 23.0.1, 25.0.1, 25.0.3, 26.0.1, 26.0.3, 27.0.3, 28.0.2, 28.0.3
        System Images: android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom_64, android-26 | Google APIs Intel x86 Atom_64, android-27 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 3.1 AI-173.4907809
      Xcode: 10.0/10A255 - /usr/bin/xcodebuild
    npmPackages:
      react: ^16.6.3 => 16.6.3
      react-native: ^0.57.8 => 0.57.8
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

Description
Hi guys, as the title suggests, my code doesn't run when wrapped inside InteractionManager.runAfterInteractions. This is happening in Android but not sure about ios
e.g.
componentDidMount(){
       InteractionManager.runAfterInteractions(() => {
        this.props.navigation.setParams({
            headerRight: <SearchCount />
        });
      });
}

Similar issue is happening in other components where I wrapped few remote request to be dispatched inside InteractionManager but they do not execute at all

InteractionManager is working on the latest React Native version and in this snack https://snack.expo.io/@bartolkaruza/MjI5OD
We are not able to reproduce the issue, could you please check what other parts of your code could be causing the issue for you?
We've tested this on the current expo version, RN 0.57  and on the latest RN version 0.59.1

sorry for opening this issue. i have a similar problem on this topic. it seems runAfterInteractions() doesn't work in componentDidMount().
this is the code :
componentDidMount(){
    InteractionManager.runAfterInteractions(() => {
         // this doesn't work !!!
         this.scrollView.current.getNode().scrollTo({ y: 70 0, animated: false });
    });
}

and here is the actual component tree
<Animated.ScrollView
          bounces={false}
          ref={this.scrollView}
          style={StyleSheet.absoluteFill}
          showsVerticalScrollIndicator={false}
          scrollEventThrottle={16}
          onScroll={Animated.event(
            [{ nativeEvent: { contentOffset: { y: this.scrollY } } }],
            { useNativeDriver: true }
          )}
        >
          {someLongComponent}
</Animated.ScrollView>

output of react-native info :
System:
    OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 179.70 MB / 15.54 GB
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
    Yarn: 1.17.3 - /usr/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.15.0/bin/npm
  SDKs:
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.1
      System Images: android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
  npmPackages:
    react: 16.8.6 => 16.8.6
    react-native: 0.60.4 => 0.60.4
  npmGlobalPackages:
    react-native-cli: 2.0.1

any idea why?
Alternative Solution:
i had to wrap my code inside a setTimeout() to work this around.


Add codesnipper extension

Description

This extension can be used to copy code snippets from CodeSnipper. CodeSnipper is a macOS App (only M1 currently) to store and manage code snippets locally. With this extension you can copy snippets, view their code and their explanation.
CodeSnipper isn't available on the AppStore right now, it is currently in beta: https://testflight.apple.com/join/VgduAP3J
You can also create new snippets with this extension.
Please be aware that it might take some time for the extension to show new snippets your created, as this relies on the private database of the app which gets updated automatically from time to time by some background jobs.
Screencast

https://github.com/raycast/extensions/assets/67875249/4ee7c516-da12-46de-96d5-31d81d03a12d
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

I tried joining TestFlight, but I don't feel secure by disabling this. Is that the only way to get it? I have joined a lot of TestFlight apps in the past and never saw that one.

Hi @pernielsentikaer,
that is a strange alert, I have never seen this before. I created a new TestFlight group and a new build for you to join: https://testflight.apple.com/join/BUGzZQbC. Maybe this will work.
Kind regards,
Timo

I still have the same error. That's so strange!
I just tested three other TestFlight applications, and none of them exhibit this issue. 🫠

I will contact the Apple App Store Support and ask for advice. Maybe they have an answer. For now I will draft this pull request. Thanks for your time :)


Paging

Hello! Is there any method to add the functionality of paging to this grid?

Hi @advanced373
The grid currently does not support pagination.