feat: add structural sharing of data between query results

Ooooooooo... This is awesome. What else can you tell me about this?

This will make sure that if some query is returning a list of todos, and at some point a todo in this list changes, the references to the other todos will remain the same. This allows users to easily check if some part of the data has changed or not (which can be used to prevent unnecessary renders or effects from triggering).
Together with a notify option on queries to indicate when some hook should trigger a re-render, it would also be possible to create a hook similar to the useSelector hook from Redux. This could then get some specific data from a query and only re-render when the selector result changes:
const username = useQuerySelector('user', getUser, getUsername)

Well shoot dang, that sounds like something I've needed for a while but never tried to build yet.

Do you feel this is ready to merge?

It passes all tests and did some integration testing so this one should be ready to go 👍
PS: do you also have some time to take a look at the other PRs?

Yeah, ping me on what your priority is and I'll get to it.

:tada: This PR is included in version 2.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Is this feature documented somehow in the documentation?

https://react-query.tanstack.com/docs/api#usequery

All I find is the following, but like... what does that mean? How do I use it?

Well, it's not really a feature you "use", but more of an optimization that is just "there" by default. Maybe we could add a section to the docs that talks about what it is to help people know that it's something they normally will want to keep on. Structural sharing just ensures that if serialized responses don't change over time that their identities are deeply persisted, or in other words, its to make your application code better understand that the todos you fetched from your server in the past === the todos you will receive in future fetches as long as they are structurally the same.

Ah, right, yeah. As a developer I world definitely appreciate having a short explanation of this and other features. What it means, a code example where it obviously helps me, and how it "breaks" if I turn it off / why I would potentially want to turn it off.

Is there any documentation or example of how someone would implement a useQuerySelector or similar hook? I have a list of tasks in my app and I often want to limit my re-renders to only the tasks that actually updated in the list after injecting updated tasks via a socket. Seems like this would be a good fit for useQuerySelector or similar. I'm thinking this would allow me to pass in a function that defines what data I want from a specific call of a query and if that data hasn't changed the hook wouldn't trigger a re-render, is that correct?


Node: Blob output binding should support passing a Buffer

What problem would the feature you're requesting solve? Please describe.
I'm running a Node.js Azure Function with an output Blob binding. I'm trying to save a binary file from a Buffer.
My binding:
{
  "name":"copy",
  "type":"blob",
  "direction":"out",
  "path":"files/copy-{name}",
  "connection":"StorageConnectionStringKey",
  "dataType":"binary"
}

Note that I tried dataType=binary but it doesn't seem to make any difference.
and in the function body:
return { copy: new Buffer("Hello") };

The blob contents is written as
{"type":"Buffer","data":[72,101,108,108,111]}

Describe the solution you'd like
It should save the data from the Buffer as-is. Hello in this case.
Related Issues

Set a Content-Type
Blob bindings can't set ContentType and other properties

Fixing this with Functions V3. Thanks!


Website and Docs Issues

Rename "xmldocs" to "docs"
left nav needs to be an expanding tree of main classes > sub classes or just main classes alone
right nav doesn't show all things if the list is long (cropped)
top nav needs to be from main site or replicated the same as main site
bottom footer from main site
eliminate "articles" and move everything up one level
extensionless: no .html extensions

Broke this into #1096  #1097 #1098 #1099 #1100 #1101

I cannot do extensionless,


Overhaul

Big update, lots and lots of little changes to bring this library up to the latest WordPress API standards. Here's a list:

Better stability and predictability (IMHO)
All tests passing, including some of the disabled ones
Use context
Pagination
Comments on all exported functions, variables, etc.
Examples for the three primary authentication methods (oAuth 1.0a, oAuth 2.0/JWT, Basic Auth/Application Passwords)
Replacing gorequest with net/http (for context and fixing weird query string edge cases)
Initial work to accept structs for endpoint options instead of maps
A lot of other little fixes too numerous to count

Thanks @dannynash @o1egl for your work on this!
@sogko I'm hoping you can accept this pull request and possibly transfer ownership of the repo to me. I'm building a whole business on top of go-wordpress, so I expect to be a maintainer of it for a long time to come.
Thanks all!

I'm going to make a sacrifice to the open-source gods so that this PR is merged and that @robbiet480 becomes the new maintainer.


Framework Agreement | Missing permission to request credential

Current Behavior

Submission of framework credential fails
Expected Behavior

Submission of framework credential is successful
Additional information
The composite roles CX Admin, Company Admin, IT Admin and Business Admin miss the request_ssicredential role from Client Cl24-CX-SSI-CredentialIssuer
Detected in version 3.0.0

Missing roles added on int, dev and rc.dev
TODO: update of template instances and documentation

I was able to apply for my use case framework agreement. Thanks for the bug fix


Move line in bar chart on the left of bar, not on but between bars in grouping

Hi i'd like to draw annotation (line) in bar chart. Not on value but on the left of my grouping bars
Can someone help me with it ?

HI
I get the same issue, any visibility on enhancement availability date ? Thanks

https://www.chartjs.org/chartjs-plugin-annotation/samples/charts/bar.html


Migration guide

To be merged after #481
Adds a migration guide. This is also automatically included in the docs.rs documentation.
Some links do not work yet, as some of the changes are not published:

the config changes in #481
The Encode and Decode manual implementation guide in #480

Rendered

Codecov Report

Merging #482 (65f171b) into trunk (29d1d5c) will decrease coverage by 0.27%.
The diff coverage is n/a.

:exclamation: Current head 65f171b differs from pull request most recent head 4a26207. Consider uploading reports for the commit 4a26207 to get more accurate results

@@            Coverage Diff             @@
##            trunk     #482      +/-   ##
==========================================
- Coverage   66.45%   66.18%   -0.28%
==========================================
  Files          38       38
  Lines        2692     2703      +11
==========================================
  Hits         1789     1789
- Misses        903      914      +11

Impacted Files
Coverage Δ

src/lib.rs
100.00% <ø> (ø)

src/error.rs
0.00% <0.00%> (ø)

src/features/serde/mod.rs
0.00% <0.00%> (ø)

src/features/serde/ser.rs
0.00% <0.00%> (ø)

src/features/serde/de_owned.rs
0.00% <0.00%> (ø)

src/features/serde/de_borrowed.rs
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


how can i change the post text without changing the icon

i have a button but i want to change the post text only not the button how can i complete that

Can you explain it more? I did not understand what you meant.

I have a uibutton pretext with an icon that will need to constantly be update now when this this update i dont want the icon to be update because this will remove the view and renter the view into the view again.
this is what im using right now
myButton.setIcon(prefixText: "", icon: .googleMaterialDesign(.print), postfixText: " 66", forState: .normal)
i want to update by doing this
myButton.postfixText = "my postfix text here  "

If you look at the source you'll see that the prefix, postfix and icon are all concatenated together with the various attributed string attributes for each.
https://github.com/ranesr/SwiftIcons/blob/master/Source/SwiftIcons.swift#L321
So there is currently no way of changing just one of the 3 components, as the "settings" are not stored anywhere.
The simplest solution would be to create a custom UIButton, that has the 3 component parts (maybe have a "text" and "attributes dictionary" for each part. Then use the didSet closure to re-run the setIcon function, whenever any of those properties change.
@ranesr seems to have taken the simplest approach to integrate the icon's, which I prefer over bloated libraries with 100's of components to support all the various possibilities. So i'm not too sure whether such components would be a welcome addition to this library, or if it would better too "roll your own" library based on this one. Maybe ranesr can make his vision known for this library, so we know whether contributing back custom components is worthwhile, or if he prefer's too keep things simple.


copyright -> 2017

@itscurtcom Thanks for the edit! Feel free to work on anything else in this repo 😊


fix(BDropdown): set aria-disabled attr when disabled

Describe the PR
Adds the aria-disabled attribute to b-drop-down-item to improve accessibility.
Also expands the playground page to include examples of b-drop-down-item with various different attributes.
Small replication
Fixes #1350
PR checklist

What kind of change does this PR introduce? (check at least one)

[x] Bugfix :bug: - fix(...)
[ ] Feature - feat(...)
[ ] ARIA accessibility - fix(...)
[ ] Documentation update - docs(...)
[ ] Other (please describe)

The PR fulfills these requirements:

[x] Pull request title and all commits follow the Conventional Commits convention or has an override in this pull request body This is very important, as the CHANGELOG is generated from these messages, and determines the next version type. Pull requests that do not follow conventional commits or do not have an override will be denied

Putting commit messages for the playground aren't too useful for the release messages.


ADR 010: removal of MsgWirePayForBlob

Closes https://github.com/celestiaorg/celestia-app/issues/951
Draft PR still work-in-progress

just to update this, we're delaying fleshing out this ADR, but we have merged the implementation in https://github.com/celestiaorg/celestia-core/pull/893 and https://github.com/celestiaorg/celestia-app/pull/1089


Doc/add plot types

Add to the example sessions an example that shows all the plot types.

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

Comparison is base (6f4295c) 75.76% compared to head (8290b51) 75.76%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #84   +/-   ##
=======================================
  Coverage   75.76%   75.76%
=======================================
  Files          16       16
  Lines        4997     4997
  Branches     1050     1050
=======================================
  Hits         3786     3786
  Misses        860      860
  Partials      351      351

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


Unable To Connect To Franz With VPN

Expected Behavior

Turn on VPN (Private Internet Access) and connect to services via the Franz client.
Current Behavior

When I turn on VPN, all Franz services go offline. (Slack, Hangouts, Whatsapp, Facebook, Tweetdeck, Google Calendar, LinkedIn, Skype)
I've tested this several times to reproduce the current behavior.
Steps to Reproduce (for bugs)

Turn on VPN
Open Franz

Context

I'm unable to use Franz and my current VPN provider.
Your Environment

Franz Version used: Version 5.0.0-beta.14 (5.0.0-beta.14.451)
Operating System and version: macOS Sierra V 10.13.1

Duplicate of #16

VPN is not the same thing as a proxy.
VPN used to work a couple weeks ago, and stopped working for me and other people at the same time.
Respectfully, this is not a duplicate of #16

Reinstalled VPN software, issue resolved. Suspect this is related to high sierra osx update process


Modularize iD.core

@tmcw @bhousel review?

@bhousel @tmcw updated the code. This PR might need a careful review since it is the core of iD.

Looks ok to me!  I'll resolve conflicts and merge..


Convert ras2fim depth grids to validation datasets

This is a tool to generate validation datasets (inundation extent grids) at NWM recurrence intervals using ras2fim depth grids. Resolves issue #497 (cahaba issue)
Changes to ras2fim outputs

A preprocessing script was run to reorganize the ras2fim outputs. The current ras2fim output looks like:
HUC8 -> 05_hecras_output -> HUC12 -> feature_id -> rating_curve/depth_grid

The reorganized inputs for this script look like:
HUC8 ->  rating_curve/depth_grid ; where folders contain rating curves and depth grids for all feature_ids within the HUC8 with the feature_id in the title of the file.

Additions

For each NWM recurrence interval flow (2yr, 5yr, 10yr, 25yr, 50yr, 100yr), ras2fim rating curves (for each modeled feature_id) are used to interpolate an average depth (m). If this depth is within the lower and upper bounds of the relevant rating curve, the method used for AHPS evaluation is followed to select the closest depth grid. If the interpolated depth is outside of the rating curve bounds for any recurrence interval, that feature_id is dropped from all validation datasets for the relevant HUC8.

The remaining depth grids are converted to inundation extent grids and reprojected to USA_Contiguous_Albers_Equal_Area_Conic_USGS_version. The interpolated flows for each feature_id are aggregated into a single rating curve for each HUC8.

Inundation extent grids for each recurrence interval are merged at the HUC8 scale and masked to set cells outside of HUC8 boundaries to nodata.

Missing data points for feature_ids are logged and used to update rating curves to be consistent across recurrence intervals. Intermediate grids are removed.

Testing

@Brad will run a test on the output validation datasets to check for any issues.

I tested the outputs produced for the HUC8s in the attached screenshot, and they were successfully processed by synthesize_test_cases.py from the Cahaba repository.

There are around 27 HUC8s that still need to be processed or made available so that this new tool can be run against them. @JamesColl-NOAA Can you please comment on the status of those?


allow for configuration of what raises a KeyboardInterrupt

this PR intereduces a config submodle. It allows for central managment of configurations and also for the user to change these as needed.
For now this module only containes INTERRUPT_KEYS, a list of keys that result in readchar() raising a KeyboardInterrupt. It defaults to key.CTRL_C
Testing implementation:

[x] existing default behavior

[x] import full libary
import readchar

while True:
    k = readchar.readkey()

[x] from import
from readchar import readkey

while True:
    k = readkey()

[x] import full libary
import readchar

readchar.config.INTERRUPT_KEYS.append("q")
while True:
    k = readchar.readkey()

[x] from import
from readchar import readkey, config

config.INTERRUPT_KEYS.clear()
config.INTERRUPT_KEYS.append("q")

while True:
    k = readkey()

Warning
only works with the list methodes!! using config.INTERRUPT_KEYS = [] will not work, as it simpy assignes a new list to the

Coverage increased (+0.2%) to 94.702% when pulling d9dea1a31a0cd2c052aa678ca1db6212df3c403d on config-interrupt-keys into f2f6259a0096664107d3dabb5c8cfa3f87270bb9 on master.


fixed a few things

Made a .env file that is empty, Replaced the config.js stuff in the readme and replaced it for the .env file.
Merged two if statements into one.


Inline/In field alert

It would be really nice if there was some sort of inline or in field alert pattern for warnings that's similar to the inline error pattern that's featured in the screenshot.
It would be great to get a bit more guidance from PatternFly in situations when the user needs to be alerted at a slightly higher level than providing the user with just contextual help.

@mcarrano making you aware of this issue. @lwrigh I'm switching this issue over to the patternFly-design repo


feat: provide option to provide name of user during open web shell in container

It has not use technically.
During hardening the container security, --security-opt no-new-privileges has been provided.
So, at runtime, if the non-root user has still sudo access, it can't escalate his permission using sudo.
So this feature is completely redundant now.


ach webui

This PR introduces a web UI which can parse ACH files from Go->WASM cross-compiling of our library. It lets us host a tool/demo for the community.
To run / dev locally run:
make build-webui && go run ./cmd/webui/

Then open http://localhost:8080/ in a browser. You can use some of our test files as examples.
Issue: https://github.com/moov-io/ach/issues/763

Codecov Report

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

@@           Coverage Diff           @@
##           master     #765   +/-   ##
=======================================
  Coverage   93.11%   93.11%
=======================================
  Files          66       66
  Lines        5839     5839
=======================================
  Hits         5437     5437
  Misses        241      241
  Partials      161      161


[DOC]: add HTML CSS interview questions

We are collecting often asked interview questions for Web Developers. Before adding questions and answers, please make sure if the question is already added or not. Use the search option to search your questions Ctlr+F/ cmd+F
path src/json/javascriptinterview.json
Topics:

How to add questions?
If you add HTML questions, then you have to use html tag, if CSS questions then use css, and so on.

@devvsakib i will do that can you assign to me?

@devvsakib i am not able to push my branch can you give me the permission to push my branch??

Please share what issue you faced @harsh472000

when i pushed my branch throws this error
remote: Permission to devvsakib/power-the-web.git denied to harsh472000.
fatal: unable to access 'https://github.com/devvsakib/power-the-web.git/': The requested URL returned error: 403

https://github.com/devvsakib/power-the-web/pull/234
this is my merge request Review and merge it
thank you.

Merged #234
PR: @harsh472000

Merged #238
PR: @Jrobbins973

Hey, #251 is my pull request
please review and merge it
thankyou.

@devvsakib ,can i work on it too,could you please assign it to me

Assigned @karthiknadar1204

have added 2 questions 2 both html and css,will initiate a pr soon

@devvsakib ,could you guide me on how to sync changes between the fork repository and the existing remote repository,have made the changes but the fork for the same doesn't exist so unable to initiate a pull request.


Implement Terraform alternative for pubsub-v1 snippets

Snippet to enhance: pubsub-v1
More details: go/dm-snippets-alternatives
Example: #593

@AlexBulankou I think I'm missing permissions to assign issues. Would you mind assigning this one to me?


Added testing certificate private key (server.pfx) as it was skipped by .gitignore

Added testing certificate private key (server.pfx) as it was skipped by .gitignore - see #51.

Thanks


NumShards will cause broker can't load segments

NumShards will cause broker can't load segments
Affected Version
0.9.2/0.12.3
Description

We load batch data which set NumShards to 100
The number of batch data is 10,  and their cardinality is 10 too.
So although the reduce number is 100, but finally the shards will only 10 ,and their shards number is not continuous.
Broker will add them in incompletePartitionsTimeline when creating versionedIntervalTimeline.
The query about this datasource will return null

@licl2014 thank you for the report! I believe the same issue exists in master.

we also met this problem and we let this task failed!


IndexError: index 5 is out of bounds for axis 0 with size 5

data: folder_shared/sct_issues/
commit: d215adcb82d0c86b15034c522ff9c4d33582051d
sct_process_segmentation -i gre-mask.nii.gz -p centerline
  OK: gre-mask.nii.gz

Check parameters:
.. segmentation file:             gre-mask.nii.gz

Create temporary folder...
mkdir tmp.151120142439_776173/

Copying data to tmp folder...
sct_convert -i /Users/julien/data/shim/20151120_shim_005/gre-mask.nii.gz -o tmp.151120142439_776173/segmentation.nii.gz

Orient centerline to RPI orientation...
sct_image -i segmentation.nii.gz -setorient RPI -o segmentation_RPI.nii.gz

Open segmentation volume...

Get data dimensions...
.. matrix size: 48 x 192 x 192
.. voxel size:  1.15mm x 1.14583mm x 1.14583mm
/Users/julien/miniconda/lib/python2.7/site-packages/numpy/core/_methods.py:59: RuntimeWarning: Mean of empty slice.
  warnings.warn("Mean of empty slice.", RuntimeWarning)
/Users/julien/miniconda/lib/python2.7/site-packages/numpy/core/_methods.py:71: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)

Smooth centerline/segmentation...
.. Get center of mass of the centerline/segmentation...
.. Smoothing algo = hanning
.. Windows length = 80
WARNING: The smoothing window is larger than the number of points. New value: 5
WARNING: The smoothing window is larger than the number of points. New value: 5
Traceback (most recent call last):
  File "/Users/julien/code/spinalcordtoolbox/bin/sct_process_segmentation", line 692, in <module>
    main()
  File "/Users/julien/code/spinalcordtoolbox/bin/sct_process_segmentation", line 149, in main
    fname_output = extract_centerline(fname_segmentation, remove_temp_files, verbose=param.verbose, algo_fitting=param.algo_fitting)
  File "/Users/julien/code/spinalcordtoolbox/bin/sct_process_segmentation", line 317, in extract_centerline
    data[round(x_centerline_fit[iz-min_z_index]), round(y_centerline_fit[iz-min_z_index]), iz] = 1 # if index is out of bounds here for hanning: either the segmentation has holes or labels have been added to the file
IndexError: index 5 is out of bounds for axis 0 with size 5

N.B. I discovered the issue when running propseg

I noticed that sct_propseg now uses sct_process_segmentation to extract centerline.
However, when specifying few points along the cord, sct_process_segmentation fails to smooth the centerline because the current implementation of smooth_centerline (called by sct_process_segmentation and located in sct_straighten_spinalcord) removes all z that have no labels. So, if only 5 points are specified, then the matrix only smoothes with 5 points.
This seems wrong, and I am wondering why we did not notice this problem before?  Datasets that worked in November 11th do not work now, although I don't notice specific change since that date?

OK-- the problem has been introduced in commit 0c08009c9d355dbf7bc1d73bc8ad513b2f439699 to fix issue #544.
So I will reverse it back until a bug-free solution is found.

This issue is now fixed, but issue #544 is now re-opened.


Checksum and flle size difference on Apple chip Macs vs Linux and Windows

Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?

[X ] Running npm install sharp completes without error.
[ X] Running node -e "require('sharp')" completes without error.

If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?

[X ] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?
System:
OS: macOS 14.3
CPU: (12) arm64 Apple M3 Pro
Memory: 36.59 MB / 18.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.6.2 - ~/.nvm/versions/node/v21.6.2/bin/node
npm: 10.2.4 - ~/.nvm/versions/node/v21.6.2/bin/npm
What are the steps to reproduce?
Apply resize to an image file such as a png or jpg. Generate the md5 checksum. Run the same process on the same image on Mac and Windows. The checksum will differ and likely this is because the file size differs. I checked metadata bytes and they match.
What is the expected behaviour?
Checksums and file sizes should match across operating systems.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
const sharp = require('sharp');
const fs = require('fs');
const crypto = require('crypto');

// Function to process image, resize it, and generate an MD5 checksum
async function resizeAndChecksum(imagePath) {
    console.log("Processing Image:", imagePath);

    // Read image buffer from the given image path
    const imageBuffer = fs.readFileSync(imagePath);

    // Resize the image to 192x108
    const resizedImageBuffer = await sharp(imageBuffer)
        .resize(192, 108)
        .withMetadata()
		.toBuffer();

    // Generate MD5 checksum of the resized image
    const checksum = crypto.createHash('md5').update(resizedImageBuffer).digest('hex');
    console.log("MD5 Checksum:", checksum);

    // Optional: Save the resized image to disk
    fs.writeFileSync('output/' + `resized_${Date.now()}.jpg`, resizedImageBuffer);

    return { checksum };
}

// Taking input from the terminal
const imagePath = process.argv[2];
if (!imagePath) {
    console.log("Please provide an image path.");
    process.exit(1);
}

resizeAndChecksum(imagePath)
    .then(result => console.log("Finished processing. Checksum:", result.checksum))
    .catch(err => console.error("Error processing image:", err));

Please provide sample image(s) that help explain this problem

Any image off the internet will work but you can try this one https://www.pexels.com/photo/white-and-grey-kitten-on-brown-and-black-leopard-print-textile-45201/

There will be small differences in SIMD behaviour/rounding on different CPUs within various libraries upon which libvips depends (zlib-ng, libjpeg-turbo, highway etc.), which would explain why you're seeing slightly different checksums for the compressed pixel data. Perhaps you could look at uncompressed, raw pixel data if you need to compare images cross-platform.
See also https://github.com/lovell/sharp/issues/3783

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


Math Magicians: Events

Work Done

Created a new directory called logic inside my project.
Copied the files calculate.js and operate.js into my logic/ directory.
Installed big.js using NPM.
Implemented click event handlers using the math logic from calculate.js and operate.js in my React component.
The Calculator is able to perform math operations.

Work Done

Improved the operations


doppio not initialized

I thoroughly enjoyed reading your paper. there are some very cool ideas in Doppio!
I've been following along the instructions at:
https://github.com/plasma-umass/doppio/wiki/Doppio-Developer-Guide#plugging-doppiojvm-into-a-frontend
And it seems the doppio variable is not initialized in the browser, so neither the js or the cli calls work.
I've tried comparing to the demo page, but that is too old to be a useful comparison. Any suggestions would be very much appreciated.

@ianopolous Depending on what you're trying to do, you might find https://www.javapoly.com/ to be a convenient API for invoking Java in the browser/frontend.  If nothing else, you can look at the javapoly source code for an up-to-date example of starting up a doppio instance in the browser.

Hmm, that's odd. The doppio.js file should expose a doppio global.
I will see about updating the documentation tomorrow and get back to you.

You can see the source code and build instructions for an updated demo here. The demo is not live yet because I am having issues with terminal emulation, and may need to switch to using a different library, but its DoppioJVM integration works. The magic happens in this file, which may be a bit complex to look through.

No need to apologize! Our documentation is out of date, and there are no simple examples to work from.
I changed the top-level variable to be Doppio, and the JVM constructor is Doppio.VM.JVM. I was trying to migrate toward loosely coupling DoppioJVM with Doppio, but forgot to update docs.

The new variable names fixed it. Thank you! Can't wait to get it all working!

Awesome! Let me know if you have any questions. I'm reopening this so I remember to update the docs.

The Getting Started Guide is updated, and is now in Git.


Missing files?

Are you missing some files? Nothing here seems to resemble a JS library.

Are you missing some files? Nothing here seems to resemble a JS library.

This isn't published to NPM given it is an experiment I never completed. Checking out source and installing the deps should give you a working dev environment though
git clone https://github.com/marionebl/dom-to-svg.git
cd dom-to-svg
yarn
yarn start


Update Readme on github

The current readme file on github is outdated

The repo requires continuous improvement, but I'm closing this for now.


Statistics dashboard for Thunderbird add-ons is not working since split from AMO

Describe the problem and steps to reproduce it:
Visit statistic dashboard of any Thunderbird add-on, e.g. https://addons.thunderbird.net/en-us/thunderbird/addon/customizemybird/statistics/?last=30
Page is not displayed correctly.
What happened?
Infinite loading screens, stats not updated for month.
What did you expect to happen?
Visual appearance of statistics like present before Thunderbird add-ons moved from https://addons.mozilla.org/ to https://addons.thunderbird.net/
Anything else we should know?
This issue is present for month. Strange nobody has reported anything yet.

https://github.com/thundernest/addons-server/issues/4


Make data directory configurable

Currently, teku's data directory is created in the current working directory: https://github.com/PegaSysEng/artemis/blob/6bb628647bcfc1382d45018045f14a987f1ab33c/storage/src/main/java/tech/pegasys/artemis/storage/ChainStorageServer.java#L40
We should make the data directory location configurable, and probably put the actually db data in a subdirectory at /db

Note that this ties into an existing epic of work: https://pegasys1.atlassian.net/browse/BC-53 In particular, we should ensure that we record a clear version for the database format to make future migrations easier.  We don't need to maintain backwards compatibility for this change though.

see ArtemisConfiguration
add a configuration item for data directory - Besu uses "--data-path"
move db into a subdirectory /db
need to add some tests

there's a bit of scope creep, but also its easier than thought in a way.

we don't actually have command line arguments to play with
we do need to write a database version file, and throw a runtime exception if the version doesn't match

i'm confident enough that its more of a 1 than a 3, so changed the estimate.


Bug: forge fmt output fails on forge fmt --check

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (24a9fb8 2022-07-02T00:03:35.337245982Z)
What command(s) is the bug in?
forge fmt
Operating System
Linux
Describe the bug
Description
Formatted output from forge fmt is still considered not formatted when using --check, aka. the same input can be formatted twice.
Steps to reproduce
Format this code:
// SPDX-License-Identifier: MIT
pragma solidity =0.8.15;

contract Format {
    constructor() {
        uint256 a = 1;

        // TODO: do this and that
    }
}

and get this result:
// SPDX-License-Identifier: MIT
pragma solidity =0.8.15;

contract Format {
    constructor() {
        uint256 a = 1;
        // TODO: do this and that
    }
}

Run format fmt again.
Expected result
The file stays unchanged since it's already formatted.
Actual result
The file gets formatted again (and thus fails if --check is used):
// SPDX-License-Identifier: MIT
pragma solidity =0.8.15;

contract Format {
    constructor() {
        uint256 a = 1; // TODO: do this and that
    }
}

@xJonathanLEI can we consider this issue closed?

@rkrasiuk Yep I've tested and it's fixed by #2197.


Add support for parallel jobs: each job adds its annotations without deleting others added by other jobs

Suppose a Pull Request has an Apex Class with a single PMD violation and an LWC with a single violation.
We want to have a GitHub Action with two parallel jobs (instead of a single one): one for PMD checks (using engine: pmd) and another for the ESLintLWC violations (using engine: eslint-lwc).
I have noticed that either the PMD or the ESLintLWC result is added as annotation, but not both.
I suppose it happens because both jobs execute the SFDX Scanner with all the changes files in the Pull Request and since we have specified the engine (either pmd or eslint-lwc) the last ending job deletes the result of the other jobs and only its result is shown (either for PMD or ESLintLWC).
It would be nice if each (parallel) job does not delete the result of other executed jobs. Another solution could be to invoke the SFDX Scanner passing only the proper files based on the specified engine: it means if the engine is pmd, invoke the SFDX Scanner passing only the right files (e.g. Apex Class, Visualforce Page) even if the Pull Request contains also other files.

I just noticed that this behaviour happens when the report-mode is check-runs.
If we use report-mode: comments then all the comments from all the parallel jobs are added.


Insecure dependency base64url < 3.0.0

Dependency base64url^2.0.0 is not secure per NSP advisory 658
Please consider updating! Thanks

It's a dev dependency and shouldn't cause any warnings on npm install or the like unless you're cloning the repo and installing them to do development. If I'm mistaken on that, please let me know!
Ref: https://github.com/brianloveswords/node-jwa/pull/27

Interesting point thanks @omsmith! It's flagging as an NSP error in one of our toolchains (which installs DevDependencies in order to perform a build step) - but I'll investigate whether it's possible/sensible to update our NSP check config to ignore.

Thanks @alex-thewsey-ibm, glad you got it sorted.


Dockerfile cleanup

Description of changes:
Cleanup of the Dockefile to reduce it's size and make it easier to manage versions
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Looks good. Thank you! Merging.


Warn when tag is older than an existing one

This way we could avoid tagging "wrong" releases.

I am not sure if implementing this is useful.
All tags must follow semantic versioning. If not, you will always get a warning. We could add a note on how to disable this warning though.
Version check can be done with sort and -V, but that option is only available since a specific sort version. The sort (app itself) version check would be also complicated. I am not sure if that is worth it.
https://stackoverflow.com/questions/4023830/how-to-compare-two-strings-in-dot-separated-version-format-in-bash


Library release removal request

Library name
artemis-cubesat
Version to remove

1.0
1.1
1.2
1.3
1.4
1.5
1.6

Hi @lukeclements. You must delete the tags from the library's GitHub repository before we can remove the releases. I see that they have not yet been removed:
https://github.com/hsfl/artemis-cubesat/tags
I'll provide instructions you can follow to do that:

Click the following link to open the GitHub page of the tag:
https://github.com/hsfl/artemis-cubesat/releases/tag/v1.0
Click the Delete button on that page.
Click the I understand, delete this tag button.
Repeat the above steps for the tags of each of the other releases you are requesting be removed.
Comment here to let me know that the tags have been deleted so that I can proceed with removing the releases from Arduino Library Manager.

Hi, sorry about that. I have deleted the tags.

I am confirming your request.
Unlike submissions, this type of request is still handled manually. The Library Manager index maintainer occasionally comes through to clear all the outstanding requests. They will close this issue when it is done. You will get a notification from GitHub at that time.
After that, you can monitor the indexing of the library via its dedicated logs web page.
Information about that here:
https://github.com/arduino/library-registry/blob/main/FAQ.md#can-i-check-on-library-releases-being-added-to-library-manager

Hello @lukeclements, I tried removing the releases you mentioned but the operation failed for each one with this message:
Removing<EMAIL_ADDRESS>error: Library release<EMAIL_ADDRESS>not found
Original files were restored.

I see that the repository https://github.com/hsfl/artemis-cubesat/releases has no releases and this might be the reason why they cannot be found inside the database. Could you please double check that every information you provided is correct?
In case everything is correct, the fact that the releases are not contained in the database could be a valid reason to mark this issue as resolved. What do you think @per1234?
Sorry for the inconvenience.

Yes, sorry that makes sense. There is not a version 1.0 which is an error on my end.

For the sake of transparency, here are the results of each other removal attempt:
2023/07/06 08:44:41 Loaded 5962 libraries from DB
Removing<EMAIL_ADDRESS>error: Library release<EMAIL_ADDRESS>not found
Original files were restored.

2023/07/06 08:44:47 Loaded 5962 libraries from DB
Removing<EMAIL_ADDRESS>error: Library release<EMAIL_ADDRESS>not found
Original files were restored.

2023/07/06 08:44:51 Loaded 5962 libraries from DB
Removing<EMAIL_ADDRESS>error: Library release<EMAIL_ADDRESS>not found
Original files were restored.

2023/07/06 08:44:56 Loaded 5962 libraries from DB
Removing<EMAIL_ADDRESS>error: Library release<EMAIL_ADDRESS>not found
Original files were restored.

2023/07/06 08:45:01 Loaded 5962 libraries from DB
Removing<EMAIL_ADDRESS>error: Library release<EMAIL_ADDRESS>not found
Original files were restored.

2023/07/06 08:45:06 Loaded 5962 libraries from DB
Removing<EMAIL_ADDRESS>error: Library release<EMAIL_ADDRESS>not found
Original files were restored.

Since no release is actually present in the database, I will close this issue and mark it as resolved.
Thanks for your patience!

Hi, thank you for your assistance. When I view the library from Arduino IDE 2.0 I still see that the library has 1.1.0, 1.2.0, 1.3.0, and 1.4.0 still listed.

Done:
2023/07/07 07:37:32 Loaded 5963 libraries from DB
Removing<EMAIL_ADDRESS>Success!

2023/07/07 07:37:40 Loaded 5963 libraries from DB
Removing<EMAIL_ADDRESS>Success!

2023/07/07 07:37:46 Loaded 5963 libraries from DB
Removing<EMAIL_ADDRESS>Success!

2023/07/07 07:37:53 Loaded 5963 libraries from DB
Removing<EMAIL_ADDRESS>Success!

2023/07/07 07:38:00 Loaded 5963 libraries from DB
Removing<EMAIL_ADDRESS>Success!


bump version of spring boot to 1.5.16

Oh sorry didn't mentioned you requested review from someone particular.

@mocenas No problem:) Thank you for reviewing and merging the changes:)


binds not working correctly in iframe

There's a subtle issue if using in iframe. If you click on an item, but don't drag, the _onDrop function is not called. It causes the whole thing to freeze.
As I see it, "end" events are binded to window document. But the elements are located in another document, not the parent, which created the Sortable. In my case I solved it by binding the events to the owner document instead. I changed it to:
_on(evt.target.ownerDocument, 'mouseup', this._onDrop);
_on(evt.target.ownerDocument, 'touchend', this._onDrop);
_on(evt.target.ownerDocument, 'touchcancel', this._onDrop);

in function _onTapStart. It seems to be enought in my scenario, but you might consider changing the document variable to handle iframes correctly

Create example on jsbin.com

http://jsbin.com/rirofosiwa
First click (don't drag) on the item in iframe list, then try to drag items in the upper list.
As I said it's subtle, but in my scenario, where clicking item means editing it, this issue breaks all the flow

Try dev-branch.

@ozys5000 You did not checked an dev-branch?

sorry, don't have time to check these days

@ozys5000 ?

Hi,
I went and tried your original patch (8b818ed) and also current dev-branch, and tried your included demo. The fix does not work in either location.
I have created a video demonstrating the problem, which I have attached.
I reviewed the code looking for any obvious issues, and I discovered that this line still referenced "document" instead of "ownerDocument":
_off(document, 'touchmove', this._onTouchMove);
Is there a reason for this?
I am personally attempting to drop items into the iframe, but I think that should also work once this is fixed?
Sortable.zip
If you agree this is broken we should reopen this specific ticket rather than creating a new one.

Not sure if related or a new issue.
Any item element with a handle and iframe is undraggable - the ghost is stuck and the element freezes, nothing is draggable from that point.
http://jsbin.com/rawido/edit?html,output

has this been fixed? If not is there any workaround?

@iwebnaut Sorry, read your comment just now. Yes I found a workaround, but you aint gonna like it (any more than I do). Upon drag start I take the iframe out of DOM.
Check out this pull request: https://github.com/RubaXa/Sortable/pull/1143/commits
But note that I'll soon rewrite it following a comment from jeroenreijs


[BUG] Cannot install MLX locally

Hi @awni
I am trying to install mlx from the main branch but I am getting the following error
Obtaining file:///Users/nripeshniketan/Documents%20-%20Nripesh%E2%80%99s%20MacBook%20Pro/python_programs/mlx
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Installing backend dependencies ... done
  Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: mlx
  Building editable for mlx (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building editable for mlx (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [279 lines of output]
      running editable_wheel
      creating /private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-wheel-7l783k6q/.tmp-t4_c0aaq/mlx.egg-info
      writing /private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-wheel-7l783k6q/.tmp-t4_c0aaq/mlx.egg-info/PKG-INFO
      writing dependency_links to /private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-wheel-7l783k6q/.tmp-t4_c0aaq/mlx.egg-info/dependency_links.txt
      writing requirements to /private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-wheel-7l783k6q/.tmp-t4_c0aaq/mlx.egg-info/requires.txt
      writing top-level names to /private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-wheel-7l783k6q/.tmp-t4_c0aaq/mlx.egg-info/top_level.txt
      writing manifest file '/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-wheel-7l783k6q/.tmp-t4_c0aaq/mlx.egg-info/SOURCES.txt'
      reading manifest file '/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-wheel-7l783k6q/.tmp-t4_c0aaq/mlx.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      writing manifest file '/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-wheel-7l783k6q/.tmp-t4_c0aaq/mlx.egg-info/SOURCES.txt'
      creating '/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-wheel-7l783k6q/.tmp-t4_c0aaq/mlx-0.12.0.dev20240428+c4a471c9.dist-info'
      creating /private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-wheel-7l783k6q/.tmp-t4_c0aaq/mlx-0.12.0.dev20240428+c4a471c9.dist-info/WHEEL
      running build_py
      running build_ext
      -- The C compiler identification is AppleClang <IP_ADDRESS>00309
      -- The CXX compiler identification is AppleClang <IP_ADDRESS>00309
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Building MLX for arm64 processor on Darwin
      -- Building METAL sources
      -- Building with SDK for macOS version 14.4

      -- Accelerate found /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/Accelerate.framework
      -- Downloading json
      -- Using the multi-header code from /private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/tmp533adx9u.build-temp/mlx.core/_deps/json-src/include/
      -- Downloading gguflib
      -- Building Python bindings.
      -- Found Python: /Users/nripeshniketan/Documents - Nripesh’s MacBook Pro/python_programs/mlx/venv/bin/python3.10 (found suitable version "3.10.14", minimum required is "3.8") found components: Interpreter Development.Module
      -- Configuring done (7.8s)
      -- Generating done (0.0s)
      -- Build files have been written to: /private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/tmp533adx9u.build-temp/mlx.core
      [  0%] Generating compiled_preamble.cpp
      [  1%] Generating compiled_preamble.cpp
      [  1%] Building C object mlx/io/CMakeFiles/gguflib.dir/__/__/_deps/gguflib-src/fp16.c.o
      [  2%] Building CXX object python/src/CMakeFiles/nanobind-static.dir/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/nanobind/src/nb_internals.cpp.o
      [  4%] Building CXX object python/src/CMakeFiles/nanobind-static.dir/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/nanobind/src/implicit.cpp.o
      [  4%] Building C object mlx/io/CMakeFiles/gguflib.dir/__/__/_deps/gguflib-src/gguflib.c.o
      [  6%] Building CXX object python/src/CMakeFiles/nanobind-static.dir/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/nanobind/src/nb_static_property.cpp.o
      [  6%] Building CXX object python/src/CMakeFiles/nanobind-static.dir/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/nanobind/src/nb_ndarray.cpp.o
      [  7%] Building arange.air
      [  8%] Building scatter.air
      [  9%] Building CXX object python/src/CMakeFiles/nanobind-static.dir/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/nanobind/src/trampoline.cpp.o
      [  9%] Building steel_gemm_addmm.air
      [ 10%] Building CXX object python/src/CMakeFiles/nanobind-static.dir/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/nanobind/src/nb_func.cpp.o
      [ 11%] Building CXX object python/src/CMakeFiles/nanobind-static.dir/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/nanobind/src/nb_type.cpp.o
      [ 11%] Building CXX object python/src/CMakeFiles/nanobind-static.dir/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/nanobind/src/nb_enum.cpp.o
      [ 11%] Building sort.air
      [ 12%] Building reduce_all.air
      [ 13%] Building reduce_col.air
      [ 14%] Building CXX object python/src/CMakeFiles/nanobind-static.dir/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/nanobind/src/common.cpp.o
      [ 14%] Building CXX object python/src/CMakeFiles/nanobind-static.dir/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/nanobind/src/error.cpp.o
      [ 14%] Building reduce_init.air
      [ 15%] Building steel_gemm_masked.air
      [ 17%] Building steel_conv_general.air
      [ 17%] Building ternary.air
      [ 18%] Building unary.air
      [ 18%] Building steel_gemm.air
      [ 19%] Building layer_norm.air
      [ 19%] Building scaled_dot_product_attention.air
      [ 20%] Building steel_conv.air
      [ 21%] Building softmax.air
      [ 23%] Building reduce_row.air
      [ 23%] Building steel_gemm_splitk.air
      [ 24%] Building gather.air
      [ 24%] Building quantized.air
      [ 25%] Building binary_two.air
      [ 26%] Building conv.air
      [ 27%] Building gemv.air
      [ 28%] Building rms_norm.air
      [ 29%] Building scan.air
      [ 30%] Building arg_reduce.air
      [ 31%] Building copy.air
      [ 31%] Building fft.air
      [ 32%] Building rope.air
      [ 32%] Building binary.air
      [ 33%] Building random.air
      [ 33%] Built target compiled_preamble
      [ 33%] Built target cpu_compiled_preamble
      [ 34%] Linking C static library libgguflib.a
      [ 34%] Built target gguflib
      [ 35%] Linking CXX static library libnanobind-static.a
      [ 35%] Built target nanobind-static
      [ 36%] Building mlx.metallib
      [ 36%] Built target mlx-metallib
      [ 38%] Building CXX object CMakeFiles/mlx.dir/mlx/allocator.cpp.o
      [ 40%] Building CXX object CMakeFiles/mlx.dir/mlx/scheduler.cpp.o
      [ 38%] Building CXX object CMakeFiles/mlx.dir/mlx/compile.cpp.o
      [ 41%] Building CXX object CMakeFiles/mlx.dir/mlx/array.cpp.o
      [ 42%] Building CXX object CMakeFiles/mlx.dir/mlx/ops.cpp.o
      [ 42%] Building CXX object CMakeFiles/mlx.dir/mlx/transforms.cpp.o
      [ 43%] Building CXX object CMakeFiles/mlx.dir/mlx/dtype.cpp.o
      [ 43%] Building CXX object CMakeFiles/mlx.dir/mlx/fft.cpp.o
      [ 43%] Building CXX object CMakeFiles/mlx.dir/mlx/fast.cpp.o
      [ 43%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/compiled.cpp.o
      [ 44%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/binary.cpp.o
      [ 46%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/quantized.cpp.o
      [ 46%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/fft.cpp.o
      [ 46%] Building CXX object CMakeFiles/mlx.dir/mlx/random.cpp.o
      [ 47%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/masked_mm.cpp.o
      [ 48%] Building CXX object CMakeFiles/mlx.dir/mlx/graph_utils.cpp.o
      [ 49%] Building CXX object CMakeFiles/mlx.dir/mlx/linalg.cpp.o
      [ 50%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/arg_reduce.cpp.o
      [ 50%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/reduce.cpp.o
      [ 51%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/erf.cpp.o
      [ 52%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/conv.cpp.o
      [ 52%] Building CXX object CMakeFiles/mlx.dir/mlx/utils.cpp.o
      [ 53%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/inverse.cpp.o
      [ 54%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/scan.cpp.o
      [ 55%] Building CXX object CMakeFiles/mlx.dir/mlx/io/gguf.cpp.o
      [ 56%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/primitives.cpp.o
      [ 57%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/copy.cpp.o
      [ 58%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/select.cpp.o
      [ 58%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/qrf.cpp.o
      [ 59%] Building CXX object CMakeFiles/mlx.dir/mlx/device.cpp.o
      [ 59%] Building CXX object CMakeFiles/mlx.dir/mlx/primitives.cpp.o
      [ 60%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/compiled_preamble.cpp.o
      [ 61%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/indexing.cpp.o
      [ 62%] Building CXX object CMakeFiles/mlx.dir/mlx/io/safetensor.cpp.o
      [ 62%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/compiled_cpu.cpp.o
      [ 63%] Building CXX object CMakeFiles/mlx.dir/mlx/io/load.cpp.o
      [ 64%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/accelerate/reduce.cpp.o
      [ 64%] Building CXX object CMakeFiles/mlx.dir/mlx/io/gguf_quants.cpp.o
      [ 65%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/scan.cpp.o
      [ 66%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/threefry.cpp.o
      [ 66%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/device.cpp.o
      [ 67%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/load.cpp.o
      [ 68%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/svd.cpp.o
      [ 69%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/softmax.cpp.o
      [ 70%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/conv.cpp.o
      [ 71%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/compiled_preamble.cpp.o
      [ 72%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/accelerate/softmax.cpp.o
      [ 73%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/fft.cpp.o
      [ 74%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/accelerate/primitives.cpp.o
      [ 74%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/matmul.cpp.o
      [ 75%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/primitives.cpp.o
      [ 76%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/scaled_dot_product_attention.cpp.o
      [ 77%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/event.cpp.o
      [ 78%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/normalization.cpp.o
      [ 79%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/compiled.cpp.o
      [ 79%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/softmax.cpp.o
      [ 80%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/accelerate/matmul.cpp.o
      [ 81%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/reduce.cpp.o
      [ 81%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/quantized.cpp.o
      [ 82%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/indexing.cpp.o
      [ 82%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/allocator.cpp.o
      [ 83%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/rope.cpp.o
      [ 83%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/accelerate/quantized.cpp.o
      [ 84%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/metal.cpp.o
      [ 84%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/common/sort.cpp.o
      [ 85%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/accelerate/conv.cpp.o
      [ 86%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/copy.cpp.o
      [ 87%] Building CXX object CMakeFiles/mlx.dir/mlx/backend/metal/sort.cpp.o
      /Users/nripeshniketan/Documents - Nripesh’s MacBook Pro/python_programs/mlx/mlx/backend/metal/event.cpp:21:14: error: no member named 'waitUntilSignaledValue' in 'MTL::SharedEvent'
                 ->waitUntilSignaledValue(value(), -1)) {
                   ^
      1 error generated.
      make[2]: *** [CMakeFiles/mlx.dir/mlx/backend/metal/event.cpp.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      make[1]: *** [CMakeFiles/mlx.dir/all] Error 2
      make: *** [all] Error 2
      Traceback (most recent call last):
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 155, in run
          self._create_wheel_file(bdist_wheel)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 357, in _create_wheel_file
          files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 280, in _run_build_commands
          self._run_build_subcommands()
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 307, in _run_build_subcommands
          self.run_command(name)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
          super().run_command(command)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "<string>", line 109, in run
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 91, in run
          _build_ext.run(self)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
          self.build_extensions()
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
          self._build_extensions_serial()
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
          self.build_extension(ext)
        File "<string>", line 101, in build_extension
        File<EMAIL_ADDRESS>line 526, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install']' returned non-zero exit status 2.
      /private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py:988: _DebuggingTips: Problem in editable installation.
      !!

              ********************************************************************************
              An error happened while installing `mlx` in editable mode.

              The following steps are recommended to help debug this problem:

              - Try to install the project normally, without using the editable mode.
                Does the error still persist?
                (If it does, try fixing the problem before attempting the editable mode).
              - If you are using binary extensions, make sure you have all OS-level
                dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
              - Try the latest version of setuptools (maybe the error was already fixed).
              - If you (or your project dependencies) are using any setuptools extension
                or customization, make sure they support the editable mode.

              After following the steps above, if the problem still persists and
              you think this is related to how setuptools handles editable installations,
              please submit a reproducible example
              (see https://stackoverflow.com/help/minimal-reproducible-example) to:

                  https://github.com/pypa/setuptools/issues

              See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
              ********************************************************************************

      !!
        cmd_obj.run()
      Traceback (most recent call last):
        File "/Users/nripeshniketan/Documents - Nripesh’s MacBook Pro/python_programs/mlx/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/nripeshniketan/Documents - Nripesh’s MacBook Pro/python_programs/mlx/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/nripeshniketan/Documents - Nripesh’s MacBook Pro/python_programs/mlx/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 273, in build_editable
          return hook(wheel_directory, config_settings, metadata_directory)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 443, in build_editable
          return self._build_with_temp_dir(
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir
          self.run_setup()
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 164, in <module>
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 104, in setup
          return distutils.core.setup(**attrs)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 184, in setup
          return run_commands(dist)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
          dist.run_commands()
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
          super().run_command(command)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 155, in run
          self._create_wheel_file(bdist_wheel)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 357, in _create_wheel_file
          files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 280, in _run_build_commands
          self._run_build_subcommands()
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 307, in _run_build_subcommands
          self.run_command(name)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
          super().run_command(command)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "<string>", line 109, in run
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 91, in run
          _build_ext.run(self)
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
          self.build_extensions()
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
          self._build_extensions_serial()
        File "/private/var/folders/j_/nbyvxq0j7hl4t1t2px8t3hlm0000gn/T/pip-build-env-dwt2v0gd/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
          self.build_extension(ext)
        File "<string>", line 101, in build_extension
        File<EMAIL_ADDRESS>line 526, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install']' returned non-zero exit status 2.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building editable for mlx
Failed to build mlx
ERROR: Could not build wheels for mlx, which is required to install pyproject.toml-based projects```

Looks like it's not applying the metal-cpp patch properly.
Could you try a couple things:

Wipe the build/ directory and try again?
Check the output of which patch and paste here?

Looks like it's not applying the metal-cpp patch properly.
Could you try a couple things:

Wipe the build/ directory and try again?
Check the output of which patch and paste here?

I have created new venvs and tried installing without cache too. I still get this error
/opt/homebrew/bin/patch```

🤷♂ not sure why it's not applying the patch. You could try changing this line https://github.com/ml-explore/mlx/blob/main/CMakeLists.txt#L97
to
    PATCH_COMMAND /usr/bin/patch -N -i ${METAL_CPP_PATCH} || true

If that doesn't work, we could try to have you apply the patch manually and see what the error is.

🤷♂ not sure why it's not applying the patch. You could try changing this line https://github.com/ml-explore/mlx/blob/main/CMakeLists.txt#L97
to
    PATCH_COMMAND /usr/bin/patch -N -i ${METAL_CPP_PATCH} || true

If that doesn't work, we could try to have you apply the patch manually and see what the error is.

This fixed the issue for me

Good to know. We may need to hard code that path. I don't know why the other version of patch doesn't work ..


chore: add language labels

Coverage remained the same at 100.0% when pulling f8a31a8c222d88187fd111a154db0e31e7663924 on chore-add-language-labels into b423796c6c555643c3ec4df7b7afa3316b1526ad on main.

:tada: This PR is included in version 1.2.61 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Move Level Control Cluster to match the spec

Changes:

RENAME MoveMode to MoveModeEnum
REPLACE (!) StepMode with MoveModeEnum to match the spec
RENAME LevelControlOptions to OptionsBitmap

Along with changes for compilation (zap regen, zap-update-all, adding to backwards compat and replace the usages of the above enums/bitmaps in code where I could find them)
NOT changed (will change spec)
Spec says OptionsMask is map8 (untyped) however using OptionsBitmap sems to correct thing to do.

@bzbarsky-apple this removes StepMode enum and it is supposed to be an alias to MoveModeEnum now. Is this doable in availability.yaml ?

@bzbarsky-apple this removes StepMode enum and it is supposed to be an alias to MoveModeEnum now. Is this doable in availability.yaml ?

Added StepModeEnum back because https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/7831 adds it in the spec


fix default_lift_data

The current default_lift_data doesn't work since new_locus is set as new_locus=lifted_over_locus.result in liftover_expr as below. This PR fixes this error.
https://github.com/broadinstitute/gnomad_methods/blob/ef0fbf3b78ee675b5a94c0673fc28bf6a0960e9c/gnomad/utils/liftover.py#L95-L103

ah sorry just saw this https://github.com/broadinstitute/gnomad_methods/pull/269

Thanks Katherine! I added the changelog.

Hi @mkanai. The master branch has been repaired. If you update your branch, Pylint and documentation checks should run now.

@nawatts thanks! I updated and it seems all checks have passed.


Added Support for Slimefun

This PR adds Slimefun integration to the plugin.
https://github.com/TheBusyBiscuit/Slimefun4
Slimefun is a Plugin I made a couple of years ago.
It adds new Blocks to your Server, so it'd only make sense to also display those correctly.
P.S. I also added a .gitignore file.

Thanks for this, looks really good.


ubid_offset

It seems like changing the ubid_offset does no change anything at the pulseId.
I would expect the electron distribution shifts if the ubid_offset is changed.
I was binning over the pulseId at the upper edge of the bunch train.
When I change the ubid_offset the edge did not shift to higher or lower positions.

Yes, I would expect the same. @zain-sohail did you implement this in the loader?

Just to be sure, did you re-create the parquet files in between?
If this is done on the loader level, you might need to do so in order to have an effect.

Yes, it stays the same as hextof processor before:
https://github.com/OpenCOMPES/sed/blob/35bd2931bd57de127e0152f560000b8a056204ef/sed/loader/flash/loader.py#L240
https://github.com/OpenCOMPES/sed/blob/35bd2931bd57de127e0152f560000b8a056204ef/sed/loader/flash/loader.py#L364

Just to be sure, did you re-create the parquet files in between? If this is done on the loader level, you might need to do so in order to have an effect.

Likely the cause, I guess #211 should also include checks for other loader related parameters being changed.

I don't think there is a good way to check if the offset has changed (unless we somehow save that info in the buffer files).
Better is if we can do is provide the user an option to recreate the buffer (intermediate parquet) files

Well, this should be saved as metadata in the loading process. It could then be checked at least manually then.
This makes me wonder, how much metadata from the dataframe generation are we recording? None?


HELP ACHIEVEMENTS NOT WORKING AND LOOPING AND OVER

Are you trying to code on Source Code (Haxe) or on the Downloaded Build (Lua)?
Source Code
Show an screenshot/video of your problem.
Sorry that is Youtube but I can't upload the video here because it is to big for github.
https://youtu.be/xhLI4CPFkH0

This is how you trigger an achievement properly
#if ACHIEVEMENTS_ALLOWED
var achieve:String = checkForAchievement(['your-achievement-tag']);
if (achieve != null) {
	startAchievement(achieve);
}
#end


Bring java docs home

Contributes to #989
There are no changes to the generated site files

Preview: https://deploy-preview-1002--opentelemetry.netlify.app/docs/instrumentation/java
/cc @cartermp

/cc @trask

@trask - thanks for the review and approval! Is this good to merge or should we await for more approvals?

I'd suggest waiting for an approval from a Java SDK maintainer (@anuraaga or @jkwatson)

I just rebased and submitted one final fix for the GitHub repo links (like "View page source" -- note that the view and edit links won't work (they result in a 404) until this PR is merged).
Wishing y'all happy and restful holidays. I'm out until next year! ☃


Volume sliders reset to maximum when playing new mood.

When playing or stopping a mood, volume sliders for Syrinscape, Global and One-Shots reset to maximum.

Fixed in 0.4.0-beta2


Update document version (semi-automatically)

Though the documentation now passed version 0.9, the documentation itself says it's still version 0.0.0.
(I'm not sure about the status of this document; if this is Frozen, REVMARK variable below may be changed)
This PR partially introduces a technique from riscv/riscv-zicond.  Even if this PR is not suitable for your repository, I hope that the documentation is properly versioned.

I prefer not to use the git tag. Thanks for pointing that the version string was not update. The update has now been made.

Thanks!
I submitted pretty much the same PR as riscv/riscv-zacas#27 and you can also close this after proper version number update.


X.H.DynamicLog: Add ppTitleUnfocused

Description
Add the ppTitleUnfocused field to the PP record, in order to show
unfocused windows (on the current workspace) in a status bar.
It's sort of unfortunate we have to do this, instead of having a more
strongly-typed ppTitle that, instead of a String, takes something
like
  data WindowPP = WindowPP
      { win       :: !Window
      , name      :: !String
      , isUrgent  :: !Bool
      , isFocused :: !Bool
      }

But that would require changing the signature of ppTitle and thus
probably breaking every config in existence that uses this module...
Checklist

[X] I've read CONTRIBUTING.md

[X] I tested my changes with xmonad-testing

[X] I updated the CHANGES.md file

- [ ] I updated the XMonad.Doc.Extending file (if appropriate)

I will merge this in a couple of days if there are not objections

I will merge this in a couple of days if there are not objections


 ?

Do you have any plan to add videos to product page?
If so, I'd be happy to help there and use shaka player to provide a delighful media (offline) experience.

Good idea — let's look at this once we have the basic site up and running.


About Multilingual Training

Hi,
I want to train a cross-lingual (Chinese and English) model from scratch,  so I choose pipeline=meta in run_training_pipeline.py, and I got a warning at the beginning as follows:
"UserWarning: Detected call of `lr_scheduler.step()` before `optimizer.step()`. In PyTorch 1.1.0 and later, you should call them in the opposite order: `optimizer.step()` before `lr_scheduler.step()`.  Failure to do this will result in PyTorch skipping the first value of the
learning rate schedule."

Then I check the train loop file (IMS-Toucan/TrainingInterfaces/Text_to_Spectrogram/FastSpeech2/meta_train_loop.py), but I didn't find any questions, does this warning affect the model result?
BTW, Silero VAD seems need pytorch >= 1.12.0, but the suggestion is torch==1.10.1 😄
Thanks!

No as mentioned in the FAQ section of this repo, it is expected behaviour and it does not effect the output quality of your model.

No as mentioned in the FAQ section of this repo, it is expected behaviour and it does not effect the output quality of your model.

Thank you for your reply! I think I may be blind, sorry to waste your time 🤣

About the torch requirement for the silero VAD: Thank you for bringing this up, they updated their models recently and with that they probably also bumped up the pytorch version. The upcomming release of this toolkit will also overhaul the dependencies, so I'll take that into account.


Doesn't replace old file.

I ran the following command:
formatter ana test.txt test.txt 50
It creates a new file test.txt.bak, but does not replace the test.txt.
I need this fixed soon. Thanks!

Fixed in release 1.0-beta.2


Add wrap files for mpdecimal 2.5.0

I strongly suspect that this does not compile with MSVC, but I don't have a machine to test it right now.

This fails to compile because it is missing the math library:
/tmp/tmpa04ahd24/bin/../src/mpdecimal-2.5.0/libmpdec/mpdecimal.c:4347: undefined reference to `ceil'
/usr/bin/ld: libmpdec.so.2.5.0.p/libmpdec_mpdecimal.c.o: in function `mpd_sizeinbase':

You might want to use the review tool from the Mesonwrap repo: https://github.com/mesonbuild/mesonwrap/

This fails to compile because it is missing the math library:
/tmp/tmpa04ahd24/bin/../src/mpdecimal-2.5.0/libmpdec/mpdecimal.c:4347: undefined reference to `ceil'
/usr/bin/ld: libmpdec.so.2.5.0.p/libmpdec_mpdecimal.c.o: in function `mpd_sizeinbase':

You might want to use the review tool from the Mesonwrap repo: https://github.com/mesonbuild/mesonwrap/

Thank you for catching this. I tested it, but it compiles just fine without the math library on macOS. Should be fixed now.

Thank you for catching this. I tested it, but it compiles just fine without the math library on macOS. Should be fixed now.

The C++ one does not seem to link, missing libs?
/usr/bin/ld: libmpdec++.so.2.5.0.p/libmpdec++_decimal.cc.o: in function `(anonymous namespace)::LibraryInit::LibraryInit()':
/tmp/tmp1b2xh5kp/bin/../src/mpdecimal-2.5.0/libmpdec++/decimal.cc:42: undefined reference to `mpd_setminalloc'
/usr/bin/ld: libmpdec++.so.2.5.0.p/libmpdec++_decimal.cc.o: in function `decimal::IEEEContext(int)':
/tmp/tmp1b2xh5kp/bin/../src/mpdecimal-2.5.0/libmpdec++/decimal.cc:187: undefined reference to `mpd_ieee_context'
/usr/bin/ld: libmpdec++.so.2.5.0.p/libmpdec++_decimal.cc.o: in function `decimal::Context::repr[abi:cxx11]() const':
/tmp/tmp1b2xh5kp/bin/../src/mpdecimal-2.5.0/libmpdec++/decimal.cc:228: undefined reference to `mpd_round_string'
/usr/bin/ld: libmpdec++.so.2.5.0.p/libmpdec++_decimal.cc.o: in function `decimal::Decimal::exact(char const*, decimal::Context&)':
/tmp/tmp1b2xh5kp/bin/../src/mpdecimal-2.5.0/libmpdec++/decimal.cc:264: undefined reference to `mpd_qset_string_exact'
/usr/bin/ld: libmpdec++.so.2.5.0.p/libmpdec++_decimal.cc.o: in function `decimal::Decimal::ln10(long, decimal::Context&)':

The C++ one does not seem to link, missing libs?
/usr/bin/ld: libmpdec++.so.2.5.0.p/libmpdec++_decimal.cc.o: in function `(anonymous namespace)::LibraryInit::LibraryInit()':
/tmp/tmp1b2xh5kp/bin/../src/mpdecimal-2.5.0/libmpdec++/decimal.cc:42: undefined reference to `mpd_setminalloc'
/usr/bin/ld: libmpdec++.so.2.5.0.p/libmpdec++_decimal.cc.o: in function `decimal::IEEEContext(int)':
/tmp/tmp1b2xh5kp/bin/../src/mpdecimal-2.5.0/libmpdec++/decimal.cc:187: undefined reference to `mpd_ieee_context'
/usr/bin/ld: libmpdec++.so.2.5.0.p/libmpdec++_decimal.cc.o: in function `decimal::Context::repr[abi:cxx11]() const':
/tmp/tmp1b2xh5kp/bin/../src/mpdecimal-2.5.0/libmpdec++/decimal.cc:228: undefined reference to `mpd_round_string'
/usr/bin/ld: libmpdec++.so.2.5.0.p/libmpdec++_decimal.cc.o: in function `decimal::Decimal::exact(char const*, decimal::Context&)':
/tmp/tmp1b2xh5kp/bin/../src/mpdecimal-2.5.0/libmpdec++/decimal.cc:264: undefined reference to `mpd_qset_string_exact'
/usr/bin/ld: libmpdec++.so.2.5.0.p/libmpdec++_decimal.cc.o: in function `decimal::Decimal::ln10(long, decimal::Context&)':

It links on macOS. It seems that these symbols are from libmpdec but I don't find anything in the Makefile that links the cpp library with the c library. Let me test this in a Linux VM.

It links on macOS. It seems that these symbols are from libmpdec but I don't find anything in the Makefile that links the cpp library with the c library. Let me test this in a Linux VM.

The last push should have fixed it. The original Makefile does nothing special and it works, however Meson uses -Wl,--as-needed -Wl,--no-undefined that of course is not happy with the undefined symbols. Linking explicitly with the C library solves the problem. On macOS the Makefile uses the -undefined dynamic_lookup linker option. Linking the C library to the C++ one removed the need for that too. I admit that linking is still obscure to me sometimes...

The last push should have fixed it. The original Makefile does nothing special and it works, however Meson uses -Wl,--as-needed -Wl,--no-undefined that of course is not happy with the undefined symbols. Linking explicitly with the C library solves the problem. On macOS the Makefile uses the -undefined dynamic_lookup linker option. Linking the C library to the C++ one removed the need for that too. I admit that linking is still obscure to me sometimes...


Column suggestions appear from all tables as opposed to mentioned tables

Describe the bug
When writing a query, column suggestions appear from all tables in the database as opposed to the ones that have been mentioned in the query. Beyond that, the "." (dot) operator does not invoke suggestions from the table/schema name preceding it. Also, as a side note, suggestions are slow to pop up and sometimes do not end up popping up at all before I finish typing even when I type slowly.
To Reproduce
Steps to reproduce the behavior:

Install and configure vscode-sqltools
Start typing a query
In there where statement, notice columns from all tables show up in the suggestions box
Also, in the select statement, type a table name followed by a dot and notice the table columns don't show up in the suggestions

Expected behavior
Only columns from mentioned tables or table names followed by a dot should show up in suggestions. Or they should at least show up first if this behavior is unfavorable to other users.
Desktop (please complete the following information):

SQLTools Version v0.20.2
VSCode Version: 1.38.0-insider
Dialect Used/Version: Redshift
OS: Mac

dup of #110


Question about the clothing1M dataset.

I notice that there is a clean training set in the clothing1M (clean_train_key_list.txt). It seems consist of images different from the noisy training set.
Does dividemix use it?  Or is it common pratice to ignore it in the field of LNL?

DivideMix does not use it. A few other LNL works have used it.

Thanks.


Free working directory on Windows.

This is a feature request/idea for PTK2.
Problem: On Windows Python locks the current working directory, and prevents other processes from deleting (or renaming) the folder or any parent folders. This behavior is quite annoying especially for shells (IPython or Xonsh). Cmd.exe does the same thing, but PowerShell is smart enough not to do this. (I don't think it is problem on Linux at all).
For Xonsh I made an extension (free_cwd) which temporarily resets the CWD to the users home directory while PTK shows the prompt. It also wraps the callbacks from PTK. Now, open consoles (IPython, xonsh) which are unused will not prevent folders from being renamed or deleted).
It is not really a fool proof implementation. If any other extensions hook PTK, they will not see the true working directory, but instead, the users home directory.
So I thought it would be better to implement such a feature in PTK directly.  Would something like this be possible in PTK 2?

Hi @melund,
Excuse me for the late reply!
This is not something of which I think it is prompt_toolkit's responsibility. This looks like a problem that all Python applications have, regardless of whether they use prompt_toolkit or not.
If hope you don't mind I close this issue. (Feel free to open again).

Yes. You may be right. It may be even more fundamental than Python. Almost all Windows applications have the problem. I wonder what PowerShell does to prevent it.
That said. Does PTK2 have events (hooks) when entering and exiting idle state (i.e. waiting for user input)? With something like that I could probably make a much better implementation of the free_cwd 'hack' I made for Xonsh.

There are input hooks, which are used to run another event loop as long as prompt_toolkit is idle.
There is an example here: https://github.com/jonathanslenders/python-prompt-toolkit/blob/master/examples/prompts/inputhook.py  IPython is using this for integration with all the different event loops. It's basically a replacement for PyOS_InputHook of the Python API (when using readline.)
See also this file: https://github.com/jonathanslenders/python-prompt-toolkit/blob/master/prompt_toolkit/eventloop/inputhook.py
For Xonsh however, I think an alternative is to change the current working directory to / and keep it there, but then keep track of the working directory in a different variable and displaying that. Whenever you start a subprocess, you can pass that directory as the cwd. If the user does cd something, then join the new path and normalize it manually.

But xonsh itself is a Python interpreter, meaning if you run import os; print(os.getcwd()) it should print the same directory that you are cded into.

But xonsh itself is a Python interpreter, meaning if you run import os; print(os.getcwd()) it should print the same directory that you are cded into.

Yes. We couldn't just keep CWD in shadow variable in xonsh as @asmeurer point out.
That is is no problem with the free_cwd. It restores the correct cwd every time xonsh resumes the program flow. Only when PTK is idle and waiting at the prompt is the cwd reset to /. The effect is that open terminal hanging around doesn't block folders on windows.
I only want cwd to be reset to / while PTK waits idly for user input.
Is this problem with locking folder only a problem on Windows?

What if another thread is doing something that requires the cwd?

Yes. That is a problem. And why this is a xontrib :-/ I guess this shows why this can't be more than a hack.
There really ought to be a way to prevent processes on windows from locking directories.


[BEAM-8025] Avoid race condition in cluster cleanup and introduce cluster creation retrial under load.

This tries to fix flakiness of the tests, we will see in time if it does.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Please, check the tests, seems they started failing:
17:04:31 > Task :sdks:java:io:cassandra:test
17:04:31
17:04:31 org.apache.beam.sdk.io.cassandra.CassandraIOTest > classMethod FAILED
17:04:31     com.datastax.driver.core.exceptions.NoHostAvailableException at CassandraIOTest.java:132
17:04:31
17:04:31 org.apache.beam.sdk.io.cassandra.CassandraIOTest > classMethod FAILED
17:04:31     java.lang.NullPointerException at CassandraIOTest.java:142
17:04:33
17:04:33 6 tests completed, 2 failed

The exception is thrown from here which is in datastax driver core module. This exception is thrown when DefaultConvictionPolicy.canReconnectNow() is false on the host. I must admit I don't know why in some cases canReconnectNow() can be false at the first connection.

@aromanenko-dev after a discussion with the Achilles author (Datastax evangelist) it appears that this error is due to load when the cluster is created. So I added a commit to retry cluster creation. Can you please take a look ?

Run Java PreCommit

Still failing sometimes on the cleaning. And seems not failing with NoHostAvailable exception anymore. I'll launch tests several times, to see

Run Java PreCommit

I found it, it was due to cassandra running some compactions some times (to avoid fragmentation of files). And in that case if the directory was suppressed by the TemporaryFolder JUnit Rule (between the execution of the tests), then the compaction which needs to write in the temp folder, fails. => So I simply removed the TemporaryFolder rule and used a basic tmp folder that is purged at the end of the tests. PTAL

@aromanenko-dev thanks for your review and patience ! I don't know if it can be deactivated because it is a core mechanism in Cassandra. I'll take a look and update during next week

@echauchot Any updates on this?

@aromanenko-dev I'll try to deactivate compaction but I had no time lately to work on this

@aromanenko-dev I resumed my work on this: I disabled the compaction cf above. I works locally let's see if it works on the overloaded jenkins.

@aromanenko-dev disabling compaction worked for race condition in addition to other commits (retry and removal of TemporaryFolder test rule). I also addressed your change request. PTAL

thanks @aromanenko-dev !


Clarify and compact validator failure message

A user who attempts to create a blueprint with a validator failure in it will now receive a more compact warning with shorter goo.gle URLs to our GitHub documentation. The links below point to a mix of main and develop due to the current state of the branches; it is my intent for them all to point to main when all the files land on main.
baremetalsolution.googleapis.com: service is disabled in project fake-project-1701
baremetalsolution.googleapis.com: can be enabled at https://console.cloud.google.com/apis/library/baremetalsolution.googleapis.com?project=fake-project-1701
one or more required APIs are disabled in project fake-project-1701, please enable them as instructed above
warning: validator test_apis_enabled failed

One or more blueprint validators has failed. See messages above for suggested
actions. General troubleshooting guidance and instructions for configuring
validators are shown below.

- https://goo.gle/hpc-toolkit-troubleshooting
- https://goo.gle/hpc-toolkit-validation

Validators can be silenced or treated as warnings or errors:

- https://goo.gle/hpc-toolkit-validation-levels

Validation failures were treated as a warning, continuing to create blueprint.

Terraform group was successfully created in directory ansible/primary
To deploy, run the following commands:
  terraform -chdir=test/primary init
  terraform -chdir=test/primary validate
  terraform -chdir=test/primary apply

Submission Checklist

[X] Have you installed and run this change against pre-commit? (pre-commit install)
[X] Are all tests passing? (make tests)
[ ] Have you written unit tests to cover this change?
[X] Is unit test coverage still above 80%?
[X] Have you updated all applicable documentation?
[X] Have you followed the guidelines in our Contributing document?

Force push reflects a minor change in text you suggested in internal review.


bug(MatCalendar): @Input("startAt ") is not referenced for changes

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
@Input("startAt") is not referenced for changeDetection.
https://github.com/angular/components/blob/a378147356e2b6a43fa642ecbc69e37f3077fac7/src/material/datepicker/calendar.ts#L411
There is a workaround with "activeDate", but the problem is it makes a bit heavy on developers to implement programmatic month change (as it it not useable through templates). using startAt would make ours lives much easier when it comes to changing month view.
Reproduction
Steps to reproduce:

Create a component with a MatCalendar
set mat-calendar "startAt" attribute in template and bind it to a property in your component (startAt) for example.
change programmaticaly the startAt to another month
Nothing happens (and this is a problem)

Expected Behavior
startAt updates should be referenced for changeDetection and trigger a view update.
Actual Behavior
Changing startAt value won't trigger change detection.
A workaround is changing the "activeDate", that is not referenced as an Input, therefore developers will have a hard time finding it.
Most people are actualy using internal functions like "calendar.monthView._init()" and stuff like that...
Environment

Angular: 14.0.4
Material: 14.0.4 and previous

Hello @hhsissi ,
Since "startAt" is for the date that the calendar opens to initially, there is no requirement that changing startAt after the calendar opens should have an effect. I'll convert this to a discussion so more developers could chime in on how to implement programmatic month change. perhaps there could be a better way to do that.
-Zach


DDT-1218 - update to 3.0 spec

@pimg / @douradofrazer : This is now ready for review. As I have written a considerable amount of changes on this PR, I feel one of you should also review the branch.
Note that this PR depends on https://github.com/dcsaorg/DCSA-Information-Model/pull/371


Dynamic Imports with Iron Router

We have a reasonably large application, so we are converting much of our code to use Dynamic Imports in Meteor.  We're getting a warning from Iron Router on our routes:
Route dispatch never rendered. Did you forget to call this.next() in an onBeforeAction?
Here's the code for the route:
Router.route('support', {
  path: '/support',
  controller: 'BaseController',
  action: function () {
    import('./pricing.html').then(() => {
      this.render();
    });
  }
});

Is this the correct way to dynamically import a template and render it?  The page seems to load fine (so far), but I just want to make sure it doesn't trigger other problems.
I also tried using "async" and "await" which gives the same warning.

+1

why async, promise?
Router.route('support', {
  path: '/support',
  controller: 'BaseController',
  action: function () {
  import './pricing.html';
  this.render();
  }
});

@ddaydd If we do it that way, does it import dynamically, or would pricing.html still be in the client bundle?
The purpose of dynamically importing using promises would be to ensure the bundle is smaller for faster page loading.  We have a lot of pages on the site, and don't want pages loading until they are needed.

all the files in the client folder will be in the client bundle, you must put your files in the import folder and define the route relative to your route.js file.
  action: function () {
    import '../import/client/ui/pricing.js';
    this.render();
  }

and in your pricing.js file
import './pricing.html'

@ddaydd The files in my example are all in the "imports" folder.  If I understand correctly, even files in the import folder will be included in the client bundle unless they are imported dynamically using promises (like in my first example).

@heberallred I am very interested to know if you were able to make this work, and how. Did you stick with the promise-based solution?

@rtcwp07 Yes, we are still using promises.  To get rid of the warning, we just modified the Iron Router code.  It's mostly just a warning for us developers, and just clutters the console for any customers if we need to do any debugging.  Looks like the core Iron Router code just needs re-worked a bit to work better with this new method of using dynamic imports.

I have the same Iron Router warning using dynamic imports

@rtcwp07 Looks like the core Iron Router code just needs re-worked a bit to work better with this new method of using dynamic imports.

I think that too.

i am wondering whether iron router is inside some function when the "Did you forget to call this.next() in an onBeforeAction?" message comes up and whether we should be doing something on the line after the import statement to tell iron router that it can ignore the routing request for now, and it will be handled later.
I have nearly Identical code to @haberallred and it seems to work, but i'm suspicious about what iron router is actually doing IMMEDIATELY after the import statement, and what the consequences might be if the server is slow in responding.
Do multiple router calls build a stack of requests that iron router is expecting to complete?

my dynamic import is working fine using irn.router & promises, but I am noticing screen freeze-ups occasionally with the current chrome browser. I'm concerned they may be related to this issue.


Profile command sometimes returns an unknown join date

Is your feature request related to a problem? Please describe.
The profile command uses RFC3339Nano to parse the date, while discord uses the ISO 8601 date format, which is similar but less restrictive.
This causes the parse to sometimes fail.
Describe the solution you'd like
Changing the time.RFC3339Nano to "2006-01-02T15:04:05-0700" should solve the problem (go has no inbuilt format for ISO 8601)

Interestingly, discordgo's timestamp parse uses non-nano RFC3339 to parse. I agree on using the custom string to parse it out though.

Turns out this wasn't due to the parsing (though I did change to the built-in discordgo parsing. Using the string described in this issue (and the stackoverflow comment) actually fails to parse out joinedAt dates in my testing. I'm thinking this was a different issue that manifested itself via the profile command but I added some more logging to test that out.

Reopening due to more Unknown failures in production. Checking into logs to figure out what the timestamps are and why this is happening

Turns out this was due to a user changing their nickname? Accurate repro steps are:

.moe profile -> works file
Change your nickname
.moe profile -> unknown start date
The server returns a blank string for the timestamp
moebot   | 2018/08/24 04:28:03 Problem converting server join date to time. User ID {XXXX}, Joined at time: {} error:  parsing time "" as "2006-01-02T15:04:05Z07:00": cannot parse "" as "2006"

After more investigation, this turned out to be a discordgo bug due to undocumented discord behavior... https://github.com/bwmarrin/discordgo/pull/533 so we'll be switching to the develop branch since it's much more up to date


Allow directly delete a chat without confirmation

Why
Its a bit tedious to need 2 clicks to delete a chat
Description
When the user click the remove chat button with "Alt" or "Shift" pressed (whatever you prefer) delete without confirmation. It's what is doing other UIs.
Requirements
Very easy :-D , just add a key modificator to the click to change the behaviour a bit

Done - @afanjul do you deploy via code (main branch) or wait for the changes to be stable on big-agi.com?


⚠ Bofrost.be has degraded performance

In 9750ac9, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 805 ms

Resolved: Bofrost.be performance has improved in 36558b6 after 6 minutes.