Size of home assistant backup

Hi, I've noticed a significant increase in the size of the Home Assistant backup images since I installed the Bepacom BACnet/IP Interface. On average, the backup file increases by 12MB every day. Today, it's almost 100MB, with more than half of that being from the file 97683af0_bacnetinterface_dev.tar.gz. Currently, I'm using version 1.4.1b6.

Here's my configuration

How many entities do you get from your BACnet integration? If each entity is recording data, this does increase the database size, thus also the backup size. If you prefer smaller backup sizes, perhaps you should make exclusions in the recorder integration.

Hi, currently I'm around 300:

no i don't do any configuration in record integraiton, i will update you next week about bkp size!thanks!

How about it's size now? Did it stabilize or is it still ever growing?

Hello, the size of the backups is stable at 130 MB now. However, I've noticed a gradual increase in the amount of RAM being used: at system startup, the occupied RAM is about 950 MB, and I've noticed a daily increase of approximately 150 MB. It reached a maximum of almost 2 GB occupied, then I had to restart for an update. With 8 GB available, I'm not sure if this gradual increase is normal until reaching a certain limit or if this is directly related to this integration. Can I ask for your opinion?

This is the total system RAM usage? I'd say that's normal, as all the RAM that's not used is wasted RAM.
My Home Assistant OS has been running uninterrupted for almost 40 days now, and is currently using 4GB of the 6GB I gave it.
As it's an OS, it can manage where it uses it's RAM for, and it'll free up space wherever it needs it most.

I'll close this issue now since it seems solved.


Add more 3D tilting cards

Add more 3D tilting cards that are required for the website

can you assign this issue for me?? plz

Hello sir, I want to contribute to this issue, can you assign it for me?

Hi, I have just added more 3D tilting cards. I hope it's hopefully.

Sure everyone, please go ahead

Hey it's me, i added the 3D tilting cards on the day you posted it.


Make Preload Integration test more extensible

This will allow us to simply extend this test for more usecases
The primary difference in most such test is what data is loaded and how to check if data is loaded or not. Hence seperating out these two methods make sense so they can be overwritten by child classes

Codecov Report

Merging #11195 (386e551) into master (d9c64f3) will increase coverage by 0.00%.
Report is 8 commits behind head on master.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #11195     +/-   ##
=========================================
  Coverage    0.11%    0.11%
=========================================
  Files        2214     2168     -46
  Lines      118822   116719   -2103
  Branches    17978    17743    -235
=========================================
  Hits          137      137
+ Misses     118665   116562   -2103
  Partials       20       20

Flag
Coverage Δ

integration1temurin11
?

integration1temurin17
?

integration1temurin20
?

integration2temurin11
?

integration2temurin17
?

integration2temurin20
?

unittests1temurin11
?

unittests1temurin17
?

unittests1temurin20
?

unittests2temurin11
?

unittests2temurin17
0.11% <ø> (-0.01%)
:arrow_down:

unittests2temurin20
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 153 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


default font size for pdf exports is too small

Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
3.1.1
Expected behaviour:
PDF exports generate easy-to-read files
Actual behaviour:
font size in pdf files is too small
Steps to reproduce:
Export a plan as pdf
** additionnal informations **
See also https://github.com/DMPbelgium/roadmap/issues/80

Hello,
we have had another complaint for this.
Would you accept a PR?

Hi @StCyr
You are very welcome to contribute to this open source project by creating a PR for this issue. Developers from DMPonline, DMPOPIDoR and DMPAssistant who are active members of this project will review your PR. If you have any questions, please let us know. Thank you!


Deleting route53 service in Rancher should delete record sets in Amazon route 53

If I delete my DNS service in Rancher, it should also delete the record sets in my hosted zone.

@deniseschannon if you delete dns service, there is nothing that can perform the deletion. As the service container itself is responsible for it.
We should document that. If the user removes DNS service, he should cleanup hosted zone records manually.

@alena1108 a possible solution could be a script inside dns container, where we execute a shell through the rancher ui and execute that same script.
suggestion how it should work;

stop updating hosted-zone
remove all records created
send a message to console
exit

then we can remove container  without having to go to the aws console, and remove entries.

Closing due to inactivity.


Added plot_sky function and example notebook.

@astroplanners/astroplanners-contributors
Grid lines are still acting funky (see astroplan/examples/notebooks/ for notebook), so input would be greatly appreciated.

I'm not going to have time to do a detailed read until I get back monday, but my first-level look says this is really good!

@astroplanners/astroplanners-contributors
I've updated plot_sky to a point where I'm mostly happy.  A few issues still persist:

I couldn't get the horizon to correspond to the black, outer edge of the plot--hopefully this isn't too confusing to users.
Users may be confused as to where exactly 60 & 30 degrees are, but it's not clear to me how to easily add extra ticks--perhaps manually with annotate?
Mapping over time doesn't label start/end positions, so users will have to print out the alt/az values OR label points themselves--it's not clear to me how we could automatically do this well.

On a related note (to the last point above)--right now I'm printing below horizon warnings plus alt/az values for checking that plot_sky indeed works.  I'd like to leave the horizon warnings in (at least as an option), but planning to take out the alt/az value printing for the final merge.

@astroplanners/astroplanners-contributors
Another note--Please see the last section in the IPython notebook example.  I'm getting a weird error when using plt.legend() (within the notebook, not within the plotting function itself).  I used the exact same command everywhere else, but I only got the error for the particular Time object used.  It would be a shame/confusing if users couldn't use a legend with the returned ax object for some weird subset of situations--any ideas what is going on?

@eteq I forgot to mention yesterday--did you happen to see in the notebook that annotate() is only working for north? Any ideas as to why?

@ejeschke  Could you expand on your comment from yesterday when you said that you wanted to be able to change the position/direction increase of theta & location of N/E/S/W?  I'm looking at your obsplan example here but since it doesn't make sense to me that North is at 180 deg., I'm not sure this is an example of something you'd like to be able to do with plot_sky.

@astroplanners/astroplanners-contributors
I've stripped the sky plots down to be more simple, added some coordinate options and fleshed out the examples in the plot_sky notebook.

@jberlanga, the need for this orientation is probably restricted to a few special use cases, but some telescopes, such as Subaru, use a convention that 0 degrees is in the south, and increase going round to the east.  You can also find this kind of convention in ESO or SDSS FITS files (with sometimes the increase going to the west).  Fortunately this is easily handled with an option to the axes in matplotlib.

@jberlanga, the orientation for this can be set by the following two calls:
ax.set_theta_zero_location("S")
ax.set_theta_direction(1)

Perhaps most users would want "N" and -1, but it would be highly desirable if it can be configured.

@ejeschke  I went ahead and added these options, but it seems like it's not quite what you were thinking.

@ejeschke @eteq   I've updated to include an option for rotating the theta labels (but not the plotting points/theta themselves).   Please see the example notebook.

This is looking good! My one comment would be perhaps we want to allow the user to control whether a grid is drawn or not? I'm not sure what the best way to do this is, but the 0th order thing we could do is add a new kwarg, e.g., grid=True.

@adrn  Did just as you suggested.

@jberlanga, thanks for adding the hooks for the customized azimuth orientation.  Looks good!

@ejeschke: glad that works for you!
@astroplanners/astroplanners-contributors: I'm going to go ahead and delete the color defaults for plot_airmass and plot_parallactic in this branch.  After that I think it will be good to merge.

@astroplanners/astroplanners-contributors
Have removed default colors in all plots--should be ready to merge.

@jberlanga - I was trying this out and noticed some odd behavior: plots.plot_sky(targ, obs ,[Time('2010-1-1')]) works just fine, plotting a single point on the sky.  But plots.plot_sky(targ, obs ,Time('2010-1-1')) fails, with a TypeError: 'Quantity' object with a scalar value has no len().
I think it looks like you haven't accounted for the scalar-time case.  Perhaps the thing is to do something similar to what you did for plot_airmass and plots.plot_parallactic?  That is, if time.isscalar is True, you replace it with +/- 12 hours from that time, with 1-hour spacings?
Other than that and my minor comments above, looks good to me!

@eteq: I'll have a look as soon as I can--it may be ready to merge by Friday, def by Monday.

sounds good!

@jberlanga - it looks like your change here was just to make a scalar input into a list.  That's not the same as what you did for the other plotting functions: there we interpreted scalar as "plot the day around that time".  So I think you should do the same thing here for consistency.  I'd say in this case it makes sense to do 1-hour increments (instead of the 100 points you did before) because it's a scatter plot.  So that would be something like: time = time +  np.arange(-12,13)*u.hour instead of time = [time]

@eteq:  Fixed and updated.
Although I'm not a fan of how the sky plots appear when using the 24-hour window (see notebook here, scroll down to the bottom where it says "Testing Scalar Inputs" or see image below).  Without somehow labeling which positions were plotted at which times (or connecting "adjacent" positions), the movement of the targets is not clear.

@jberlanga - I'm not sure I understand what you're saying is ambiguous?  Everything rises in the east and sets in the west (at least for FixedTargets)...
Or do you mean you're not sure when these happen?  One possible way to address that is to use annotate to mark the first and last positions.  Or you could use the target_rise_time/target_set_time to get the rise/set times and show them on the legend?  That might be useful to add as an option... But I think the plots you show here are pretty clear and useful as-is.
@astroplanners/astroplanners-contributors - any other opinions on this (for background, the plots above are what happen when you give a scalar time to plot_sky - like the other plotting functions, it interprets that as "plot the day surrounding this time".)

@eteq -- The times at which these happen is ambiguous.  This is better explained with the two figures below, which break up the 24 hour period shown in the figures above.
First 12 hours:

Second 12 hours:

I agree with @eteq that this could be an option, but I worry that the plot could quickly get impossibly busy with so many annotations floating around...I think it is useful even without times -- often you want to just see the track of a target across the sky. If you really need to know where it is at a particular time, you can pass in a length-1 list of times, right?
I also agree that, rather than putting text on the edge of the plot, it might make sense to have the option be to put the rise/set times in the legend just under the target name?

Also, not everything, maybe not even every common thing, has to be an option in our plotting functions.
You can use the docs to show how to add annotations or other things users might want simply with matplotlib calls before or after calling the astroplan plot functions.
I won't have time to look at this PR ... I'm sure you'll find a good balance between adding options or simply documenting how to do something common, without adding an option for it.

How about this: if we're all ok with at least the idea that we should let a scalar indicate "show the whole day", we can merge this now so that it's in, and then @jberlanga can either issue a follow-on PR to make that clearer with an annotation option or a documentation example?
(One other thought which could also go in a later PR: you could use a different scatterplot symbol for the "middle" time - that is, the one that the scalar is actually at.  That way you have at least one reference, and the E/W bit resolves the ambiguity about which way time goes...?)

@eteq @adrn: I'm fine with this PR being merged as is.
That being said, I've been experimenting with annotations today, and came up with something that solves ambiguities for some cases (but not others, see figures below) by adding an option to label the first and last visible positions for each target.  I can add this option before merging or refine it for a later PR.
Where first/last labels are helpful:

The first position where the target is visible is marked by an arrow, the last position is marked by a square.
The labels here are unambiguous and point out the direction of the target's movement.  The labels don't include additional text and are faint compared to the rest of the plot so as not to be too distracting.

Where first/last labels are not helpful:

Note that the labels in this example don't clarify the original problem of the plot being misleading to the naive or casual user.  Since both Vega and Deneb appear at 15 positions, which are evenly spaced, a user quickly glancing at this may think that Vega and Deneb appearing above the horizon are simultaneous events, and that these two objects are more or less vertically aligned as they move across the sky.  Altair has 13 dots--again, on casual inspection, it appears to be vertically aligned with Vega and Deneb throughout the entire period of time.  The actual shape of the constellation is not preserved.

Hm, I would actually vote (for this PR) to have no annotations, and then I agree that this PR is ready for final review.

Hmm, I don't quite understand the rationale for interpreting a scalar time as meaning that you want to plot the entire night, but if you want to plot just one point in time you have to pass in a list of one time.  I think this is just counterintuitive.
How about simply passing an extra kwarg that says to interpret a scalar as "to plot the times around it", whereas the normal behavior is the user passes in a scalar time for a single plot point and an array (or list) of times for the times they are interested in?

Or better yet, simply have another function called plot_night that just constructs the array of times and passes it to the regular plot function.

@ejeschke - I think the use case for this is more clear when considered in the context of the other plots, and this is for consistency.  I do see the benefit of plot_night (although it needs a slightly different name), though... We should probably just discuss this in the call, at any rate

@eteq: Removed 24 hour plot behavior, fixed warnings & other minor edits.
Note that I suppressed the warnings in the updated notebook since they contained personal info, but they are in the code.

merged! :clap:
Note that right after this, in master, the plots/core.py got renamed to time_dependent.py.


Refactor InputBlock

Fixes # (issue)
Goals :soccer:
Break out code out of EmbeddingFeatures to have a seperate block for an embedding-tables.
Implementation Details :construction:

Testing Details :mag:

@marcromeyn can you write down a bit more context in this PR? thanks.

This will be  fixed after https://github.com/NVIDIA-Merlin/models/pull/368


MongoDB 5.x Docker image is missing

Can we get MongoDB 5.x dockerized as well?

The latest 5.x image is 5.0.9 https://github.com/docker-library/official-images/pull/12558
https://github.com/docker-library/docs/tree/master/mongo#simple-tags
Do you mean the rapid releases? https://github.com/docker-library/mongo/pull/516

@wglambert yes. We understand that there is no official support for on-prem, and we're using Atlas, but our CI is Docker-based, so we can't automate testing of the features released in a rapid release without a Docker image.

Unfortunately, since the rapid releases are not upstream supported we chose not to publish them.  The Dockerfile could work by updating the three relevant environment variables for a local image build: MONGO_PACKAGE=mongodb-org-unstable, MONGO_MAJOR=development, and MONGO_VERSION=5.3.1.


Compute the hmac over the cookie name

A secure cookie should have the same name it was set with. A cookie name change must invalidate the cookie.
The hmac must thus include the cookie name in its computation.

Done in v0.1.


Resolver recode

Major changes include;
-A working, non pasted resolver.
-Using confirmed player pitches for up to a second before marking them as stale (as long as they weren't random)
-Fake pitch & 180 yaw on shot working properly.
-Resolver can now find a players real pitch while they are firing even if they are attempting to fake it.
-Resolver no longer attempting to resolve players who are firing their weapons and cannot be anti aiming.
-Added an option to turn off resolver on in-air players
-Switched resolver to use animstate as well as eye angles

that's a lot

The resolver wasn't pasted 😡

The resolver wasn't pasted 😡

wait srsly, i thought it was just the cathook resolver

The resolver wasn't pasted 😡

wait srsly, i thought it was just the cathook resolver

No, I only took the array of angles that it cycles through from cathook

So it's pasted then.,.,.,..,
,.,


Import the latest changes from typescript-DOM-lib-generator repo to make the latest APIs available

lib Update Request

I just want the latest changes from TypeScript-DOM-lib-generator repository to be applied to this repo so that I can use the latest APIs available.
In particular, I want PublicKeyCredential.isConditionalMediationAvailable, which is already available in the TypeScript-DOM-lib-generator's baseline file: https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/0337998b669df62d10f3acb96cc2f7c2382bbfda/baselines/dom.generated.d.ts#L11245
I tried updating it myself using the scripts in TypeScript-DOM-lib-generator, but I had no luck: https://github.com/microsoft/TypeScript/pull/52024
I couldn't find the specific documentation on how to "import" the latest generated file to this repository.
Configuration Check

My compilation target is ES2015 and my lib is the default.
Missing / Incorrect Definition

Sample Code

Documentation Link

It's already available in the MDN docs too, and has support by more than 2 browsers https://developer.mozilla.org/docs/Web/API/PublicKeyCredential
(This shouldn't matter anyway, because the change is already in the baselines/ folder of DOM-lib-generator repo.

Typescript 5.0 beta now has isConditionalMediationAvailable.
I think your PR was rejected by the bot because it updated too many files. The only 3 I update are dom.generated.d.ts, dom.iterable.generated.d.ts and webworker.generated.d.ts. I need to take a second look as to why we don't update the others.


Move Race Timing Clock to the Python Script

The race timing clock is currently javascript on the race page. It does not persist if the race director navigates away from the race page and then returns. Move the timing clock to a python function with socket io updates back to the race page as needed. This might involve needed a separate emit for each audio cue as well.

You could have a generic "play_cue" emit with some data describing which cue to play.

True, that would be the better way to do it.
Should also tie in with #18


UI: Standardize Block Explorer Links

Currently https://explorer.solana.com/ and https://solscan.io/ are being used in various places.
We need to replace solana explorer urls with solscan urls across the app

Task Linked: https://app.clickup.com/t/240jqxm


chore: Use grep -E / grep -F instead of egrep / fgrep

Takes a pass at correcting usages of egrep and fgrep, replacing with grep -E and grep -F, respectively.

Description
Also makes a few other modifications:

Ensures that the -E or -F option, when used, is the first option

ie. grep -oE => grep -E -o

Updates _bash-it-grep to invoke grep with just the provided arguments

This function was (and still is) unused, but decided this new functionality was actually more useful

Introduces _bash-it-fgrep to invoke grep -F
Removes type -P egrep from the _bash-it-*grep functions
For usages that were already going to be modified, use -F if appropriate

Does not touch grep usages that may have benefited from -F, but were not otherwise considered for this PR

Adds shellcheck header to modified .bash files that didn't already have it

Motivation and Context

The egrep and fgrep tools were never posix standards.  As of the newly released v3.8 GNU grep now loudly reports a warning when invoking these tools as egrep and fgrep.

Fixes #2163
How Has This Been Tested?

This is NOT been tested.
In fact, I had to disable the shellcheck and shfmt hooks in order to get this to commit.
I took a quick run at trying to correct the shellcheck and shfmt errors, but there are JUST SO MANY of them, that the actual egrep changes would get lost in the noise.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[ ] I have added tests to cover my changes, and all the new and existing tests pass.

I left a bunch of comments throughout the changes files to hopefully explain what I was thinking ...

I can test this over the coming week on linux. I don't have a mac available anymore.

Hi Team!
@cornfeedhobo any findings from testing this?
I think its time to merge - We've had 2 other PRs open on the matter so the natives are getting restless :)
I usually don't like to do merges and leave that to other team members, but I may merge this one later today or tomorrow morning ...

Not sure why mac jobs are failing or why re-running them (eventually) allows them to eventually pass ...
But we know the lint job is failing due to brew missing, sooo ...
Ship it !

We ought to fix the lint stage, and probably understand what's going on with the Mac tests
Anyway, thanks for creating and merging the pr @davidpfarrell :)


After TVOS18 update, all inputs show as Input Source ##

Preconditions

[X] Requirements fulfilled
[X] The bug is not a known issue
[X] The bug has not been solved in the past or the solution that was provided in the past does not work on my system
[X] There is currently no other opened issue that describes this bug
[X] I cannot find any solution to the problem in GitHub discussions
[X] I am certain that the problem that I am having is a bug

Analysis
After TVOS18 update, all inputs show as Input Source ##
Expected Behavior
After TVOS18 update, all inputs show the App names
Steps To Reproduce

Update AppleTV to TVOS18
Re-Pair AppleTV

Logs
[16/09/2024, 13:06:19] [Apple TV Enhanced] [I] Living Room TV (DA:1D:C4:52:03:99): Changed Configured Name from Living Room TV to Apple TV
[16/09/2024, 13:06:35] [Apple TV Enhanced] [I] Apple TV (DA:1D:C4:52:03:99): Changing configured name of Avada Kedavra from Avada Kedavra to Input Source.
[16/09/2024, 13:06:35] [Apple TV Enhanced] [I] Apple TV (DA:1D:C4:52:03:99): Changing configured name of Home Input from Home to Input Source 2.
[16/09/2024, 13:06:35] [Apple TV Enhanced] [I] Apple TV (DA:1D:C4:52:03:99): Changing configured name of com.abcdigital.abc.videoplayer from ABC to Input Source 3.
[16/09/2024, 13:06:36] [Apple TV Enhanced] [I] Apple TV (DA:1D:C4:52:03:99): Changing configured name of com.apple.TVAppStore from AppStore to Input Source 4.
[16/09/2024, 13:06:36] [Apple TV Enhanced] [I] Apple TV (DA:1D:C4:52:03:99): Changing configured name of com.apple.TVMusic from Apple Music to Input Source 5.
[16/09/2024, 13:06:36] [Apple TV Enhanced] [I] Apple TV (DA:1D:C4:52:03:99): Changing configured name of com.apple.TVWatchList from Apple TV to Input Source 6.
[16/09/2024, 13:06:36] [Apple TV Enhanced] [I] Apple TV (DA:1D:C4:52:03:99): Changing configured name of com.apple.Arcade from Arcade to Input Source 7.
[16/09/2024, 13:06:37] [Apple TV Enhanced] [I] Apple TV (DA:1D:C4:52:03:99): Changing configured name of com.maz.combo.1388 from Bon Appétit to Input Source 8.

Configuration
{
    "name": "Apple TV Enhanced",
    "deviceStateDelay": 0,
    "avadaKedavraAppAmount": 15,
    "disableVolumeControlRemote": false,
    "setTopBox": false,
    "discover": {
        "multicast": true
    },
    "forceVenvRecreate": false,
    "logLevel": 3,
    "updateCheckLevel": "stable",
    "deviceSpecificOverrides": [
        {
            "overrideMediaTypes": false,
            "overrideDeviceStates": false,
            "overrideDeviceStateDelay": false,
            "deviceStateDelay": 0,
            "overrideRemoteKeysAsSwitch": false,
            "overrideAvadaKedavraAppAmount": false,
            "avadaKedavraAppAmount": 15,
            "overrideCustomInputURIs": false,
            "overrideDisableVolumeControlRemote": false,
            "disableVolumeControlRemote": false,
            "overrideSetTopBox": false,
            "setTopBox": false
        }
    ],
    "_bridge": {
        "username": "0E:81:15:BA:AE:3D",
        "port": 44771
    },
    "platform": "AppleTVEnhanced"
}

Operating System
Linux
Operating System: Bits
64-bit
Operating System: Distribution
Debian GNU/Linux
Operating System: Distribution Version
12
Docker
no
Docker Image
None
Docker Image Tag
No response
Homebridge Version
1.8.4
Homebridge Config UI Version
v4.58.0
Homebridge Storage Path
/opt/homebridge
Homebridge Apple TV Enhanced Version
1.7.0
Node Version
v20.15.0
NPM Version
10.7.0
Python Version
3.11.2
PIP Version
23.0.1
HDMI Hops
No response
Audio Output
no
Same Subnet
yes
Additional Context
No response

Same issue here. All inputs show by numbers instead of names. Can't distinguish which input is which in order to rename them.

I just updated my Apple TV to 18, and I'm getting the same issue. All sources renamed to numbers

Same Issue, but only happened on the first AppleTV I added. The second one had kept the app input names.

Hi,
I had the same issues while in beta as well. However, since updating to the non-beta tvOS 18 I had no problems anymore. The problem was that the Home app / HomeKit (not sure which part exactly was resposible for that) was actively renaming the Inputs to "Input Source xx".
Could you guys try if the issue is still present after updating to the official release of tvOS 18?
Please be aware that the plugin was handling the renaming of the configured names exactly like when the user would update an input name. Therefore, the plugin has saved "Input Source xx" as the configured names. So you actually need to reset that manually. To do that, remove the file "appletv-enhanced/AABBCCDDEEFF/apps.json" where AABBCCDDEEFF is the MAC address of you Apple TV.
Let me know if that worked out for you.

Yes that fixed it! thank you!

@maxileith I have only updated tvOS to the latest stable (18.0) and never installed the beta release (same with iOS 18). I found this step to not work properly:

Deleted the apps.json
Deleted the accessory
Restarted the child bridge
This regenerated the apps.json with the proper names
Re-added the accessory
Once re-added, it renamed al the inputs again with INPUT SOURCE ##

I retried these steps but didn't delete accessory and this kept the proper app names.

Please be aware that the plugin was handling the renaming of the configured names exactly like when the user would update an input name. Therefore, the plugin has saved "Input Source xx" as the configured names. So you actually need to reset that manually. To do that, remove the file "appletv-enhanced/AABBCCDDEEFF/apps.json" where AABBCCDDEEFF is the MAC address of you Apple TV.
Let me know if that worked out for you.

Thanks @maxileith - this fixed it for me, much appreciated.

@maxileith I have only updated tvOS to the latest stable (18.0) and never installed the beta release (same with iOS 18). I found this step to not work properly:

Deleted the apps.json

Deleted the accessory

Restarted the child bridge

This regenerated the apps.json with the proper names

Re-added the accessory

Once re-added, it renamed al the inputs again with INPUT SOURCE ##

I retried these steps but didn't delete accessory and this kept the proper app names.

Thanks for letting me know and going that extra mile by completely resetting everything. I did that too while developing and testing and was having the same issue. However, a few days ago that wasn't an issue anymore so I thought everything is back to normal. I will try to reproduce the issue again on my side. I will keep you updated here.

Removing apps.json also worked for me, but even though custom URIs are regenerated in this file, they fail to appear in the list of inputs in my home app.
Is there an extra step to prompt the visibility of these or will I have to remove / add the accessory? (The visibilityState parameter in apps.json doesn't seem to correspond to what I can actually see)

Still having the issue here as well. Deleted the json file and still showing numbers as inputs. Has anyone here found a genuine fix. This is getting old and frustrating now.

Is there an extra step to prompt the visibility of these or will I have to remove / add the accessory? (The visibilityState parameter in apps.json doesn't seem to correspond to what I can actually see)

@bowenjfung There are no additional steps required. The visibilityState parameter in the json represents wether or not an app is visible. Usually you would configure this through the Home app instead of changing the JSON.

@maxileith I have only updated tvOS to the latest stable (18.0) and never installed the beta release (same with iOS 18). I found this step to not work properly:
1. Deleted the apps.json

2. Deleted the accessory

3. Restarted the child bridge

4. This regenerated the apps.json with the proper names

5. Re-added the accessory

6. Once re-added, it renamed al the inputs again with INPUT SOURCE ##

I retried these steps but didn't delete accessory and this kept the proper app names.

I was able to reproduce the bug. I will now dig into it.

Update: I have investigated the issue and am able to narrow the root cause down ...
The issue occurs not if:

There is no Apple Home hub in the Apple Home
The currently connected Home hub is a HomePod

This issue only occurs if the connected Home hub is an Apple TV. So this is most likely a bug of the current TvOS version.
To verify that, I would love to see you guys verify that by following the steps:

Shutdown the plugin (child bridge / homebridge)
Delete the file ./appletv-enhanced/AABBCCDDEEFF/apps.json
Deleted the accessory
Start the plugin
Pull the powercord from all your Apple TVs in you Apple home. The plugin will say that the Apple TVs are unavailable ... don't stop the plugin!
Wait until your Home app is connected to one of your HomePods if available (I am uncertain what will happen if there is no HomePod in the network)
Pair an Apple TV exposed by the plugin with your Apple Home

After following those steps, the inputs

are named correctly, which would verify my thesis that this is a bug of TvOS since the pairing process ran through without issues when pairing with HomeHubs
are still name Input Source ##, which would mean that my observations are incorrect

This seemed to have worked, BUT, as soon as I switched inputs it went back to the number input issue again. It was a great plugin, nice run, but I been pulling my hair out with this plugin for two weeks now. I'm just going to delete it and hopefully try again when things are completely fixed. Thanks.

For all monitoring this thread: I've observed the same behaviour in one of my plugins, and am trying to track it down, see https://github.com/homebridge/homebridge/issues/3703#issuecomment-2380429601

@maxileith : I have some hope, drucke die Daumen... more news soon...

@maxileith
Refer to my notes here https://github.com/homebridge/homebridge/issues/3703#issuecomment-2380568218
I think I have found the root cause, you need to add Configuredname to the creation of the accessory in your startUp() function.

Hi @jsiegenthaler,
thanks for sharing your thoughts. I have answered you in the homebridge issue: https://github.com/homebridge/homebridge/issues/3703#issuecomment-2380580542

Hello everybody,
I had some nice discussions with other plugin developer in that issue: https://github.com/homebridge/homebridge/issues/3703
At this point, we are 99% sure that this is a bug of the recent TvOS 18 and cannot be solved by plugin devs or the homebridge team.
For now, I have implemented a workaround. When pairing a new Apple TV with the home app, the Apple TV acting as the HomeHub will mess up the names of input sources, motions sensors and switches. Just finish the pairing process and restart the plugin. Upon restart the plugin will detect when many configured names of the input sources start with the same string. The plugin will then reset the Apple TV configuration.
10/1/2024, 10:51:56 PM] [Apple TV Enhanced] [W] Wohnzimmer Apple TV (AA:BB:CC:DD:EE:FF): TvOS 18 Input Bug Solver: 86% of apps have a configured name that starts with "Eingabequelle". This is likely caused by a bug in TvOS 18. Please refer to the following GitHub issues:
[10/1/2024, 10:51:56 PM] [Apple TV Enhanced] [W] Wohnzimmer Apple TV (AA:BB:CC:DD:EE:FF): TvOS 18 Input Bug Solver: - https://github.com/homebridge/homebridge/issues/3703
[10/1/2024, 10:51:56 PM] [Apple TV Enhanced] [W] Wohnzimmer Apple TV (AA:BB:CC:DD:EE:FF): TvOS 18 Input Bug Solver: - https://github.com/maxileith/homebridge-appletv-enhanced/issues/627
[10/1/2024, 10:51:56 PM] [Apple TV Enhanced] [W] Wohnzimmer Apple TV (AA:BB:CC:DD:EE:FF): TvOS 18 Input Bug Solver: To resolve this issue the configuration of the Apple TV will now be automatically reset. This issue only occurs during the pairing process and should not occur anymore.

It would be nice if you guy could check that workaround out. It is part of v1.9.0-2.


d3.format error

I create a slice, following is the format .
￼

when i add it to a dashboard, The format does not take effect.

dupe of https://github.com/airbnb/superset/issues/2358


Feat: UI Enhancements for the Registration Form

Description:
Improve the visual design and user experience of the registration form by implementing UI enhancements such as modern input styles, better alignment, hover effects, and increased accessibility.

I would like to work on this issue kindly assign it to me ASAP.

assign this issue to me i can design the UI

@HarshadaGirase assigned!

@saurabhbakolia Please add level label


"Move to new file" edits files in tsconfig.json

TypeScript Version:  3.7.x-dev.201xxxxx

Search Terms:
Code
tsconfig.json:
{
    "files": ["src/main.ts"]
}

src/main.ts:
import { foo } from './foo';

const bar = 1;

console.log(foo, bar);

src/foo.ts:
export const foo = 1;

In src/main.ts, select the line const bar = 1;
Run the "move to new file" command

Expected behavior:

The code is moved to a new file and imported in src/main.ts
tsconfig.json should not be edited

Actual behavior:

The code is moved to a new file and imported in src/main.ts:import { foo } from './foo';
import { bar } from './bar';

console.log(foo, bar);

The new file is added to files in tsconfig.json:{
    "files": ["src/main.ts", "./src/bar.ts"]
}

Playground Link:
Related Issues: https://github.com/microsoft/TypeScript/issues/24857#issuecomment-453816287

This is considered desirable behavior because if you have composite on, listing all the files is mandatory if you're using a files array


Metro MessageBox

Is this capable with this fork?
Or do i need to revert back to original fork? https://github.com/viperneo/winforms-modernui
As this seems to support it.
Also how would i go about calling a Metro MessageBox?

i dont know what version of MetroFramework do you have but im almost sure that you that you can, and the metro MessageBox is call as this way.  MetroFramework.MetroMessageBox.Show(this, "Message", "Title", MessageBoxButtons.OK, MessageBoxIcon.Error);


merge package template from Kronos-Tools/npm-package-template

LICENSE

fix: update LICENSE

Coverage remained the same at 91.429% when pulling 4a2fc1220843a7fa96a3b8e423ff082fcec193af on template-sync-1 into 9c7a4df6d97fa7d016b44f10bbcfeb90cb6ee817 on master.

Codecov Report

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

@@         Coverage Diff          @@
##           master   #92   +/-   ##
====================================
  Coverage      92%   92%
====================================
  Files           1     1
  Lines          25    25
====================================
  Hits           23    23
  Misses          2     2

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 9c7a4df...4a2fc12. Read the comment docs.


Update ursine-umbra.scss

Minor typo in file name

I had a feeling I'd write a typo somewhere around there. Thanks for the catch~


revive "original spreadsheet" endpoint

in ingest-broker.
PR: ebi-ait/ingest-broker#19

@amnonkhen Could you add some description please why we need to 'revive' this odd feature?
Thanks a lot


Fix sidebar scroll state being lost between pages

Fixes #11
It looks like Gatsby's default page renderer sets a key for each page, so React is forced to rebuild the entire tree when changing pages. Container scroll state, like in the sidebar, is lost as a result.
I've replaced the default page renderer with one that doesn't set a key, so the diffing can be left up to React.
Glancing at Gatsby's history, I think the key might have been introduced to React play nicely with other plugins that alter the DOM (like Twitter widgets). So long as this isn't necessary for the Bumbag docs, this change should be all good!
Cheers, Nicholas :shipit:

Nice work!


do not center text when not applicable

fixes https://github.com/excalidraw/excalidraw/issues/1327 & https://github.com/excalidraw/excalidraw/issues/1326

Text is no longer centered vertically/horizontally when typing. Except for when you create text at element center, where I kept the centering behavior as previously.
Even though I introduced element.verticalAlign, I didn't expose this setting to users yet. Not sure if we even want to complicate Excalidraw in this way. But it's necessary to keep track of it internally.
I named the prop verticalAlign to align with CSS, and similarly its values ("top" | "middle") are aligned with CSS too. Maybe not a good idea, but it also helps to prevent typos (using textAlign in place of verticalAlign).
Removed wysiwyg editor padding. Not sure what purpose it served, but it doesn't seem to serve any at this point.

Will review & refactor tomorrow.
There's a regression, but it's such an edge case that I'm thinking of leaving it (it'd harder to fix):

start editing LTR text
switch to RTL while still in editor, and type some more (on the same line)
confirm
jumps

The above is caused by the fact the WYSIWYG editor didn't switch from left positioning to right. Applies to RTL → LTR, too. (EDIT: now that I think about, I'll probably want to fix it.)

Just wanted to pop in and say awesome work :) This fixes one of my major pain points, excited to see it fixed!

This is awesome!
One issue: Multi-line wysiwyg position is very different than canvas selection when zoomed in.

Yes, it's jumping a bit when zoomed in.

Good catch!

Made some significant changes to fix the bug in OP; may have regressed previously working behavior.
Blocking realease: Wysiwyg is completely broken around rotated text. Not sure how I'm gonna fix it, but will leave it for tomorrow+.

omg omg omg omg omg!

You rock thank you!!


Ask for Google Sheets URLs instead of IDs

Google Sheet IDs need explanation. Just ask for the full URL instead and do the heavy lifting ourselves.

Oppdatere feilmeldingen for 404 også, noe ala Fant ikke Google Sheets-dokumentet. Feil URL??


Ignore .internal folder for coverage

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-11.6%) to 47.887%

Totals

Change from base Build<PHONE_NUMBER>:
-11.6%

Covered Lines:
20

Relevant Lines:
37

💛  - Coveralls


Change babel traspilation options

Use electron version instead of node version for babel-preset-env
Use stage-2 instead of stage-0 (#773)

The target "node": 6 was discussed in https://github.com/chentsulin/electron-react-boilerplate/pull/622#discussion_r92592708, and these two are only use es2015-module-commonjs for currently.
If we want to use electron target for future changes, I'm recommend to write an another babel config in webpack.config.base.js for Electron runtime usage.

@KELiON Would be great if you could use babel-preset-env's 'current' option 😄

@jhen0409 Fixed this

Currently babel-preset-env should included latest preset, so it may remove transform-async-to-generator if current node is ^7.6, I think that will broken electron 1.4 if we use async function.
Maybe also add electron: 1.4?

Let's wait for electron: "current"
https://github.com/babel/babel-preset-env/pull/191


Cannot ignore local packages to be downloaded into /vendor folder and Gopkg.lock

I have the following Gopkg.toml file:
ignored = ["github.com/DJviolin/my-repository"]

[[constraint]]
  name = "github.com/flosch/pongo2"
  version = "3.0.0"

[[constraint]]
  name = "github.com/gorilla/handlers"
  version = "1.3.0"

[[constraint]]
  name = "github.com/gorilla/mux"
  version = "1.6.1"

[prune]
  go-tests = true
  unused-packages = true

The project structure: every source code is presented under %GOPATH%/src/github.com/DJviolin/my-repository in a folder named src. The microservices are organized into subfolders like static/main.go and it's local packages in subfolders. These local packages re-downloaded into /vendor, despite I don't want that and I used the ignored deritative in Gopkg.toml.
What version of dep are you using (dep version)?
v0.4.1-122-g42e3d76d

What dep command did you run?
$ dep ensure -v
$ dep ensure -update -v

What did you expect to see?
I want to completely ignore the github.com/DJviolin/my-repository from Gopkg.lock and /vendor folder, because this is the repository where I developing it, simply put, I don't want to download few files from Github, instead use the local ones.
What did you see instead?
Some folders still presented in /vendor folder.

Looks like using a wildcard at the end solved it: ignored = ["github.com/DJviolin/my-repository*"]

I don't want to download few files from Github, instead use the local ones.

i'm glad you found the solution here, but please note that what you're trying to accomplish is the multi-project workflow, and it's likely going to give you some headaches. See, most recently, #1768.

I reinited my dep project from start, because I have some problem with the go build command because of the mixed lower-uppercase letters in my username, so I renamed it to all lowercase in the path and .go files. No dep init command doesn't bring in the local packages from this project.


Update Gulp dependencies

Ive notices quite a few are outta date, we should bring them all up to date.

I've done a complete refresh of the Gulp pipeline and all its dependencies in dev a few days back - I'm guessing you should be able to bring that over to OC pretty much copy-paste.

@danielstolt saweeeeet :)

See #913 : package.json upgraded in Bootstrap4beta branch


How to Generate TimeUuid in PySpark?

Hi,
I want to learn how to generate TimeUuid in Pyspark. I couldn't find a solution in Python.
Thanks

You would have to use the PythonDriver if you need a utility for that. http://datastax.github.io/python-driver/api/cassandra/util.html
But the Spark only allows for String types to be used as UUIDs so you would still need to convert to strings before using with the SCC.
Also please direct questions to the Mailing List. Github issues are not checked.


Fixed docker instruction, bash runs fetching, demo runs

@geopavlakos The previous instructions run fine.
I am in the process of verifying if the entirety of my solution works with the example data.
To download the example data.
This PR fixes:
fetch_demo_data.sh

ang changes it to (when attached with an interactive terminal to the Docker container):
bash fetch_demo_data.sh

@geopavlakos I am still working on some improvements, I am converting this PR into a draft until I am able to execute the demo script from inside Docker container.

Okay at this point this Docker image builds and given proper placement of the models/data in the _DATA directory it runs.
There are some improvements over #76
It is also worth to say that this also applies some of the ideas from #76

Just to confirm, is the current version working as is, or are there more updates that we should do?

@geopavlakos the current version is working, these are build improvements that should speed up dependency installation.
Originally the COPY was done before each of the dependencies was installed. This means that if any change was done to the files, the cache would be invalidated (at least I think so).
So I did some Docker instruction rearranging (this PR was a draft prior to the fixes made in another PR).

I see, sounds good. Please let me know if we need to merge something. Currently, the branch have some conflicts that don't allow merging.

@geopavlakos I have fixed the conflicts. As stated in the previous PR on the topic of docker, this one changes the order of operations so that caching can be used more effectively.
Also this is using CUDA 12 version of the NVIDIA image instead of CUDA 11 (but it is backwards compatible from what I know).
I think this can be merged, if you have some time look at the diff and decide ;)


Use ENVFILE=.env.XXX with Debug/Release

I was wondering if I can control which .env is picked up by the assembleRelease/assembleDebug build processes. At the moment, it seems to me that I cannot choose which environment file is applied. Is it possible to do this:
.env.- has staging URL
.env.production - has prod URL
I would like to generate a release(staging) APK that has the dev URL like so:
ENVFILE=../.env ./gradlew assembleRelease
At the moment it looks like ENVFILE is ignored and if I do assembleRelease my .env.production is picked up and if I do assembleDebug my .env file is picked up...Although react-native-config picks up the right ones ( I use that for modifying some of the values passed into Info.plist and grade.build)

Thanks @bars0um this is great!

@bars0um I have an issue using your fork and making a release build on Android, though debug builds work fine.
Path must be a string. Received undefined

Trying to debug this looks like process.env.ENVFILE is undefined on
https://github.com/zetachang/react-native-dotenv/commit/a77576b1d29ab015ccd4cfbcc2ea0b3a6a6be756#diff-e7f4e9cc9febf61d49934276e91477abL18
this is the /app/build.gradle
project.ext.envConfigFiles = [
    onovaDebug: ".env.onova",
    onovaRelease: ".env.onova",
    dropDebug: ".env.drop",
    dropRelease: ".env.drop"
]

apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle";

Command to make a build
ENVFILE=.env.drop cd android/ && ./gradlew assembleDropRelease

@gianpaj  I normally cd into the android folder first and then run. In your case the ENVFILE is being set for the first process (the cd) and not making it to the second...
ENVFILE=.env.drop ./gradlew assembleDropRelease

AH! I think you're absolutely right. Thanks for catching that 🙏

@bars0um Hey! May I know how to use your patch?

@bars0um Hey! May I know how to use your patch?

I mainly added my fork to my dependencies as follows:
npm install bars0um/react-native-dotenv --save

Thank you @bars0um !
I install it.
After that, I do ENVFILE=.env.production react-native run-ios and then I get this error:

Do you know this problem? Do I need any other setting?


Be able to validate the datepicker format

Bug, feature request, or proposal:
Bug&Proposal
What is the expected behavior?
Have a way to validate the datepicker format.
What is the current behavior?
I cannot use a custom validation for the datepicker since the value is formatted to a date.
What are the steps to reproduce?
In a datepicker introduce for instance '33'. This value is valid because the datepicker is parsing it to a valid date. So the result is that we are not showing an error.
I have tried to use a directive in order to make this validation, but the problem is that the value received in the 'ValidatorFn' is the formatted date, not the original value.
Then I have tried to create a custom date adapter, but this option has the same problem: the 'format' method receives the formatted date, not the original value. There is only one place where we can see the original value, the 'parse' method. But I don't want to extend this method because I want to be synchronized with the latest changes of material.
So it would be great if we could see which is the original value. I think that the 'format' method could receive also that value, so at least we could use it to validate the date.
On the other hand I think that maybe providing a way to disable the automatic format we could have, as a developers, a better control of the date pickers.
I think the second solution is better because it gives us a way to customize the format in the 'format' method and also a way to validate the original value in a directive.
What is the use-case or motivation for changing an existing behavior?
Now when a user sets a date as, for instance, '33', no errors are shown because this value is parsed to a date. We should be able to handle this value and show an error like 'This value is not valid'.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 4.4.3
Material: 2.0.0-beta.11
OS: Windows 10
TypeScript: 2.4.0
Browsers: All

With the 'mdDatepickerFilter' validation we have the same problem: we receive a date, not the original value. This could be also a great place where we could receive the original value to validate it.

In these cases, you can overwrite the DataAdapter parse function. You can decide what the parsing logic is. As it stands, it is using the default parsing logic for browser Date. They have also added a MomentAdapter so you can have a look at that as well.

Anyway, the method 'getValidDateOrNull' contained in the DatePicker is going to return a date or null, so I would lose the original value before validate it. To be clearer:

the method 'onInput' is launched:

MdDatepickerInput.prototype._onInput = function (value) {
        var /** @type {?} */ date = this._dateAdapter.parse(value, this._dateFormats.parse.dateInput);
        this._lastValueValid = !date || this._dateAdapter.isValid(date);
        date = this._getValidDateOrNull(date);
        this._value = date;
        this._cvaOnChange(date);
        this._valueChange.emit(date);
        this.dateInput.emit(new MdDatepickerInputEvent(this, this._elementRef.nativeElement));
};

I return in the parse method the original value as string (because it is not a valid date).
Then, the value is passed to the '_getValidDateOrNull' method, where it is parsed to null because it's not a date.
So now, I have lost the value and when the '_cvaOnChange' method is executed and fires my validation contained in a custom directive, the value that I receive is null, so I cannot show a custom error because null is also returned when the value is empty.

I don't know if I am missing something, so if you think that I am wrong please, tell me how to reach my objective.

@franpsif Have a look at DateAdapter and specifically NativeDateAdapter.
This is the parse function I mentioned earlier (I am assuming that you are using it). The parse is responsible for turning the string that a user types into a date so you should be able to filter non-dates such as 33. However, you can do additional validation on the input itself once you've got the date.
Anyway, in order to receive more help, try to ask more concise questions and give a Plunker or some kind of a demo (e.g. a gif). Also, try SO (https://stackoverflow.com/
) as this seems more like a support question rather than bug/feature.

The problem I see, is when you fill the input with something that is invalid, then the resulting value will be null. As a result the date FormControl looks empty to the validators but the input of the user is still visible in the input field. If you have a required validator, then it will show "this field is required" even if it isn't empty. Also any sort of "this is not a valid date"-validator will be impossible, because it can't know if it is null because of a invalid input or no input at all.

@saithis The DateAdapter does distinguish between null and invalid values. If you want to do some additional checking by overriding the parse function you can do so like this:
parse(value: any): Date | null {
  if (!this.myValidCheck()) {
    return this.invalid();
  }
  return this.super.parse(value);
}

Behind the scenes the NativeDateAdapter uses new Date(NaN) to create invalid dates: https://github.com/angular/material2/blob/master/src/lib/core/datetime/native-date-adapter.ts#L260


TF Lite API Reference on Internet Page does not match Code for interpreter_options.h

Click to expand!
Issue Type
Documentation Bug
Source
source
Tensorflow Version
Master Branch
Custom Code
No
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
The tensorflow API reference for tf lite is showing a different name for a method for interpreter_options.h (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/interpreter_options.h).

The webpage shows the name "SetDynamicAllocationForLargeTensors" [https://www.tensorflow.org/lite/api_docs/cc/class/tflite/interpreter-options#setdynamicallocationforlargetensors] but the c++ code has the name "OptimizeMemoryForLargeTensors".

I expect that both names are equal. Either the on or the other.

Standalone code to reproduce the issue
N/A

Relevant log output
No response

Hi @PfeifferJosef-96 !
Thanks for pointing it out.
@sachinprasadhs !
Could you please look at this issue.
Thank you!

Thanks for reporting the issue, I have created the fix internally, on successful merge it should close the issue.

I see that the document has to be autoupdated from the code file, for some reason it is not synced, since the Tensorflow 2.10 is around the corner, that should fix this issue. Let's wait for a while.

The docs reflect what's in the released version of TensorFlow, which is v2.9.1.
If you are looking for the matching source code, clone the v2.9.1 tag.

Thank you all for your work!
I think this issue can be closed then.


[v2 mobile]No command write found for plugin app.tauri.clipboard.ClipboardPlugin

The tauri-plugin-clipboard-manager fails to operate within an Android emulator, presenting the error as described in the title, while functioning properly on Windows. I did not come across any specific instructions in the documentation regarding the use of the clipboard plugin on mobile devices, leading me to wonder if the clipboard plugin is unsupported on Android.

The writeText, readText, and clear apis should now be supported. Can you upgrade everything to latest and confirm?
The image and html apis are unsupported but should throw explicit "not supported" runtime errors. (this should have been the case when you reported the issue so maybe it was a de-sync between the rust and js packages)

same question
const { writeText, readText } = window?.__TAURI__?.clipboardManager;
readText().then(txt=>{
    greetMsgEl.textContent = txt;
}).catch(err=>{
    greetMsgEl.textContent = "error:"+ err.toString();
})

error:plugin clipboard-manager not found

same question

Well, not really :P
This error should mean that you didn't add or register the rust side of the plugin (the rust side of tauri plugins is always required, even if you just use the J's apis).
If this doesn't help, please share the output of the tauri info command.


Update diff_drive controller parameters

Background
Some parameters got deprecated in ros2_controllers repository, e.g.
[gzserver-1] [WARN] [1734814756.379779632] [diff_drive.diff_drive_base_controller]: [deprecated] has_jerk_limits parameter is deprecated, instead set the respective limits to NAN

Instructions
Hi, this is a good-first-issue issue. This means we've worked to make it more legible to people who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.
We're interested in helping you take the first step, and can answer questions and help you out along the way. Note that we're especially interested in contributions from underrepresented groups!
We know that creating a pull request is the biggest barrier for new contributors. This issue is for you 💝
If you have contributed before, consider leaving this PR for someone new, and looking through our general bug issues. Thanks!
🤔 What you will need to know.
Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.
📋 Step by Step

[ ] 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

[ ] 🗄 Create a local workspace for making your changes and testing following these instructions, for Step 3 use "Download Source Code" section with these instructions.

[ ] 🍴 Fork the repository using the handy button at the top of the repository page and clone it into ~/ws_ros2_control/src/ros-controls/ros2_control, here is a guide that you can follow (You will have to remove or empty the existing ros2_control folder before cloning your own fork)

[ ] Checkout a new branch using git checkout -b <branch_name>

[ ] 🤖 Apply pre-commit auto formatting, by running pip3 install pre-commit and running pre-commit install in the ros2_control repo.

[ ] 💾 Commit and Push your changes

[ ] 🔀 Start a Pull Request to request to merge your code into master. There are two ways that you can start a pull request:

If you are not familiar with GitHub or how to create a pull request, here is a guide you can follow on how GitHub works.

[ ] 🏁 Done Ask in comments for a review :)

Is someone else already working on this?
🔗- We encourage contributors to link to the original issue in their pull request so all users can easily see if someone's already started on it.
👥- If someone seems stuck, offer them some help!
🤔❓ Questions?
Don’t hesitate to ask questions or to get help if you feel like you are getting stuck. For example leave a comment below!
Furthermore, you find helpful resources here:

ROS 2 Control Contribution Guide
ROS 2 Tutorials
Robotics Stack Exchange

Good luck with your first issue!

Done here https://github.com/ros-controls/gz_ros2_control/pull/462


Refactor tests

The cucumber tests seem to be very verbose since objects have a lot of fields.
Refactor the tests so that they have data tables as seen here.

All tests that existed previously have been refactored.


fix: prevent non-local IP enr warning

Motivation

#5766

Description

Do not use the listenAddress or listenAddress6 to populate the local ENR's ip/ip6

Rather, rely on explicit configuration (enr.ip and enr.ip6) or discv5 pongs to populate the ENR's ip/ip6
This restores the behavior to pre https://github.com/ChainSafe/lodestar/pull/5758

Allow ENR ip/ip6/tcp/tcp6/udp/udp6 values to fall back to prior ENR values (in the case of persistentNetworkIdentity)

:tada: This PR is included in v1.10.0 :tada:


Type checking: super() does not pass class type in classmethods

Environment data

Language Server version: Pylance language server 2021.9.0 (pyright 21562654)
OS and version: Windows 10.0.19042
Python version (& distribution if applicable, e.g. Anaconda): Python 3.9.6

Code Snippet / Additional information

.vscode/settings.json
{
    "python.analysis.typeCheckingMode": "strict",
    "python.analysis.logLevel": "Trace",
}

main.py
from typing import TypeVar, Type

A_T = TypeVar("A_T", bound="A")

class A:
    @classmethod
    def construct(cls: Type[A_T]) -> A_T:
        return cls()

B_T = TypeVar("B_T", bound="B")

class B(A):
    @classmethod
    def construct(cls: Type[B_T]) -> B_T:
        return super().construct()

Actual behaviour
Pylance gives the following error on main.py:15

Expression of type "B" cannot be assigned to return type "B_T@construct"
Type "B" cannot be assigned to type "B_T@construct"  Pylance(reportGeneralTypeIssues)

Hovering over return super().construct() says (method) construct: () -> B.
Expected behaviour
When super().construct() is called on line 15, the passed parameter cls has type B_T, not B. That means A.construct() should return an object of type B_T, not B.
Logs

[Info  - 5.08.50] Pylance language server 2021.9.0 (pyright 21562654) starting
[Info  - 5.08.50] Server root directory: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist
[Info  - 5.08.50] No configuration file found.
[Info  - 5.08.50] No pyproject.toml file found.
[Info  - 5.08.50] Setting pythonPath for service "pylance_tst": "C:\Program Files\Python39\python.exe"
[Warn  - 5.08.50] stubPath TESTDIRECTORY\typings is not a valid directory.
[Info  - 5.08.50] Assuming Python version 3.9
[Info  - 5.08.50] Assuming Python platform Windows
Search paths for TESTDIRECTORY
PATH VARIABLES OMITTED
[Info  - 5.08.50] Searching for source files
[Info  - 5.08.50] Found 1 source file
[Info  - 5.08.50] Background analysis(1) root directory: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist
[Info  - 5.08.50] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: setImportResolver
Background analysis message: ensurePartialStubPackages
[FG] parsing: TESTDIRECTORY\main.py (32ms)
[FG] parsing: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist\typeshed-fallback\stdlib\builtins.pyi [fs read 3ms] (113ms)
[FG] binding: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist\typeshed-fallback\stdlib\builtins.pyi (54ms)
[FG] binding: TESTDIRECTORY\main.py (1ms)
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: getSemanticTokens full
[BG(1)] getSemanticTokens full at TESTDIRECTORY\main.py ...
[BG(1)]   parsing: TESTDIRECTORY\main.py (27ms)
[BG(1)]   parsing: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist\typeshed-fallback\stdlib\builtins.pyi [fs read 3ms] (114ms)
[BG(1)]   binding: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist\typeshed-fallback\stdlib\builtins.pyi (50ms)
[BG(1)]   binding: TESTDIRECTORY\main.py (0ms)
[BG(1)]   parsing: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist\typeshed-fallback\stdlib\typing.pyi [fs read 2ms] (31ms)
[BG(1)]   binding: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist\typeshed-fallback\stdlib\typing.pyi (16ms)
[BG(1)]   parsing: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist\typeshed-fallback\stdlib\_typeshed\__init__.pyi [fs read 0ms] (11ms)
[BG(1)]   binding: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist\typeshed-fallback\stdlib\_typeshed\__init__.pyi (1ms)
[BG(1)]   parsing: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist\typeshed-fallback\stdlib\typing_extensions.pyi [fs read 0ms] (2ms)
[BG(1)]   binding: c:\Users\USERNAME\.vscode\extensions\ms-python.vscode-pylance-2021.9.0\dist\typeshed-fallback\stdlib\typing_extensions.pyi (2ms)
[BG(1)] getSemanticTokens full at TESTDIRECTORY\main.py (296ms)
Background analysis message: getSemanticTokens range
[BG(1)] getSemanticTokens range 0:0 - 15:0 at TESTDIRECTORY\main.py (2ms)
Background analysis message: analyze
[BG(1)] analyzing: TESTDIRECTORY\main.py ...
[BG(1)]   checking: TESTDIRECTORY\main.py (8ms)
[BG(1)] analyzing: TESTDIRECTORY\main.py (8ms)
Background analysis message: resumeAnalysis

After thinking about this a bit more, I think it's reasonable for a type checker to use the annotated type of cls (or self if it's within an instance method) as the implied second argument for super(). I've updated the type checker logic to handle this case. This will be included in the next release. The suggestion I provided above should serve as a workaround in the meantime. Thanks for filing the issue.

This issue has been fixed in version 2021.9.1, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202191-8-september-2021


Performance enhancements towards v2 release

Identify bottlenecks and implement performance enhancements using approaches such as parallelization, memory management, and/or C/C++ code integration. The MATLAB Profiler and/or performance testing framework may be helpful tools.
Specific tasks include:

[x]  Orientation to codebase with EXTRACT project leader
[ ] First-pass reproduction of Figure 4 benchmarking from the preprint, w/ focus on reproducing the cell count from Fig4d
[ ] #1
[ ] Benchmarking on local machines & showing improvements
[ ] Benchmarking on various AMIs  & showing improvements

Just an update:
Here's my recent first pass reproduction of Fig. 4D on a Linux system (Ubuntu 20.04.3 LTS) with 24 GB RAM and GeForce GTX 1050 Ti GPU, MATLAB R2021b with the following config:
% Essentials, without these EXTRACT will give an error:
config.avg_cell_radius=6;

% The movie is large, change the partitions if needed.
config.num_partitions_x=5;
config.num_partitions_y=5;

I will play around more with the different hyperparameters to improve the cell EXTRACTion.
I was also able to convert extract-public Tutorial 2 to be backwards compatible with MATLAB R2011a and run it on my old MBP with 4 GB RAM and GPU disabled (rest of the config remained the same as above):
config.use_gpu = false;
config.parallel_cpu = false;

Here's the reproduction of Fig 4D from that:

I could be wrong here but to me it looks like the CPU version does a slightly better job of finding the really bright/big cells.
It will be interesting to see what the others get with similar/same config.

@Yambottle, @manisha-sinha-appasamy
Per my discussion w/ @fatihdinc: the latest & greatest from the public repository has been merged here into extract-wip. The algorithm code is now stable.
Thus this repository is now ready for performance enhancement code submissions. Suggest that each team could submit changes as pull requests with review by the other (and I will try to take a look as well).
Where applicable, these may also later become suggestions (pull requests) to the public repository to help improve its performance.


Battery voltage measurement is sporad

Battery voltage measurement is working intermittently
These two measurement were done directly after each other.
This means, that the RPi will shutdown as soon as i unplug the power adapter.
RPi B+ with latest Raspian fully patched.
pi@raspberrypi:~$ python3 ~/bin/upsPlus.py
------Current information of the detected Raspberry Pi------
Raspberry Pi Supply Voltage: 4.984 V
Raspberry Pi Current Current Consumption: 622.035 mA
Raspberry Pi Current Power Consumption: 3125.315 mW
-------------------Batteries information-------------------
Voltage of Batteries: 4.240 V
Battery Current (Charging) Rate: 131.951 mA
Current Battery Power Supplement: 0.000 mW
Successfully set the protection voltage to: 3700 mV
Currently charging via Micro USB Port.
pi@raspberrypi:~$
pi@raspberrypi:~$
pi@raspberrypi:~$
pi@raspberrypi:~$ python3 ~/bin/upsPlus.py
------Current information of the detected Raspberry Pi------
Raspberry Pi Supply Voltage: 4.984 V
Raspberry Pi Current Current Consumption: 631.623 mA
Raspberry Pi Current Power Consumption: 3118.587 mW
-------------------Batteries information-------------------
Voltage of Batteries: 0.000 V
Battery Current (Charging) Rate: 128.049 mA
Current Battery Power Supplement: 0.000 mW
Successfully set the protection voltage to: 3700 mV
Currently charging via Micro USB Port.
pi@raspberrypi:~$

You can upgrade the firmware and try again, or contact the aftermarket and provide the serial number for inspection.
Please also provide a photo of the front of the product, connected to the Raspberry Pi and a separate picture to check if it is a faulty product.


Add sass variable to set default page content alignment

This pull request comes from #883 and gives a way to choose the default text alignment without having to patch several files of the theme.

Broken by commit 3fc1bfd. I'm closing this PR for now, but I still think that the default alignment is worth being set by a variable.

Trying to avoid these sorts of customization because they lead to more customizations of this nature. It's a simple 1 line CSS declaration so I don't feel too bad not including it as a SCSS variable.
That and in good conscious I can't provide the option for justified type as it almost always looks awful on the web :wink:

Oh okay I see, this is a good point 👍


Option to view texel density?

Hi!
The quad overdraw visualization feature is really handy, so I would like to know if it's possible to add something similar to texture debugging, like visualizing texels per meter or texel/pixel ratio as heatmap?
Search around the web and find something similar:
http://docs.cryengine.com/display/SDKDOC2/Texels+Per+Meter
http://aras-p.info/blog/2011/05/03/a-way-to-visualize-mip-levels/

The difficulty with displays like that is that for it to be useful, you need to know exactly the UVs being used to sample the texture.
To begin with, there's no reliable way to identify which interpolator is used to pass the UVs from the vertex shader (or even if it's some combination of more than one, or something like that). To solve this would mean some integration between the mesh viewer and texture viewer. It's a bit of a complex UI problem, but doable.
The other hiccup is that there's no particular guarantee that the UVs are used unmodified. E.g. in one case, a 512x512 texture on a teapot has one texel density because the UVs passed from the vertex shader are used as-is. In another case, the UVs passed from the vertex shader are rotated and scaled, giving a higher density. It also means there's not a single texel density - it varies per texture sampled (and even the same texture sampled different times or at different rates).
Of course, none of this is impossible to solve! You could ask the user to input a scale/offset or something like that which would cover 99% of cases that you care about. But what I'm getting at is that it's not the kind of display that RenderDoc is best placed to provide, since the engine already has this information and can do that kind of overlay more easily.
Although I have added a few things that are helpful for profiling, I explicitly do not describe RenderDoc as a profiler. It's a debugger, and I don't want to split my focus while there's still lots to do to make it a great debugger. This would be quite an in-depth feature to implement, so as a profiling function it's not likely to make the cut for a long time. But on the other hand there are related debugging features that have exactly the same kind of requirement - e.g. a companion to the 'wireframe overlay' that instead shows the mesh in UV space on each texture that samples it. The same problems must be solved for that.

Thanks for the detailed explanation!


Download assets using node instead of wget

To cut down on dependencies for end users (especially for new devs in nteract/nteract), rely on the platform they're guaranteed to be using: node.js
The other alternative is to do fallback:

curl
wget
custom node way

See https://github.com/nteract/zmq-prebuilt/pull/61


Setting page start as black screen, then it closes

Microsoft PowerToys version
v0.60.0
Running as admin

[X] Yes

Area(s) with issue?
Settings
Steps to reproduce
Not sure how to reproduce the issue. I've tryed copiing the AppData settings to a W10 computer but it didn't happen.
When opening the setting page:

Here the report:
PowerToysReport_2022-08-02-08-32-19.zip
✔ Expected Behavior
Open the setting page to change some settings
❌ Actual Behavior
Can't open the setting page, it starts as a black screen and 5 seconds later is suddently closes.
All the components are working as intended, except for Fancy Zones keyboard shortcut to the zone settings that does not do anything since this happen.
I've tried deleting the folder %AppData%/Local/Microsoft/PowerToys but nothing changed
Other Software
Actual OS: Windows 11 Pro Insider Preview, build 25163.rs_prerelease.220715-1711. But this happened before on previous preview builds

After updating to v0.61.0 the issue still persist

Hi, It seems the app is crashing, according to event viewer logs. Can you please send a crash dump as described here? #18725 (comment) /needinfo

Thanks for the reply.
Here you go the zipped dump file:
PowerToys.Settings.exe.42528.zip
I needed to redo the issue because there was none before. Hope it helps

After updating the OS to W11 Pro Insider Preview build 25169.rs_prerelease.220723-1625 the issue is no more happening. Everything seems to work fine.

After a reboot the issue is back

Is this still an issue with the latest version? /needinfo

Hello, with the latest insider updates it seems it does not do it anymore. We can close this. Sorry for the delay


Cast all header types into strings before handing to requests

Fixes #83

Hi @thenewwazoo, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (brmatt). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

I did a cursory test with Python 2.7.13 and it appears to cause no problems.

@thenewwazoo Can you also update requirements.txt to change requests==2.10.0 to requests>=2.10.0 as well?
Also, in setup.py:
install_requires=['six >=1.6', 'requests==2.10.0'], to
install_requires=['six >=1.6', 'requests>=2.10.0'],
@moderakh Do you know anything else that needs to be updated?

$ grep requests -r . | grep 2.10
./requirements.txt:requests==2.10.0
./setup.py:      install_requires=['six >=1.6', 'requests==2.10.0'],

@rnagpal requirements.txt and setup.py are the only two files pointing to the specific requests library version.

@thenewwazoo Please ensure that all existing tests pass with your change.

@thenewwazoo Please incorporate my comment and ensure that all tests are passing so that we can merge this PR.

@thenewwazoo I see that you closed this PR. Didn't you wanted to merge this in our repo?


End the call before connected.

I have a feature in my app: end the call before connected(the scenario is like the user dials a wrong number and wants to hang up immediately.). I find all the sample code twilio give out are disable the hang up button until the call connected. But I got a warning these days: WARN TVOCall] disconnect only works when the call state is "TVOCallStateConnected" or "TVOCallStateConnecting".Does this mean I can end the call before connected? When I do this I get some problems:

Make the call, end the call before it connected, the call has possibilities to go out.
Make the call, end the call before it connected, make another call, the second call fails.
Make the call, end the call before it connected, make another call, repeat these steps several times, the call loses signal

Expected Behavior
These calls can be disconnected properly and not prevent make another call.
Logs
Logs.pdf
Versions
All relevant version information for the issue.
Voice iOS SDK
Twilio version:2.0.0-beta14 (August 15, 2017)
Xcode
8.3.3
iOS Version
10.3.3
iOS Device
iPhone se , iphone 6

Hi @jessicawang143143
Thanks for reporting the issue.
We do have integration test cases to cover such use case (disconnect while the call is connecting) but it seems there is still some edge cases that need to be fixed based on your description and log. We've created a ticket CLIENT-3820 for tracking this issue in the future sprints.
Will keep you posted.
-bobie

Hi @jessicawang143143
Sorry for my delay in responding back to you with the updates.
We've included a fix in beta17/18 to address the issue that calls still get connected when [TVOCall disconnect] is called, especially when the call is still in the TVOCallStateConnecting state.
It'd be great if you can update to the latest version of the SDK and see if the issue is fixed.
Thanks!
-bobie

Hi @bchen-twilio
I got incoming call from  client but when client disconnect the call still my call is not diconnected still it was connected .
I am using iPhone 6s (IOS 11.3)
Thanks

Hi @ramohanreddy
On the callee client you can use the [TVOCallInvite reject] method to reject the call or use the [TVOCall disconnect] method to disconnect after the call is accepted and connected, that way the caller client will get a proper callDidDisconnect: delegate callback.
Thanks
-bobie


Move body to main function definition

This is so you can use @code_warntype on a function definition.
Basically we now put the function body in both the "simulator" function as well as the original function. It uses the simulator to check the inferred type, then just assumes it will have the same thing and returns.
It also renames the generated function to be called "_simulator" rather than "_closure"

coverage: 98.469% (-0.02%) from 98.492%
when pulling 3f8b9d58a52c404e085d227f6e56a06594e8cd3c on move-body
into 532ebcb39d509d859e784357c1dc13ac95e7fe1a on main.


Added devcontainer option

As proposed in issue https://github.com/netbox-community/cookiecutter-netbox-plugin/issues/3 I've added a devcontainer option which adds a .devcontainer/ folder to the newly created project. This container includes a working netbox installation with the DEBUG and DEVELOPER flags set to True in the configuration.
Due to cookiecutter restrictions the .devcontainer/ folder is alway created and deleted afterwards if the devcontainer variable is not set to "True".
Initial tests look good. >95% of the code are from the Netbox-ACL  Plugin

@jahknem thanks for adding this.  Is all the initializer stuff needed?  It adds a lot of bloat and I'm not sure everyone would want that in their repository, also it will make it potentially more work if NetBox changes and happens to change the models.
I'd rather keep it to just the devcontainer with the default empty DB and remove all the initialization.  Also, same question on the custom .bashrc and .zshrc files.  I'd like to keep the config pretty bare-bones and let developers add in extra stuff they need, otherwise it gets more complicated to understand, document and complex for the developer who has to rip stuff out.  Basically add the minimum to get the developer started, but not extra stuff they may have to rip out.

@arthanson you are correct, that all is not needed. I will remove the bloat and update the fork shortly

@jahknem any progress on this?  Looks like a nice addition.

@arthanson sorry no. I've got problems with devcontainers in general, which I can't seem to pinpoint. I believe the issues mostly arise if a container already exists, but not yet sure. If you are willing to have a go at it, please do.
(Currently I also don't have the time as I just entered a new university for my masters)


Document supported ES versions

The bulk of lodestar assumes ES2020 support, though some of our repos support ES5 or ES6.
We might note the minimum version we support in each repo, and/or add a column showing that to this document: https://hackmd.io/CcsWTnvRS_eiLUajr3gi9g

resolved.  ES and node versions now documented in lodestar and it's other ChainSafe-specific dependencies


Bug fix - Balinese Currency

Hello guys, can you fix two bags: I can't enter by secret words (5) and by invitation link.
And pls add balinise currency when I pay.

fixed

fixed


live caption not working

thorium 119 64 bits avx2 on win7
i have it enabled and downloaded but no reaction to audio playback

this happens in supermium too


Feature/336 upgrade to veramo

just tried the settings for jest/typescript here https://github.com/decentralized-identity/did-jwt/blob/master/tsconfig.json with new jest settings to support ESM https://stackoverflow.com/questions/60372790/node-v13-jest-es6-native-support-for-modules-without-babel-or-esm

closed in favour of https://github.com/Tonomy-Foundation/Tonomy-ID-SDK/pull/396


Transactional tests 8948

Motivation

Migrated and categorized function_calls/, function_defs/, generics/
Migrated data_types/, dereference_tests/, effects/, and expressions/ to transactional tests
Migrated and categorized builtins/ and commands/ dirs of old IR tests
Fixed determinism bug in absint for bytecode verifier
Migrate reference safety tests to new transactional test system

Test Plan
Cargo test

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test

/canary

:sunny: Canary successful

/land


changing resizeMode

Hello. How can I change resizeMode to 'contain' in some cases?

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
pauliax, @lxbbkn, @joeyiny, @tywenk, @remarcable, @shunkakinoki, @409H, @0x000da38758, @0xhanh, @fredwes, @0xd0e, @gsteenkamp89, @abhineettandon, @ekmanss, @zxk0029, @sanjeevjayasurya, @hailelagi, @war408705279, @0xaira, @loatheb


Configure maven-checkstyle hook

Wondering if there's a way to pass checkstyle rules xml file as a parameter to the hook

Hi @patilarpith, parametrisation is not available because you can configure the location of the rules file through the property configLocation on the POM file. Although, the hook "maven" gives the flexibility to configure anything you want.

@ejba Does that mean the checkstyle check is run on the entire project, not just for the files staged for commit?

The library is not aware of the "git" context where it is inserted, only runs the configured commands. So, it always runs upon the entire project. Eventually, I will adapt give support to run only on staged files (or on modules with staged files) but I cannot promise when I will add this because I do not have spare time that I can spend. That is why I giving you those options for now.


License and description does not update on conda-forge

I merged #2 to update the meta.yaml to show a new license and description for our gcm-filters package. However, on conda-forge, the license and description of our package are still in their outdated version, even though this meta.yaml on the feedstock contains the proper information.
Does anyone know what is going on? Maybe @rabernat? Thanks in advance for your help!

My only idea would be that a new release might trigger an update? But before trying that maybe @conda-forge-admin has an idea how to update this information?


Design doc

@wenyongh need your opinions 😃

thanks for catching. Has run a basic grammar check on grammarly.


Memory-Mapping Preload Fails When Adding Channels

When data is memory-mapped to a file, there is a memory error in:
e-packages/mne/channels/channels.py", line 877, in add_channels
data = np.concatenate(data, axis=con_axis)
MemoryError

A minimal reproducible example on gist would be very much appreciated

https://gist.github.com/alexrockhill/f2ddbae467e8e5728db48834f2601e0d
Here is a gist that could work. There is some difficulty because the memory error depends on the RAM of the machine and also to create a RawArray, one must be able to load the RawArray into memory, so there must be a workaround where many raw files are made and loaded into memory-mapped files.

We could probably handle this more gracefully. It might be possible to resize the memmapped array. If not, then we could make a new one, possibly via param.


Support for UMA, a.k.a. resource sets?

As far as I understand, OAuth provides "coarse grained" control over permissions, by which I mean it talks about "how to handle role-based access to resources". As such, it operates on pre-defined, "static" set of permissions (so called scopes).
UMA seems to be a semi-official (or at least the only official-looking one I could find) extension to OAuth 2.0, adding support for "fine grained", M:N sharing of resources. In simple words, it allows a scenario such as:

"Alice shares a folder of cat photos with Bob."

The UMA spec is obviously a bucketload of formalese blabbering, as specs of this world like to be, but if you squeeze it to get to the juice, it suddenly starts to show as rather simple, in my opinion. The core underlying "trick" seems to boil down to the following points:

Authorization Server must store one extra persistent table, "resource_sets", where each row represents "an opaque pointer to some concrete resource(s) in RS". [For example, a row could represent Alice's folder named: "Rly funny CATS!!!1!1"] The columns would need to be more or less:

id — unique row ID in the AS
owner — Resource Owner of the resources [e.g. "alice"]
rs_id — ID provided by Resource Server (the "opaque pointer")
name — human-friendly name, also provided by RS [e.g. "Rly funny CATS!!!1!1"]
max_scopes — also provided by RS [e.g. "view", or "view add delete"]
a list of (user, scopes) pairs, dynamically managed by Resource Owner via some UI on AS. (This could be kept in a separate table if needed, implementation detail.) [e.g. ("bob", "view")]

AS must also expose a REST API, through which Resource Server can create, edit, and delete resource_sets entries (more details in the UMA spec),
and a UI, through which RO can add/remove users & permissions, i.e. (user, scopes) pairs, to owned resource_sets (or at least some REST endpoints, so that implementer could build UI on those).
Resource Server must keep a mapping of: resource → rs_id;
when some Client requests a resource in RS, the RS must find the rs_id, and ask AS what are  allowed scopes for this rs_id, through some elaborate dance using Access Tokens etc.

So, I'd like to ask if you'd consider to support UMA in osin, to support such a "file-sharing-like" scenario over OAuth 2.0?
EDIT: Apparently there's UMA 2.0 now, IIUC the spec's link is: https://docs.kantarainitiative.org/uma/wg/oauth-uma-grant-2.0-05.html (though now parts of it are split to separate documents, fortunately linked to from the main one...  The general underlying idea seems to be still the same IIUC.)

I think what you propose if far beyond what this library is trying to do, and that is to provide an implementation base of the core OAuth2 framework. I think it should still be possible to do what you're proposing with the library as is as the OAuth2 backend to the AS that you intend to develop.
Therefore keeping this issue closed.

I think what you propose if far beyond what this library is trying to do, and that is to provide an implementation base of the core OAuth2 framework. I think it should still be possible to do what you're proposing with the library as is as the OAuth2 backend to the AS that you intend to develop.
Therefore keeping this issue closed.


Mechanism of recovery

Creating and implementing recovery mechanism: so that we have to detect if an agent (or its behaviour) stops responding and somehow manage this situation

[ ] adding restarting mechanism
[ ] restarting behaviour mechanism
[ ] testing recovery


Make verbose option on maintenance actually verbose

I'm using canasta maintenance update -v and don't see any progress messages.
$ canasta maintenance update -v
2024/05/04 05:21:07 Using /home/admin/.config/canasta for configuration...
Setting verbose
Running maintenance jobs

I am able to verify that there is activity but that is only by running show processlist against the db:
docker-compose exec -T db mysql -uroot -pPASS -e 'show processlist'
mysql: [Warning] Using a password on the command line interface can be insecure.
Id	User	Host	db	Command	Time	State	Info
5	event_scheduler	localhost	NULL	Daemon	4409	Waiting on empty queue	NULL
1847	root	icannwiki-web-1.icannwiki_default:49756	ICANNWiki	Query	0	waiting for handler commit	UPDATE /* MigrateRevisionActorTemp::doDBUpdates  */  `revision` SET rev_actor = '4661' WHERE rev_id
2071	root	icannwiki-web-1.icannwiki_default:53898	ICANNWiki	Query	0	updating	UPDATE /* MigrateRevisionActorTemp::doDBUpdates  */  `revision` SET rev_actor = '4661' WHERE rev_id
5267	root	localhost	NULL	Query	0	init	show processlist

I cannot reproduce the issue. It's working for me.


I want contribute AI Image Generator Project

Project-Guidance! 🎊🎈
Welcome! 🎉
Thank you for opening an issue! Your contributions help us improve the project. If you find this repository useful, please consider giving it a star! ⭐
🎉 Have you reviewed the Contributing Guidelines? 🤔 (Required)

[x] YES
[ ] NO

📝 Description
The AI Image Generator solves key issues by automating the creation of custom images from text prompts, saving users time and effort. It eliminates the need for manual design skills, reliance on stock images, and the high cost of hiring designers, making it easy for anyone to generate unique visuals quickly and affordably.
You Can Watch the demo video here.
🔍 Priority Level

[ ] High
[x] Medium
[ ] Low

🏷 Initiative Participation (Required)

[ ] 🌸 GSSoC (Girl Script Summer of Code)
[ ] 🌼 GSSoC 2024 Extd.
[x] 🍂 Hacktoberfest 2024
[ ] ❄ Script Winter of Code (SWoC)
[ ] ⛄ Winter of Blockchain (WoB)
[ ] 🙋♂ Personal
[ ] 📌 Other (please specify): _______________

💬 Next Steps:
You can expect a response within [2 days].

@Kushal997-das  can you please assign this to me

I am the mentor of this project.
Hello @damarudhvarma
I appreciate your pull issue , can you give screenshots!!!

In this project  i have used Hugging Face API to generate Images using Prompt
At the backend the API uses the  Stable  Diffusion Model  to create images from the prompt

https://github.com/user-attachments/assets/883033c1-e773-4aac-80a5-7cc15c6f3760

@Kushal997-das  kindly assign this issue!!!


MSBuild: compiled JSON files are not copied to publish directory

Bicep version
0.4.1008
Describe the bug
When using Azure.Bicep.MSBuild to compile .bicep files to JSON, the resulting .json files are only ever copied to the build directory (bin\Debug\net6.0). This means when you invoke dotnet publish, the resulting publish directory (bin\Debug\net6.0\publish) does not contain the .json files.
To Reproduce
dotnet new console
dotnet add package Azure.Bicep.MSBuild
dotnet add package Azure.Bicep.CommandLine.win-x64
touch foo.bicep
// edit your csproj to use <Bicep Include="*.bicep" />
dotnet publish

Additional context
I have reproduced this with the .NET 6 SDK. It is unclear whether this behavior is a regression or not.

The output path is configurable per https://github.com/Azure/bicep/blob/c5f048de5ff55d80a48a814d82abfc1ffcf786dd/src/Bicep.MSBuild/build/Azure.Bicep.MSBuild.targets#L3-L7

Sure, but I expected this to work "out of the box". Setting BicepOutputPath to the publish directory wasnt trivial either because as far as I could tell, it needed to be done in a target for $(PublishDir) to be non-null (ie, it couldnt just be in a top-level <PropertyGroup>. Maybe I was just holding it wrong, but I was definitely surprised by this behavior.

@stan-sz @jackhorton We are experiencing the same problem. The JSON generated files are not being included in the Publish directory. However, they are being included in the Build directory.
How can this problem be addressed?

@fbridger sorry for the late reply, but adding this to your .csproj (or any other msbuild file) should copy the files to the publish directory keeping the relative path to the csproj in tact (ie, projectdir/foo/bar.bicep will be copied to publishdir/foo/bar.json):
  <!-- Azure.Bicep.MSBuild does not copy the compiled .json files to the publish directory by default -->
  <Target Name="PublishArmTemplates" AfterTargets="ComputeFilesToPublish">
    <ItemGroup>
      <ResolvedFileToPublish Include="@(_BicepOutputFile->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
        <RelativePath>$([System.IO.Path]::GetRelativePath($(OutputPath), %(_BicepOutputFile.FullPath)))</RelativePath>
        <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      </ResolvedFileToPublish>
    </ItemGroup>
  </Target>

I think this can be resolved now. These PRs #10618 and #13292 added support for publish and recursive output. Now you just have to add this to your csproj:
<PropertyGroup>
  <BicepOutputStyle>Recursive</BicepOutputStyle>
</PropertyGroup>


Actually break out when no canvas exist in click handler

In the code that handles non-existing canvas, there is a missing return statement, which makes the code call the callback, but then just move on even though canvas is undefined/null.

Good call back 😉 !