JSONObject["volume"] is not an int.

Sometimes when sending a volume opcode this exception gets internally thrown
https://sentry.io/share/issue/a8e1284d7e314fd09ac0eabc6cb53120/
https://sentry.io/share/issue/c9f238c5786448b894aad74e7a4ae868/
The json payload is
{"volume":100,"op":"volume","guildId":"451579004370026511"}

I haven't been able to reliably reproduce this myself but I'll update this issue when I find a way to reproduce it

Are you certain that this is the exact payload you are sending? These are clearly JSON type errors.

I'm not quite sure as there are no stacktraces in the console to check and the sentry traces trace back to the volume handler, I feel like this could be an issue with the wrapper I'm using (https://github.com/FredBoat/Lavalink-Client/)

You should be able to see the received message in the logs (but not in sentry)

I've gone through several logs without any odd-looking results
spring.log.2019-06-02.0.log
spring.log.2019-06-03.0.log

Neither of those have the "is not an int" exceptions

That's the annoying part, the exception happened somewhere within those logs but it's undetectable

Have you tried grep?
grep -B 2 "is not an int" spring*

Actually, it seems that I have configured one of my lavalink nodes to use the wrong dsn.
Is what someone is sending and I know who to yell at, sorry for wasting your time
{"volume":{"mutes":[],"cases":4,"prefix":"a!","modrole":"0","muterole":"0","adminrole":"0","defvolume":50,"logchannel":"583093638


[Apple Notes] "Add Text to Notes" command results in "Something Went Wrong" error

Extension
https://www.raycast.com/raycast/apple-notes
Raycast Version
1.76.1
macOS Version
14.5
Description
Error:
Error: Minified React error #300
tried to use the "Add Text to Note" command

### Steps To Reproduce

1. cmd-space
2. type "add text to note"
3. press enter

### Current Behaviour

I get a "Something went Wrong" window

### Expected Behaviour

_No response_

Can you copy the logs to see what's happening?

@raycastbot close this issue


Information about maximum charging capacity of the charging point

Some reactive power control strategies require information about the maximum charging capacity of the charging point because they depend on it. E.g. the cos phi (P) control sets the cos(phi) in dependence of the current P in proportion to the maximum Pmax (which is equivalent to the maximum charging capacity of the charging point).
At the moment this information is missing as the charging capacity given is the minimum of either the maximum charging capacity of the EV or the charging point.

This got resolved with the new output format


dependency version

thank you for this
but could you plz update the dependency version and instead of {version} write number version
now i dont know what is the version so could you help me ?

Thank you! I am recently changed the library server and  am doing some features/fixes, because of this, the versions are bit weird... but I think the last stable version is 2.6.10-alpha


Add Climate_IP device integration

Add integration for IP based climate devices (not only Samsung AC)

New version available with hacs.json


Optional Tx queue

The tx queue is a bit of a pain point for carrying out integration - as there is no "push notification" to the queue it must be polled.
I have a branch which makes the TX queue optional via a build flag, CANARD_TX_NO_QUEUE, I wonder if a change like this would be acceptable to the project?
https://github.com/mike7c2/libcanard/tree/optional_tx_queue
I looked at other ways to resolve this and I think adding a "queue no longer empty" style notification could solve the issue - in our specific application though ignoring priority and pushing directly to an RTOS queue is the way we want to go.

I've looked at your changes and I think they add too much variance to the build process, making the code harder to maintain and test. Also, the design where you push outgoing frames into a FIFO queue is wrong and we should not endorse it through the API. One who doesn't want to poll the TX queue can always implement a push notification outside of the library, e.g. by invoking some custom handler after they invoke canardBroadcast() or canardRequestOrRespond() (there is no other way for new TX frames to appear in the queue).
I am mildly inclined to reject this proposal. @thirtytwobits @kjetilkjeka @aasmune what do you think?

I share your feelings about adding variance to the build process, and happy to look at other options here.
The biggest issue with the current setup is that we must always have enough space to buffer ALL of the frames for any message emitted from the library - this isn't a big deal normally but becomes annoying when trying to send larger messages.
Having a blocking queue means that a thread of execution can be generating frames as another thread (whether through RTOS or interrupts) is sending them - this allows messages of arbitrary size to be sent even with a buffer size of 1 frame.
This also aids determinism of receiving messages because the TX and RX queues both rely on the same frame pool - currently it's possible to have a system which will behave well almost all the time, until it emits a long message at which point reception of other longer messages can fail.

I see what you are saying. Should we explore the possibility of adding a TX push notification callback to the library alongside should_accept and on_reception, keeping everything else unchanged?

Let me have a bit more of a dig and ruminate on this - we would need to make the queue thread safe as well and there will be some trickiness making it behave in a blocking manner too (might need hooks to allow the user to semaphore count messages in and out of the queue and critical sections to make the queue itself thread safe).
I'm fully open to any suggestions which achieve the end goal!

I haven't been able to look at the suggestion in detail, but I also got the impression that the original suggestion did not fit well into libcanard. I also agree that adding TX push notification is a nice addition, and would prefer going in this direction.

@mike7c2 is there interest in having this implemented in Libcanard v1?

Closing as stale.


Create a shared volume for active_storage

We need the worker VMs to be able to access the files uploaded to the webserver. So they should put the files on a shared volume. Currently they are stored on the local path /opt/app/pod/aggregator/shared/storage
It looks like all the machines have /data as an nfs mount for this data, but we haven't configured activestorage to use this.
All the existing files in the current directory would need to be moved to this volume.

This is already done.  /opt/app/pod/aggregator/shared/storage is a symlink to /data/storage


Bump libqfieldsync to fix "Application path not initialized" warning

Task linked: QF-4460 Fix QFC docker showing 'Application path not initialized'

The original libqfieldsync commit that fixed this was https://github.com/opengisch/libqfieldsync/commit/72949e786077e0c3052a29d3fd3c0acfb6c2e366 and it is already in prod.


In certain cases the text produced by the WISIWYG editor mixes Markdown and HTML for the starting and ending indicators/tags

Describe the bug
In certain cases the text produced by the WISIWYG editor mixes Markdown and HTML for the starting and ending indicators/tags, for example it can produce the following:
**~~one two three

Please notice that the Bold and Strike styles are applied to the word one.  Before the word Markdown is used but after that word end HTML tags are created. Mixing Markdown and HTML for start/end tags creates invalid Markdown which the editor itself fails to re-render properly.
When switching from WISIWYG to Markdown and then clicking on Preview the following is visualized:

To Reproduce
Steps to reproduce the behavior:

Open the editor in WISIWYG mode
type one two three
select the entire value and apply Strike formatting
select just the word two and remove Strike formatting
select just the word one and apply Bold formatting
It should now look like this:

Switch to the Markdown view:

Notice that the generated value uses Markdown before the word one and HTML after
Click on Preview, notice that Bold and Strike styles are not rendered for the word one and there are now extra characters:

Expected behavior
Markdown is always used for starting and ending tags.
Desktop

Browser: Chrome
Version: 107

Thank you for the issue.
The TOAST UI Editor is a markdown editor, but it continues to go through correction for compatibility with WYSIWIG mode. We can't tell you the exact schedule because we're working on another project together, but I'll check.

It you follow the reproduction steps the behavior has changed but it is still not correct IMO.


Event Tab is stuck in a login loop in Edge

When try to login the Events page at the beginning it gives us Login page once we click on it, it keeps looping then give us an error
the resource that you are trying to access is not available
This is only happening with Edge, but working fine with Firefox and Chrome
we found this article but even didn't fix the issue of looping
https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-sign-in/sign-in-loop

Same eternal loop here, and not sure where to start or how to debug to fix this.

Same issue.

Facing same issue


NEON support pointcloud

Changes:

adding pointcloud_neon class

neon-pointcloud.cpp is based on the code in sse-pointcloud.cpp
tested on Ubuntu 22.04, OrangePi5 (RK3588s, 8GB of RAM) and RealSense D435.

I optimized pointcloud processing for ARM CPUs.
Please review it.

Can one of the admins verify this patch?

@fateshelled thanks! Looks good..
Did you verify it works on the specific HW?
I will run some internal CI's in parallel to check for regressions..

Thank you for merging.
I checked that the point cloud looks correct in realsense-viewer. However, not verified that the values are consistent with other pointcloud classes.
Hardware used was Realsense D435 and OrangePi5.


Make instance debug mode togglable

by changing debug port to 0 or -1 it will be disabled
note that then port checking should not bother

done differently; totally removed convention 1 + http port; instead just regular jvm_opt need to be specified;


Missing pack in expanded core bundle

Pack ID 10259 is included in the "advanced" core bundle, but is missing from the "advanced-expanded" one. Since the expanded bundles usually include all of the packs from the non-expanded versions, 10259 should be added to advanced-expanded too.

my hope was the community would keep the bundle sets updated over time but that never really happened
maybe a little push will get the ball rolling so if that happens it will be fixed in the process, otherwise we should just fix this oversight in 0.71 before release


Better way to share KittiSeg_pretrained.zip

I have been constantly trying to download KittiSeg_pretrained.zip from ftp://<IP_ADDRESS>/pub/mttt2/models/KittiSeg_pretrained.zip. I have been trying every hour since the last couple of days.I already checked #19 #18 #33 . It is not the case that I forgot to unzip the file in the RUNS folder.
Can someone share their local copy via dropbox,google drive or any other method? My email id<EMAIL_ADDRESS>

I am happy if anybody uploads KittiSeg_pretrained somewhere else.

hi，do you have this file now？
I try many times, but fail.
Can you hlep me?
Thank you~

Hi, anybody has a copy of the pretrained model? I cannot download it either. Thx!

Hi, anybody has a copy of the pretrained model? I cannot download it either. Thx!

hi，do you have this file now？
I try many times, but fail.
If you've been successful, can you share a document with me, thank you

I am happy if anybody uploads KittiSeg_pretrained somewhere else.

Link：https://pan.baidu.com/s/1ZA78FWiWzGEFSPfyHtu4BQ
Extract code：iz2v

I am happy if anybody uploads KittiSeg_pretrained somewhere else.

Link：https://pan.baidu.com/s/1ZA78FWiWzGEFSPfyHtu4BQ Extract code：iz2v

I can't access the link. Is it possible to upload it elsewhere? or to send the zip via email? my email si<EMAIL_ADDRESS>


Integrating DataFrame-go with goLearn

There is a golang version of pandas (biggest data processing library in python) being developed here: https://github.com/rocketlaunchr/dataframe-go
This library allows a much easier pipeline for data handling. Using this, it would be much easier to do data cleaning and feature engineering inside golang, before using golearn (since Golearn Fixed Data Grid isn't designed for handling so much data processing).
Since Fixed Data Grid is already very deeply integrated into golearn, it would not be feasible to change everything to support dataframe-go. Instead, could we build a function that converts the dataframe-go object into a golearn Fixed Data Grid? That way, the two libraries would be easily integrated, with minimal changes.

Sounds like a great idea - it might be possible to phase out the FixedDataGrid assuming that dataframe-go supports similar(ish) operations. It made sense to me at the time, but the pandas/dataframe approach has clearly won out.

By phasing out the FixedDataGrid , do you mean that we eventually completely replace it with the dataframe approach?
The FixedDataGrid interface is heavily integrated into golearn, so phasing it out would have required a major change across the library. That's why I just suggested a converter function, that essentially just converts the dataframe object to FixedDataGrid, and then can be used with the rest of the library. Although eventually, having easy integration with dataframe would be better. What do you think?

I am needing something in the other direction.
My use case (because there may be a better solution):
I'm a newcomer to golang and golearn (though not to ML) and are not quite sure how I can use MapOverRows to iterate over and plot FixedDataGrids. I have used golearn with KNNs and I want to visualise the results.

您好，您的邮件已收到，我会尽快查看，^_^

邮件已收到，谢谢！
                 ——赵淼


CSS Events & webinars page

http://kfg6bckb-dev.webengine.zesty.io/events-and-webinars/
Drop padding between header & "coming soon", drop padding between "coming soon" and CTA at bottom.

@Katiemoser reduced padding, let me know if you are happy with it

Looks good, thank you!


Infinite loop on REQUIRE when MSVC builds without EHsc enabled

Using REQUIRE at all for me seems to always cause an infinite loop. I am compiling with MSVC 2010 (version 16.00). Compiling with exception handling enabled fixes this. Maybe this isn't a bug, but if so, you guys should specify somewhere that exception handling is required. (It is not apparent in the tutorial that this library is using exceptions at all).
It would appear that the config might allow a way to skip throwing (virtual bool allowThrows() const        { return !m_data.noThrow; }), but alas this is also not documented anywhere.
I work in video games, and games tend to avoid exception handling at all costs. Enabling it for our tests projects isn't a huge deal, but the ideal situation would be tests who's compile flags match that of our real-world code.
This code repros it for me:
#define CATCH_CONFIG_MAIN  // This tells Catch to provide a main() - only do this in one cpp file
#include "catch.h"

TEST_CASE("Reproducing infinite loop", "")
{
    int a = 1;
    REQUIRE(a == 2);

    a = 2;
    CHECK(a == 2);
}

Compiling without exceptions is not planned to be supported within Catch in the conceivable future.


Issue 1136 - refactor project layout

merged fhir-operation into fhir-server and moved fhir-operation projects into common sub-dir

moved ig projects into common sub-dir

moved notification projects into common sub-dir

Does this need to be change https://github.com/IBM/FHIR/blob/master/.github/workflows/build.yml#L55 ?
This needs to change just change the for loop conditions
https://github.com/IBM/FHIR/blob/master/build/release/release.sh

Also the error wasn't jumping out at me (why the build failed)

Does this need to be change https://github.com/IBM/FHIR/blob/master/.github/workflows/build.yml#L55 ?

I think not.  I didn't do the persistence change (yet).

This needs to change just change the for loop conditions
https://github.com/IBM/FHIR/blob/master/build/release/release.sh

I assume you mean around this line: for PROJ in find . -type d -maxdepth 1 | grep -v '.git' | grep -v 'build' | grep -v '/docs' | sed 's|./||g' | grep -v '.' ` ?
Think I could just change maxdepth to 2?

only comment is more of a question.. I saw the pom.xml change for fhir-validation with the fhir-core exclusion? is this new?


Dapr sidecars do not successfully connect to pubsub component.

Error log from my dapr sidecars, note I'm ommitting computer/app specific values:
time="2024-01-26T11:50:06.496542-05:00" level=warning msg="failed to subscribe to topics: error occurred while beginning pubsub {{PUB_SUB_NAME}}: Get \"http://<IP_ADDRESS>:5034/dapr/subscribe\": read tcp <IP_ADDRESS>:60618-><IP_ADDRESS>:5034: read: connection reset by peer " app_id={{APP_ID}} instance={{INSTANCE_ID}} scope=dapr.runtime type=log ver=1.12.4

This only happens when running with this plugin. I'm on version 2023.3.3 of Rider and on MacOS version 14.3. My dapr CLI version is 1.12.0 and runtime version is 1.12.4. If I run the app via dotnet run on the command line, pubsub works fine. So I'm guessing it's something within this plugin or Rider.

Hello! It's an Aspire bug, please see this issue #28 (in the next preview 3 it should be fixed). You can turn off the DPA plugin, it should help.

Thank you for the report!


Picking Regigigas (BH Poison Heal) still gives Slow Start as the ability, same goes for other BH sets

fixed


Bulk Edit causes deletion of array fields

Describe the Bug
It seems that with 3.0.0 and newer (I've tried up to 3.1.0 but I haven't tested older versions) when using bulk edit to update one field causes Payload to delete another field of type array.
Link to the code that reproduces this issue
https://github.com/thekiwi/payload-bulk-edit-bug
Reproduction Steps

Start the reproduction repo, pointing at a PostgreSQL database (I used 16.3)

Log into the Admin panel (first creating a user, if necessary)

Create a new Thing, leave 'enabled' unchecked, but add an entry to the 'foos' array

View the list of things, you should see 1 Foos for the new thing

Check the things_foos collection in the DB and observe there is now 1 record.

Check the thing you just created and click "Edit" to start bulk editing

Toggle the 'enabled' field to true for the thing you just created

Click "Save"

Return to the list of things, you should see 0 Foos for the thing you just edited

Check the things_foos collection in the DB and observe there are now 0 records

Which area(s) are affected? (Select all that apply)
db-postgres, area: core
Environment Info
Binaries:
  Node: 20.16.0
  npm: 10.8.1
  Yarn: 1.22.22
  pnpm: 9.7.0
Relevant Packages:
  payload: 3.1.0
  next: 15.0.0
  @payloadcms/db-postgres: 3.1.0
  @payloadcms/email-nodemailer: 3.1.0
  @payloadcms/graphql: 3.1.0
  @payloadcms/next/utilities: 3.1.0
  @payloadcms/payload-cloud: 3.1.0
  @payloadcms/richtext-lexical: 3.1.0
  @payloadcms/translations: 3.1.0
  @payloadcms/ui/shared: 3.1.0
  react: 19.0.0-rc-65a56d0e-20241020
  react-dom: 19.0.0-rc-65a56d0e-20241020
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.0.0: Tue Sep 24 23:39:07 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6000
  Available memory (MB): 16384
  Available CPU cores: 8

I've reproduced this in the Payload monorepo pre 3.2 release using both db-postgres and db-mongodb. The odd thing is that it happens 4 / 5 times with the fifth time working as expected. Will double check if it's still happening.

Hey @akhrarovsaid - did you get any further with this? It seems like a pretty critical bug, especially as @yonnic has pointed out it also affects fields with default values. We lost a whole lot of data before we realised what was actually going on.

@PatrikKozak I can see you've merged https://github.com/payloadcms/payload/pull/9842 - I'm assuming that PR fixes this issue as well?

Hey @thekiwi,
I tested this in the monorepo _community folder using your reproduction repo configuration and am no longer able to reproduce this issue! Bulk editting many docs leaves array fields untouched in my testing.
Hopefully this is out in the next release. I was considering authoring a PR for this one. However @PatrikKozak has, masterfully, managed to get 2 birds with 1 stone so to speak. Great job here.

Hey @thekiwi, @yonnic, @akhrarovsaid - Yup! My merged PR of #9842 will indeed fix the array issues as well! The original issue seems to have affected nested fields and fields with default values.
Tested for all of this in that PR.
We'll get a release out for this fix asap - going to close this for now.


Initial web frontend - provides a map, a UI and geocoding

This pull request provides a web client that provides a mapbox map, restricted to the UK and with geocoding restricted to London, with map controls. The user can enter start and end locations within London and have them appear on the map. The user can also click to add start/end locations and drag/swap the start and end locations. GeoJSON is used to draw a straight line between them; in future this line will be a route provided by the server.
Type of change

[ ] Bug fix
[x] New feature
[ ] Documentation
[ ] New algorithm

Additional dependencies

mapbox-gl-js
A modified version of mapbox-gl-directions is provided in the mapbox-gl-directions folder; if futher changes need to be made to this, run npm build within /mapbox-gl-directions and the new mapbox-gl-directions.js file will be produced in the /dist folder

Tests
The UI has been tested manually over localhost.
Issues fixes
List any issues this closes: (none)

Checklist
Please ensure you have done the following:

[ ] Code conforms to the projects style guidelines -> I have used vscode's default formatter for html/js/css, although this is not a project guideline

[ ] New code documented using google docstyle

[ ] Updated documentation of any changed code

[ ] Any additional dependencies have been added to the appropriate location (e.g. setup.py or requirements.txt)

[ ] Unit tests written and passing. Tests should prove that fix is effective or new feature works as expected

[ ] Code needs to run on the cluster? Tag database administrator in the pull request review to configure.

Reviewer

Quick (and maybe dumb) question @JamesCraster : why is there so many lines in the pull request?
You must have a very fast typing speed! 🥇

I use a javascript formatter that is different from the mapbox-directions-plugin formatter, so whenever I edit their code and reformat this will change all the lines in that source file, also I included the /dist directory in their code, which will change whenever I build their plugin. This setup isn't very nice, but I need to modify their plugin - they call the mapbox API for all things, their camera animations are a bit wonky, and I think rerouting on each drag event would be too much for us. I'm not sure if maintaining a small fork would be more clear in terms of those git diffs.

I see - are there other advantages/disadvantages to forking their repo?
For example if they update their source code to fix a bug, can we pull their changes?
Also worth thinking about how forking would affect integration with the frontend @ChristyNou  is building.

Being able to pull their changes would be useful, although I don't think we would want to merge too often - our use of the plugin isn't in line with their aims so we would spend a little time merging each time we did it.
I think the main benefit of the fork would be being able to keep track of the changes we make to the plugin without those changes being lost among the changes to the rest of the urbanroute repo.
Then there is the issue of where to put it so we can access the /dist directory, the options I can see are:

Cloning the fork into the /apps repo and replacing the existing plugin with it each time we make changes.
Maybe this problem could be a good use of git submodules?
The other option might be to make a fork and publish to npm private, but then we would then need to use webpack/browserify - I'm not sure if that's a good idea.

I'm not sure how this would effect integration with @ChristyNou 's work; I think that is an important issue. I would be inclined to create a fork, although perhaps it would be best to evaluate mapbox and the plugin for our needs before doing so.

Which repo is your code in Christina?


Makefile: Remove trailing slash from OUTPUT_DIRNAME value

This slash gets added back on (e.g. $(OUTPUT_DIRNAME)/) in all the places where a trailing slash matters.

LGTM

LGTM


Add banner link to v1 Explorer

can we use localstorage to save when the user dismisses the banner?

Wow looks very nice! Out of curiosity are there metrics on how many times this banner is clicked? I don't think there are but I guess a reasonable approximation would be to look at page views of https://explorer-v1.helium.com/ compared to https://explorer-beta.helium.com/validators and use that data to decide when it's safe to deprecate / remove support for explorer-v1.

Wow looks very nice! Out of curiosity are there metrics on how many times this banner is clicked? I don't think there are but I guess a reasonable approximation would be to look at page views of https://explorer-v1.helium.com/ compared to https://explorer-beta.helium.com/validators and use that data to decide when it's safe to deprecate / remove support for explorer-v1.

hey @rootulp thanks for checking it out! we have usage analytics for both sites, so we'll get a pretty good sense of how much the old explorer is being used once we switch over


Getting next item from IterableDataset took forever.

Describe the bug
I have a large dataset, about 500GB. The format of the dataset is parquet.
I then load the dataset and try to get the first item
def get_one_item():
    dataset = load_dataset("path/to/datafiles", split="train", cache_dir=".", streaming=True)
    dataset = dataset.filter(lambda example: example['text'].startswith('Ar'))
    print(next(iter(dataset)))

However, this function never finish. I waited ~10mins, the function was still running so I killed the process. I'm now using line_profiler to profile how long it would take to return one item. I'll be patient and wait for as long as it needs.
I suspect the filter operation is the reason why it took so long. Can I get some possible reasons behind this?
Steps to reproduce the bug
Unfortunately without my data files, there is no way to reproduce this bug.
Expected behavior
With IteralbeDataset, I expect the first item to be returned instantly.
Environment info

datasets version: 2.11.0
python: 3.7.12

Sorry,

Hi! It can take some time to iterate over Parquet files as big as yours, convert the samples to Python, and find the first one that matches a filter predicate before yielding it...

Thanks @mariosasko, I figured it was the filter operation. I'm closing this issue because it is not a bug, it is the expected beheaviour.


Run fastq with proposed naming convention through pipeline to test for problems

From: Rob Knight
Date: Wednesday, March 17, 2021 at 5:10 PM
To: "Fisch, Kathleen"
Subject: Re: How did INSPECT test runs go?
[snip]
Any chance your team can indulge me and see if you rename one fastq from a small run with that name, does it go all the way through the pipeline and not kill anything?
[snip]
From: Rob Knight
Date: Wednesday, March 17, 2021 at 11:48 AM
Subject: Fwd: How did INSPECT test runs go?
FYI — will names like this break anything in the downstream toolchain? Can we rename one of the fastq files we have already and see if anything breaks?
Begin forwarded message:
From: "Sathe, Shashank"
Subject: Re: How did INSPECT test runs go?
Date: March 17, 2021 at 9:03:01 AM PDT
Hi Rob,
Here is the new naming convention :
__.fastq
An example :
SEARCH10001__EXC_MW4_257489__D105000__A01__201309_A00953_0250_BH2M2TDRXY__S12_L001.fastq
[snip]

I did this. We found one place in our own code that broke, which we fixed; I do not see any evidence of any of the 3rd party tools failing.


setTimeout and setInterval on window should return numeric ID

setTimeout and setInterval on the jsdom window currently return the NodeJS timer object. Ideally, though it should return a numeric ID

if nobody's is looking into anything similar, I can submit a pull request for this with a proposed fix

Well there's https://github.com/tmpvar/jsdom/pull/1342 but @Sebmaster has been lazy on tests so I wouldn't be too sad if you stomped on his changes :P
Tests would go in web-platform-tests/to-upstream/html/webappapis/timers/. Things to test off the top of my head:

Return type for both setTimeout and setInterval
Ensure the counter increments with subsequent calls
Ensure the counter is shared between the two
Ensure clearTimeout works

Cool, i'll give it a try.

So, I've submitted a pull request which seems to be passing CI. @domenic, @Sebmaster  could you please take a look?

Fixed by https://github.com/tmpvar/jsdom/commit/f53876aa0368b3debb73272db5023708e53b24fb!


Update Mongo query in metrics.py to be PyMongo3 compatible

So this was pretty easy, see the PyMongo docs. PyMongo 3.x returns a cursor from an aggregation query now. The cursor isn't accessed with the result key anymore.

This is what you get for writing such a cocky PR message. =P Looks like Py2.7 is failing, reliably this time. Not sure what the deal is — something ports-related? From PyMongo:
ServerSelectionTimeoutError: No servers found yet

I couldn't help but open my big mouth :P It looks like this is a known bug -- https://jira.mongodb.org/browse/PYTHON-961
It's been fixed but not rolled out yet. There's apparently a work workaround, which is to call connect=False in the MongoClient constructor. This doesn't work for me on my local 2.7 environment. Hmm..

LOL
Since we know the root cause and that there's a fix on the way, I'm happy to merge this for now — perhaps comment-out the Py27 testing for now? We can reactivate once 3.0.4 is out.

I'd rather just shelve this until there's a new release of PyMongo. There's no benefit to updating for the time being.

Fair enough. =)

PyMongo 3.2 fixed this issue

@sibeliusseraphini Thanks for letting us know!
@starcalibre it looks like some of the tests are erroring now, do you want to troubleshoot and get this merged finally?
https://travis-ci.org/microscopium/microscopium/jobs/83814604

@jni PyMongo works fine now, but it looks like the errors are due to a conflict in OnlineStandardScaler. scikit-learn changed their StandardScaler in version 0.17.0. I'm working on it!

@jni Passing now! scikit-learn added online standard scaling to their StandardScaler, so refactoring run_features slightly to use it sorted out the conflict. I'll leave it up to you whether or not we keep your OnlineStandardScaler in the code?
Side-note: MPL 1.5.1 throws a warning during the Travis build (that's why there's a bit of commit ping-pong between fixing and fixing the version, was trying to see if fixing MPL to 1.5.0 stopped the warning). This warning was added in MPL 1.5.1 (see https://github.com/matplotlib/matplotlib/issues/5836). Seeing as the build still passes I'm not worried about it too much..

@starcalibre awesome! Yeah I've encountered that warning. What a PITA. It should be fixed by adding a few directories to travis cache. I'll do that in a separate PR. Thanks for getting this through! Woot! =)


twindv1 plugin error: Uncaught ReferenceError: MutationObserver is not defined

I'm attempting to add the twindv1 plugin to my Fresh project, and am getting an error seemingly related to @twind/core, but initialized via the twindv1 plugin. I'm at a loss for how to move past this. I'm using Fresh v1.1.5 with Deno 1.32.3.
Task dev deno run -A --watch=static/,routes/,import_map.json dev.ts
Watcher Process started.
The manifest has been generated for 16 routes and 4 islands.
error: Uncaught ReferenceError: MutationObserver is not defined
    at rt (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:14902)
    at nt (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:15368)
    at ft (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:17583)
    at setup (https://deno.land/x/fresh@1.1.5/plugins/twindv1/shared.ts:26:3)
    at twindv1 (https://deno.land/x/fresh@1.1.5/plugins/twindv1.ts:9:3)

❯ deno --version
deno 1.32.3 (release, aarch64-apple-darwin)
v8 <IP_ADDRESS>
typescript 5.0.3

try deno upgrade --version 1.32.1

you could refer to this https://github.com/denoland/fresh/issues/1103#issuecomment-1498416118

@huai-jie thanks for this; however it does not have any effect on this case though.
❯ deno upgrade --version 1.32.1
Downloading https://github.com/denoland/deno/releases/download/v1.32.1/deno-aarch64-apple-darwin.zip
Deno is upgrading to version 1.32.1
Archive:  /var/folders/_1/rg0z88jn5_3cmly9shy0rjk00000gn/T/.tmp7LFMEx/deno.zip
  inflating: deno
Upgraded successfully
❯ deno task start
Task start deno run -A main.ts
error: Uncaught ReferenceError: MutationObserver is not defined
    at rt (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:14902)
    at nt (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:15368)
    at ft (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:17583)
    at setup (https://deno.land/x/fresh@1.1.5/plugins/twindv1/shared.ts:26:3)
    at twindv1 (https://deno.land/x/fresh@1.1.5/plugins/twindv1.ts:9:3)
❯ deno upgrade
Looking up latest version
Found latest version 1.32.3
Downloading https://github.com/denoland/deno/releases/download/v1.32.3/deno-aarch64-apple-darwin.zip
Deno is upgrading to version 1.32.3
Archive:  /var/folders/_1/rg0z88jn5_3cmly9shy0rjk00000gn/T/.tmpR0NRmN/deno.zip
  inflating: deno
Upgraded successfully
❯ deno task start
Task start deno run -A main.ts
error: Uncaught ReferenceError: MutationObserver is not defined
    at rt (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:14902)
    at nt (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:15368)
    at ft (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:17583)
    at setup (https://deno.land/x/fresh@1.1.5/plugins/twindv1/shared.ts:26:3)
    at twindv1 (https://deno.land/x/fresh@1.1.5/plugins/twindv1.ts:9:3)

How about executing this:

deno run -Ar main.ts

Still the same:
❯ deno run -Ar main.ts
error: Uncaught ReferenceError: MutationObserver is not defined
    at rt (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:14902)
    at nt (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:15368)
    at ft (https://esm.sh/v114/@twind/core@1.1.3/deno/core.mjs:2:17583)
    at setup (https://deno.land/x/fresh@1.1.5/plugins/twindv1/shared.ts:26:3)
    at twindv1 (https://deno.land/x/fresh@1.1.5/plugins/twindv1.ts:9:3)

A "fresh" project did not exhibit the issue, so after careful step-tracing, it was determined that the side-by-side inclusion of our *.test.tsx files were the cause. After moving the test files out of the route tree, all is well.


Create python objects for JointData classes

This PR primarily creates the python bindings for the joint data classes.
In order to achive that, there are the following changes inside the JointData structs:

adding a shortname/classname visitor and function
adding a default constructor for JointDataComposite
create an ostream operator for making the classes printable

The rest of the PR deals with the python bindings of the JointData variants.
I don't expose JointData::F, since I didn't really understand why it is there. I'll add it if #683 is resolved that way.

I just need the classname and shortname to make the definition of bp classes automatic. This is the same strategy that was used for the jointmodel classes as well.

Ok. Sounds good.
My only concerns are then with the commented include.

Pickling only creates a copy of the elements in the dict. Thus, if the jointdata classes are not present inside the class members, it would not be pickled. The copy of pinocchio data that will be created after pickling and unpickling will be useless for any future computations then, you will have to find a way to copy the members which were pickled into any new class that you create.

By the way, why do you need to expose all these methods exactly?
Do you know that you accces though them the JointDataGeneric?

We have to create a fully accessible state for each joint (such that the class can be recreated in python from all its members). This is needed in order to not destroy the classes after pickling. That is why I am exposing all the members of a JointData class

@proyan Can you address the small remaining remarks that I've made?
Thanks a lot in advance.

Ok. Sounds great now. I'm going to merge it now.


Open Onboard directly in storyboard

I wanted to know how can I open an Onboard screen using a UIButton for example in storyboard?
Thanks

Bump

OnboardingViewController based on UIViewController
attach it from storyboard

Thanks a lot!


Using biber in restricted accounts

In a german discussion group a user can't execute biber as it is blocked by a "Gruppenrichtlinie".
Apart from the obvious solution to ask the IT to unblock it, what possibilities are there to use biber in a "portable" way? Is there some environment variable one could use to unpack biber in some local folder? Can one unpack it manually?

You should be able to set the PAR_GLOBAL_TEMP environment variable to choose the extraction cache location - can you see if that works?

I forwarded the suggestion and will report when I get an answer.

Did this work?

No, but I'm not sure if she did everything correctly. I also don't know if she really tried to get around the block or if she found another solution. I now asked if there are news. The thread is here http://golatex.de/biber-der-prozess-ist-abgestuerzt-t15301.html.

I confirm that this is an open issue with Windows biber on computer with Group Policy setting that will deny running exe's, or writing exe's, to %TMP% folder. Centrally administered computers (like mine) may have these kind of restrictions.
I also confirm that setting the environment variable PAR_GLOBAL_TEMP to a folder where one can read and execute will solve this problem.

HI
I think I have a similar issue on a Linux (Fedora 29) machine. How do I set  the environment variable PAR_GLOBAL_TEMP to my web server folder (I use a php script to create my .tex/.pdf files). Thanks.


Publish site results to GitHub Pages

The maven site is generating a general overview and documentation for cactus.
As we are not a apache project anymore we need to host this on our own to get a up-to-date documentation site running.
GitHub Pages are exactly there for this reason.
https://pages.github.com/

Site is deployed on https://sheeper.github.io/jakarta-cactus/.
https://github.com/sheeper/jakarta-cactus/issues/17 is created to track the problems with automatic distribution.


examples relying on pygmsh broken with Gmsh 4 now using format MSH4

The two examples, ex12 and ex13, using pygmsh.generate_mesh are broken.  In each case the call raises

AssertionError: Need mesh format 2

from meshio.gmsh_io._read_header.
I think this might be the result of upgrading to Gmsh 4.  The MSH files are binary but the first two lines are
$MeshFormat
4 1 8

The 4 is what is asserted to be 2 by meshio, so I think this is a https://github.com/nschloe/meshio issue.  I'll report and try to fix it there.

As reported under #41, following some work on nschloe/meshio#280, the error raised is now a UnicodeDecodeError rather than an AssertionError.

As a result of work upstream on MSH4 nschloe/meshio#280 and binary MSH4 nschloe/meshio#284, this is half fixed.  Example ex12 now runs again; however, ex13 still fails though with a new, third,error:

KeyError: 'gmsh:physical'

This has been raised upstream in nschloe/pygmsh#209 and nschloe/meshio#280.

I suppose it does not matter. I checked out the contents of the object outputted by meshio.read yesterday. It seems that the contents are really mesh format specific. For example, MSH2 format output for tetrahedral mesh stores only the facet indexing. So a wrapper is needed to populate Submesh.edges. Already P2 elements for tet's have DOFs on edges so this is required.

Facet indexing?  The Gmsh MSH2 format stores all elements in terms of nodes, node-number-list in:

elm-number elm-type number-of-tags < tag > … node-number-list

which was all that was need for the t attribute of skfem.Mesh.  I thought that was passed on fairly faithfully from MSH by meshio.read?
Not edges, no, but for elm-number 11

10-node second order tetrahedron (4 nodes associated with the vertices and 6 with the edges)

I thought it would have 10 entries in node-number-list; meshio.msh_io._read_cells seems to know about elm-number 11 which it calls "tetra10".

It would be a shame to have the facility only for linear elements.  Perhaps there will always be an issue for exotic elements which few if any mesh formats will know about; I guess these require some subsequent processing. But P2 etc shouldn't be in that category.
Now I believe that meshio.read for MSH2 (or direct use of pygmsh.generate_msh pre Gmsh 4) will return cells as a dictionary with keys 'tetra', 'triangle', 'line', &c., containing all the elements that are part of physical entities. The corresponding physical tags should be in cell_data.
Is the concern that the triangles, e.g., need to be linked to the two or one tetrahedra of which they are facets?

You are correct. Tetrahedra and facet triangles must be linked via MeshTet.f2t and MeshTet.t2f.
This is definitely something that can be worked out though, but it requires some meditation.

It seems that reading physical tags from MSH4 #41 is stalled upstream in nschloe/meshio#289.
A makeshift that works with current pygmsh and meshio master for ex13 is to add
extra_gmsh_arguments=['-format', 'msh2']

to the call to pygmsh.generate_mesh.
I expect nschloe/pygmsh#213 to go through shortly though and that will enable another route for meshing consisting of simple elements (least order lines, triangle, tetrahedra, quadrilaterals, and hexahedra): mesh_file_type="mesh", though that will also necessitate ditching the Gmsh $PhysicalNames "ground" and "positive" which the intermediate MEDIT mesh format doesn't store.  The boundaries would then be accessed by int tags.


Add Issue and Pull Request Template

Search existing such templates here

@TremaineNeethling this looks like something you can pick up

@prateekiiest do you have something in mind for the template?

Some thing like this
Issue

[ ] Issue number
[ ] Issue name should be proper and not something vague
[ ] Description about the issue.
[ ] which files it requires changes

PR

[ ] Issue number it addresses.
[ ] PR name should be self descriptive.
[ ] Describe your changes in brief and which files you changed.

Myself and @TremaineNeethling talked about this and here are some thoughts:

Issue number

This is auto generate by Github when a new issue is created so, I reckon we can leave this

Issue name should be proper and not something vague

Something like, “Please provide a short, clear description of the problem”

Description about the issue.

“Please describe the problem you encountered, and steps to reproduce”

which files it requires changes

This is not always known at issue creation time so, we can either reword or, leave this of. If reword, it perhaps something like: “If known, which file(s) needs to be changed?”

I wonder if the PR requirements should be part off the README/CONTRIBUTING files? I often feel like there could be two sections to a contributing/get involved section.

Assume prior knowledge
Assume no prior knowledge

Have 2 be first and allow other users to skip over the basics. Thoughts?

I feel that PR requirements be included in the contributing.md  section.

@prateekiiest Here is my pull request https://github.com/prateekiiest/titanic_survival_exploration/pull/6


[New article]: Documentation for Workload Sets feature

Proposed topic or title
.NET SDK Workload Sets
Location in table of contents.
Probably near https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-workload
Reason for the article
This is a new version for .NET9 and .NET 8.0.4xx. It will be opt-in in 8.0.4xx and opt-out in .NET 9. The documentation for dotnet workload update and dotnet workload install should probably be updated as well (or instead?)
Article abstract
https://github.com/dotnet/designs/pull/294/files
What are Workload Sets
Workload sets creates a single version number that represents a group of .NET SDK workloads. This allows you to install a specific version and stay on that version for more reliability. It allows you to install a combination of workloads that ship at the same time and are known to work together.
Using Workload Sets
Workload sets will be published to nuget.org with each release of the .NET SDK under the package ID Microsoft.NET.Workloads.<feature band>
There are three different ways to use workload sets.
Using the latest available workload set
To use the latest workload set, run dotnet workload config --update-mode workload-set, and then run dotnet workload update.  This should install the latest workload set available on the configured feeds. You can later switch back to the old mode of installing the latest version of each individual workload by using dotnet workload config --update-mode manifests
Installing a specific workload set
You can use the --version parameter of the dotnet update or dotnet install command to specify a workload set version to install.  For example, dotnet workload update --version 8.300.0-preview.0.24219.1.
After you do this, installing a workload with dotnet workload install should no longer automatically update to a newer workload set.  However, if you run dotnet workload update, this will install the latest available workload set, and "unpin" you (though the SDK will still remain in workload set mode).
Using global.json
You can create a global.json file to specify the workload set version for a repo.  The format looks like this:
{
  "sdk": {
    "workloadVersion": "8.300.0-preview.0.24219.1"
  }
}

With the current directory under that repo, you can run dotnet workload restore to install the workload set.
Checking the workload set version
To see the current workload set version, run dotnet workload --version.  If a workload set is installed, you will see a version such as 8.0.300-preview.0.24217.2 or 8.0.401.  If there is no workload set version, then you will see a version in the form of <feature band>-manifests.<hash>, such as 8.0.400-manifests.45f976f0.
Relevant searches
No response

Can it be merged?

@tdykstra Do you want to take this one?

Sure

This is a new version for .NET9 and .NET 8.0.4xx. It will be opt-in in 8.0.4xx and opt-out in .NET 9.

@marcpopMSFT Questions:

This is a new version of what
How do you opt in in 8.0.4xx
How do you opt out in .NET 9


在M1下无法正常获取数据包

ubuntu: 20.04
Linux xx 5.4.0-136-generic #153-Ubuntu SMP Thu Nov 24 15:59:04 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
虚拟机是运行在M1下的
执行：sudo ./ecapture tls后，再发起Curl请求，没有输出任何结果：

wget也是相同的结果。我开始以为是so库缺失的的问题，随后我指定了so库的位置：
sudo ./ecapture tls --libssl="/lib/aarch64-linux-gnu/libssl.so.1.1" --gnutls="/lib/aarch64-linux-gnu/libgnutls.so.30" --nspr="/lib/aarch64-linux-gnu/libnspr4.so"
一样没有输出任何结果。

我不确定是ecapture的问题，因为M1的坑我已经碰到太多了- -!

最新版我在5.10.110的x86_64安卓模拟器上也是抓不到任何包, 命令执行是成功的

M1 虚拟机里面，curl是static版本吗
安卓5.10的模拟器上应该是ok的，可以提供下你的命令执行具体截图吗

在M1里面的curl不是static的。

安卓5.10的模拟器上应该是ok的，可以提供下你的命令执行具体截图吗

没有输出, ecapture_masterkey.log是空文件

安卓5.10的模拟器上应该是ok的，可以提供下你的命令执行具体截图吗

 没有输出, ecapture_masterkey.log是空文件

可以试试把isKernelLess5_2默认设置为true，重新编译一下。
https://github.com/gojue/ecapture/blob/24cefa48559ddd823cc4b7b5811a6d2385739273/user/module/imodule.go#L88
因为测试在x86 4.19的内核是可以抓到包的，倾向于是编译所用头文件带来的问题，具体还需要作者分析下

我看了上面的提问，发现curl请求到是http协议。重新请求后有输出了，但是内容还是没有解析出来。

那就对了，arrch64 的 5.4 版本有问题，获取不到数据，需要用更高一点的内核版本

我使用其他版本内核再试一下

https://github.com/gojue/ecapture/blob/master/README_CN.md 里写得很清楚了

支持Linux系统内核x86_64 4.18以上版本，aarch64 5.2以上版本； 支持Android系统内核x86_64 4.18以上版本，aarch64 5.4以上版本；
不支持Windows、macOS系统。

版本确定无误后，可以再发下你测试的命令、环境等。

在5.15.0-41-generic版本下一切正常。
执行命令: sudo ./ecapture tls

os: ubuntu 22.04
arch: aarch64

没问题了的话，可以关了这个issue哦。  @smile0304

，获取不到数据，需要用更高一点的内核版本

https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.5 里明确修复了这个问题。可以搜bpf_probe_read_user 查看相关日志。


[Design QA] Page padding/Mobile

All pages padding should be set to 16px (from right and left)
right now some pages, or at least part of the page is set to 24px.. it’s a waste of space.
Devs:

Design:

Technical Implementation
To standardize the padding across all pages to 16px (from right and left) in your React Native code, you'll need to adjust the styles applied to the main containers of your pages. Here's how you can modify the WalletProfile component and apply a similar approach to other components as needed:

Update the Main Container Style:
Adjust the container style in your stylesheet to ensure it has 16px padding on the right and left. This seems to be already done in your code, but it's important to ensure consistency across all components.
container: {
  width: '100%',
  padding: 16, // Set padding to 16px
  backgroundColor: Colors.white,
},

Review Other Styles:
Check other style properties in your stylesheet to ensure no other elements are overriding this padding with a different value (like 24px). Specifically, look for any padding or margin properties in the stylesheet and update them accordingly.

Apply Changes to Other Components:
Since you want this change to be reflected across all pages, you'll need to ensure that similar adjustments are made to the main container styles of other components/pages in your application.

Verify Nested Components:
If there are nested components within each page, ensure that their styles don't inadvertently increase the overall padding or margin beyond the desired 16px.

Test on Different Devices:
After making these changes, it's crucial to test your application on different devices (or screen sizes) to ensure that the UI looks consistent and the 16px padding is maintained across all pages.

Ensure Responsiveness:
Since you're working with both desktop and mobile layouts, make sure that the responsiveness of your application is not affected by these changes.

By following these steps, you'll be able to set a consistent padding of 16px from right and left across all pages in your application, ensuring a uniform look and feel. Remember, the key here is consistency and thorough testing across different components and screen sizes.


tsconfig.json error

Forgive me for this question but why tsconfig.json has this error: A path in an extends option must be relative

Just ignore my retarded question.


Careers page

Includes slight variations of existing blocks to suit the page.
Test URLs:

Original: https://www.sunstar.com/careers/
Before: https://main--sunstar--hlxsites.hlx.live/careers
After: https://careers_3--sunstar--hlxsites.hlx.live/careers

[X] If you are adding a new block or a variation to an existing block, please fill below:

Block library path: https://--sunstar--hlxsites.hlx.page/tools/sidekick/library.html?plugin=blocks&path=/sidekick/blocks/&index=0

The visual differences on the hero page are expected as I added a new variant for this PR there.


Update structure for old Hardening Guide

With 2.5, we are increasing the guide from providing guidance on a RKE1 cluster to all Rancher k8s distros.
Currently, we have a link for each Hardening Guide and each Self Assessment Guide.

To prep for it, let's first clean up the old hardening guide to this format:
- Rancher v2.4 - new page that should summarize the versions used and then links to the individual guides explaining the hardening guide will explain how to harden your Rancher v2.4 clusters and the self assessment guide will give you the report for how we score on every bench mark.
  - Hardening Guide
  - Self Assessment Guide
- Rancher v2.3
   - Rancher v2.3.5
       - Hardening Guide
       - Self Assessment Guide
   - Rancher v2.3.3
       - Hardening Guide
       - Self Assessment Guide
   - Rancher v2.3.0
       - Hardening Guide
       - Self Assessment Guide
- Rancher v2.2
  - Hardening Guide
  - Self Assessment Guide
- Rancher v2.1
  - Hardening Guide
  - Self Assessment Guide

closing this issue because https://github.com/rancher/docs/pull/2713 is merged


Support for PySide2 (qt)

I would like to use pyvista in a qt qui application. In this application we use the pyside2 library instead of the pyqt5. Going over the source in qt_plotting it seems that adding support for pyside2 is not too much work. Willing to give it a go and create a merge request when finished.
However, I do not want to interfere withe pyvista/pyvista#614 which seems to propose massive reduction of the qt-related code in pyvista (which I think is a good idea).
Also, adding functionality to embed a plotter instance in an existing qt gui ( like done here: https://github.com/marcomusy/vtkplotter-examples/blob/master/vtkplotter_examples/other/qt_window.py ) is something I would like to add.
(see: https://www.learnpyqt.com/blog/pyqt5-vs-pyside2/)
Please tell me how and where I can support.

And what do you think about qtpy?

qtpy looks like a good option

Closing by https://github.com/pyvista/pyvistaqt/pull/61

Closing by https://github.com/pyvista/pyvistaqt/pull/61


Some issues in limits-summary

I have some issues in this section limits-summary: https://docs.microsoft.com/en-us/azure/azure-monitor/app/pricing#limits-summary.

the link for type schemas is broken, a 404 page now.
for "Maximum event size", it's 64,000. Does it mean the length of each event size? and it's unit is bytes or something?

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

ID: 93d51fcb-63a2-c622-7df3-27703a171b3a
Version Independent ID: 0e2ed122-08c3-fae2-3b7f-6fde780a9933
Content: Manage usage and costs for Azure Application Insights
Content Source: articles/azure-monitor/app/pricing.md
Service: application-insights
GitHub Login: @DaleKoetke
Microsoft Alias: dalek

@imeya Thank you for bringing this to our attention! I have assigned the issue to the content author to evaluate and update as appropriate.

@imeya thank you for bringing this to our attention. The links are now fixed. In answer to your second question there are two important limit values in Application Insights that are associated with the number 64,000.
•	Each telemetry item needs to be smaller than 64 kilobytes.
•	A batch of telemetry items cannot have more than 64k telemetry items.
The max event size of 64 K was vague and confusing. I have removed it and added the info above in a subsequent PR that will go-live tomorrow morning.

#please-close


Allow optional final column to be defined in the NdrImport::Table mapping

As an ndr_import user
I would like to be able to define a last_data_column (or similar) in NdrImport::Table mappings
So that any data I do not wish to be loaded can be ignored automatically without having to define the columns in the mapping.
It is done when there is an option to add a last_data_column to NdrImport::Table mappings and any data after that column is not imported.

Functionality added in v10.1


Recover WebSocket Connections when closing

After sometime, my connection appears to be stuck closing. Any time I try to control the remote instance from my main instance, I receive the following error message:
homeassistant_1  | 2018-12-21 13:03:29 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
homeassistant_1  | 2018-12-21 13:03:29 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
homeassistant_1  | Traceback (most recent call last):
homeassistant_1  |   File "/config/custom_components/remote_homeassistant.py", line 235, in forward_event
homeassistant_1  |     await self._connection.send_json(data)
homeassistant_1  |   File "/usr/local/lib/python3.6/site-packages/aiohttp/client_ws.py", line 137, in send_json
homeassistant_1  |     await self.send_str(dumps(data), compress=compress)
homeassistant_1  |   File "/usr/local/lib/python3.6/site-packages/aiohttp/client_ws.py", line 125, in send_str
homeassistant_1  |     await self._writer.send(data, binary=False, compress=compress)
homeassistant_1  |   File "/usr/local/lib/python3.6/site-packages/aiohttp/http_websocket.py", line 630, in send
homeassistant_1  |     return await self._send_frame(message, WSMsgType.TEXT, compress)
homeassistant_1  |   File "/usr/local/lib/python3.6/site-packages/aiohttp/http_websocket.py", line 596, in _send_frame
homeassistant_1  |     self.transport.write(header + mask + message)
homeassistant_1  |   File "uvloop/handles/stream.pyx", line 671, in uvloop.loop.UVStream.write
homeassistant_1  |   File "uvloop/handles/handle.pyx", line 159, in uvloop.loop.UVHandle._ensure_alive
homeassistant_1  | RuntimeError: unable to perform operation on <TCPTransport closed=True reading=False 0x557207f2a308>; the handler is closed

I've added some comments to the top of my custom component file so line 235 on my install is 229 in the repo.

I am running into this as well FWIW, haven't had a chance to dig into it yet.

Fixed in c2474103af31e46eba74447db34745795e4f4d50

Excellent! Thank you.


Project LiDAR data onto RGB images.

Hello, I am having difficulty correctly projecting LiDAR data onto RGB images. What is the correct correspondence between the LiDAR data and the left RGB camera?

you have to use the calibration files for that: https://dsec.ifi.uzh.ch/dsec-datasets/download/


Added Skype to the list of bots

As described here:
https://user-agents.net/bots/skypeuripreview

Added via https://github.com/fnando/browser/pull/463
Thanks.


about input file

Hello,
In the process of assembling contig, I did not produce the file of contigs_graph.gfa and unitigs_graph.gfa, only the data of contig and HIC. How should I assemble the scaffold with SALSA?
best wishes

thanks


Product page summaries aren't working anymore

Seems to be unrelated to the recent frontend landings.
Changeset 590ed9d2561dd3406a75e846ce9b71b9b2cf9504 is still broken.
Might be related to it though, since it updates the page-metadata-parser.

Confirmed 590ed9d as the breaking change. Reverted in https://github.com/mozilla/tofino/commit/60a0b4ad522dd80822de0eab295b507d165e6d46
@jsantell might want to take a look at this?

Re-purposed this issue to make sure we'll properly handle updating page-metadata-parser


[Feature] Configurable Leading

Feature Description
Simply changing the typeface used to typeset a document does not lend itself to fair comparison between two choices. This is, in part, because the point size of a font is surprisingly non-standard. Different typefaces need to be set at different point sizes, with different line spacing, to optically appear as though they’re otherwise typeset similarly.
The user should be able to adjust the line spacing (within a small but reasonable range) separately for each font being compared. This lets them see the text typeset closer to how they would use it in production, rather than having to optimise for one font at the detriment of the other.

[!NOTE]
Leading (pronounced ledding) is the traditional term for line spacing, because printers used to put strips of lead between lines to adjust line spacing.

Reason for Change
Will allow a more fair comparison between fonts
Where are the changes needed?
Likely within the App.tsx context
Code Snippets
No response
Anything Else?
No response

This issue has already been resolved and merged in pull request #28, marking as duplicate and closing issue.


"[FAIL] Error: Invalid provider definition for output type 'text'" when using model-graded metrics

Hey all,
I'm using promptfoo 0.50.1 and would like to use model-graded metrics, wondering if something is wrong with my config.
Referring to https://github.com/promptfoo/promptfoo/issues/323#issuecomment-1842258443 - I am using a text-embedding-ada-002 deployment, deployed via Azure OpenAI.
Below is my config
...
- type: llm-rubric
      value: is not apologetic
      provider:
        - id: azureopenai:embeddings:text-embedding-ada-002
          config:
            temperature: 0
            max_tokens: 128
            ...
...

When running promptfoo eval against the above, I get a

It should be a single object, not an array:
- type: llm-rubric
      value: is not apologetic
      provider:
        id: azureopenai:embeddings:text-embedding-ada-002
        config:
          temperature: 0
          max_tokens: 128
          #...

Thanks @typpo, appreciate the quick feedback, this error is gone! However now getting the below:
Error: Not implemented
    at AzureOpenAiEmbeddingProvider.callApi (...\npm\node_modules\promptfoo\dist\src\providers\azureopenai.js:76:15)
    at matchesLlmRubric (...\npm\node_modules\promptfoo\dist\src\matchers.js:227:38)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async runAssertion (...\npm\node_modules\promptfoo\dist\src\assertions.js:667:17)
    at async ...\npm\node_modules\promptfoo\dist\src\assertions.js:82:24

Is there any difference in between using
id: azureopenai:embedding:text-embedding-ada-002
as per https://www.promptfoo.dev/docs/configuration/expected-outputs/similar/
or
id: azureopenai:embeddings:text-embeddings-ada-002
as per https://github.com/promptfoo/promptfoo/issues/323#issuecomment-1842258443

Thanks @typpo ! It works now!
One last quick question - can provider details be also defined more globally on "assert" level?
I'd like to use the gpt-4 provider for all subsequent llm-rubric and context-* asserts and currently specify same details again for each "type", which looks redundant.
currently:
assert:
  - type: llm-rubric
    value: does not describe self as an AI or chat assistant
    threshold: 0.85
    provider:
      id: azureopenai:chat:gpt-4
      config:
          apiKey: <key>
          apiHost: <url>
  - type: llm-rubric
    value: is not apologetic
    threshold: 0.85
    provider:
      id: azureopenai:chat:gpt-4
      config:
        apiKey: <key>
        apiHost: <url>
  - type: llm-rubric
    value: is confident and does not guess or speculate
    threshold: 0.85
    provider:
      id: azureopenai:chat:gpt-4
      config:
        apiKey: <key>
        apiHost: <url>

Works like a charm, thanks @typpo!


[6.0][TaskLocal] TL macro must handle force unwrapped optional types

Description: The new TaskLocal macro does handle optional types, but did not handle force unwrapped optionals. Arguably, these are a bad idea with task locals, but they are permitted. This patch handles such types again, as the property wrapper approach did before.
Scope/Impact: Addresses source break from 5.x series where someone might have used a task local with a force unwrapped optional.
Risk: Low, relaxes handling of types.
Testing: CI testing with new test case.
Reviewed by: @hborla @ahoppen
Original PR: https://github.com/apple/swift/pull/73693
Radar: Resolves rdar://128225191

@swift-ci please test

Heh we're building with old toolchains still:

'some' return types are only available in macOS 10.15.0 or newer
internal var asOptionalTypeSyntax: some TypeSyntaxProtocol {

fixing

@swift-ci please test


Improving bip32 ChildNumber display implementation

Trivial changes:

Support for _h format in hardened indexes using alternate format string (format!("{:#}", ChildNumber::from_hardened_idx(5)) will print 5h instead of 5')
Using Display trait allows custom number formatting (for instance format!("{:#06}", ChildNumber::from_hardened_idx(5)) will print 000005h)

@sgeisler thank you for fixing! But how I can cherry-pick a detached head on GitHub?

You can fetch it with git fetch origin a9cf712192b3ef7929580c8679d567733f2f065f and then do a hard reset I guess since I just amended your commit. Just change whatever you like with another amendment.

@apoelstra updated with @sgeisler 1.29 fix and displays h instead of ' by default (uses ' for the {#}). Pls let me know will this work for both of you

I'm comfortable merging this in a minor release, but maybe some others disagree?

I'm comfortable merging this in a minor release, but maybe some others disagree?

I'm ok with it.

Seems fine, I really hope no one is depending on format output being exact.

On Mar 12, 2021, at 11:26, Sebastian @.***> wrote:

I'm comfortable merging this in a minor release, but maybe some others disagree?
I'm ok with it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Error when I try to download a soundcloud track.

Whenever I try to do the command sounscrape then track url, I am getting this error. I am on Windows 10 and have Python 2.7.12 installed, any way to fix it?
`

Active code page: 65001
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Python27\Scripts\soundscrape.exe_main.py", line 9, in
File "c:\python27\lib\site-packages\soundscrape\soundscrape.py", line 113, in main
process_soundcloud(vargs)
File "c:\python27\lib\site-packages\soundscrape\soundscrape.py", line 283, in process_soundcloud
id3_extras=id3_extras)
File "c:\python27\lib\site-packages\soundscrape\soundscrape.py", line 452, in download_tracks
puts_safe(colored.red("Problem downloading ") + colored.white(track['title']))
File "c:\python27\lib\site-packages\soundscrape\soundscrape.py", line 1135, in puts_safe
puts(text.encode(sys.stdout.encoding, errors='replace').decode())
LookupError: unknown encoding: cp65001

Fixed


build: add some workarounds for Windows

This is sufficient to allow us to build for Windows.  This is masking
over underlying deficiencies in the way that we currently build, but
that should not prevent us from using XCTest on Windows for the time
being.

@swift-ci please test and merge

@swift-ci please test and merge


adds 404

null

View rendered 404.md

We don't have a Jekyll site for the governance game, so I don't think this will do much.
Or am i missing some GitHub magic?

Yes, very good point! We can close this pull request


Add Talisman wallet config to V1 modal

Add Talisman wallet config to v1 modal
Fix type issues on svg imports

With stable version 2.0.0 of Web3Modal now released, we are officially dropping support for version 1.x
Due to this this issue/pr was marked for closing. It is highly recommended to upgrade as 2.x will be receiving further updates that will enable functionality for some of our newer sdks like auth and push as well as support for WalletConnect v2 (See this post about WalletConnect v1 being deprecated https://medium.com/walletconnect/walletconnect-v1-0-sunset-notice-and-migration-schedule-8af9d3720d2e)
If you need to continue using Web3Modal 1.x and require this feature/fix implemented, we suggest adding it via forking V1 branch.


Showing .ts (typescript files) in library

Describe the bug
Typescript files are shown like images (with a placeholder banner saying MP2TS).
To Reproduce

Create a file called test.ts
Open the app

Expected behavior
The typescript file should not show up in the gallery, since it's a typescript (code) file and not an image.
System information and logs:
Aves 1.9.5-libre (from f-droid)

If the Android media store thinks it is a media, Aves will list it, whether Aves can play it or not.
In your case, the media store gets it wrong.
You can easily hide your code in Aves, cf Settings > Privacy > Hidden items > Hidden paths.

Thank you!


refactor!: interpret symbol as Vim Ex command in autocmd/keymap macros

This PR takes over #143.

[x] refactor!: interpret any symbol for autocmd/keymap rhs as command

[x] perf: extract function symbol in hashfn Not planned

[ ] test: fix outdated specs

[ ] keymap
[ ] autocmd

[ ] test: add specs for callback in symbol

[ ] keymap
[ ] autocmd

[ ] docs: update
[ ] feat: deprecate redundant <command>, <callback>, ..., options

How about considering either symbol or list as callback by default, and with quote as command instead?
In other words, use quote as an indicator not to evaluate the result in Lua, but in Vim script.

Closed in favor of the milestone.


Find window Hidden

Find window(Ctrl+F) is hidden from view when "Result panel" is maximized.
Can you tell me how to fix it?

hi @podoni ,
unfortunately cannot reproduce an issue. Find window is always shown at the front of app for me.
Probably you could add some special steps or videos that could help to reproduce an issue?


Update dependencies, refactor Dockerfile

Importing the log package from github.com/go-kit/kit is deprecated, since it was split off to a dedicated github.com/go-kit/log package.
I'd prefer to switch to the github.com/go-kit/log package rather than update the dependency for github.com/go-kit/kit.


Add support for Hashicorp Vault

Would be amazing to have vault automagically deployed, and perhaps have integration with deployed MySQL done or printed out as the Vault is created and opened.

Implemented in b9807ce

Implemented in b9807ce


add keyboard and mouse control to player on regular album windows

keys:

space and 'p' - play/pause
up arrow - previous track
down arrow - next track
right arrow - skip ahead 10 seconds
left arrow - skip back 10 seconds

mouse:

clicking anywhere on the audio playbar now jumps to that position

additional notes:

some indication to the user of this keymap would be ideal. Was thinking it might work to add a little div by the player that opens when clicking a "?" icon
it would be neat if this keybinding worked for the preview player. for now it does not.
all regular keybindings on the page (e.g. space bar to scroll) are disabled.

A note on bindings: though it's entirely up to you, there is a somewhat established pattern for media control keyboard shortcuts:

ArrowUp/Down: volume control
ArrowLeft/Right: scrub forward/back

A few sites that implement this pattern:

YouTube
Vimeo
Twitch

Interesting that SoundCloud break from this and uses Shift+Up/Dwn for volume. 🤷

A note on bindings: though it's entirely up to you, there is a somewhat established pattern for media control keyboard shortcuts:

ArrowUp/Down: volume control
ArrowLeft/Right: scrub forward/back

A few sites that implement this pattern:

YouTube
Vimeo
Twitch

Interesting that SoundCloud break from this and uses Shift+Up/Dwn for volume. 🤷

@emcniece I think shift + arrow makes sense in the context of this extension. Skipping tracks is a way more common action for me that volume adjust


[FEA] Investigate how to handle memory explosion

Assuming all goes well and we have https://github.com/NVIDIA/spark-rapids/issues/6784, tasks should be able to estimate if they are about to cause an OOM with the expressions they have, the cuDF functions they are about to call, and potentially the input they just materialized from the upstream iterator.
We need to figure out how to handle when the task realizes that they are about to cause an issue. At this point we should make sure that the logging is very clear on our estimation and potentially we need to flip https://github.com/NVIDIA/spark-rapids/issues/6745 on before the call to cuDF see if our estimates are accurate, as this data should allow us to improve the memory footprint of the plugin and cuDF, help us with our estimation logic, and they are likely to help us spot fragmentation. There are probably four areas that we should look into at runtime:

split the input: if we know that partial batches are ok to return and that the smaller inputs will each on their own not cause an explosion when calling cuDF, splitting is probably a sensible choice. Note we probably need to set aside batches that are not being used in "the current attempt", and make them spillable. "split the input" is too simplistic a name for this, in reality we may need to fallback to a different algorithm that allows us to process smaller chunks of memory like the out-of-core work that went into aggregates, joins, and sorts already. We also should be able to help the existing out-of-core algorithms along and make them smarter in some cases.

attempt to ask for more memory (a lease): This implies we have a way to track not just how many tasks are on the GPU, but how much memory they are allowed to use. If a lease is available, and we get it, then we may proceed with our call, holding other tasks back.

if no leases are available, wait or let other tasks run: if the task needs to ask for a lease, but no leases are available right now, we may need to either wait and retry or make ourselves spillable and release all that we have leased. This is the halting problem, so we need some sort of heuristic to make a decision here. We also need handle the case where there isn't a chance a single task could succeed (the extreme case where splitting isn't possible and even if it was that the smallest split we can create will end up in OOM no matter the lease e.g. memory requirements would exceed memory pool size).

If we detect OOM with an estimate that is within bounds, retry: This assumes that all the code we are calling is checking the allocations are successful and that it does the right thing when exceptions are thrown (for example in cuDF they follow the RAII pattern, and so the hope is no leaks from that part of the code). A retry presumably means we need to ask for a lease on memory, it also could mean that we use the memory tracking feature to figure out the maximum memory that RMM attempted but failed to satisfy. Note that all of this assumes no fragmentation, we are probably going to find a case where RMM says the failed allocation was X but we have much more available on the GPU. We may need to detect fragmentation here, potentially letting tasks holding onto GPU memory finish, so they allow the pool to defrag itself.

https://github.com/NVIDIA/spark-rapids/issues/7252 and https://github.com/NVIDIA/spark-rapids/issues/7257 are the plan to be able to tackle this.


docs(socialNetwork): fix HELM_CHART_REPO_PATH typo

typo in docs

Never mind, this is taken care of in #322


Connecting to sonos account error

error on redirect from sonos api to n8n:

logs on n8n:

i'm a little new to n8n but other integrations (google) works on this n8n, any clue how to resolve it?

Is there a code passed to the callback URL or an error in the parameters?


feature: Add trailing slash case

Checklist:

[x] Tests for the changes have been added (for bug fixes / features / refactoring)

Codecov Report

Merging #153 (1d9e7ab) into main (7a319e5) will decrease coverage by 0.27%.
The diff coverage is 4.49%.

@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
- Coverage   21.26%   20.98%   -0.28%
==========================================
  Files           5        5
  Lines         221      243      +22
==========================================
+ Hits           47       51       +4
- Misses        171      189      +18
  Partials        3        3

Impacted Files
Coverage Δ

internal/server/server.go
0.00% <0.00%> (ø)

internal/server/handler.go
17.28% <5.63%> (+1.59%)
:arrow_up:

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 76ee8a2...1d9e7ab. Read the comment docs.


Add encrypt_ami_s3 with options for S3 source.

This is currently lib funcionality only and not hooked up to the brkt
command.
New options in encrypt_ami_s3:
s3_bucket, s3_key, iam_profile

aws_service instance launch now takes user-data and instance profile
name args.
remove requests dependency (replaced with urllib2)
rename some encrypt_ami functions to public (no underscore)

@bburtin Replied to or fixed everything & re-pushed.

Opening a new pull request with encrypt_ami_s3 removed (moved to cephalopod)


Update to Log Level when showing unencrypted databag

https://github.com/chef/chef/issues/4154 resolution as per comments

Obvious fix. :+1:

:+1:


fix crca wont work on chinese sentences

getwordposition should ignore special characters, but still look for valid word chars(A-Z, a-z)
should i make it look for characters below =<255? (eg. "@{}()" and such) :thinking:

Thanks for making this pull to fix our issue we had for about 3 months!
Idk if its possible to have a look at This issue: #1366. Its Kinda simalir But perhapes u can make a pull for this one too. Still thanks again for making this pull :33

Thanks a lot, but yeah, some special characters which are used often, like @ and #, etc could make a problem, if you had a crca with them. Not sure who would put them as CRCA expecting the sentence to contain a word "?", i think it's fine like this?

#1817

another way to fix this is detecting cjk characters, but korean does use spaces. and theres many languages that doesnt use space as word divider or word divider at all.
it would be unnecessary to list all languages without/with different word dividers

Thanks for the help


fix: show file service log when enabled

Motivation
Part of the lib/node/file.service.ts was not checking for enableLog before using console.log.
Checklist

[X] Code follows coding conventions held in this repo
[ ] Automated tests have been added
[X] Tests are passing
[ ] Docs have been updated (if applicable)
[ ] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
Use the FileService in code, with the enableLog set to false, it will still log for the "writing" step.

@Enngage can I get a review?


Structure filter filters out all molecules in the presence of filter-by-zoom scatterplot and multiple views

This could have the same underlying root cause as #2628.

Open SPGI.csv
Open filter tab
Add a scatterplot
From the menu, choose View->Layout->Clone
In the Structure filter, draw a benzene ring -> filtering works as expected - click Cancel
Repeat step (6): all compounds now disappear

Note that the problem only happens when

There are multiple views
The structure filter is used in combination with a scatterplot configured with "filter by zoom"

Chem 1.9.0

1.9.0


⚠ Bofrost.lu has degraded performance

In 30df206, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2186 ms

Resolved: Bofrost.lu performance has improved in ce849f6 after 6 minutes.


Why is removeListen commented out?

Trying to remove the listener under dispose but can't....

Have you managed to find a way to do this? I have used a box.listenKey((value) {}); .. but when I try to dispose as per documentation eg: box.removeListen(listen); I get a syntax error telling me that get_storage does not have a function called removeListen ?? please help as now I have set state braking when trying to dispose the widget.

Update** looking into the storage_impl.dart code, I see that the removeKey and removeListen functions are commented out. I have uncommented them in my code and now can remove the listeners.

addListener return the dispose function
var dispose = addListener(...
dispose.call()
or
dispose()

im facing the same issue too...i cant remove the listeners on dispose.

I'm facing the same issue too.

Facing the same issue.

solution:
  Function? disposeListen;

  @override
  void initState() {
    GetStorage getStorage = GetStorage();
    disposeListen = getStorage.listenKey('my_key', (value) {
      //your code here
    });
    super.initState();
  }

  @override
  void dispose() {
    disposeListen?.call();
    super.dispose();
  }


Consequencer jan 24

reduced number of calls to update screen to improve performance for incoming clocks < 7ms
added grids patterns
added methods to reduce hysteresis on ain - this reduces the number of ain reads too
added methods to reduce hysteresis on k1 and k2 - this reduces the number of knob reads too
added screen saver to improve performance
changed the way the mode is displayed - replaced M1,M2,M3 with Mr,Mp,Mc for easier reading
cleaned up some code comments
added constants for easier code reading
updated documentation
applied black linting

If this has been tested with the most recent firmware i.e. including the recent PR merges, then I'm happy to merge

In response to the testing comment. This has been tested with the latest firmware. However, I am unsure of the easiest way to find the recent PR merges you refer to. Any pointers?

europi.py

In response to the testing comment. This has been tested with the latest firmware. However, I am unsure of the easiest way to find the recent PR merges you refer to. Any pointers?

europi.py was updated in #328 and #326, I think that's the only one that's been changed that might affect this PR, and even then the changes might not affect it, but just good to check with the most recent files in the repo as opposed to the most recent release given how long ago the release was

Thanks for the pointer. I have just tested with the latest EuroPi.py and
all functions seem to work well.
On Tue, 6 Feb 2024, 12:43 Rory Allen, @.***> wrote:

europi.py
In response to the testing comment. This has been tested with the latest
firmware. However, I am unsure of the easiest way to find the recent PR
merges you refer to. Any pointers?
europi.py was updated in #328
https://github.com/Allen-Synthesis/EuroPi/pull/328 and #326
https://github.com/Allen-Synthesis/EuroPi/pull/326, I think that's the
only one that's been changed that might affect this PR, and even then the
changes might not affect it, but just good to check with the most recent
files in the repo as opposed to the most recent release given how long ago
the release was
—
Reply to this email directly, view it on GitHub
https://github.com/Allen-Synthesis/EuroPi/pull/324#issuecomment-1929448669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACKZSUKSGQUP5WTIOQ5HXUDYSIQOBAVCNFSM6AAAAABCQDKLPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRZGQ2DQNRWHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Keybase Auto update ignores Operating System requirements

Keybase running on MacOS 10.14 has just auto updated to v6.3.0 which only supports MacOS 10.15 an now won't run!!!!!
There appears to be no way of getting hold of legacy dmg files to downgrade to v6.2.8 ...
So one bug:
Auto update should check OS version requirement before installing a version which won't run.
And one request:
Please can the v6.2.8 dmg file be published somewhether (e.g. gitlab release files) so you can access legacy version both for testing and support older OS versions (temperarily).

Seems I encounter the same type of issue: #27008

Same, I also get this message when attempting to send the logs
$ keybase log send
dyld: Library not loaded: /System/Library/Frameworks/UniformTypeIdentifiers.framework/Versions/A/UniformTypeIdentifiers
  Referenced from: /usr/local/bin/keybase
  Reason: image not found
fish: Job 1, 'keybase log send' terminated by signal SIGABRT (Abort)

Keybase running on MacOS 10.14 has just auto updated to v6.3.0 which only supports MacOS 10.15 an now won't run!!!!!
There appears to be no way of getting hold of legacy dmg files to downgrade to v6.2.8 ...
So one bug: Auto update should check OS version requirement before installing a version which won't run.
And one request: Please can the v6.2.8 dmg file be published somewhether (e.g. gitlab release files) so you can access legacy version both for testing and support older OS versions (temperarily).

were you able to track down a copy of v6.2.8 dmg? I'm going to try and dig out a copy from my Carbon Copy Cloner backups.

I was able to restore Version 6.2.5-20240101042619+3bdf76f84a and launch the app successfully, but now I have to figure how to block auto-updates.

It appears Auto Update can be disabled by editing a settings .json file -- See [here](https://github.com/keybase/client/issues/2802#issuecomment-
1036617417).
I've found version 6.2.8 in my backups but can't upload here as even zipped it's 193MB.

It appears Auto Update can be disabled by editing a settings .json file -- See #2802 (comment)
I've found version 6.2.8 in my backups but can't upload here as even zipped it's 193MB.

Thanks for that .json tip to block updates. Will also look for v6.2.8 in backups, the one I pulled was from late May.

I looked at the Homebrew Cask file for Keybase 6.2.8 (Homebrew/homebrew-cask@174bd9d8aa874ea65e4a4561da678adda1d1bc7c) and the generated URL still works: https://prerelease.keybase.io/darwin-updates/Keybase-6.2.8-20240305162546%2Be38523abbe.zip
Make sure to block auto updates before using the old version.

Any hint on blocking this annoying pop-up? Seems not possible from the app's settings.

And any hint on blocking this pop-up?

And any hint on blocking this pop-up?

https://github.com/keybase/client/issues/2802#issuecomment-1036617417

@sysfu: it is already set to "auto"; it prevents the auto-update, but not the pop-up.

@sysfu: it is already set to "auto"; it prevents the auto-update, but not the pop-up.

I see. Just reproduced this issue on my Catalina 10.15.7 system as I was typing this comment.


feat: defaut dateRange from URL

I noticed that when refreshing the page after selecting a date range the component would show "Pick a date" even though the data being presented was still based on the previously selected range.
This PR grabs the url searchParams and sets the default selected dateRange.
I've got a few other things as well. Let me know if you're not accepting Issues or PRs. But, I'm a fan of how you've set things up and would like to extend some functionality :)

Actually, I notice you've already got a util function to do something similar, I'll switch to using that

Yes, the repo is open to contributions, I'll set up a contribution file later. I also noticed that the formatting didn't follow the prettier config, but it's all good since there are still some old files that aren't properly formatted. I'll fix it later and thanks for the contribution.


Fast Finetuning - Poor results

I'm thinking maybe this is a problem with my dataset, but I'm not exactly sure what could be wrong. I've attached my training data
daostoaformatted.zip The training data is the daoist classics and the stoic classics mixed. The idea is to get it to output stuff like them when the user inputs the trigger "daosays:"
WSL2 Ubuntu on Windows 11, cuda 11.7
output of nvcc -V is:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Jun__8_16:49:14_PDT_2022
Cuda compilation tools, release 11.7, V11.7.99
Build cuda_11.7.r11.7/compiler.31442593_0
Hardware: 5900x, 32GB ram, 4090
I finetune with the following:
python3 finetune.py
--base_model 'decapoda-research/llama-7b-hf'
--data_path './daostoaformatted.json'
--output_dir './test'
--batch_size 128
--micro_batch_size 4
--num_epochs 4
--learning_rate 1e-4
--cutoff_len 512
--val_set_size 530
--lora_r 8
--lora_alpha 16
--lora_dropout 0.05
--lora_target_modules '[q_proj,v_proj]'
--train_on_inputs
--group_by_length
It finetunes really fast, less than a minute if I had to guess, output looks like this

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
/home/ckg/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:136: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/home/ckg/anaconda3/envs/alpacalora/lib')}
warn(msg)
/home/ckg/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:136: UserWarning: /home/ckg/anaconda3/envs/alpacalora did not contain libcudart.so as expected! Searching further paths...
warn(msg)
CUDA exception! Error code: no CUDA-capable device is detected
CUDA exception! Error code: initialization error
CUDA SETUP: CUDA runtime path found: /usr/local/cuda-11.7/lib64/libcudart.so
/home/ckg/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:136: UserWarning: WARNING: No GPU detected! Check your CUDA paths. Proceeding to load CPU-only library...
warn(msg)
CUDA SETUP: Detected CUDA version 117
CUDA SETUP: Loading binary /home/ckg/.local/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so...
Training Alpaca-LoRA model with params:
base_model: decapoda-research/llama-7b-hf
data_path: ./daostoaformatted.json
output_dir: ./test
batch_size: 128
micro_batch_size: 4
num_epochs: 4
learning_rate: 0.0001
cutoff_len: 512
val_set_size: 530
lora_r: 8
lora_alpha: 16
lora_dropout: 0.05
lora_target_modules: ['q_proj', 'v_proj']
train_on_inputs: True
group_by_length: True
wandb_project:
wandb_run_name:
wandb_watch:
wandb_log_model:
resume_from_checkpoint: False
prompt template: alpaca
Loading checkpoint shards: 100%|████████████████████████████████████████████| 33/33 [00:35<00:00,  1.09s/it]
The tokenizer class you load from this checkpoint is not the same type as the class this function is called from. It may result in unexpected tokenization.
The tokenizer class you load from this checkpoint is 'LLaMATokenizer'.
The class this function is called from is 'LlamaTokenizer'.
Downloading and preparing dataset json/default to /home/ckg/.cache/huggingface/datasets/json/default-834b74985ca18b59/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51...
Downloading data files: 100%|██████████████████████████████████████████████| 1/1 [00:00<00:00, 11008.67it/s]
Extracting data files: 100%|████████████████████████████████████████████████| 1/1 [00:00<00:00, 1048.05it/s]
Dataset json downloaded and prepared to /home/ckg/.cache/huggingface/datasets/json/default-834b74985ca18b59/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51. Subsequent calls will reuse this data.
100%|████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 388.69it/s]
trainable params: 4194304 || all params:<PHONE_NUMBER> || trainable%: 0.06220594176090199
{'train_runtime': 5.2858, 'train_samples_per_second': 3.027, 'train_steps_per_second': 0.757, 'train_loss': 0.07745875418186188, 'epoch': 4.0}
100%|█████████████████████████████████████████████████████████████████████████| 4/4 [00:05<00:00,  1.32s/it]
If there's a warning about missing keys above, please disregard :)
bitsandbytes complaining about the cpu-only library is weird but it seems to work. I did replace libbitsandbytes_cpu.so  with libbitsandbytes_cuda117.so to fix another problem so that might be why it says it's going cpu only and then seems to work anyway.
But anyway, the problem is, it does its 30 second finetuning. Then I get a 16MB file, I use it and in inference it doesn't behave how it's supposed to at all (at least how I think I should.) I suspect it's not actually finetuning it at all, other methods of making a LoRA have worked and taken about 30 minutes to finetune. Somethings very wrong with the way I'm doing it but I have no idea what.
Any ideas?

Can you show the code you are using to load the fine tuned model?
As far as I understand, the model file generated by the finetune script will be an adapter file that you have to merge with the main model for inference.
Although, I have also noted poor performance after fine tuning.

I'm using https://github.com/lxe/simple-llama-finetuner which has a simple web-ui for inference with the adapter file
That has it's own way to finetune but here I'm not using that, just using it for inference.
the UI for finetuning there though, if I just dump text in there and create a LoRA in that it behaves how I'd expect it to behave, takes about 30 minutes to finetune but then using the adapter file I get from it I put in daosays: and I get some very daoist/stoic responses.
But finetuned here it's, like I was saying, just very quick nothing. I put in daosays: and I get nothing related to anything I (supposedly) finetuned it on.

All hyper params have to match your dataset size.
The default params, including warmup, are tuned for large datasets (ex, warmup 100 steps) If you use a dataset of a different enough size, you have several things to adjust.

Is there any documentation for them anywhere? For some they don't have an equivalent with normal finetuning parameters so I'm not really sure what they should be set to.


add Dockerfile for arm32v7

Hi
Could you elaborate on why this is needed ? The existing Dockerfile already use natively multiarch images and should build just fine on arm32v7.
https://github.com/docker-library/official-images#architectures-other-than-amd64

As of 2017-09-12, these other architectures are included under the non-prefixed images via "manifest lists" (also known as "indexes" in the OCI image specification), such that, for example, docker run hello-world should run as-is on all supported platforms

[buchdag@host ~]$ docker manifest inspect alpine:3.9
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:bf1684a6e3676389ec861c602e97f27b03f14178e5bc3f70dce198f9f160cce9",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:fc6ad107f85e5210d7cbbdb00b6af0b8b1c94a2b0cecc77db19e853b87cd549e",
         "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v6"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:f6d15ec5c7cf08079309c59f59ff1e092eb9a678ab891257b1d2b118e7aecc2b",
         "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v7"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:1032bdba4c5f88facf7eceb259c18deb28a51785eb35e469285a03eba78dd3fc",
         "platform": {
            "architecture": "arm64",
            "os": "linux",
            "variant": "v8"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:1be52adf0390937540f21f66fb8dc4c155b3a0325e380001be08fd5923359e81",
         "platform": {
            "architecture": "386",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:cb238aa5b34dfd5e57ddfb1bfbb564f01df218e6f6453e4036b302e32bca8bb5",
         "platform": {
            "architecture": "ppc64le",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:d438d3b6a72b602b70bd259ebfb344e388d8809c5abf691f6de397de8c9e4572",
         "platform": {
            "architecture": "s390x",
            "os": "linux"
         }
      }
   ]
}
[buchdag@host ~]$ docker manifest inspect golang:1.12-alpine
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1365,
         "digest": "sha256:1b8a5e7aad9be99e4d795ab2e108270ccaa6ca1bceb34d46489e91cc5cd09c36",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1365,
         "digest": "sha256:7e929cc23fc1c373793c7dec8a2cbd6a64d2a2d007a3393f273dee5b6e46d4c9",
         "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v6"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1365,
         "digest": "sha256:b49d58b8a6ecd45fa05182540006b7c32e77b82f2f7982587db52823e2cffe8d",
         "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v7"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1365,
         "digest": "sha256:1f41225fba4a4a9d36cbb99ea2adcc1e31f2b7658b4afaa689616c9433d317a0",
         "platform": {
            "architecture": "arm64",
            "os": "linux",
            "variant": "v8"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1365,
         "digest": "sha256:5d61827041e0e59df59804cbd03e50e0826c0c29ad357e0b742e0945c0030b7f",
         "platform": {
            "architecture": "386",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1365,
         "digest": "sha256:4b685dd77d1290005ba2e5eb0657e5e92013680f704e83e7c419a0a8ee4dea43",
         "platform": {
            "architecture": "ppc64le",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1365,
         "digest": "sha256:af101201fa03f766b6bf29c9c1b2767323fc950f6f698d26a2b9c8f7edb233d4",
         "platform": {
            "architecture": "s390x",
            "os": "linux"
         }
      }
   ]
}

So I assume there's still no way I can get this armv7 image from a repository without building it?

Unfortunately adding a .arm32v7 Dockerfile won't make this arch available from Dockerhub.
You still have to build this image somewhere and push it to the repository, and neither Dockerhub nor Travis CI offer to test/build on arm hosts.
I already considered making other archs available from Dockerhub natively a while ago, but the fact that neither nginx-proxy nor docker-gen have other archs available from Dockerhub themselves means you'll have to resort to building those images anyway and make the whole thing (at least trying to automate it) a waste of time.
And this is does not even scratch the tests issue.

Hey guys, this has changed and now using docker manifest command and hooks you can have docker hub build an armv7 image. As well as a amd64. Using the manifest you can create a tag that will have both arches and have docker automatically pull the correct arch.
I am in the process of adding this functionality to my project (CustomPiOS). And I have working code at: https://github.com/guysoft/CustomPiOS/tree/docker-multiarch/src
And a working test image at (note you can see both arches on the same tag on mouseover):
https://cloud.docker.com/repository/docker/guysoft/custompios-test/tags
I need this because I am moving all my build server to arm. And this peace of the puzzle is missing.
It would be wonderful to re-open this. And I as I progress I could PR a working docker-hub automatic build and explain what you need to do for this to work.