Fixed a minor spelling mistake in 'xsimd_INCLUDE_DIRS'

This PR fixes https://github.com/xtensor-stack/xsimd/issues/579. Should be fairly safe to merge.

Thanks!


ci: Add a workflow to push a release

https://trstringer.com/github-actions-create-release-upload-artifacts/


1.0, Features and Progress

21.1 release will be on January 1st,
First Pre-Release next week
Let's work on stuff, and prepare for pre-release.

@webdev03 Can you make this all have one background color. I like the gray color more than the black.

@webdev03 ignore, I've already changed it.

Ok, so I think its better if the space between the tabs and the action bar should be decreased.

I can try.

@webdev03 for the search suggestions can you make the top have square corners and the bottom rounded

OK!

@webdev03 why caps?

OK = Okay
I will stop now

@webdev03 are you able to decrease the space between the bar and the tabs?

Hmm, ok

You mean the search bar and the tabs?

You mean the search bar and the tabs?

yes, less space between them. Make it more like the space between the two in FF

OK

Is this good

The action bar is
The search bar, forward and back buttons as well as reload. and every other button on that bar
The tab bar is above, with the tabs
Terminoligy

Terminology*

Is this good

One thing i must say, you aren't on the latest commit.
Half that amount of space is good, then show me.

Hmm, what do you mean? That's already quite a good amount of spacing in my opinion.

its just a bit much

a little smaller amount then ur good

also get on the latest commit before doing any PRs.

Well, ok...

Is this good? Then I will update to the latest commit and redo my changes.

@webdev03 yes thats good, I can handle the updating for you with the PR.

Ok, if you say so...

@webdev03 i made a PR.

now im testing if it worked

:smile:

@webdev03 its weird that it didnt bring my commit where I fixed color consistancy

@webdev03 oh it got undone... my color consistancy fix. im redoin it now.

i redid the color consistancy fix.
now time to move into memory optimization

so far this is what we have

Yes, that looks much better, https://github.com/JaydenDev/Catalyst/issues/70#issuecomment-1000625503 I didn't think of it before.

if the browser hogs 2x as much RAM as chrome there's a problem.

Wait, it does? Hmm...

When you hit 7 tabs it gets slow, could just be because I didn't test with a compiled version

yes, compiled versions are much better.

I test with npm since I can't install Catalyst without removing ninetails

😢

@webdev03 might use the "feature" to gain some ground.

Which feature? Also, it would be more organised if there was a separate issue about memory. I'll make it.

@webdev03 no no its already made check issues

I've been using Catalyst for 5 minutes and its, good.

:smile:

Color inconsistincy in light mode
Also unlike FF or Chrome, there is no right click spell check/fixing to fix my spelling mistakes

Unfortunately I can't even claim credit for most the browser, I coded like 3% of it.

I will fix the colour inconsistency.

Also, can the text in the search bar update per tab?
i have 1 gh tab and 1 scratch tab and no matter what tab im in it shows the github URL.

Yes, that is something I was going to do too.

@webdev03 I pretty much did the small tweaks

so, most browsers dont require a button press to search. So, we can replace the "Go" button with an event listener, that runs the function the button would usually run. When ENTER is pressed.

Yes, I am going to add the event listener too. I don't see any inconsistency, though!

@webdev03 you need to look REAL closely in light mode

@webdev03 you need to look REAL closely in light mode

How closely? Can you send a screenshot?

zoom in quite a bit in my screenshot

Can't see on my screen...

the tab and action bar background is gray while the background background is white.

its an easy fix i can do myself if i need to

the tab and action bar background is gray while the background background is white.

Oh, so that's what you mean! I'll add that in.

should they both be white or both be gray? @webdev03

I made it both gray, although I would kind of like it both white though.

k

Should I just release 1.0 next week instead of a pre-release?

Maybe closer until the time we can decide?

android app?
 JK, NEVER NO NEVER DOING THAT PLEASE IGNORE

I'm going to share my maybe controversial opinion: in the future, an app may be possible.

sorry if i dont respond for a while im hosting a web server on my phone... :)

I guess we can release 1.0 soon. I can try to implement bookmarks. But when there are too many bookmarks, should there be a scrolling bar?

@webdev03 I hate scroll bars, they are so ugly.
also note when i said that tab size or search bar size would have to be cut in half for bookmarks to not take up too much space.

I think bookmarks can be implemented later. Right now I want to trim down the number of Font Awesome icons in the code.

I think bookmarks can be implemented later. Right now I want to trim down the number of Font Awesome icons in the code.

How else will there be icons then

I am going to switch to bootstrap icons if that is fine with you... or should I instead trim down the number of FA icons? I think Bootstrap Icons is open source.

Just download the icons into the repository into the assets folder and apply them in the UI

Then, when building, even the icons we don't need are there.

Then, when building, even the icons we don't need are there.

What?

Yeah, so there is going to be let's say 1000 icons in the build, but we use like 7 out of them.

@webdev03 just download the icons that are needed and store them in the repo.

That's what I am doing.

so far my package manager's catalyst install script is working.
its for linux only tho, boxpkg is linux only

nevermind its not working yet cuz syntax error

run/catalyst-install.sh: line 11: cd: x64: No such file or directory
/usr/bin/apt
/usr/bin/rpm
run/catalyst-install.sh: line 23: syntax error near unexpected token `fi'
run/catalyst-install.sh: line 23: `fi'

Put it on Homebrew soon! That would be awesome!

I fixed everything but the last two errors.

@webdev03 cant do that not on mac.

@webdev03 cant do that not on mac.

I could, when we hit 1.0

for now focus on what ur doin and fixing the boxpkg catalyst install script.
just some syntax errors with the last two functions.

I don't know much bash.

@webdev03 I can't make a PPA without being on Ubuntu, and making a fedora repo is hard.

also making a package manager is fun

Anyways, this is JaydenDev/Catalyst.

i fixed all the errors and now im testing it.

Also, why build on the user's machine? There is a releases API and a page for that.

no no, im doing it the only way i can do it with bash

plus package managers are superior when they build from source

All the features in Catalyst right now, will be in 1.0. Features discussed and made, closing.

Wait, so right now, is 1.0 ?


Develop a Odin Example

Odin moves inside the L-shape.

It turns 90° right and moves till it finds the black line. Doing so it measures d1.

Odin goes backwards by distance d1.

It turns 90° left and moves in its initial direction by distance l.

It turns 90° right and moves till it finds the black line again. Doing so it measures d2.

Odin now know its original heading: a = atan(d2-d1) / l. It turns by this angle.

It goes backwards inside L, and turns left 90°, it is now aligned with the long branch of the L.

Odin finally goes backwards till it finds the short branch L black line. It is now aligned and in the home position, ready to start a new trip.

Discarted.
Exist other challenges with the new Block GoToXY


Possible license troubles

This library has appache license but uses another library with GPL.
If I plan to use this library then should my own project use GPL too?!

@gyehuda, do you think you can handle this question?

@gerchicov-bp You are right to note that the code we published is licensed under Apache 2.0. You can use this code in combination with other code, such as OpenCV, FFMPEG, or anything else you add. Those projects are licensed differently (3-clause BSD, LGPL, GPL, etc. depending on details).
When you create something that combines this (Apache licensed) library with other code, you'll want to review all the licenses and work with your legal or open source team to make sure that you comply with the sum of all obligations (where this is relevant). We don't know what you are planning to do, but from the perspective of this project, we offer this code under a very permissive Apache license. You can add or remove any dependency to make this library meet your needs.

Thanks @gyehuda!
@gerchicov-bp  I am closing this but feel free to bring this up again if necessary.


Gateway monitoring does not work when multiple connections share the same gateway

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
We have a site with 2 WAN connections from the same ISP. Both connections have the same upstream gateway which causes gateway monitoring not to work for the second connection.
Upon further investigation this is because the static route that is added for the connection is added by gateway IP and not by interface.
i.e.
Interfaces are:
WAN (pppoe0) with gw <IP_ADDRESS>
WAN2 (pppoe1) with gw <IP_ADDRESS>
WAN uses monitoring address <IP_ADDRESS>
WAN2 uses monitoring address <IP_ADDRESS>
route table shows:
<IP_ADDRESS> via gw <IP_ADDRESS> netif pppoe0
<IP_ADDRESS> via gw <IP_ADDRESS> netif pppoe0 (should be pppoe1)
The second route should use netif pppoe1 but does not, most likely as the route is assigned by the gateway IP and not the interface
Running this command in the terminal appears to fix the monitoring temporarily: route add -host <IP_ADDRESS> -iface pppoe1
However the routes appear to be reset at some interval (less than 2 minutes) and this change is lost, so is not a viable fix.
A second bug could be considered which is that adding a route in System > Routes > Configuration has the same behaviour (it uses the gateway IP address for the route, not the interface - an option to use the interface might help here)
To Reproduce
Steps to reproduce the behavior:

Have 2 WAN connections with the same gateway (not sure if specific to PPPoE connections)
Check gateway monitoring
See second gateway is offline
Disable adding route from gateway monitoring and add manually in routes page using the correct gateway
No change, second gateway still offline

Expected behavior

WAN and WAN2 gateway monitoring should work
Routes added should use the interface of the specified gateway, not the interface of the first gateway that has the same gateway address

Describe alternatives you considered

A start-up/(re-)connection script to run route add -host <IP_ADDRESS> -iface pppoe1 could work if this route wasn't lost after some interval (less than 2 minutes)
Disabling gateway monitoring would not be viable as gateway failover would not work properly (the interface would incorrectly be considered up when it might not be)

Additional notes
We actually have 3 WAN connections from this ISP, but they only have 2 upstream gateways. The WAN3 connection from them that uses a different gateway works fine, as expected.
Environment
OPNsense 24.7.7-amd64

Thanks for the reply @fichtner - why is it that running route add -host <IP_ADDRESS> -iface pppoe1 command appears to resolve the issue (albeit temporarily)? Is it setting up another routing table behind-the-scenes?


RenderDoc hangs at launch with Authenticode enabled

Description
RenderDoc GUI will hang indefinitely when trying to launch renderdoccmd.exe, on Windows 10 when Authenticode is enabled.  The minimal registry entries needed to enable Authenticode seem to be:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\safer\codeidentifiers]
"authenticodeenabled"=dword:00000001
"DefaultLevel"=dword:00262144
"TransparentEnabled"=dword:00000001

Please be careful testing this as you can stop your OS from allowing processes to start.  Keep regedit open and be prepared to set authenticodeenabled back to 0 if anything goes wrong.
You have be using non-elevated permissions with UAC enabled (or probably any non-admin account).  The hang also occurs when a process loads renderdoc.dll; even just int main() { LoadLibrary("renderdoc.dll"); } will do it.
The stack of the hang while calling LoadLibrary is:
 	ntdll.dll!NtWaitForSingleObject()	Unknown
 	KernelBase.dll!WaitForSingleObjectEx()	Unknown
 	winnsi.dll!NsiRpcRegisterChangeNotificationEx()	Unknown
 	winnsi.dll!NsiRpcRegisterChangeNotification()	Unknown
 	IPHLPAPI.DLL!InternalRegisterChangeNotification()	Unknown
 	IPHLPAPI.DLL!NotifyIpInterfaceChange()	Unknown
 	cryptnet.dll!I_CryptNetGetConnectivity()	Unknown
 	crypt32.dll!ChainGetConnectivity(void)	Unknown
 	crypt32.dll!CChainCallContext::IsConnected(void)	Unknown
 	crypt32.dll!CCertChainEngine::TriggerPreFetch(struct _CERT_CONTEXT const *,class CChainCallContext *,unsigned long,unsigned long)	Unknown
 	crypt32.dll!CCertChainEngine::GetChainContext()	Unknown
 	crypt32.dll!CertGetCertificateChain()	Unknown
 	wintrust.dll!_WalkChain()	Unknown
 	wintrust.dll!WintrustCertificateTrust()	Unknown
 	wintrust.dll!I_VerifyTrust()	Unknown
 	wintrust.dll!WinVerifyTrust()	Unknown
 	advapi32.dll!__CodeAuthzpIdentifyOneCodeAuthzLevel()	Unknown
 	advapi32.dll!SaferIdentifyLevel()	Unknown
 	kernel32.dll!BasepCheckWinSaferRestrictions()	Unknown
 	KernelBase.dll!CreateProcessInternalW()	Unknown
 	KernelBase.dll!CreateProcessW()	Unknown
 	kernel32.dll!CreateProcessWStub()	Unknown
 	renderdoc.dll!00007ffb11062b92()	Unknown
 	renderdoc.dll!00007ffb110620f5()	Unknown
 	renderdoc.dll!00007ffb1106a94d()	Unknown
 	renderdoc.dll!00007ffb1106b2ac()	Unknown
 	renderdoc.dll!00007ffb1110ddbb()	Unknown
 	renderdoc.dll!00007ffb1110de53()	Unknown
 	renderdoc.dll!00007ffb11af32e4()	Unknown
 	ntdll.dll!LdrpCallInitRoutine()	Unknown
 	ntdll.dll!LdrpInitializeNode()	Unknown
 	ntdll.dll!LdrpInitializeGraphRecurse()	Unknown
 	ntdll.dll!LdrpPrepareModuleForExecution()	Unknown
 	ntdll.dll!LdrpLoadDllInternal()	Unknown
 	ntdll.dll!LdrpLoadDll()	Unknown
 	ntdll.dll!LdrLoadDll()	Unknown
 	KernelBase.dll!LoadLibraryExW()	Unknown

renderdoc.dll is trying to start renderdoccmd.exe here.  I have no debug symbols for the signed version of renderdoc.dll.
I don't believe this is a bug in renderdoc exactly, but it's something that we've had to work around for ages now (at least a couple of years), so I thought it would be worth documenting.  It could be some peculiarity about the way that it's signed, or just a bug in Windows.
Steps to reproduce

apply registry entries above
run release build (signed) qrenderdoc on a non-elevated account with UAC enabled

Environment

RenderDoc version: 1.7 (also happened with previous releases)
Operating System: Windows 10 (at least 1803, 1809, 1903)
Graphics API: N/A

This sounds like it may be because renderdoc does potentially unsafe work in DllMain, but for obvious reasons there is no alternative. I don't expect there's much I can do about this and given that your instructions mention that enabling this option can break the OS it sounds unstable at best.

My warning was just because these registry keys control what is allowed to run, so if you do something like set DefaultLevel to 0, you may not be able to run anything until you set it back or disable authenticode.  I wouldn't say it's unstable.
Anyway, I'm not inclined to spend any more time investigating this.  My workaround is just to disable authenticode on my machine (it's normally set by GPO or something).  I just wanted this to be documented somewhere in case anyone else hits it.


Allow the default setup tools image name to be overridden

This is intended for special cases where the controller binaries are deployed without access to the public image repository.

Should we expose this as a flag to redskyctl init as well?

I don't think it's necessary in the tool (you can always run the image yourself without redskyctl if you really need to); in this case the only workaround would have been to manually specify the alternate image on every single experiment. We can revisit if it comes up.


Git push , Pull cmd not working in obsidian palatte

I've installed this plugin, but I'm unable to push or pull commits(any git cmd) on obsidian. Whenever I try to push (from obsidian palette), pop up  an error msg on the console. I have access rights to the repository, and I can push from the command line, so I'm not sure what the problem is. I'm on Ubuntu 22 LTS and ssh-askpass is installed. I connect to my repository using SSH, not username/password.
The error  for git push

past i was able to run the cmd  & the files was upload to remote repo succesfully (ubuntu terminal) but with pulgin it was show an error .plz let me know what was the error
I tried to google but i was uanble to get the  error .

Does git pull/push still work via terminal? The error looks like your .git folder is corrupt

just now i tied from terminal it show same error:(

So this is not an issue with this plugin. Try fixing it with other online resources like this Stack Overflow thread: https://stackoverflow.com/questions/4254389/git-corrupt-loose-object


Generating using only Remote Server

Is there a way to generate using only the remote server?

figured it out

What did you do?

@MaxTretikov sorry for taking so long to respond. I was new to github when I made that issue and didn't see your comments; and apparently, I didn't have a solution for that then but when I attempted to solve the issue last week, I saw your comment and decided when I fix it, I will message you first. https://github.com/nux1111/ComfyUI_NetDist_Plus


Firmware update for Blind Actors not working

Update termitates when updating FW for  "HM-LC-Bl1PBU-FM" Blind Actors on Raspberry 3 with Version <IP_ADDRESS>7041 and also on Version  <IP_ADDRESS>70413. Actors stuck on Boot Loader. When connecting to CCU 2 ( with older Software ) Firware Update starts and ended successfully.

This is a duplicate of #52 - thus closing it.


Feature Request: Support for RFC 8410 Ed25519 certificates and keys

So I was looking at how the certificates generated by nebula-cert work and I noticed that Nebula is using it's own type of certificates. I also understand that it's encoding information like groups into these certificates, potentially making usage of x509 harder.
That being said, I saw recently that Go added support for RFC 8410 certificates supporting Ed25519 in https://github.com/golang/go/issues/25355 (https://go-review.googlesource.com/c/go/+/175478/ )
I wanted to start a discussion on if it would be possible to use standard certificates in the future. I think supporting the customized fields that Nebula uses would be the most difficult aspect, but would still be possible using standard fields within x509 certificates I think.
For example, in the project ghostunnel (a TLS proxy), it supports doing authorization using x509 certificates by supporting matches against the subject of the certificate (https://github.com/square/ghostunnel/blob/master/docs/ACCESS-FLAGS.md).
One type of access check that ghostunnel supports is --allow-uri which supports a Spiffie URL which I felt could be a great way to encode all the "extra" information that Nebula wants. Since a URI can support things like query parameters, it seems like even things like the IP, subnets, groups, etc could all be encoded into a URI.
My reasoning behind wanting this is that I would like to be able to use off the shelf tools like Vault to handle my PKI infrastructure, and I want to avoid provisioning long lived certificates, but having to use non-standard tooling makes this difficult.
I'm not an expert in this space, so I'd love to know if this makes sense or if there's better alternatives, or if this is simply out of scope for Nebula. Thanks!

Great questions!
When we started writing nebula we were using x509 to do all this. One of the early pain points was the lack of official RFC or stdlib support for ed or x25519 key material. We hacked around that for nebula-cert and our internal CA, but despite the fact it was x509, nothing could work with these certs out of the box. The thought of upstreaming support into openssl or vault or any of the other x509 tools just seemed very unlikely since it was such a hack.
We then turned to how to properly encode the details we needed without abusing the x509 spec too much. This was more or less "how can we make openssl x509 -text -in ... output meaningful information". It was largely a losing battle since our concepts don't map too well to what x509 is trying to accomplish, and if they did, the tooling wasn't built to be aware of it.
Then we looked at the size of the certs we were generating. The ASN.1 structure was fairly bloated and carried a lot of dead weight for our use case. If we want nebula to work in the most pessimistic networks, where the MTU is the minimum, then we needed a more compact certificate structure with fewer wasted bits to give room to the details that matter, like groups or ip address assignment.
Now with proper support for ed* in golang stdlib and x509, we could move half of this to x509 if we wanted but that only solves the root certificate story. Client certs use x25519 since their main function is the diffie-hellman used over that key material to create symmetric keys per tunnel. The root certs use ed25519 since their main function is to sign the client certs. There does exist a method to transform ed* to x* but we met up with Trevor Perrin to discuss it and the result was "don't do that, wait for ristretto". We never gained enough confidence to make that move but we have gained enough confidence in our current tooling that we lost our desire to go this route.
As for tooling, we publish the cert package which is meant to be used as a library for other tool builders. nebula-cert uses this to do all the cert creation, signing, and verification on the command line. Slack also uses it in a vault plugin, which is used to authenticate a node with vault, but it would be fairly simple to make a plugin that enables vault to sign nebula certs.
A good TLDR might be that x509 may be an appropriate format for nebula to use but the x509 ecosystem is too far behind on current crypto and most tools lack full support for them to be of any use.

Ah, I didn't realize different algorithms were used in different spots. I believe RFC8410 also handles x25519 in x509, but that doesn't seem to be in the stdlib yet. If it was do you think supporting x509 would be more feasible? I understand the encoding problem and the x509 bloat, but is this a show-stopper? I definitely think it would be cool if we had proper ASN.1 fields for everything but, as you've said, existing tools wouldn't really be able to leverage them, hence my suggestion of stuffing a URI into the subject.
You're correct that you could make the tooling work, but I'd like to explore this route first. Since much of the tooling I work with is in Go, if the stuff Nebula needs was available in the Go stdlib, than I could get any other tooling in Go to support it with relative ease, even if the rest of the x509 ecosystem is lagging.

I think it would lower the barrier but I personally don't see what feature it actually adds. Mutating x509 properties for nebula is certainly do-able but hides away information in fields that don't appropriately match their original intent.
When we ditched x509 we considered using ASN.1 directly. Ease of use for ASN.1 lost to basically any other tool though. Our current cert format is using protobuf which gave us peace of mind while we moved nebula through R&D to production and will hopefully pay future dividends if/when we need to rev the certificate structure.
Since you work in go a lot, we formulated the cert library to be easily importable and usable as a library
import(
    "github.com/slackhq/nebula/cert"
)

All the parts should be there for you. Marshalling/unmarshalling in a few different formats. Signing, root certificate pools, verification, etc.

The primary goal I have is automated certificate provisioning based on identity in an SSO system, with the potential for tying in groups, etc, in that system into Nebula. Another part is then also automating provisioning of certificates for servers/services which wouldn't be SSO based, but I haven't figured out how I'd like that to work, but ideally it would be a similar setup.
This is all possible using the nebula-cert tooling, but it still requires a bit more work than if I could use x509. The primary thing I'd like is a CSR-like process, which is doable with the nebula tools, but non-trivial. There's other features in x509 I'd like, but are less important.
I do see issues with re-using existing fields for other purposes though (eg: max length would make using a URI in the CN not scale) so I can understand why you went with protobuf.
I did explore previously for methods of using x509 for this but it largely seems to be relegated to largely-unsupported mechanisms like rfc5755, as you mentioned previously. It's basically the same issue as getting your own OIDs and/or using custom fields in the ASN.1 format.
I'll attempt to see how well I can automate things the way I like, but unfortunately I imagine it's going require much more glue than I'd like so I may end up needing to find something else. If you have any advice, I'd be glad to get another perspective.

Hi,
Thanks for this clear explanation.
I'm working around Nebula and I would like to know if that vault plugin is also open source or not.
Thanks!


Extend the migration guide regarding the sf::Text constructor change

Description
Just noticed this small change and thought it was still worth mentioning.
auto text = sf::Text{"Hello World", font};

vs
auto test = sf::Text{font, "Hello World"};

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on feature/migration-text at 56.627%

Totals

Change from base Build<PHONE_NUMBER>1:
56.6%

Covered Lines:
11899

Relevant Lines:
19920

💛  - Coveralls


Sensor not marked unavailable

System Health details
System Information

version
core-2024.5.2

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.2

os_name
Linux

os_version
6.6.25-haos

arch
x86_64

timezone
America/New_York

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
4971

Installed Version
1.34.0

Stage
running

Available Repositories
1467

Downloaded Repositories
8

HACS Data
ok

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 12.2

update_channel
stable

supervisor_version
supervisor-2024.04.4

agent_version
1.6.0

docker_version
25.0.5

disk_total
116.7 GB

disk_used
9.9 GB

healthy
true

supported
true

board
generic-x86-64

supervisor_api
ok

version_api
ok

installed_addons
Studio Code Server (5.15.0), Matter Server (5.6.0), Z-Wave JS (0.5.0), ESPHome (2024.4.2)

Dashboards

dashboards
3

resources
2

views
8

mode
storage

Recorder

oldest_recorder_run
May 1, 2024 at 1:17 PM

current_recorder_run
May 6, 2024 at 3:54 PM

estimated_db_size
147.16 MiB

database_engine
sqlite

database_version
3.44.2

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
After unplugging my pitboss grill the sensors do not go to unavailable.  Maybe adding something like expire after setting to each sensor?
Reproduction steps

Power on grill, with temp probe connected.
unplug grill
Sensors still at last values for grill even though not powered on and meat probe

Debug logs
I will pull if needed, think the issue is pretty self explanatory and reproducible

Diagnostics dump
No response

I just cut a 2024.5.0 release. Give that a try and let me know if it doesn't work. I probably won't have time to test it out this weekend on my own grill.


Tests create a new "trees<PHONE_NUMBER>2345.csv" file in "~/Downloads"

Whenever I run npm run test, a new file "trees<PHONE_NUMBER>2345.csv" is created in my downloads folder. I guess it('has the correct filename') test in data-template.spec.js is the culprit.

I actually noticed something along these lines while working on #671. When I run tests using Vitest on my local branch, a CSV file ends up being created in the repo (I'm pretty sure the same one). I didn't realize it had an effect even today under Karma. I fixed the issue in my local branch, I think by calling event.preventDefault() in the test. I'll go ahead and pull out that change into its own PR, since we can see that it's an issue even today.


Feature request: Attachments upload

Found some endpoints in the API documents indicating that this is possible. would love to see this in action with this module.
There's a lot of use cases when I have to create a table as a part of a report, but this is not displayed nicely in a ticket.

Attachment support added from version <IP_ADDRESS>. Out today.


Fix duplicate headers causing invalid requests

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 not work as expected)

Checklist:

[x] The code follows the code style and conventions of this project.
[ ] The change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

Description of the change
Fix for: https://github.com/Azure/azure-iot-pcs-remote-monitoring-dotnet/issues/12
In some situations the proxy is sending the Content-Type header with a wrong value, e.g.
Content-Type: application/json, application/json

due to the way that ASP.NET HTTP client manages headers partially on the request and partially on the content.
The fix tracks the headers added to the content to avoid the duplication.

@dluc,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Is there a plan to support NPU?

Snapdragon X Elite and Core Ultra have NPUs built-in. However, it seems that the capabilities of the NPU can only be utilized with software that supports it. Does LM Studio have any plans to support these NPUs?
With the new Copilot+PC standard computers, the GPU is integrated into the CPU, and the VRAM shares memory with the main RAM. As a result, the graphics capability is a concern compared to laptops with NVIDIA GPUs. Therefore, even though these computers are touted as AI-ready, some use NPUs instead of GPUs. It would be very helpful if LM Studio could also support NPUs.

same question

希望可以支持Snapdragon X Elite的NPU

Bump. What's the plan to support Snapdragon's X Elite NPU in the Technical Preview?

Pumping :-)
An outlook would be great.

Up

Hello, any update on this ?

From what I read, we basically have to wait until NPU support is added to llamacpp since it's what lmstudio uses for inference.
Here is a related issue: https://github.com/ggerganov/llama.cpp/issues/9181

Any update on the NPU?

when will this be released? https://www.tiktok.com/@shanselman/video/7439403306352528671

bump

up

daily bump.

I also would love it


Add possibility to translate 'available'

#1. Add possibility to translate 'available' on artworks selection dialog.

Hey, thanks for this. I've taken a deeper look and found several more items to translate, so I'll pack this up into a bigger change for the next version.


jQuery version range in bower.json is too broad, allows incompatible jQuery 3.0

bootstrap modals don't work with jQuery 3.0:  https://github.com/twbs/bootstrap/issues/16834
I found this to be the case.
I am installing bootstrap with bower and it depends on jQuery.  bootstrap-sass goes and gets version 3.0 of jQuery and then the modal won't work.
This is direct from bootstrap-sass:  https://github.com/twbs/bootstrap-sass/blob/3.3-stable/bower.json
"dependencies": {
"jquery": ">= 1.9.0"
},
"version": "3.3.6"
So, I think it would help if the version on the dependency was changed.
In the meantime, I did this:
bower uninstall jquery
bower install jquery#2.2.4
I had to confirm the uninstall.  I don't know what the best version of jQuery to use is.  2.2.4 let my modal work.

Thank you for the response.  I agree that this bower file would fix it:  [https://github.com/twbs/bootstrap/blob/7c86bc9664ddc3a1965fe91d7a0db97eb9348448/bower.json#L32]
If I go at this from a bower install perspective, what version of bootstrap do I need?
My current bower.json shows this:
"bootstrap-sass-official": "^3.2.0",
If I wanted to fix it to get the right bower_components/bootstrap-sass-official/bower.json, what should I change that line to??

@bessieatrazoyo I guess you can add another line with "jquery": "2.2.4", to force an upper version limit on jquery. That's what I did and it worked for me. The hardest thing will be to remember why you've added a jquery-dep to your project next time you visit bower.json.
Is this fix scheduled for release anytime soon?

So this has been fixed in the bower.json file, but hasn't be released.
This breaks any new/current builds. Can we get a new release please?

Any update on this? Is there any new release planned?

I use Codekit and I don't know how to degrade jQuery to previous version.

@philipenelson, @skinofstars: A simple quickfix would be to reference the git-version in bower.json, like this:
 "dependencies": {
    "bootstrap-sass": "git@github.com:embats/bootstrap-sass.git"
  }

Any update on this? Is there any new release planned?

Yes, upstream should release on Monday: https://github.com/twbs/bootstrap/milestone/34
bootstrap-sass should release same-day or soon after.


Added support for ON DUPLICATE KEY UPDATE for mysql

Hi,
I have added support for 'ON DUPLICATE KEY UPDATE' clause for insert in mysql. For other dialects, it has been handled. It can be used while making query as follows:
var query = table.insert({
name: "pro1",
full_name: "provider1",
product_id: 5400
}).onDuplicateKeyUpdate({
is_enabled: 1,
product_id: 5401
});
As of now, this clause can only accept assignment operation (like product_id = 5401) and no arithmetic operation (like product_id = product_id + 1).
Due to some text editor formatting changes, the diff is huge. I am very sorry for that. I should have kept that in mind. Please verify the changes and let me know your feedback.

Hi @chaitanyagpt21 - Thanks for taking the time to put this together.  Another person had an earlier PR bringing in the same functionality, which I just merged.  I'm gonna close this since its a duplicate effort, but the effort is appreciated!  https://github.com/brianc/node-sql/pull/230


LINK : fatal error LNK1181: cannot open input file 'release\QtnCoreUnity.obj'

LINK : fatal error LNK1181: cannot open input file 'release\QtnCoreUnity.obj'
jom: C:\Users\User\Documents\Visual Studio 2015\Projects\build-Property-Desktop_Qt_5_8_0_MSVC2015_64bit-Release\Core\Makefile.Release [C:\Users\User\Documents\Visual Studio 2015\Projects\QtnProperty\bin-win\QtnPropertyCore.lib] Error 1181
jom: C:\Users\User\Documents\Visual Studio 2015\Projects\build-Property-Desktop_Qt_5_8_0_MSVC2015_64bit-Release\Core\Makefile [release] Error 2
jom: C:\Users\User\Documents\Visual Studio 2015\Projects\build-Property-Desktop_Qt_5_8_0_MSVC2015_64bit-Release\Makefile [sub-Core-make_first] Error 2
17:30:25: The process "C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project Property (kit: Desktop Qt 5.8.0 MSVC2015_64bit)
When executing step "Make"
17:30:25: Elapsed time: 00:36.

Hey guys, seems like a great project and would like to use it in mine, but I'm getting this error while trying to compile it.
I'm on Windows 10 64bit, Qt 5.8 with msvc2015_64 also tried on Qt5.8.0-mingw-5-3.
I tried compiling through the Qt Creator and also with cmake. Nmake commands also didn't help.
Does Qt 5.8 works with this one? or the libraries here needs to be updated?

I will look into it.
At the first glance "unity build" doesn't work for some reason.
You can try disable unity building by removing line
CONFIG += qtn_unity_build
from Core.pro file.

@lexxmark Thanks for the tip, but that didn't do the trick unfortunately.
I tried on release and debug mode and also clean -> run qmake -> build all.
Still getting same logs  but for PropertyBase.obj:
12:05:38: Starting: "C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe"
	cd Core\ && ( if not exist Makefile C:\Qt\Qt5.8.0\5.8\msvc2015_64\bin\qmake.exe -o Makefile "C:\Users\User\Documents\Visual Studio 2015\Projects\QtnProperty\Core\Core.pro" -spec win32-msvc2015 ) && C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile
	C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe -f Makefile.Release
	lib /NOLOGO  /OUT:"C:\Users\User\Documents\Visual Studio 2015\Projects\QtnProperty\bin-win\QtnPropertyCore.lib" @C:\Users\User\AppData\Local\Temp\QtnPropertyCore.lib.10404.375.jom
LINK : fatal error LNK1181: cannot open input file 'release\PropertyBase.obj'
jom: C:\Users\User\Documents\Visual Studio 2015\Projects\build-Property-Desktop_Qt_5_8_0_MSVC2015_64bit-Release\Core\Makefile.Release [C:\Users\User\Documents\Visual Studio 2015\Projects\QtnProperty\bin-win\QtnPropertyCore.lib] Error 1181
jom: C:\Users\User\Documents\Visual Studio 2015\Projects\build-Property-Desktop_Qt_5_8_0_MSVC2015_64bit-Release\Core\Makefile [release] Error 2
jom: C:\Users\User\Documents\Visual Studio 2015\Projects\build-Property-Desktop_Qt_5_8_0_MSVC2015_64bit-Release\Makefile [sub-Core-make_first] Error 2
12:05:39: The process "C:\Qt\Qt5.8.0\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project Property (kit: Desktop Qt 5.8.0 MSVC2015_64bit)
When executing step "Make"

I'm trying to to reproduce your problem. But it's OK so far.
According to error:

LINK : fatal error LNK1181: cannot open input file 'release\PropertyBase.obj'

It seems like build system looking for object files in a wrong place.
Could you check where object files are placed and where they are searched during linking?

I've reproduced the problem. Seems to be specific on Qt 5.8 only.
Trying to fix...

The problem I faced was related to old QtnProperty code,
after sync with master the problem disappeared.
Please sent full logs of project compilation.


error on puts response

Expected Behavior
puts row[0] and row[4]
Actual Behavior
NoMethodError (undefined method `each_value' for #Google::Apis::SheetsV4::ValueRange:0x00007ff91294f008)
Steps to Reproduce the Problem

Run the sample file
see the error on console

Specifications

Ruby version (ruby -v)
2.5.1p57
OS (Mac/Linux/Windows)
mac 10.13.16

Change the line
response.each_value do |row|
to
response.values.each do |row|


Listview.separated fails when reverse: true

Steps to Reproduce

Use ListView.separated widget and fill up a list with items so that the listview needs to be scrolled. (Set reverse: true)
Scroll down trough the list view fast

Expected results:
Scroll should stop at the end of the list with the behaviour configured through the physics.
Actual results:
Exception thrown in the console
flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
flutter: The following assertion was thrown during performLayout():
flutter: 'package:flutter/src/rendering/sliver.dart': Failed assertion: line 556 pos 15:
flutter: 'scrollOffsetCorrection != 0.0': is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter:   https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter: The relevant error-causing widget was:
flutter:   ListView
flutter:
lib/…/chat/chat_history.dart:116
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2      new SliverGeometry
package:flutter/…/rendering/sliver.dart:556
flutter: #3      RenderSliverList.performLayout
package:flutter/…/rendering/sliver_list.dart:180
flutter: #4      RenderObject.layout
package:flutter/…/rendering/object.dart:1769
flutter: #5      RenderSliverEdgeInsetsPadding.performLayout
package:flutter/…/rendering/sliver_padding.dart:137
flutter: #6      RenderSliverPadding.performLayout
package:flutter/…/rendering/sliver_padding.dart:377
flutter: #7      RenderObject.layout
package:flutter/…/rendering/object.dart:1769
flutter: #8      RenderViewportBase.layoutChildSequence

Flutter (Channel stable, 1.20.1, on Mac OS X 10.15.6 19G73, locale en-CH)
    • Flutter version 1.20.1
    • Framework revision 2ae34518b8 (33 hours ago), 2020-08-05 19:53:19 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0

Hi @...
Can you please provide a minimal complete reproducible code sample.
Thank you

Could already be resolved, see: #62198

Ok i will check it when 1.21 is released.

Hi @dominikheeb
Closing since this was fixed in https://github.com/flutter/flutter/pull/62615 and is being reviewed for a cherrypick to 1.20. Please follow up on https://github.com/flutter/flutter/issues/62198 for updates on this.

upgrade to 1.20.2 solved the issue... thx for the cherry pick


cmd/compile: passing method on value receiver causes memory corruption

Using go1.7.4, but seems to have been present since go1.3
Consider the following code:
type X struct {
	A, B []byte
}

func (x X) Print() {
	fmt.Printf("%p %p\n", x.A, x.B)
}

func caller(f func()) {
	f()
}

func main() {
	caller(X{A: []byte{}}.Print)
}

Currently this prints:
0x516cf0 0xc420064000

I expect this to print:
0x516cf0 0x0

The Print method is declared on a value receiver. In the main function we define a struct literal of type X and explicitly set the A field to be some value, but we expect the B field to be implicitly be zeroed out. The Print method of that struct literal is passed to another function as a callback.
When the callback is called, it shows that the B field is not zeroed and contains a pointer to some arbitrary piece of memory.
\cc @randall77 @dr2chase @paranoiacblack

Marking as Go1.8maybe for now since this seems significant (discovered in production code). Feel free to mark as Go1.9.

I don't think we can fix this at this stage of Go1.8. Also, it's not a regression (looks like the bug was there in 1.4). Finally, there's a work-around (provide an explicit closure):
package main

import (
	"fmt"
)

type X struct {
	A, B *int
}

func (t X) Print() {
	fmt.Printf("%p %p\n", t.A, t.B)
}

func caller(f func()) {
	f()
}

func main() {
	caller(X{A: nil}.Print)
	caller(func() { X{A: nil}.Print() })
}

Hold up a second, on the playground running go1.7.4, the program prints out the right output that @dsnet expects ie https://play.golang.org/p/X6YL_-v-TB therefore I wonder what's really different, perhaps an OS thing?

but in deed it fails on tip

@odeke-em That might have more to do with stack layout and the NaCl calling convention.

This seems like a pretty bad security issue.
the B slice is picking up garbage on the stack frame, so
it might actually gives the method a way to read/write
arbitrary memory locations, and it might also cause
GC/stack copy to crash on invalid pointers.
For example, I added a Printf of len(t.B) and cap(t.B),
and both values on my systems are: 0xc4200001a0.

@minux When I was playing with this earlier, it's looked like stack allocated objects aren't cleared, but heap allocated ones were.

This can be used to overwrite the stack and control the return address:
Code here: https://play.golang.org/p/V37IeKl5pN
<dgryski@kamek[18410] \ʕ◔ϖ◔ʔ/ > gdb ./18410
GNU gdb (Ubuntu <IP_ADDRESS>61005-0ubuntu1) <IP_ADDRESS>61005-git
Copyright (C) 2016 Free Software Foundation, Inc.
...
Reading symbols from ./18410...done.
(gdb) r
Starting program: /home/dgryski/Dropbox/GITS/gocode/src/github.com/dgryski/18410/18410
[New LWP 7931]
[New LWP 7932]
[New LWP 7933]
[New LWP 7934]
842350461344<PHONE_NUMBER>44

Thread 1 "18410" received signal SIGSEGV, Segmentation fault.
runtime.memmove () at /home/dgryski/work/src/cvs/go/src/runtime/memmove_amd64.s:147
147		RET
(gdb) bt 10
#0  runtime.memmove () at /home/dgryski/work/src/cvs/go/src/runtime/memmove_amd64.s:147
#1  0x4141414141414141 in ?? ()
#2  0x4141414141414141 in ?? ()
#3  0x4141414141414141 in ?? ()
#4  0x4141414141414141 in ?? ()
#5  0x4141414141414141 in ?? ()
#6  0x4141414141414141 in ?? ()
#7  0x4141414141414141 in ?? ()
#8  0x4141414141414141 in ?? ()
#9  0x4141414141414141 in ?? ()
(More stack frames follow...)

Playground output:
272801680 272630000
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0xffffffff addr=0x0 pc=0x8c3ac]

goroutine 1 [running]:
panic(0x9b700, 0x1040a038)
	/usr/local/go/src/runtime/panic.go:500 +0x720
main.(X).(main.setB)-fm(0x10440000, 0x40000, 0x40000, 0x0)
	/tmp/sandbox133984929/main.go:21 +0x1a0
main.caller(0x10429f6c, 0x104000f0)
	/tmp/sandbox133984929/main.go:17 +0xc0
main.main()
	/tmp/sandbox133984929/main.go:21 +0xa0

Program exited.

It will be a fun exercise to use this vulnerability to do a ROP demo
on the playground.
Now I hope this hole is not closed too fast as I haven't had time
to play with this idea yet.....
(Note: I don't thinking such an "attack" will affect the real security
of the playground.)

No, but it probably affects appengine which is still on 1.6.3.

Problem has (something) to do with treatment of STRUCTLIT under a CALLPART, vs under AS to a target.
.   CALLFUNC-list
.   .   CALLPART l(25) esc(no) tc(1) main.X.Print FUNC-func()
.   .   .   STRUCTLIT l(25) tc(1) main.X
.   .   .   .   TYPE main.X u(1) a(true) l(7) x(0) class(PEXTERN) tc(1) type=main.X main.X main.X
.   .   .   STRUCTLIT-list
.   .   .   .   STRUCTKEY l(25) x(0) main.A
.   .   .   .   .      NAME-main.i u(2) a(true) g(1) l(22) x(0) class(PAUTOHEAP) f(1) esc(h) tc(1) addrtaken used(true) int

.   .   .   .   STRUCTKEY l(25) x(16) main.C
.   .   .   .   .      NAME-main.j u(2) a(true) g(2) l(22) x(0) class(PAUTOHEAP) f(1) esc(h) tc(1) addrtaken used(true) int
.   .   .   NAME-main.Print u(1) a(true) l(25) x(0)


TimePromptConfig - change minute interval for Android

Hi,
I have created a custom timepicker renderer for Android that changes the minute interval to 15 mins, however, doesn't know how to assign TimePromptConfig to use this custom timepicker.
Any suggestion?
Thank you.
Regards,
Susy

This project has nothing to do with Xamarin forms so a custom renderer isn’t going to do anything to the timeconfig here


Blogpost extend datacenter summit 2019

Signed-off-by: Pedro Ibáñez<EMAIL_ADDRESS>Blogpost containing info about the 2019 RH summit talk about extending the data centre to the hybrid edge.

/cc @dhellmann
/cc @russellb


brokerForLeader - choosing first broker as leader bug

Questions?

Check the Troubleshooting / FAQ ?
Search the issues ?

Bug Report
Environment

Node version: 10.5.0
Kafka-node version: 4.1.1
Kafka version: 2.1.1cp1

For specific cases also provide

Number of Brokers: 3
Number partitions for topic: 1

Include Sample Code to reproduce behavior
brokerForLeader not checked broker.isConnected()

running three brokers (kafka-host:9092/ kafka-host:9093/ kafka-host:9094)
second broker leader / first broker, third broker follow
second broker shutdown -> (changed broker leader) -> third broker
third broker shutdown -> (changed broker leader) -> first broker
restart second broker & third broker
first broker shutdown -> (changed broker leader) -> (retry first broker connect)  -> occur error

=====(shutdown first broker)=====

kafka-node-client socket closed kafka-host:9092 (hadError: false)
kafka-node-client schedule refreshBrokerMetadata()
kafka-node-client refreshBrokerMetadata()
Trying to connect to host: kafka-host port: 9094
kafka-node-client createBroker kafka-host:9094
kafka-node-client sending versions request to kafka-host:9094
broker socket connected {"nodeId":3,"host":"kafka-host","port":9094}
waitUntilReady [BrokerWrapper kafka-host:9094 (connected: true) (ready: false) (idle: false) (needAuthentication: false) (authenticated: false)]
Received versions response from kafka-host:9094
setting api support to {"21":{"min":0,"max":1,"usable":false},"22":{"min":0,"max":1,"usable":false},"23":{"min":0,"max":2,"usable":false},"24":{"min":0,"max":1,"usable":false},"25":{"min":0,"max":1,"usable":false},"26":{"min":0,"max":1,"usable":false},"27":{"min":0,"max":0,"usable":false},"28":{"min":0,"max":2,"usable":false},"29":{"min":0,"max":1,"usable":false},"30":{"min":0,"max":1,"usable":false},"31":{"min":0,"max":1,"usable":false},"33":{"min":0,"max":1,"usable":false},"34":{"min":0,"max":1,"usable":false},"35":{"min":0,"max":1,"usable":false},"37":{"min":0,"max":1,"usable":false},"38":{"min":0,"max":1,"usable":false},"39":{"min":0,"max":1,"usable":false},"40":{"min":0,"max":1,"usable":false},"41":{"min":0,"max":1,"usable":false},"42":{"min":0,"max":1,"usable":false},"produce":{"min":0,"max":7,"usable":2},"fetch":{"min":0,"max":10,"usable":2},"offset":{"min":0,"max":4,"usable":0},"metadata":{"min":0,"max":7,"usable":1},"leader":{"min":0,"max":1,"usable":false},"stopReplica":{"min":0,"max":0,"usable":false},"updateMetadata":{"min":0,"max":4,"usable":false},"controlledShutdown":{"min":0,"max":1,"usable":false},"offsetCommit":{"min":0,"max":6,"usable":2},"offsetFetch":{"min":0,"max":5,"usable":1},"groupCoordinator":{"min":0,"max":2,"usable":0},"joinGroup":{"min":0,"max":3,"usable":0},"heartbeat":{"min":0,"max":2,"usable":0},"leaveGroup":{"min":0,"max":2,"usable":0},"syncGroup":{"min":0,"max":2,"usable":0},"describeGroups":{"min":0,"max":2,"usable":0},"listGroups":{"min":0,"max":2,"usable":0},"saslHandshake":{"min":0,"max":1,"usable":1},"apiVersions":{"min":0,"max":2,"usable":0},"createTopics":{"min":0,"max":3,"usable":1},"deleteTopics":{"min":0,"max":3,"usable":false},"describeConfigs":{"min":0,"max":2,"usable":0},"saslAuthenticate":{"min":0,"max":0,"usable":0}}
broker is now ready
kafka-node-client updated internal metadata
refresh metadata currentAttempt 1
refresh metadata currentAttempt 2
compressing messages if needed
kafka-node-client createBroker kafka-host:9093
missing apiSupport waiting until broker is ready...
waitUntilReady [BrokerWrapper kafka-host:9093 (connected: true) (ready: false) (idle: false) (needAuthentication: false) (authenticated: false)]
refresh metadata currentAttempt 3
kafka-node-client sending versions request to kafka-host:9093
Received versions response from kafka-host:9093
setting api support to {"21":{"min":0,"max":1,"usable":false},"22":{"min":0,"max":1,"usable":false},"23":{"min":0,"max":2,"usable":false},"24":{"min":0,"max":1,"usable":false},"25":{"min":0,"max":1,"usable":false},"26":{"min":0,"max":1,"usable":false},"27":{"min":0,"max":0,"usable":false},"28":{"min":0,"max":2,"usable":false},"29":{"min":0,"max":1,"usable":false},"30":{"min":0,"max":1,"usable":false},"31":{"min":0,"max":1,"usable":false},"33":{"min":0,"max":1,"usable":false},"34":{"min":0,"max":1,"usable":false},"35":{"min":0,"max":1,"usable":false},"37":{"min":0,"max":1,"usable":false},"38":{"min":0,"max":1,"usable":false},"39":{"min":0,"max":1,"usable":false},"40":{"min":0,"max":1,"usable":false},"41":{"min":0,"max":1,"usable":false},"42":{"min":0,"max":1,"usable":false},"produce":{"min":0,"max":7,"usable":2},"fetch":{"min":0,"max":10,"usable":2},"offset":{"min":0,"max":4,"usable":0},"metadata":{"min":0,"max":7,"usable":1},"leader":{"min":0,"max":1,"usable":false},"stopReplica":{"min":0,"max":0,"usable":false},"updateMetadata":{"min":0,"max":4,"usable":false},"controlledShutdown":{"min":0,"max":1,"usable":false},"offsetCommit":{"min":0,"max":6,"usable":2},"offsetFetch":{"min":0,"max":5,"usable":1},"groupCoordinator":{"min":0,"max":2,"usable":0},"joinGroup":{"min":0,"max":3,"usable":0},"heartbeat":{"min":0,"max":2,"usable":0},"leaveGroup":{"min":0,"max":2,"usable":0},"syncGroup":{"min":0,"max":2,"usable":0},"describeGroups":{"min":0,"max":2,"usable":0},"listGroups":{"min":0,"max":2,"usable":0},"saslHandshake":{"min":0,"max":1,"usable":1},"apiVersions":{"min":0,"max":2,"usable":0},"createTopics":{"min":0,"max":3,"usable":1},"deleteTopics":{"min":0,"max":3,"usable":false},"describeConfigs":{"min":0,"max":2,"usable":0},"saslAuthenticate":{"min":0,"max":0,"usable":0}}
broker is now ready
kafka-node-client is not reconnecting to kafka-host:9092 invalid broker
refresh metadata currentAttempt 4
compressing messages if needed
refresh metadata currentAttempt 5
compressing messages if needed
refresh metadata currentAttempt 6
compressing messages if needed
refresh metadata currentAttempt 7
compressing messages if needed
refresh metadata currentAttempt 8
compressing messages if needed
refresh metadata currentAttempt 9
compressing messages if needed
refresh metadata currentAttempt 10
compressing messages if needed
refresh metadata currentAttempt 11
refresh metadata error Broker not available (loadMetadataForTopics)

events.js:167
      throw er; // Unhandled 'error' event
      ^
BrokerNotAvailableError: Broker not available (loadMetadataForTopics)
    at new BrokerNotAvailableError (/Users/shcho/git/kafka-node/lib/errors/BrokerNotAvailableError.js:11:9)
    at KafkaClient.loadMetadataForTopics (/Users/shcho/git/kafka-node/lib/kafkaClient.js:892:21)
    at RetryOperation._fn (/Users/shcho/git/kafka-node/lib/baseClient.js:360:12)
    at Timeout._onTimeout (/Users/shcho/git/kafka-node/node_modules/retry/lib/retry_operation.js:68:10)
    at ontimeout (timers.js:427:11)
    at tryOnTimeout (timers.js:289:5)
    at listOnTimeout (timers.js:252:5)
    at Timer.processTimers (timers.js:212:10)
Emitted 'error' event at:
    at /Users/shcho/git/kafka-node/lib/baseProducer.js:96:14
    at /Users/shcho/git/kafka-node/lib/baseClient.js:370:18
    at KafkaClient.loadMetadataForTopics (/Users/shcho/git/kafka-node/lib/kafkaClient.js:892:12)
    at RetryOperation._fn (/Users/shcho/git/kafka-node/lib/baseClient.js:360:12)
    [... lines matching original stack trace ...]
    at Timer.processTimers (timers.js:212:10)

Include output with Debug turned on
Thanks for your contribution!

@hyperlink
What is your opinion on this issue?

I misunderstood the code


Request: example prometheus k8s configs

Any chance of sharing example k8s configs for Prometheus?
I'm running into an issue that our prometheus series that we want to use for custom metrics don't seem to have the "namespace" / "pod" labels which are assumed by the examples / walkthroughs, and not sure what we need to change about our prometheus setup in order to get those labels working correctly. (They do have "instance" and "job" labels, but that's it. Not sure how to associate those instance / job labels with k8s resources)
I do see those "namespace" / "pod" labels on the discovered targets (in the "discoveredLabels" field of the /api/v1/targets response from prometheus server), but not the individual series.
Are there some metric_relabel_configs we need to set up in our prometheus server configuration in order to get these pod / namespace labels working properly?

Nevermind, I added
      - action: labelmap
        regex: __meta_kubernetes_(namespace|pod_name)

to my prometheus config, and the namespace and pod_name are now appearing in metric labels.


Update guidance to reflect Template Specs and Deployment Stacks

This page has the same demonstration concerns as outlined in issue #1270

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

ID: 194842ab-a899-bcaf-d22f-cef100d934f0
Version Independent ID: 5e0941f7-d651-d08f-65f6-9c8f6d5df4c1
Content: Deploy a CAF Foundation blueprint in Azure - Cloud Adoption Framework
Content Source: docs/ready/landing-zone/foundation-blueprint.md
Service: caf
Sub-service: caf-alz
GitHub Login: @martinekuan
Microsoft Alias: martinek

#please-close


Validation fails for messaging extensions that initate actions

We are having trouble loading our manifest using App Studio, as well as submitting it to the store due to manifest validation errors. Our manifest is for a messaging extension that initiates actions, as documented in https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/messaging-extensions/create-extensions. Despite validation failing, we can side-load the manifest directly into Teams, and it works perfectly, so we think this might be a problem with the validaton parser not accepting these new fields. Could you please advise?
Here is a capture of the error message we get on validation:
.
...and we're sent to "Learn more" in https://docs.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema which indeed does not support the mentioned properties "type", "inputType" and "fetchTask".

We haven't yet formally updated the manifest version, so you have to link to the devPreview version.
Change the value of $schema in your manifest.json file to https://raw.githubusercontent.com/OfficeDev/microsoft-teams-app-schema/preview/DevPreview/MicrosoftTeams.schema.json and it will work.

Will that allow us to submit the add-on to the store?

Yes, if you use the developer preview manifest you should still be able to submit to the store.

@clearab I don't think that's correct. When I upload the manifest to the seller dashboard, I get the same message about a schema error. I guess we'll have to wait a bit...

Yes, if you use the developer preview manifest you should still be able to submit to the store.

Yes, if you use the developer preview manifest you should still be able to submit to the store.

@clearab  I don't think that's right... I updated the manifest schema and I'm getting the same error message. Can I assume the store is validating against their own predefined schema and not the one provided in the manifest?

We haven't yet formally updated the manifest version, so you have to link to the devPreview version.
Change the value of $schema in your manifest.json file to https://raw.githubusercontent.com/OfficeDev/microsoft-teams-app-schema/preview/DevPreview/MicrosoftTeams.schema.json and it will work.

This doesn't work. Still getting the same errors. I'm unable to even sideload the app. Something I was able to do before.

Yes, if you use the developer preview manifest you should still be able to submit to the store.

I'm getting this error when I submit to the store with manifestVersion as devPreview.

@clearab @Wajeed-msft


bug(mat-tab-group): loosing focus if selected tab is disabled

Is this a regression?

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

The previous version in which this bug was not present was
No response
Description
In mat-tab-group, if selected index is set to disabled mat-tab, then the mat-tab-group is completely loosing the focus.
There is no way to select another tab via keyboard.
Reproduction
Steps to reproduce:

Visit https://stackblitz.com/edit/angular-36rzue?file=src/app/tab-group-basic-example.html
Click on button ABC
Now press tab and check if focus is moving inside mat-tab-group

Expected Behavior
Focus should move to different/nearest enabled tab of mat-tab-group
Actual Behavior
Focus is not moving to different/nearest enabled tab of mat-tab-group
Environment

Angular: ~14.0.0
CDK/Material: 14.1.0
Browser(s): Chrome/Edge
Operating System (e.g. Windows, macOS, Ubuntu): Windows

I believe this is working as intended.  Having [selectedIndex] set to a disabled tab is an invalid state.
In the provided stackblitz, the selectedIndex is set to 1 and the tab at index 1 is disabled.
<mat-tab-group [selectedIndex]="1">
  <mat-tab label="First"> Content 1 </mat-tab>
  <mat-tab label="Second" disabled> Content 2 </mat-tab>
  <mat-tab label="Third"> Content 3 </mat-tab>
</mat-tab-group>

The fix is for the developer to reassign selectedIndex if the tab it points to becomes disabled.


brew cask list command not work

General troubleshooting steps

[x] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[x] None of the templates was appropriate for my issue, or I’m not sure.

[x] I ran brew update-reset && brew update and retried my command.
[x] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
As follow
brew cask list
Error: Cask 'flash' is unavailable: No Cask with this name exists.

Output of your command with --verbose --debug
brew cask list --verbose --debug
Error: Cask 'flash' is unavailable: No Cask with this name exists.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:115:in `load'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:132:in `load'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:41:in `block in installed'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:31:in `map'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:31:in `installed'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:40:in `list_installed'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:13:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'

Output of brew cask doctor
brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.2.4
caskroom/homebrew-cask (git revision 982e0a; last commit 2017-07-11)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (3 files, 122.4MB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3652 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Gems/2.0.0/gems/json-1.8.3/lib
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Environment Variables
LANG="zh_CN.UTF-8"
LC_CTYPE="zh_CN.UTF-8"
PATH="~/env27/bin:~/.rvm/gems/ruby-2.3.0/bin:~/.rvm/gems/ruby-2.3.0@global/bin:~/.rvm/rubies/ruby-2.3.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/.rvm/bin:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services/cmd:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/zsh"

Does the folder /usr/local/Caskroom/flash exist? If so, delete it and try running the command again.

Closing due to lack of reply.

I ran into a similar issue with the java7 cask. I also ran through the general troubleshooting list to see if that would resolve the issue, but it did not. The issue arose immediately after I removed java7 via:
brew cask uninstall java7
Warning: Calling "cask :v1 => 'token'" is deprecated!
Use "cask 'token'" instead.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:11:in 'load'

Warning: Calling Hbc::DSL#license is deprecated!
There is no replacement.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:20:in 'block in load'

Warning: Calling "cask :v1 => 'token'" is deprecated!
Use "cask 'token'" instead.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:11:in 'load'

Warning: Calling Hbc::DSL#license is deprecated!
There is no replacement.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:20:in 'block in load'

==> Uninstalling Cask java7
==> Running uninstall process for java7; your password may be necessary
==> Uninstalling packages:
==> Removing files:
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
Password:

Afterwards, if I ran brew cask list, I ran into the following error:
brew cask list
Error: Cask 'java7' is unavailable: No Cask with this name exists.

The output of the preceding command with --verbose and --debug added:
brew cask list --verbose --debug
Error: Cask 'java7' is unavailable: No Cask with this name exists.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:146:in 'load'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:163:in 'load'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:41:in 'block in installed'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:31:in 'map'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/scopes.rb:31:in 'installed'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:39:in 'list_installed'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:13:in 'run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in 'run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:97:in 'run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:167:in 'run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:131:in 'run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in 'cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in '<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:172:in 'exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:172:in 'rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:155:in 'run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:131:in 'run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in 'cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in '<main>'

The output of brew cask doctor was as follows:
brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.3.2-56-gef60688
caskroom/homebrew-cask (git revision 1b4b2; last commit 2017-09-13)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3731 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (166 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Environment Variables
LANG="en_US.UTF-8"
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/bash"'

The workaround posted by @miccal of removing the caskroom folder resolved the issue. Specifically, in this case:
rm -R /usr/local/Caskroom/java7

I am also trying to install java 7. But always got the error:
Error: Cask 'java7' is unavailable: No Cask with this name exists.
brew cask list --verbose --debug
returned nothing.
Tried brew tap caskroom/versions
==> Tapping caskroom/versions
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions'...
remote: Counting objects: 196, done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 196 (delta 18), reused 49 (delta 10), pack-reused 0
Receiving objects: 100% (196/196), 80.95 KiB | 0 bytes/s, done.
Resolving deltas: 100% (18/18), done.
Tapped 0 formulae (214 files, 310.5KB)
But it seems like it tapped 0 formulae.
brew cask doctor gives me:
==> Homebrew-Cask Version
Homebrew-Cask 1.3.8-2-g9e93720
caskroom/homebrew-cask (git revision 52af; last commit 2017-11-21)
==> Homebrew-Cask Install Location

==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3830 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (175 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby/2.3.0/universal-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/site_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/vendor_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/universal-darwin9.0
==> Environment Variables
LANG="en_US.UTF-8"
PATH="~/GCP/appengine-java-sdk-1.9.57/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin:~/GCP/google-cloud-sdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/munki:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/bash"
My /usr/local/Caskroom folder is empty as well.
It seems like the cask tap is not working as expected? How should I fix this.

@guruimage https://github.com/caskroom/homebrew-versions/pull/3914


mobile: Part 3 Update JNI usages with JniHelper

This updates the following methods:

SetObjectArrayElement
SetByteArrayRegion

This PR also adds missing Set<Primitive>ArrayRegion methods into JniHelper.
Risk Level: low (refactoring)
Testing: unit and integration tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: mobile

/assign @abeyad @RyanTheOptimist


Add GPU support using NVIDIA cuML

Summary

Add gpu_hdbscan and gpu_umap parameters to allow users to specify whether they want to use GPU (uses NVIDIA cuML)
update fit and predict methods to support GPU
change default HDBSCAN distance metric to hamming (jaccard needs sparse input)
added static helper methods to fit umap / hdbscan on appropriate device

@momonga-ml right now separate parameters are used to specify whether the user wants to use gpu for umap and hdbscan - idea was that a user may want to keep single-threaded cpu umap for maximum reproducibility and gpu hdbscsan. let me know what you think, we could alternatively consolidate into one "use_gpu" param that will apply to both umap and hdbscan.


Support building a single component

spin doctor is set up to build only the component that the user asks it to fix, but the spin build side of that was not ready in time.  Now it is.
# Happy path
ivan@hecate:~/testing/kvmadness$ spin build -c kvmadness
Executing the build command for component kvmadness: cargo build --target wasm32-wasi --release
    Finished release [optimized] target(s) in 0.03s
Successfully ran the build command for component 'kvmadness'.

# No-op path
ivan@hecate:~/testing/kvmadness$ spin build -c moarmadness
Component 'moarmadness' does not have a build command.
For information on specifying a build command, see https://developer.fermyon.com/spin/build#setting-up-for-spin-build.

# Sad path
$ spin build -c moarmadness2
Error: There is no component 'moarmadness2' in the manifest.

Ah yes, I purposefully left this unimplemented to....drive developer engagement?

Updated to allow multiple use, resulting in a slight change to some cases:
ivan@hecate:~/testing/kvmadness$ spin build -c moarmadness
None of the components have a build command.
For information on specifying a build command, see https://developer.fermyon.com/spin/build#setting-up-for-spin-build.
ivan@hecate:~/testing/kvmadness$ spin build -c moarmadness -c fie
Error: Unknown component(s) fie
ivan@hecate:~/testing/kvmadness$ spin build -c moarmadness -c fie -c zounds
Error: Unknown component(s) fie, zounds


Costa Theatre is showing "1420 minute break"?

Closing, as the conference is now over, and I've done a lot of time-related fixes recently which should hopefully cover it.


MariaDB 10.11 repo url not valid

MariaDB 10.11 cannot be upgraded / reinstalled due to a broken link :
2023-08-28 15:32:49,519 - INFO - - Status code: 404 for http://mirror.mariadb.org/yum/10.11/centos8-amd64/repodata/repomd.xml (IP: <IP_ADDRESS>)  2023-08-28 15:32:49,522 - INFO - Error: Failed to download metadata for repo 'alma-mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
pre-upgrade repo file :
[root@abc123~]# cat /etc/yum.repos.d/mariadb.repo
# MariaDB 10.11 CentOS repository list - created Mon Jul  3 15:53:55 CEST 2023
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.11/centos7-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

The mariadb-repo doesn't seem to have a link to the specific subdirectory for 10.11 (10.10 and below does) :
http://mirror.mariadb.org/yum/10.11/centos8-amd64/repodata/repomd.xml
It should probably point to this :
http://mirror.mariadb.org/yum/10.11/centos/8/x86_64/repodata/repomd.xml
As fas as i understand the conversion happens here while called here
centos2alma_feedback.zip

Thank you for getting in touch with us.
You are correct; the CentOS 8 path is no longer relevant since MariaDB 10.11. Therefore, we should use the "rhel8-amd64" path or the "centos/8/x86_64" path mentioned earlier.

Moved to rhel8-* repositories from yum.mariadb.org. Related PR - #137


will there be a version 1.11.2 update

Thanks for reporting an issue to Teckle, an Elytra project!
When reporting an issue to an Elytra project, please make sure to include:

The version of the mod you are using (e.g. 2.0.0a4)
Your Minecraft version (e.g. 1.11.2)
Your Forge version (e.g. <IP_ADDRESS>2)
The crash report or log, uploaded to gist.github.com
(e.g. https://gist.github.com/unascribed/09ec875df0cc830df1116559f4adb333)

Do not say latest! Saying you are on the latest version of
something does not help us!
Never include crash reports in the issue body itself! They
are extremely long and it makes it difficult to read your issue.
Don't cherry pick parts of the log or crash report; send the
whole thing!
Avoid putting tags like [Bug] or [Feature Request] in your title;
that's what labels are for, and the maintainer will decide what
category your issue fits in.
Pastebin is acceptable for crash reports or logs, but Gist is
greatly preferred.
Please remove this help text after reading it and before posting
your issue. Thanks!

Will there be a update for versiuon 1.11.2, currently major mods like ic2 and buildcraft run well on this, and this mod workes great with them, moving large amounts of cargo, oil tanker etc

See #171.


Fix undefined error when theres no next breaking version

Jira: PATCHER-303
Add conditional to show release notes when there's a "next breaking version".

Thanks!


How do I configure redoc typography?

Hiya,
I've been chewing on this for a few days and can't find a good option, how do you pass theming options to Redoc?
IE: https://redoc.ly/docs/api-reference-docs/configuration/theming/
We'd like to change what the font is, and try to make the sidebar typography match Docusaurus' theme more, but I can't seem to get any of the attributes loaded when entering them through docusaurus.config.js.
Thanks!

That's because we currently override the theme options in the end with light/dark theme options here: https://github.com/rohit-gohri/redocusaurus/blob/main/packages/docusaurus-theme-redoc/src/redocTheme.ts
We could change the order, but if these improvements are not specific to your site's branding then I would encourage you to open a PR fixing the theme for everyone :D Will be happy to release a patch version.

v0.8.0 has a redocTheme option (https://github.com/rohit-gohri/redocusaurus/tree/main/packages/docusaurus-theme-redoc#redoctheme) to overwrite theme. You can configure typography through that, though I would still recommend anyone to open a PR and improve the style for everyone 🙂


missing members?

If I take the shader in this test
https://github.com/brendan-duncan/wgsl_reflect/blob/fa01764ba0b622bd979656ef84ea806202044795/test/tests/test_reflect.js#L51
Which is this
alias material_index = u32;
alias color = vec3f;
struct material {
    index: material_type,
    diffuse: color,
}
@group(0) @binding(1) var<storage> materials: array<material>;

Then I make a WgslReflect
 const reflect = new WgslReflect(code);

and I look at the result it looks good.

But then I call
 const info = reflect.getStructInfo(relect.structs[0);

and that's missing a member

actually it's just a typo in the shader


Show Modal to TouchableHighlight Focus Problem

Hi! Help me solve the problem with the modal window and the focus on TouchableHighlight, if you use all the gud outside the modal window, everything works as it should, but as soon as I put the buttons in Modal, there is a problem and the focus does not respond. What to do?

considering this closed. Feel free to reopen it if you still have this problem


Time alignment visualization

This PR adds a basic time alignment visualization similar to Neurosift. This can be toggled per-session on the Source Data page.

Hmm this is working just fine for me. What data are you using?

Still getting it; perhaps platform dependent?
It's just the standard tutorial

Ah sure. I'll give it a go on my PC


Purge are case sensitive

There is no reference on that doc that the path is case sensitive. If we are not respecting the case, the request succeeds but the content is not pre-loaded.
Can you please clarify this in the doc ?

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

ID: 78647b5d-18f1-f152-908b-b206a3f0b94a
Version Independent ID: c06049c9-91d0-3b0c-2053-57b2188944d0
Content: Pre-load assets on an Azure CDN endpoint
Content Source: articles/cdn/cdn-preload-endpoint.md
Service: cdn
GitHub Login: @mdgattuso
Microsoft Alias: magattus

@MScarno , Thank you for your feedback. I will take a look and get back to you.

@MScarno , The request succeeds because, your origin is not case sensitive and you get a response back. But CDN will not cache it as it looks those request as separate ones.
Let me know if you have any questions.

@MScarno , Let me know if you have any further questions. I will close this issue now, please reopen if you have an questions


2.5-beta1: passthrough port component

Environment

Python version:  unknown
NetBox version: 2.5-beta1

Steps to Reproduce
The changelog of the 2.5-beta1 release says:

NetBox now supports modeling physical cables for console, power, and interface connections. The new pass-through port component type has also been introduced to model patch panels and similar devices.

But I can't find anything related to passthrough port components when adding a new device type, neither in front/rear ports, interfaces or anywhere else. Am I missing something?

Expected Behavior
Pass-through port components are visible as a port type when adding front or rear ports.

Observed Behavior
No pass-through port components can be selected when adding new ports.

Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using the template provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list.

Besides having used the template, using the mailing list is not possible for people without a Google account. But thanks, anyways.

it is free to create a google account. You also need an account to post this issue here... so I'm not sure what your point is.

Not everyone is comfortable with Google collecting their data. Not everyone would even agree if Google accounts are free or paid by your data... But my question was solved, thanks.


⚠ Bofrost.lu has degraded performance

In 415fc57, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 822 ms

Resolved: Bofrost.lu performance has improved in 124726d after 11 minutes.


Added github for issue management

Please create a JIRA issue, I will apply your patch.

https://issues.apache.org/jira/browse/MPIR-358


postgres: duplicate key errors in validation and benchmark

I'm trying to get the "interactive" benchmark to run on PostgreSQL, without success.
Here is what I'm doing. In ldbc_snb_datagen/, per instructions:
cp params-csv-merge-foreign.ini params.ini
wget http://archive.apache.org/dist/hadoop/core/hadoop-3.2.1/hadoop-3.2.1.tar.gz
tar xf hadoop-3.2.1.tar.gz
export HADOOP_CLIENT_OPTS="-Xmx2G"
export HADOOP_HOME=`pwd`/hadoop-3.2.1
export LDBC_SNB_DATAGEN_HOME=`pwd`
./run.sh

This all works.
Then, in ldbc_snb_implementations/postgres/:
cd load-scripts
./load.sh
cd ..

This runs successfully.
Then,
./interactive-create-validation-parameters.sh

This works. validation_params.csv is created.
Then,
./interactive-validate.sh

This starts issuing a bunch of errors about duplicate keys like
########### LdbcUpdate5AddForumMembership
com.ldbc.driver.DbException: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "forum_person_pkey"
  Detail: Key (fp_forumid, fp_personid)=(1786706433093,<PHONE_NUMBER>9299) already exists.
        at com.ldbc.impls.workloads.ldbc.snb.postgres.operationhandlers.PostgresUpdateOperationHandler.executeOperation(PostgresUpdateOperationHandler.java:25)
....

com.ldbc.driver.DbException: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "message_pkey"
  Detail: Key (m_messageid)=(2199024038763) already exists.
        at com.ldbc.impls.workloads.ldbc.snb.postgres.operationhandlers.PostgresMultipleUpdateOperationHandler.executeOperation(
...

and more, and then the whole thing fails.
Similarly,
./interactive-benchmark.sh

fails similar errors.
What am I doing wrong?

@petere Each run (including validation) modifies the database with the update operators. Therefore, you need to completely reload the data between runs. Alternatively, disable the updates here before executing the validation generation/benchmark runs:
https://github.com/ldbc/ldbc_snb_implementations/blob/f8c2b9ab9c468d95671a33d99c26c3b5400ab5ae/postgres/interactive-validate.properties#L64-L70

Ah, okay, it works if I reload before each step. Thanks.


InfluxDB 1.x Third Party Software Link Broken in 1.7 docs

With the shift to 2.0 on master in the InfluxDB repo, the documentation links to the third party software dependencies are now broken.
URL for relevant page?
https://docs.influxdata.com/influxdb/v1.7/about_the_project/third-party/
Points to: https://github.com/influxdata/influxdb/blob/master/DEPENDENCIES.md
This link is no longer correct now that 2.0 is on master.
What products and version are you using?
v1.7
New link should be:
https://github.com/influxdata/influxdb/blob/1.7/DEPENDENCIES.md

Fixed. Will appear in next build.


consider adding 6.9/12B/20B from h2oGPT project

https://huggingface.co/h2oai
Better than dolly for 12B for example, trained on OASST data.

I also have the 30B LLAMA and a computer powerful enough, is there a way to support it?

Comparing to other models seems this model was less in demand, closing due to inactive issues, feel free to open new ones


Safari dragging and styling problems

I'm reporting a couple of issues that I solved on a website (that I'll report to #158 when it's ready :)):
A style framework I was using (foundation) was setting:
img {
  max-width: 100%;
}

I had to counter that with:
map img {
  max-width: 100%;
}

To fix gmap widgets display.
Also (and I couldn't figure out how this happened) on Safary only, dragging the map resulted in a glitch that looked like I was dragging part of the page text. To fix it I added:
<map ... ondragstart="return false;">

This was using v1.4.2

thanks for using reporting this. I will take a look into it and put into the default if possible

those changes were on my side. What I cant think of is to add the drag-start fix directly on the directive. However I'm not sure why I had that effect on safari; it does not happen with your examples.
If I figure out something I'll let you know. Feel free to close this if you wish; it will still be available for future reference.

closing. If you have reproducible case, please report again.


Enforce Prevention of CSRFs

No more Edit & Resend scores on Game Bots!

I'll add a few virtual methods on GameUpdateHandler so clients can decide how to validate the scores properly.


#1901 remove PID file from service

getting rid of the PID file bitcoind is creating to prevent problems like #1901

It seems the PID file is needed to be able to spawn more instances of the process: https://stackoverflow.com/questions/47826123/what-is-systemd-pid-file
Looking at htop I have multiple bitcoimd processes running unsurpisingly since many services are relying on it.
It might be a bad idea to remove that PID file, but will need to try to confirm.

It seems the PID file is needed to be able to spawn more instances of the process: https://stackoverflow.com/questions/47826123/what-is-systemd-pid-file
Looking at htop I have multiple bitcoimd processes running unsurpisingly since many services are relying on it.
It might be a bad idea to remove that PID file, but will need to try to confirm.

OK pushing this to next release until we can confirm.

OK pushing this to next release until we can confirm.

Yeah you seem to be right ... this might not change anything in behaviour - so why changing and risking side effects. Closing without merging. Thanks for investigating.


Allows components, systems, and initializers to be placed in subdirectories and specified in deploy.json

Allows components, systems, and initializers to be placed in subdirectories. This helps with organizing components if there is a lot of them.
For example, "components/base/PositionComponent.sol" in the components directory will be imported as import { PositionComponent, ID as PositionComponentID } from "components/base/PositionComponent.sol"; in LibDeploy.sol.
Sample deploy.json:
  "components": [
    "debug/CounterComponent",
    "base/GameConfigComponent",
    "base/PositionComponent",
    "base/TileComponent",
    "base/OwnedByComponent",
    "resource/IronComponent",
    "resource/CopperComponent",
    "resource/IridiumComponent",
    "crafted/BulletComponent",
    "crafted/FastMinerComponent"
  ]

MUD2 doesn't have this problem, I'd suggest you use it; for MUD1 you can also look at https://github.com/latticexyz/mud/pull/309 (which was abandoned in favor of v2)

Thanks for this PR @emersonhsieh! Unfortunately this change alone is not sufficient for full support of subdirectories, since system-types and other CLI command also assume a flat setup. Changing all these would touch a lot of v1 code, and since v2 (currently in alpha) is very close a stable release, we're not planning to add new features to v1. As @dk1a mentioned, v2 doesn't have the problem this PR addresses for v1.


Add uncertainties to correlations

Currently correlations are not showing uncertainties. These uncertainties should be computed by generating Monte Carlo with the signals and their uncertainties, computing the correlation and then the percentiles, in a way analogous to how we generate the confidence limits of the correlations.
A summary of this PR:

Add uncertainty as an optional parameter of the Signal() constructor.
Add uncertainty generation in Correlation().gen_corr() and uncertainty plotting in Correlation.plot_corr()
Updates mutis_workflow.ipynb

I think that is, for the moment.

Rebased from main after merging the branch tests.

Rebased from main (several attempts were necessary).

Weird that the tests don't pass since no code affecting them was modified, and they passed before. Probably something wrong in the rebase. The notebooks do work. I will fix that and implement your comments in a last commit, thank you.

@jjjon
tests do not pass because you have changed the way on how to create Signal
https://github.com/IAA-CSIC/MUTIS/pull/21/files#diff-16e6f34074a32251fda32465667720a08e6b1419b0f945bb1bf74439e30d6e49R36

Now all test pass, and the branch has no merge conflicts with main, ready for re-review.

Thanks @jjjon
Could you try to improve test coverage? Commands below could help you visualize the lines of code not covered.
pytest --cov-report html
open htmlcov/index.html

Thanks @jjjon
merging.


LicenseLogo.vue: Add AGPLLogo component

This PR aims to add the AGPL license as an option for resources to choose.
To-do:

[ ] Add AGPL SVG here.

Would like help in doing this 😃 I couldn't find a logo file without the "Free as in Freedom" text.

https://gist.github.com/e-im/f6311cb12c7510cb7612480334dcc64b

have you tested this? this will most likely look huge
ill take a look locally after work...

I haven't tested this

fixed the typos, missing imports and the color and added the license to the config
please actually test your PRs in the future, else you are just creating more work...


add changelog to release notes

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

Project coverage is 55.56%. Comparing base (8a0859d) to head (6756c80).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #80      +/-   ##
==========================================
+ Coverage   55.35%   55.56%   +0.21%
==========================================
  Files          32       32
  Lines        2289     1760     -529
==========================================
- Hits         1267      978     -289
+ Misses        969      729     -240
  Partials       53       53

Flag
Coverage Δ

Linux
?

Windows
?

macOS
55.56% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Add NA contributor Summit Blog Post

Adds the blog post for the NA contributor summit. Date etc can be bumped pending other content or a  specific desired publish date.
/cc @idvoretskyi @spzala @parispittman @castrojo
/assign @kbarnard10

/lgtm

/lgtm
/approve
@idvoretskyi Feel free to remove the hold when you're ready for this to publish.

/hold cancel


feat: save tcp/udp request inside database

- What I did

Parse the TCP/UDP request and save them in the database.
Create a generic insert function to insert entities into the database. I could have created another function as written here to insert the stream metric, but most of the logic would remain the same, so created a generic function which can be used to insert any Database entities. The http metric still uses the old function. Let me know if I have to use the generic function for inserting http metric too.

- How I did it
Create a struct called StreamMetricPartial and them implement to_db_model Trait. After converting it to the db model, save it in the database by calling the generic_insert function.
- How to verify it

Deploy the ProxyRule as mentioned here https://github.com/nxthat/nanocl/issues/332#issuecomment-1605356260
go to http://localhost:5555
Check if there is an entry in the stream_metrics table.

- Description for the changelog

closes #332
feat: save tcp/udp request inside the database
- A picture of a cute animal (not mandatory but encouraged)

That's look!
I'm in a middle of a release i'll check in deep a bit later!
Thanks for your contribution!

Perfect thanks!


Add an Aggregate Root feature

Basic implementation has been finished. Additional issues will be covered in separate items.


Fix to add missing perform_request() function prototype.

acurl.h was missing the perform_request() function prototype, causing a gcc build error in some (but not all) versions of gcc when running pip install acurl. This PR adds the prototype to acurl.h to fix that issue.

acurl.h was missing the perform_request() function prototype, causing a gcc build error in some (but not all) versions of gcc when running pip install acurl. This PR adds the prototype to acurl.h to fix that issue.

acurl.h was missing the perform_request() function prototype, causing a gcc build error in some (but not all) versions of gcc when running pip install acurl. This PR adds the prototype to acurl.h to fix that issue.


[HUDI-4690][HUDI-4503] Cleaning up Hudi custom Spark Rules

Change Logs
This PR cleans up considerable amount of Spark's (internal) resolution logic that has been copied over into Hudi components, while in reality there's no actual need for that.
Changelog: TBA
Issues this will be addressing:

HUDI-4503
HUDI-4690
HUDI-4872
HUDI-4861

Impact
None
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

CI is green:

https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=14167&view=results

Closing this in favor of rebased & squashed #7871


Include versioning

As this is a public repo and if the concept of this repo (I assume) is "how can we herald design system best practice?", and the audience is "community" or "clients" (ie, not us), it might be an idea to follow software best practice and include versioning for this repo.
If that's not relevant, maybe the theoretical content of this repo should be Github Wiki instead.
I think versioning is a good idea particularly at this stage, because it tells people, "we're still working on this content, please don't rely on it as evidence of good practice to reference or follow just yet".
Whether we capture versioning by including a package.json, or including a version.txt or simply to expand on what you've already indicated in the README that the "software" is "very wip", let's call it something and escalate that version to the top of the document.
In the future, we might have indications of what's coming in the next releases documented somewhere where versioning might be needed. Perhaps we want to externalise "what do we plan to deliver for Alpha?", "what do we plan to deliver for 1.0.0?", "what is the estimated scheduling for that?", "what do we need and perhaps who in the community do we need to seek expert help from (ie, Designers, Researchers) in order to be able to release Alpha?".

Agreed that versioning this work is important, thanks @elisechant
We can iterate on a more robust versioning methodology as we proceed, but I've added a package.json at version 0.0.1 to reflect the infancy of this project.
My initial sense is to lean on semver here:

0.x.x until we get to a stable state for the guide
Standard practice around semver for major , minor and patch changes post 1.x

We'll need to think deeply about what major minor and patch means in the context of documentation, happy to hear your thoughts here


[app-config] AppConfigurationClient doesn't support PipelineOptions

Unlike other Track2 clients I can't pass custom values for retry policies or add my own policies to the pipeline.
Expectation is that AppConfigurationClientOptions extends PipelineOptions from core-http.

@HarshaNalluru is this resolved with your recent changes?

Is there any plans on addressing this issue or verifying if it is addressed? I feel this is big missing feature compared to other SDK clients.

Oops, this issue wasn't part of a milestone and it fell off my radar.
App Configuration SDK has been migrated from core-http to use core-rest-pipeline recently. https://github.com/Azure/azure-sdk-for-js/pull/20766 This should allow passing policies.
However, the package hasn't been published after the migration to core-rest-pipeline.
We'll be releasing the<EMAIL_ADDRESS>package next week as part of the release cycle which should allow the users to leverage the policy addition features.
@JasonYeMSFT, if you have any urgency, please let me know and we can consider releasing it sooner.

Closing since the new app-config release has it. 🙂🎉


POST request not working in Kanban API server

Not sure if it's only me but I can't add new tasks in the app. The server returns a 500 Error. Toggling and Deleting tasks work just fine however.

Nevermind. It was a silly mistake on my part. I was passing API_HEADERS as a string('API_HEADERS') instead of passing it as a constant.

:+1: