[Button] Hover/Focus state should lighten & elevate

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Raised buttons should lighten in color and increase box-shadow value
Current:

Expected Behavior 🤔
Material Spec:

See: https://material-components.github.io/material-components-web-catalog/#/component/button?type=raised
Steps to Reproduce 🕹

Steps:

Create button
Hover/focus
Witness variance

Context 🔦

Thank you for all of your work here! Just going to point out some adjustments and inconsistencies with the Material spec :)
Your Environment 🌎

Tech
Version

Material-UI
latest @4

Thank you @una for pointing out these issues. We're always playing catch-up with the guidelines since there's no changelog that helps implementors. We appreciate you taking the time to report this and hope to hear more from people familiar with the guidelines.

No problem! I'm super happy to continue to do this 😄We appreciate your being receptive to get in more alignment with our spec and definitely want to make that easier for you all!

@una Where does it specifically say what should happen when mouse hover happens?

@croraf

https://material.io/components/buttons/#contained-button
(Found under "States")
Note that since the focus color in the current spec is insufficient to meet accessibility guidelines, we have kept the original focus indicator.
@eps1lon

there's no changelog that helps implementors

Could we visual diff the pages periodically? 😄

@mbrookes I saw these, but there is no explanation. There should be a written description on exactly how is hover state produced from the normal state. I mean the exact color of state 1 above does also not match the color of material-ui primary enabled.

@croraf  https://material.io/design/interaction/states.html (@eps1lon has linked to this in #17537)

Could we visual diff the pages periodically?

Done (for the component pages) with https://visualping.io. Let's see how it goes.
Of course that doesn't help where things are already out of alignment with the spec, so keep the issues coming!

Note that since the focus color in the current spec is insufficient to meet accessibility guidelines, we have kept the original focus indicator.

I'm not sure this is clearly defined. Focus should be visually distinct but I think this is still given with the new style. The current style solely relies on the pulse and I'm not this is considered "highly visible" (https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/G195)
The only difference with states is that they might be hard to distinguish. But if you have 5 different states then this might be impossible.

This page might help: https://material.io/design/interaction/states.html#focus

@mbrookes
I see now. The "Hover" chapter: https://material.io/design/interaction/states.html#hover
Last section in this chapter: "Overlay opacity values".
It gives 3 examples, but I'm still not sure I understand how is the overlay color and opacity selected for specific background-color/color combination.

@croraf

I'm still not sure I understand how is the overlay color and opacity selected for specific background-color/color combination.

No, neither am I, and I think that's what @eps1lon was referring in the related PR as to having to be figured out.
@eps1lon

I'm not sure this is clearly defined.

I agree, but I think it's safe to say that a subtle shift in shade isn't sufficient to tell that a button is focused, especially if it's the only button. The focus ripple might not meet definition of "highly visible", but it's better than the alternative.

The focus ripple might not meet definition of "highly visible", but it's better than the alternative.

I don't know to be honest. I don't think either one is better than the other. One applies a shade shift partially the other applies the same shift but completely. One changes a smaller are while doing a tiny motion the other one has a bigger area. If someone cannot detect the tiny motion then the new focus state is strictly better.
What I want to emphasize is that there's nothing "safe to say" about visibility of either focus state variant.

the new focus state is strictly better

A previously focused  (or auto-focused) button has nothing to indicate that it is focused. Even when actively focusing, you are dependent on noticing a subtle shift in shade and elevation. That is perfectly safe to say. :)

I think you're not aware of the new focus style. It's the same as the current one but fills the whole button instead of a partial application with a pulse.
You're basically saying that the vanilla :focus { outline: 1 } does not indicate that something is focus becaused it has a subtle border?
Again

A previously focused (or auto-focused) button has nothing to indicate that it is focused.

is not true in any shape or form. I would understand if this is might be an issue for colorblind people but this wouldn't be an issue for focus alone but emphasis as well.

I think you're not aware of the new focus style.

I'm not sure how you came to that conclusion, considering I linked to the spec and pasted an image from it.
https://github.com/mui-org/material-ui/issues/17493#issuecomment-534221213

It's the same as the current one but fills the whole button instead of a partial application with a pulse.

A very roundabout way of saying that it's a solid color, just like an unfocused button.

You're basically saying that the vanilla :focus { outline: 1 } does not indicate that something is focus because it has a subtle border?

When did I say that?
That would only be true of both focussed and unfocused hd a blue border in a subtly different shade.
It is recognisable by convention.

A very roundabout way of saying that it's a solid color, just like an unfocused button.

It's not the same color? This is how I came to the conclusion that you're not aware of the new style. Saying this is objectively worse is objectively wrong, sorry.

When did I say that?

I didn't say that you said that. Hence "basically".
So I urge you to reconsider making "subtle" an "objective" term. I understand that either one has some subjective pros and cons but saying one is objectively better encapsulates everything that's wrong with web development. You don't have any right to claim this unless you can point me to user research that shows that a pulse that covers up part of the text is "objectively better" than a filled color.

How should the transition from focused to pressed appear?  Is the ripple meant to be lighter for pressed, focused buttons?

I agree, but I think it's safe to say that a subtle shift in shade isn't sufficient to tell that a button is focused, especially if it's the only button. The focus ripple might not meet definition of "highly visible", but it's better than the alternative.

In terms of spec alignment, the primary concept is to elevate on hover instead of depress. The lightening of the button represents this. Increasing the amount of lightness for accessibility is fine, if it's keeping with the correct elevation metaphor.
You bring up great points about accessibility that we'll definitely be taking into account.

Can we introduce error state for button as well?

This issue is outdated (MD2 related). We aim to have a fresh look for Material UI in the near future, so I’m closing this.

Makes sense, we are taking more steps away from being close to the Material Design spec, so this issue is a "won't fix" now.


[JAV-165]注册schema判断重复的逻辑错误

Coverage decreased (-0.002%) to 84.857% when pulling a65083641d2965bd7d595d59b873ea9c1ddb123e on liubao68:duplicate into a160d43ca4b302c856a2a941a813cf8e2c1ea134 on ServiceComb:master.


Add support for Gemma models

Architecture difference (what I could find):

Normalizes embeddings

Links:

Gemma 7B: https://huggingface.co/google/gemma-7b
Gemma 2B: https://huggingface.co/google/gemma-2b
Blog: https://blog.google/technology/developers/gemma-open-models/
Paper: https://storage.googleapis.com/deepmind-media/gemma/gemma-report.pdf

It's on the way https://github.com/vllm-project/vllm/pull/2964


custom headers for url

I have a radio streaming application, and I would like to know if there is a way to set custom headers with url to authenticate the user .
Can anyone tell me if it is an effective method to achieve the requirement?

moonstruck , thank you


Issue @ #57 in HTML/CSS.

Challenge http://freecodecamp.com/challenges/waypoint-use-hex-code-to-color-elements-green has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
Unless I'm doing something wrong, the following code does not evaluate as correct.  It's the same code as the previous challenge (red background) except for the values.

Worked for me.

@iheartkode It looks like the error messages of the way point is causing confusion.

[X] Give your body element the background-color of green.
[X] Use the hex code for the color green instead of the word green. For example body { color: #00FF00; }.

With those errors someone will use the code:
body {
    background-color: green;
    color: #00FF00;
}

Which fails since all the way point is looking for is body { background-color: #00FF00; }

Ahh I see.

@moxlisp thanks for posting this issue!
@jameskopacz I thinks instructions are clear.
This is from waypoint description section.

Make the body element's background color green by giving it the hex code value of #00FF00.

And this is from tests section.

Give your body element the background-color of green.
Use the hex code for the color green instead of the word green. For example body { color: #00FF00; }.

So as you can see that instruction in description is duplicated in tests section and there is nothing said about color of body element itself. It is all about the background-color of body element and it says that you should use #00FF00 instead of green.
So the only correct code is  body { background-color: #00FF00; } .

Please review the Guidelines for Contributing, thank you!.

This didn't make sense to me. The OP believed their code should have worked since it worked before.
So I looked at the previous challenges and it looks like they set the user up to fail the green one. The following code passes the tests.
http://freecodecamp.com/challenges/waypoint-use-hex-code-to-color-elements-white
body { background-color: white; color: #FFFFFF; }

http://freecodecamp.com/challenges/waypoint-use-hex-code-to-color-elements-red
body { background-color: red; color: #FF0000; }

If you don't read the text but just code based on the Pass/Fail hints you could end up writing the above code and passing. So you pass twice then run into what looks like a problem that's exactly the same and wonder why it isn't working.

thanks all for the replies. realize my mistake now. @jameskopacz hit the issue exactly. I was just blindly copy and pasting a strip of code that had been working until I encountered the red challenge aka Guardian of CopyPasting

This is what I did to pass all tests.

Since your issue has now been resolved, please close it ;)

Closing this issue as the problem is solved. Thanks all for replies.

 Hello World


Include confidence intervals in predictions

Description

This issue is related to #18, which referenced lingering include_std_err args. While statsmodels' ARMA model supports this functionality, SARIMAX does not. Opening this for the backlog in case SARIMAX ever catches up to ARMA and we can re-include these parameters in ARIMA.predict.

Not certain how relevant this is but I found confidence interval support for SARIMAX here.

@tgsmith61591 Thanks so much for creating this project - it's great for people who are new to this area.
Is there any way to derive confidence intervals from the results currently?  I'm not sure I can present the results without some sort of uncertainty.

Hey there @typpo this is something that I'm targeting for next release. Stay tuned. :-)

Just getting around to this. See 8581455 for an initial crack at it. SARIMAX doesn't make this as natural as the ARIMA class, so I had to hack it a bit to make it work.

This was merged into dev and will make it into the master branch for release 0.7. Going to leave open until the release.

Very excited for this to make it into master!

Can't wait !

Thanks !

Release 0.7.0 fixes this.


Adding support for Jenkins Pipeline (workflow) plugin.

JENKINS-42330

Reviewed and accepted pipeline compatibility.  Thanks Steve!


[TEST] scikit-learn upgrade

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/benchmark module=tabular preset=tabular_best benchmark=tabular_full time_limit=1h


Unable to set Channel Permissions with ChannelPermissionSet for a specific Role

Hi,
I am struggling to figure out how to invoke ChannelPermissionSet. I am trying to iterate through all guild channels to apply a role with custom permissions.
(please excuse the formatting)
func ApplyRoleToGuildChannels(s *discordgo.Session, m *discordgo.MessageCreate, roleID string) bool {
ChannelList, _ := s.GuildChannels(m.GuildID)
for i := 0; i <  len(ChannelList); i++ {
err := s.ChannelPermissionSet(ChannelList[i].ID, roleID, "member", 0, 0)
if err != nil {
fmt.Println(err)
return false
}
}
return true
}
I am receiving the following as an error to StdOut:
HTTP 404 Not Found, {"message": "Unknown Overwrite", "code": 10009}
While I am able to iterate through all Permissions which has a data structure of:
{Role/Member ID, "(role|member)", int64, int64)
provides the data structure similar to what I am trying to do above (minus the channelID as I am iterating through one to get the structure of the PermissionOverwrite type
Not exactly sure what I am doing wrong.
Thanks

I figured this out, supposed to use "role" rather than "member"


Subsites wrongly call parent site theming API in SharePoint server 2019

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior

Subsites pages use the subsite's color theme on modern pages
More details On page load in a subsite , if there is no cached theme in localStorage, the page should call an API similar to {webAbsoluteUrl}/_api/SP.Web.GetContextWebThemeData, instead it calls an API similar {location.origin}/_api/SP.Web.GetContextWebThemeData
Initiator window.spModuleLoader.e.loadThemeData | @ | sp-pages-assembly.js?uniqueId=2g4QD:253
Environment: SharePoint server 2019, Browser - Chrome 72.0.3626.121 (Official Build) (64-bit)

Observed Behavior

Subsite uses theme from root site collection

Steps to Reproduce

Use the documented API at https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-rest-api to apply a theme on a root site collection in sharepoint 2019
Create a subsite in the root site collection
Use same API to apply a theme on the subsite
Open subsite in a different browser/incognito mode

Result
Parent site theme is applied on subsite
Easier steps to reproduce

Open Change the look on a modern page in a subsite
Select and apply a theme different from that of the root site
Open a new browser window in incognito mode
Go to the same modern page in the subsite

Result
Page is rendered with root site's theme

As this is not a dev issue, we cannot provide support using this channel. This can be reproduced with the out of the box themes as well, so it's not a dev issue. Please report the issue using the tenant admin support channels. This might be also by design that the themes are always set in the site collection level.


No module named 'gophish'

I try to run report command and get error :
Traceback (most recent call last):
File "GoReport.py", line 21, in
from gophish import gophish
ImportError: No module named 'gophish'

The common error here is forgetting to make a preferred table style called "GoReport" in your template.docx file, I will find and reference instructions from the user guide

The Word document is built from a template, template.docx. Place your template file, named template.docx, into the GoReport directory with main script. Your template should include a table style you want to use and heading styles for Heading 1 and Heading 1.  The headings do not need to be named, but can be renamed to "GoReport" as well as a reminder for yourself.
Feel free to create a custom style or use an existing style. The only thing that matters is a template.docx file exists and it has a "GoReport" table style.
To rename a style, right-click the style, select Modify Table Style, and set a new name

Do you have a working template ?
The tamplate in this git empty.

@oded86w: This error means the gophish library is not available. Before you can use GoReport, you'll need to make sure you have that library installed. You can use GoReports requirements.txt file or run python3 -m pip install gophish.
Make sure you use Python 3. If you use pip for Python 2, goohish will only be installed Python 2.x and won't work for Python 3 projects like GoReport.

Than I run this command I get
"Requirement already satisfied"
And than I run : python3 GoReport.py --id 8,7,5,6 --format csv --combine
I get the error :
Traceback (most recent call last):
File "GoReport.py", line 21, in
from gophish import gophish
ImportError: cannot import name 'gophish'

Hi,
Did anyone manage to find a fix for this? I too am suffering from the same problem.
I see @sharkmoos  mentioned about having a GoReport style in the template.docx which I have, this didn't solve the issue.
@chrismaddalena mentioned about not having Python 2 which I don't, I have 3. (I have have 2 but I used  the command sudo apt-get remove python2.7 to remove it)
I also used the 'python3 -m pip install gophish' that chris suggested however this produced another error, '/usr/bin/python3: No module named pip'
Any help with this would be much appreciated!
Thanks.

The GoReport table style in the Word template is unrelated to this. This is a Python error related to the gophish library.
@GregCFTS If you receive that error about pip not being installed, try installing it. The method depends on your OS. If you're on Linux, you can usually do something like apt-get install python3-pip.
You can test to make sure the gophish library is installed properly by opening a terminal and typing python3 (or whatever your Python 3 alias is) to enter a Python prompt. Type import gophish and hit Enter. Does it import successfully or fail? If it is successful, you should have no trouble when running python3 goreport.py, but if it fails GoReport won't be able to load the library at runtime because Python can't find it.
This is usually caused by the module being installed for a different version of Python than the one being used. This can happen easily on MacOS, for example, if you install a module using the built-in Python and then try running GoReport using Python installed via brew.
Try importing gophish and see if it works.


Cannot read property 'isActive' of undefined - when testing a component that uses Router.State mixin

I'm testing a React component in which I have used Router.State mixin to call isActive. To do this I'm trying to stub isActive to return true but to no avail.
Test error:
 TypeError: Cannot read property 'isActive' of undefined

Component
'use strict';

var MyComponent = require('MyComponent.jsx'),

    React = require('react/addons'),
    ReactTestUtils = React.addons.TestUtils,

    sinon = require('sinon'),
    expect = require('chai').expect;

describe('Test Component', function() {

  before(function () {

    sinon.stub(MyComponent.prototype,'isActive').returns(true);
    this.component = ReactTestUtils.renderIntoDocument(
      <MyComponent />
    );

  });

   it('should render MyComponent component', function(){
    expect(this.component).toBeDefined();
  });

});

Possibly a duplicate of #1936?
If you're using react-router 1.0.x, you'll want to switch to using the History mixin. See the discussion in #1936.
Other resources:

History mixin docs
Upgrade guide section on the old State mixin


[Feature Request] Option to mark Lost Marbles, Rune Switches, Poetry Pages, and Obelisks as complete

Add options to mark all of these as complete.  These should be the things that a character freshly run through the story is most likely missing and they all involve tromping around various areas to complete.  I've left out lucky dice, bottlecaps, and shrine completion since lucky dice should be handled in profile, bottlecaps are trivial once story is completed, and shrines are similarly likely to be done when the character is going through the story.
It may be reasonable to put guard rails to make sure that the required areas have been at least opened and also to check whether there's another flag thrown on completion to add it to the world buffs.

Those are all reasonable things to wish for. They aren't in the cli save editor yet but once we add them we can enable it on the web.

We have lucky dice handled in the profile editor.

Any chance you add options for Gold/cash maybe even souls?

These options are already available
  --money MONEY         Set money value (default: None)
  --moon-orbs MOON_ORBS
                        Set Moon Orbs value (default: None)
  --souls SOULS         Set Lost Souls value (default: None)

sorry about that i didnt realize there where two separate sites for editing. my only question left is, is there a way edit how many points you have for the class itself ? i didnt see the option i might be blind but i dont think i saw it unless it was named something else

Points are controlled by level and story progression.  I don't have
details, but I think you end up with 44 points at level 40.  You may end up
with an broken character if you skip the story progression.  Quick note is
that you should be able to boost your character level early on and just
breeze through the story.
You can also make a copy of a character that's already progressed through
the story (look at various youtuber's discords and nexusmods, or just your
own characters) and adjust them fairly easily.  I forget if this tool
includes tools for changing starting classes, but I'm pretty sure you can
change your background.  If it's just background, you can grab characters
that have already made it through the story on nexusmods and adjust their
backgrounds to meet your needs.
On Tue, Oct 4, 2022 at 1:44 PM FatherA9303 @.***> wrote:

sorry about that i didnt realize there where two separate sites for
editing. my only question left is, is there a way edit how many points you
have for the class itself ? i didnt see the option i might be blind but i
dont think i saw it unless it was named something else
—
Reply to this email directly, view it on GitHub
https://github.com/abramhindle/ttwl-cli-saveedit/issues/4#issuecomment-1267555857,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAHYDWPWMPWVGFTZW4OUHDWBSJKZANCNFSM55MGDX4A
.
You are receiving this because you authored the thread.Message ID:
@.***>

yes your right 44 points total for any character or class what im trying say is if i wanted for example max out the skill points for BRR-ZERKER AND STABBOMANCER or (any secondary class its not able to because of only having 44 points) back in Borderlands 1 there was a save editor that allowed you to edit the skill points so i wasnt sure if it was possible for this editor im using to do the same. sorry if i didnt explain right the first time

any chance this editor you guys made works with borderlands 1 2 and 3 and pre sequel ? im having hard time finding a mod or editor for them that enable more keys?


fix for latest version of cli

When building with the latest version of cli this happens:
$ go get github.com/Unknwon/bra
# github.com/Unknwon/bra/cmd
../../Unknwon/bra/cmd/sync.go:38: cannot use "" (type string) as type *string in field value

Thanks!

Epic, I just ran into this!


Pod Update to version 0.5.1 Error on setTitleTextAttributes[.font

Hi, I updated the pod because I had issue #20 . But after updating and building my project, a compilation error occurred, is it normal? thank you

Hmm, when I published it was fine for me. What version of swift are you using? I was using 4.

My project are using Swift 4, but i dont updated the swift syntax in my pods project.
Summing up: My project = swift 4
Pods project = swift 3.1

I did update the pod for swift 4. I ~think~ you must tell Xcode McPicker uses swift 4 and you can leave the rest as 3.

Just tested this out and confirm my suspicion. McPicker needs to compile with Swift 4 and you must have it set to compile with Swift 3. Just change the toggle in your project and it should be good to go! A picture is worth 💯 words.

I will update the README to outline this. Thanks for reporting! 🥇  Please let me know if this does the trick for ya.

Thanks @kmcgill88 works fine!!!! Thank you very much!!

WORKS !!!! Thanks you very much @kmcgill88


treat global mutables as global vars

Add clarification that if a global is mutable, to treat is as a global var (snake_case) as opposed to a "constant reference" (SCREAMING_CASE)

comment job is broken...
Since this changes the Coding Conventions, I'll @-mention the appropriate NI engineers.
@alejandro5042  @alexweav  @DavidCurtiss  @irwand  @jryckman  @kcuzner  @mshafer-NI  @neilvana  @nethrasuresh
@pakdev @rick-morrow  @rtzoeller  @sbethur @stick152 @Adithyak1998 @innagarc @ShibaniRout


chore: remove generic type

SUMMARY

We were passing a generics type that is actually not needed.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A
TEST PLAN

N/A
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

cc: @eschutho

Codecov Report

Merging #12003 (193ac0f) into master (9256b6f) will decrease coverage by 0.85%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master   #12003      +/-   ##
==========================================
- Coverage   63.59%   62.73%   -0.86%
==========================================
  Files         940      473     -467
  Lines       45575    16999   -28576
  Branches     4373     4373
==========================================
- Hits        28984    10665   -18319
+ Misses      16415     6158   -10257
  Partials      176      176

Flag
Coverage Δ

javascript
62.73% <50.00%> (ø)

python
?

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

Impacted Files
Coverage Δ

superset-frontend/src/views/CRUD/hooks.ts
57.23% <33.33%> (ø)

...rset-frontend/src/components/ImportModal/index.tsx
74.24% <100.00%> (ø)

superset/migrations/versions/705732c70154_.py

superset/security/__init__.py

superset/examples/multi_line.py

superset/css_templates/commands/bulk_delete.py

superset/dataframe.py

superset/reports/logs/api.py

superset/databases/commands/test_connection.py

superset/db_engines/hive.py

... and 459 more

Continue to review full report at Codecov.

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


validation error

I'm trying to validate a model in a collection, that is used by CollectionView and get an exception Cannot read property 'invalid' of undefined.
http://jsbin.com/pukoxe/3/edit?js,console

It looks like the bind events are not expecting the delegation from children. Will see what we can do to fix this.


Keycloak setup

Any chance you have documentation on keycloak config? Or the config file to import into keycloak directly

Hi @burn874 . I don't think we have any explicit documentation in regards on how to set up Keycloak. However, provided that you are an administrator of at least one Keycloak realm, the vue-scaffold application will only require 2 clients (3 if you want to handle local development). The first client would service the backend, the second client would be for the frontend, and the 3rd development one would be the same as the second client, but allow a localhost redirect instead.
As far as configuring this scaffold application, as long as all the environment variables are specified as defined custom-environment-variables.json, the application will be able to run. You can alternatively specify and populate a local.json file in the same directory with the appropriate values, and the application will pick up that information on startup. In relation to keycloak, if the values in frontend.keycloak.* and server.keycloak.* are defined, you should be able to authenticate. This project uses the npm config library, so for more details on how to config, look for their documentation there. Hope this helps.


Feature: Determine mask state (EXPOSUREAPP-13911)

This PR adds logic to determine the "mask state".

Note that this PR currently contains lots of logic that we used for testing purposes that was never meant to go into production. The PR will be cleaned up before being merged.

@mlenkeit

Will there also be a PR to add #mask_rules as FAQ articles (EN & DE) to the website? I would create a new PR to add this anchor to the Cypress tests in that case, although the previous related PR https://github.com/corona-warn-app/cwa-website/pull/3086 is still untouched by the Open Source Team since I submitted it 14 days ago.

8fdfd8d

@MikeMcC399 yes, it's planned to add #mask_rules to the FAQ.

@mlenkeit

it's planned to add #mask_rules to the FAQ.

Thanks for the confirmation. I've submitted a draft PR https://github.com/corona-warn-app/cwa-website/pull/3101 to test the FAQ link when it is created.


Annotations

@DanielJMaher

@birdage @FBRTMaka  Can you take 5 and review this?

:+1:

:+1: Like it!


LuxCoreUI menu bar disappears

LuxCoreUI menu bar disappears after having open a file: https://forums.luxcorerender.org/viewtopic.php?f=2&t=205&p=2620#p2620

Done.


Chart Generator

Chartjs Generator is 80% complete Now .
but there are some bugs (from the chart.js library) i need to be fixed before i can launch it online.
open as issue for every bugs or there another solution?

What issues are you running into?

Ex: there are options zeroLineWidth & zeroLinecolor  but  there are no zeroLineBorderDash.
But if  use   border dash for the grid not the solud
The zero line also will use the same.

Ex:legend shape is overlapping legend text if  i use
usePointStyle for the legend.

The legend issue is fixed in the latest versions

https://codepen.io/omar_sedki/pen/xEmgPm
1-no  zeroLineBorderDash option . need when grid BorderDash is not solid
2- bug with pointStyle in legend


Update artifacts-credprovider to v1.2.2

Hi,
artifacts-credprovider has released v1.2.2 recently. It would be nice that artifacts-keyring update the use of artifacts-credprovider to v1.2.2, which include updates on Microsoft.Identity.Client.

1.2.3 is released with keyring 0.4.0


File types for auto-labeling policies for SharePoint, OneDrive, and Exchange

[Enter feedback here]
https://docs.microsoft.com/en-us/microsoft-365/compliance/apply-sensitivity-label-automatically?view=o365-worldwide#how-to-configure-auto-labeling-policies-for-sharepoint-onedrive-and-exchange
It is not clear what file types are supported for auto-labeling policies for SharePoint, OneDrive, and Exchange

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

ID: 6564bdaa-d66b-42ba-85bd-7c8f9989093d
Version Independent ID: 33be52f1-d233-9c5d-abb3-140a9c6a0d74
Content: Apply a sensitivity label to content automatically - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/apply-sensitivity-label-automatically.md
Service: o365-seccomp
GitHub Login: @cabailey
Microsoft Alias: cabailey

@DavidTaig  For SharePoint and OneDrive, the information is included in "Maximum of 25,000 automatically labeled files (Word, PowerPoint, or Excel) in your tenant per day." but to make the file types supported more obvious, I'll split this out into two separate bullets.
For Exchange, included in "Unlike manual labeling or auto-labeling with Office apps, Office attachments and PDF attachments are also scanned for the conditions you specify in your auto-labeling policy."  For additional clarity, I'll "(Word, Excel, PowerPoint") for the Office attachments reference.

Live now, closing. Thanks for your feedback!


fix path for serviceworker.js

Coverage decreased (-0.004%) to 87.997% when pulling 91e272425beb2d0a67ddda26fc8748cebdbae83f on fix/path into ed16c6d7aba02526ed08839396dc139950b10e60 on main.


add the ui test for javascript code

Using the Qunit as Ember 2.0 does to test the ui javascript code

This is a very important building block.
LGTM!


Compute result after user input instead computing result while typing

Problem Statement
When I use my physical calculator I can type 0,9 * log ( 0.8 )
And it displays
0.9 * log(0.8)
so I can fix any typo and run = for get results
But, doing so it runs log at the time you type it so it ruins your formula understanding and you must rethinking its typing hierarchy
i.e running this example ->  0,9 * log ( 0.8 ) =
Expected behaviour about:

Actual behabiour:

Proposal
As you can se If you want the expected behabiour you must compute log(0,8) while typing as:
0.9 * ( 0.8 log )
so, this changes the way formula is represented and its behaviour is so counter intuitive it turns out to be unusable.
In my honest opinion you could disable this behaviour or enable "after type" computation so it lets you write a formula and compute result only when you hit =
If possible, I would like to implement this.
I'm just suggesting this idea.  I don't want to implement it.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

I would like to try to implement this.


setup fails to install dreambooth

Hi,
I try to run autotrain-advanced on my macbook pro m1 max, but it seems it misses some dependencies:
I ran setup
❯ autotrain setup
/opt/homebrew/lib/python3.11/site-packages/bitsandbytes/cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
  warn("The installed version of bitsandbytes was compiled without GPU support. "
'NoneType' object has no attribute 'cadam32bit_grad_fp32'
> WARNING ❌ Some DreamBooth components are missing! Please run `autotrain setup` to install it. Ignore this warning if you are not using DreamBooth or running `autotrain setup` already.
> INFO    Installing latest transformers@main
> INFO    Successfully installed latest transformers
> INFO    Installing latest peft@main
> INFO    Successfully installed latest peft
> INFO    Installing latest diffusers@main
> INFO    Successfully installed latest diffusers
> INFO    Installing latest trl@main
> INFO    Successfully installed latest trl

But every time I run autotrain, it complains some dreambooth components still misses:
❯ autotrain dreambooth --model ../Models/sd_xl_base_1.0.safetensors --output ../Models/ --image-path Laurent/birme-512x512 --prompt "photo of a man" --resolution 1024 --batch-size 1 --num-steps 500 --fp16 --gradient-accumulation 4 --lr 1e-4
/opt/homebrew/lib/python3.11/site-packages/bitsandbytes/cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
  warn("The installed version of bitsandbytes was compiled without GPU support. "
'NoneType' object has no attribute 'cadam32bit_grad_fp32'
> WARNING ❌ Some DreamBooth components are missing! Please run `autotrain setup` to install it. Ignore this warning if you are not using DreamBooth or running `autotrain setup` already.
> INFO    Namespace(version=False, model='../Models/sd_xl_base_1.0.safetensors', revision=None, tokenizer=None, image_path='Laurent/birme-512x512', class_image_path=None, prompt='photo of a man', class_prompt=None, num_class_images=100, class_labels_conditioning=None, prior_preservation=None, prior_loss_weight=1.0, output='../Models/', seed=42, resolution=1024, center_crop=None, train_text_encoder=None, batch_size=1, sample_batch_size=4, epochs=1, num_steps=500, checkpointing_steps=100000, resume_from_checkpoint=None, gradient_accumulation=4, gradient_checkpointing=None, lr=0.0001, scale_lr=None, scheduler='constant', warmup_steps=0, num_cycles=1, lr_power=1.0, dataloader_num_workers=0, use_8bit_adam=None, adam_beta1=0.9, adam_beta2=0.999, adam_weight_decay=0.01, adam_epsilon=1e-08, max_grad_norm=1.0, allow_tf32=None, prior_generation_precision=None, local_rank=-1, xformers=None, pre_compute_text_embeddings=None, tokenizer_max_length=None, text_encoder_use_attention_mask=None, rank=4, xl=None, fp16=True, bf16=None, hub_token=None, hub_model_id=None, push_to_hub=None, validation_prompt=None, num_validation_images=4, validation_epochs=50, checkpoints_total_limit=None, validation_images=None, logging=None, func=<function run_dreambooth_command_factory at 0x10f965a80>)
Traceback (most recent call last):
  File "/opt/homebrew/bin/autotrain", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/autotrain/cli/autotrain.py", line 35, in main
    command = args.func(args)
              ^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/autotrain/cli/run_dreambooth.py", line 28, in run_dreambooth_command_factory
    return RunAutoTrainDreamboothCommand(args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/autotrain/cli/run_dreambooth.py", line 455, in __init__
    num_images = count_images(self.args.image_path)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/autotrain/cli/run_dreambooth.py", line 22, in count_images
    for files in VALID_IMAGE_EXTENSIONS:
                 ^^^^^^^^^^^^^^^^^^^^^^
NameError: name 'VALID_IMAGE_EXTENSIONS' is not defined

Can you help, please ?

Same here. Macbook m1 pro.

pip install torchvision before running autotrainer setup

I am facing exactly the same issue, and this doesn't help.

pip install torchvision before running autotrainer setup

pip install torchvision before running autotrainer setup

Not working anyway,..
Btw. I would apreciate a lot a tutorial or step by step doc for installing and running it on apple silicon. It would be great, because Abhishek seems to use it on his MacBook too.


Error during setup

After alga setup <tv-ip> i get the following error:
206 │   │   err = None                                                                                │
│   207 │   │   while not err:                                                                                │
│   208 │   │   │   try:                                                                                │
│ ❱ 209 │   │   │   │   sock.connect(address)                                                                                │
│   210 │   │   │   except socket.error as error:                                                                                │
│   211 │   │   │   │   sock.close()                                                                                │
│   212 │   │   │   │   error.remote_ip = str(address[0])                                                                                │
│                                                                                │
│ ╭──────────────────────────────────────────────── locals ────────────────────────────────────────────────╮                                                   │
│ │       address = ('tv-ip', 3001)                                                                        │                                                           │
│ │      addrinfo = (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('tv-ip', 3001))      │                                                   │
│ │ addrinfo_list = [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('tv-ip', 3001))]    │                                                   │
│ │  eConnRefused = (61, 51)                                                                               │                                                   │
│ │           err = None                                                                                │                                                   │
│ │        family = <AddressFamily.AF_INET: 2>                                                             │                                                   │
│ │          opts = (6, 258, 3)                                                                            │                                                   │
│ │         proto = 6                                                                                │                                                   │
│ │          sock = <socket.socket [closed] fd=-1, family=2, type=1, proto=6>                              │                                                   │
│ │       sockopt = []                                                                                │                                                   │
│ │      socktype = <SocketKind.SOCK_STREAM: 1>                                                            │                                                   │
│ │       timeout = 60                                                                                │                                                   │
│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯

It seems there is a problem opening a socket. Any ideas how to fix this?

Does the alga setup command complete without issues, or does this error occur as part of that command?
Are you able to connect to the TV outside of alga? You can for instance try with nc (netcat) if you have it installed:
~ % nc -vz lgwebostv.lan 3001
Connection to lgwebostv.lan port 3001 [tcp/redwood-broker] succeeded!

It's part of the setup routine. There are some logging blocks  that look similar. You can see in all of them that the setup tries to connect the right ip address. I'm using LGTV on my Windows PC with the same LG C2, could this be the problem? Is the ip + port already blocked?
Response of nc:
nc: getaddrinfo: nodename nor servname provided, or not known

I don't have a Windows machine at hand, but I managed to get one set up in VM to test this out, and didn't experience any issues:

That is with a stock Windows 11 installation. I haven't configured firewalls or anything like that.


Create additional sandboxes in MELD

Staging
Testing
Development
MCC OHSU sandbox
MCC SNF sandbox

Add Karen and Dave as admin.

Dan is working on this through

Step 2: coordinate with OHSU and RTI to create meaningful set of data.
We have no example of same person across different EHR systems.

@swmuir invite Karen to sandboxes and Karen will invite everyone else.

@kbertodatti to test Develop and Testing sandboxes.
@swmuir noticed that both the apps had some problems with data he imported from Matt's export of Patricia Noelle.

Will likely need another card to populate sandboxes.

Added #105 to populate sandboxes


Improved area calculator

Screenshots :

resolves issue #327

Kindly put the JWOC tag and the difficult label when possible. @Srijita-Mandal

Kindly put the JWOC tag and the difficulty label when possible. @Srijita-Mandal

Sure. I missed it.


Create Project error, Lightning Web Comp' "--template standard ended with exit code 1"

Summary
Working on 'Create a Hello World Lightning Web Component' module, the Create Project errors out w/o a clear (to me) message.
I just set up VSCode (again?  can't recall) in preparation for TrailheaDX'19, installed the extensions, and created a fresh SalesforceDX directory.  Create Project fails as follows:
08:42:03.719 sfdx force:project:create --projectname HelloWorldLightningWebComponent --outputdir c:\SalesforceDX --template standard
Error: Unrecognized flag: {"name":"projectname","char":"n","required":true,"description":"name of the generated project","longDescription":"The name for the new project. Any valid folder name is accepted.","type":"string","values":[]}
at flags.forEach.flag (C:/Program Files/Salesforce CLI/client/node_modules/force-language-services/dist/common/main/LegacyCommand.js:77:31)
at Array.forEach ()
at Function.toFlagsConfig (C:/Program Files/Salesforce CLI/client/node_modules/force-language-services/dist/common/main/LegacyCommand.js:28:19)
at Object. (C:/Program Files/Salesforce CLI/client/node_modules/force-language-services/dist/oclif/force/project/create.js:31:66)
at Module._compile (C:/Program Files/Salesforce CLI/client/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
at LazyLoader.loadModule (C:/Program Files/Salesforce CLI/client/node_modules/@salesforce/lazy-require/lib/LazyLoader.js:139:21)
at Function._load (C:/Program Files/Salesforce CLI/client/node_modules/@salesforce/lazy-require/lib/LazyLoader.js:115:29)
at require (C:/Program Files/Salesforce CLI/client/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at fetch (C:/Program Files/Salesforce CLI/client/node_modules/@oclif/config/lib/plugin.js:101:21)
at Plugin.findCommand (C:/Program Files/Salesforce CLI/client/node_modules/@oclif/config/lib/plugin.js:115:21)
at Object.load (C:/Program Files/Salesforce CLI/client/node_modules/@oclif/config/lib/plugin.js:48:72)
08:42:06.403 sfdx force:project:create --projectname HelloWorldLightningWebComponent --outputdir c:\SalesforceDX --template standard ended with exit code 1
Steps To Reproduce:

This is step 1.
This is step 2. All steps should start with '1.'

Expected result
Describe what should have happened.
Actual result
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
OS and version:

@ntotten can you take a look at this one.

I am also encountering this issue. Is there a fix in place for now?

@dstewart-nxstage can you provide which version of the cli you are running and if you've installed additional cli plugins ? You can find that out by running sfdx --version and sfdx plugins

I am facing the same issue.
I have installed vs code. After installing vs code from vs code I installed a salesforce package.
but still facing same issue.
I checked my salesforce CLI version is sfdx-cli/7.57.1-dbf54fc584 win32-x64 node-v10.15.3
I'm new in salesforce and also first time using vs code. if you have any solution please share.


55 3.14 Fix Email Visibility Bug

Coverage remained the same at 100.0% when pulling 12d467c7a023dcc68a87a422bcc4a3331a9fb0dd on 55_3.14_sendEmailsUI into 3463c01dea296792ca8013f8a3fd65ff3576d821 on dev.

Coverage remained the same at 100.0% when pulling fce6ad4ca023554444f8c1bd071f71e7ae4c6341 on 55_3.14_sendEmailsUI into 126a10004d5c88c60aa41c29b8212af760c04afc on dev.

Coverage decreased (-1.1%) to 98.901% when pulling b6157253c69c7b410b9c8f9ed4eb06ffac49cef1 on 55_3.14_sendEmailsUI into 126a10004d5c88c60aa41c29b8212af760c04afc on dev.

Coverage decreased (-0.3%) to 99.685% when pulling ef2b5cf0f0786122702ca36edfe33d0b0ab1c8d1 on 55_3.14_sendEmailsUI into 126a10004d5c88c60aa41c29b8212af760c04afc on dev.

Coverage decreased (-0.2%) to 99.844% when pulling f50ab35bed5c3710f561832893caf66704c60d74 on 55_3.14_sendEmailsUI into 126a10004d5c88c60aa41c29b8212af760c04afc on dev.

Coverage decreased (-0.2%) to 99.844% when pulling b268ded7a28f09bc28d8f464ccb383346556fcae on 55_3.14_sendEmailsUI into 126a10004d5c88c60aa41c29b8212af760c04afc on dev.


[dv/cdc] Enable CDC in all remaining ips and top level

This is just to find if there are some trivially working.

Expect most of the IPs with CDC enabled to fail.

This PR is not needed anymore. Removing it.


bluetooth advertisement support

thanks for the library.  I found I was able to see my devices;  I wanted to communicate with them.
I'd like to communicate with you too and see if this makes sense or if you have other ideas on implementation?
Let me know if you have any thoughts on what I've got setup so far.  the windows implementation is the only implementation that works now.
I'm trying to understand why I'm getting these full errors:
Windows advertisement started with company ID: 59.
2024-10-27T15:18:46.976723Z ERROR bluest::windows::adapter: Unable to send AdvertisingDevice: TrySendError { kind: Full }
2024-10-27T15:18:47.178354Z ERROR bluest::windows::adapter: Unable to send AdvertisingDevice: TrySendError { kind: Full }
2024-10-27T15:18:47.178949Z ERROR bluest::windows::adapter: Unable to send AdvertisingDevice: TrySendError { kind: Full }

I will keep playing.  There's dead code and junk in there (ignore the Adapter modifications that was testing);  it's a work in progress. :)

it needs more work for review... just fyi im looking at it.  if you have any suggestions or feedback let me know.

I'd like to contribute advertisement support but based on the filtering discussion  #24; I'm concerned I may be spending time on something that won't be something you're interested in.  without any additional feedback on this, I am holding on additional effort.

Sorry, I didn't look at this because it was closed. In the future, if you mark a work-in-progress PR as "draft" instead of closing it I'll be better able to review it.
Supporting host advertising is an appropriate thing for bluest to support, so I'm happy to consider PRs to add it. We just need to be careful with the API design so that it meets bluest's design goals of being cross-platform, idiomatic rust, and a thin wrapper around the OS APIs.
The biggest platform issue an advertising API is going to have is with CoreBluetooth (iOS/MacOS), which has the following wrinkles:

Advertising is done through a different object than interactions with remote peripherals (CBPeripheralManager vs CBCentralManager). This shouldn't be a big deal, but it means the advertising mechanism will need to be able to lazily create that object, without making users who aren't using host advertsing pay the cost of creating it.
The only advertisment data that is allowed is device name and service UUIDs (and I think the service UUIDs are restricted to be non-sensitive UUIDs as well). It's probably ok to just return an error if the user tries to provide disallowed advertisement data.

I'd suggest using the existing AdvertisementData struct to provide the advertising data. I'd also be inclined to use a RAII-style API where calling Adapter::start_advertising(data) returns an AdvertisingGuard that stops advertising when it is dropped.

I do not have a Mac as of now and would be interested in helping with Linux and Windows implementations.

The only advertisement data that is allowed is device name and service UUIDs
huh.  crazy limitation.

I do not have a Mac as of now but would be interested in helping with Linux and Windows implementations.

That's fine, we can release an unstable version of the feature without Mac support. I just want to make sure the limitations of the Apple APIs are considered when designing the bluest API.

please apologize the mess; concepts are there, I'm still using the methods I originally placed in some example code I've yet to refactor.
Are you thinking something like this on the Adapter?
    fn stop_advertising(&self) -> Result<(), String> {
        self.0.stop_advertising()
    }

    pub fn start_advertising(&self, data: AdvertisementData) -> Result<AdvertisingGuard, String> {
        self.0.start_advertising(data)
    }

I think just passing ManufacturerData would be more appropriate than AdvertismentData?;  those other fields are not applicable.
#[derive(Debug, Clone)]
pub struct AdvertisingGuard {
    pub(crate) advertisement: Advertisement,
}

impl Drop for AdvertisingGuard {
    fn drop(&mut self) {
        // Stop advertising when `AdvertisingGuard` is dropped.
        self.advertisement.stop().expect("Failed to stop advertising");
    }
}

Yes, that API is what I was thinking. We might also need a async fn stop(self) -> Result<(), Error> method on AdvertisingGuard to allow the user to asynchronously wait for the advertising to actually stop.

I think just passing ManufacturerData would be more appropriate than AdvertismentData?; those other fields are not applicable.

I’m not sure where you got that idea? Any of the fields in AdvertisingData can be included in an advertisement. In fact, as I mentioned above, ManufacturerData is not one of the allowed fields in CoreBluetooth.

https://stackoverflow.com/questions/63175411/ios-omits-manufacturer-data-from-advertisement-in-background-mode
"define a 16 bit or 128 bit GATT Service UUID and send out an advert with attached data bytes"
wow. yuck, I don't mean to get hung up on corebluetooth but they really made simple hard.
I don't plan to advertise a name or service.  Was just thinking control of the raw data would be a sufficient interface.
It doesn't matter to me much if that's the struct you want to pack things in.  If we're headed towards automatically adding the name or constructing the the ManufacturerData for the caller; idk about that.
corebluetooth made basic BLE advertisements unusable.

https://stackoverflow.com/questions/63175411/ios-omits-manufacturer-data-from-advertisement-in-background-mode "define a 16 bit or 128 bit GATT Service UUID and send out an advert with attached data bytes" wow. yuck, I don't mean to get hung up on corebluetooth but they really made simple hard.

Yes, CoreBluetooth is extremely locked-down for security and power management reasons. It's really designed for only two scenarios:

Connecting to a (non-privileged) GATT service of a remote peripheral
Making a GATT service available to remote clients

And right now bluest only supports the first of those.

I don't plan to advertise a name or service. Was just thinking control of the raw data would be a sufficient interface. It doesn't matter to me much if that's the struct you want to pack things in. If we're headed towards automatically adding the name or constructing the the ManufacturerData for the caller; idk about that.

You mostly don't have access to or the ability to manipulate the raw data of the advertisement packets with OS APIs (might be possible on Linux, definitely not the others). Even on Windows you have to construct an abstract Advertisement that the OS will serialize for you. bluest should not automatically add or construct anything, it should just make the OS APIs available.

corebluetooth made basic BLE advertisements unusable. Do you see doing acrobatics to accomplish "advertisements" via GATT? trying to receive advertisements in the background is basic need and I'd like my devices to work with corebluetooth. now come to find I'm likely going to need a custom solution to get the data...

I don't know your use-case, but if you want to work with CoreBluetooth your best bet is usually to just use GATT services.

                                let data = adv_data.to_custom_bytes();
                                let advertisement_data = AdvertisementData {
                                    local_name: None,
                                    manufacturer_data: Some(ManufacturerData {
                                        company_id: 0x0059,
                                        data: data,
                                    }),
                                    services: vec![],
                                    service_data: HashMap::new(),
                                    tx_power_level: None,
                                    is_connectable: false,
                                };
                                let adapter_clone = adapter.clone();
                                let advertise_task = task::spawn(async move {
                                    match adapter_clone.start_advertising(advertisement_data) {
                                        Ok(advert) => {
                                            println!("Advertising started successfully.");

                                            // Wait for a specified duration to allow it to advertise
                                            let advertise_duration = Duration::from_secs(5); // adjust duration as needed
                                            tokio::time::sleep(advertise_duration).await;

                                            // The `advert` (AdvertisingGuard) will stop advertising automatically on drop
                                            println!("Advertising stopped after waiting for the specified duration.");
                                        }
                                        Err(e) => {
                                            eprintln!("Failed to start advertising: {:?}", e);
                                        }
                                    }
                                });

this is what using the api looks like; the other fields don't apply in my case (just a normal non-connectable advertisement).

I know the documentation says only LocalName and UUIDsKey are supported.  The code does work with AdvDataManufacturer on the my macbook.  The manufacterer company_id comes through and the next two bytes are incorrect; usually F5 followed by another byte that doesn't match the data sent.  Right now the advertisement creates a peripheral_manager per advertisement.  I wonder if a lazy_static and shared manager might make more sense.  the advertisements are working but not always...  and if the machine sleeps; it doesn't continue scanning on wake.
I moved my hardware to read the data it needed from the later bytes and I'm happy to see it working.  I may look at linux next.  ownership; the guard is taking the ownership of the advertisement in the corebluetooth now.  let me know if you have other thoughts.

The linux scanning I'm having trouble getting the advertisements.  Both my windows and macos machines are showing advertisements regularly (about every second) and the linux machine shows the first one and then doesn't report anymore.  I added the code for the advertisements but I can't test it or move forward while I'm unable to get the advertisements.  I'm not sure what the issue is but the code works on windows and macos;


 Your screenshot only shows system environment variables. There are User and terminal environment variables that get set automatically when you start a terminal. That should provide more clues

@Jorge-Secops You see the " in your PATH. it is coming from either User environment variables or some shell initialization. Please check your user environment variables first:

These look wrong:

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.


How do i pass parameters ?

Could you  please share sample code to pass parameters

This may also solve your problems in #10:
Passing blittable arguments is trivial. The simplest method of passing strings is shown below. Passing structs requires the layout on both sides to be the same. This is done with #[reptr(C)] on the rust side and [StructLayout(LayoutKind.Sequential)] on the c# side. You can then pass a pointer to the struct like in the example below and dereference it on the c# side.
Rust side:
use netcorehost::{pdcstr, nethost};
use std::ffi::CString;
use std::mem;

fn main() {
    let hostfxr = nethost::load_hostfxr().unwrap();
    let context = hostfxr
        .initialize_for_runtime_config(pdcstr!("path to Payload.runtimeconfig.json"))
        .unwrap();
    let mut loader = context
        .get_delegate_loader_for_assembly(pdcstr!("path to Payload.dll"))
        .unwrap();
    let print_in_dotnet = loader
        .get_function_pointer_for_unmanaged_callers_only_method(
            pdcstr!("Payload.Program, Payload"),
            pdcstr!("Print"),
        )
        .unwrap();
    let print_in_dotnet: unsafe extern "C" fn(*const u8) =
        unsafe { mem::transmute(print_in_dotnet) };
    let text_to_print = CString::new("Some text").unwrap();
    unsafe { print_in_dotnet(text_to_print.as_ptr().cast()) };
}

C# side (Payload.dll)
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

namespace Payload {
    public class Program {
        [UnmanagedCallersOnly(CallConvs = new[] { typeof(CallConvCdecl) })]
        public static unsafe void Print(byte* argPtr) {
            var arg = Marshal.PtrToStringUTF8((IntPtr)argPtr);
            Console.WriteLine(arg);
        }
    }
}

Examples are not present here


feat: new channels

add new top level channel module
reimplement existing channels using async-channel

Looks like channel is module is in the wrong place: it's in async_std::channel, while it should be async_std::sync::channel

Looks like channel module is in the wrong place: it's in async_std::channel

@stjepang that's the intent; the libs team has been talking about possibly breaking std::sync up into smaller bits anyway, and we figured a channel impl would be a good candidate for this. But now that you know it's intentional I'm curious to hear what you think!

Ha, interesting! I actually like channel as a top-level module and wish std did the same.

Going to close this for now. Will rework later.


[FLINK-6989] [gelly] Refactor examples with Output interface

The current organization of the Gelly examples retains full flexibility by handling the Graph input to the algorithm Driver and having the Driver overload interfaces for the various output types. The outputs must be made independent in order to support Transforms which are applied between the Driver and Output (and also between the Input and Driver).
Note: the EdgeListITCase checksums changed as previously the conversion to Tuple2 to remove the NullValue edge value only occurred when printing and now with the refactoring the conversion takes effect for all outputs.

@vasia I don't think there has been much Gelly development lately :) I'll start working on a ticket to add a Gelly documentation page covering the examples.


Recreate EMC Shop Locator mod

Summary
Recreate Giselbaer's EMC Shop Locator mod, for finding the cheapest prices across shops
How to
https://github.com/gbl/EMCShopLocator
Parse what's on the sign and add it to a database, then look up that database whenever someone wants a specific item.
Additional feature possibility: select a shop and auto TP to it, or the possibility of a command (which can be implemented like this) to find a shop, e.g.: /finditem buy sand which will automatically teleport you to the residence of the shop that sells the cheapest sand, or /finditem sell netherite which will automatically teleport you to the residence of the shop that buys the most expensive netherite products (add in math here for ancient debris, netherite scrap, netherite ingots, netherite block)
Motivation
Useful mod from 1.12, port it to 1.16

https://github.com/ryanccn/emc-directory


Docker adjustments and small fixes

I wanted to use this script, but I saw that it was made just to work with docker, I've made some adjustments i.e. config generation when using it with docker, updated README and reformatted and fixed some types.

Please also fix pre-commit.ci issues

Also just noticed, you set the gen_config database file to /config/arr.db whereas in the compose you set the path to /databases/arr.db

Ah yes, will fix this tommorow

Once ready I'll be merging and releasing as a minor update


Failed to save VM snapshot if VM has VirGL graphics or NVMe drives

Describe the issue
Using Mac m1 and I have the latest UTM version and have a VM of Ubuntu and VM of Windows11   On Both I cannot save VM state.
Configuration

UTM Version: 3.1.5 (53)
OS Version: Host Mac Monterey 12.3
Intel or Apple Silicon? M1

Crash log
Debug log
I have 2 VM (Ubuntu and Windows 11) and same problems
On Ubuntu

On Windows

I see this issue too, with Debian Linux 10.3. While I can install on to emulated SCSI disks, none of the non-virtual display options (VGA, ati-vga, standalone ram framebuffer, etc) the VM to start or at leats get to the UTM logo.

It looks like the issue is that you're using virtual devices that don't support save states. For the first, you'll need to change your display from VirGL to VGA or similar, so that the device can be properly paused and its state snapshotted. VirGL is a passthrough virtual device, so it can't be paused to snapshot the contents.
Similarly, for the second, you're using a virtual NVME drive, and QEMU's snapshotting system doesn't appear to currently support that device type: switch from NVME to IDE/ATA device, and snapshots should work.
Should UTM be disabling the snapshot feature in the UI when virtual devices that don't support snapshotting are enabled? Should there be a warning when you enable a device that doesn't support snapshotting?
Personally, I'd like to see a per-VM setting for switching between snapshotting and a simple pause/resume function. Then it would be as simple as putting up an alert when you attempt to enable snapshotting that your current configuration doesn't support snapshotting, and leaving it disabled.
Some other devices that don't support snapshots are the entirety of the Apple virtualizer (for 12.x+ on 12.x+ -- hopefully this will be rectified after this year's WWDC) the Screamer audio device on PPC and the ROM device on m68k (this last one will hopefully change by QEMU v8).

Thanks for feedback.
1st one (ubuntu) I tried VGA and the screen is blank.. Cannot see anything but when trying to save state I still get error "

2nd one (Windows) wont start with IDE/ATA

Did anyone find a solution for this issue?

This is an old issue, but if anyone else ends up here after a search - this is what worked for me to have working suspend for both Linux and Windows VMs running on Apple Silicon:
Debian 12:

Display card: virtio-gpu-pci
Drive Interface: VirtIO

Windows 11:

virtio-ramfb
Drive Interface: VirtIO

UTM Details:

version 4.5.4
Running on Mac M1

For Windows machines, it's important to edit the hardware settings before installing Windows to choose the drive interface - otherwise, the boot device won't be found if you change it after installing.

I just saw that there were some patches by Jiqian Chen from AMD to fix S3 suspend for VMs, wonder if that helps with this problem with VirGL / VM-level suspend as well?
<EMAIL_ADDRESS>


Rename retrieval to scrape

no fucnctinal changes just renaming retrieval to scrape
as discussed at
https://groups.google.com/forum/#!topic/prometheus-developers/q77H6xNE36E
@brian-brazil agreed for this change on IRC.
cc @brancz @Gouthamve

lgtm


Cannot use 'else' as a property in IE8

In the filters function, we reference the 'else' property with dot notation.  This fails in IE 8, as else is a reserved word.

Just another reason I need to sync the testsuite changes over so we can start testing on IE8. Thanks for the report.


[Issue-187] Enable scroll for Error Component

Issue
https://github.com/accordproject/cicero-ui/issues/187
Enable Scrolling for Error component
Changes

Added Scrollbar component over Error Component
Added appropriate test cases

Hi @irmerk : Can you please review this

Will get to reviewing this more later, but I don't think another library is the solution.

@irmerk : Okay I will see if there are any other alternatives 👍

@irmerk : How about adding a overflow property to the element?

Hi @irmerk : I have added overflow property, rather simpler than a new component

@irmerk sure will rebase and puah.

Done @irmerk 👍


Fixes Tests. Adds default 'extension' option

Thought I'd fix the tests. Also added a default extension option. My use case for this is better compatibility for migrating jekyll sites over to metalsmith.

Cool thanks, I'll take a look at this asap!

Took a look at your PR. First of all, thanks for adding the tests. Second, I have a couple of questions:

I don't think the changes to .gitignore are necessary. Did you commit that accidentally?
What would be your reason for adding the extension option? I would like to stay as close as possible to the metalsmith-templates functionality and only diverge where absolutely necessary for doing what metalsmith-layouts is supposed to do. I assume you added it so you don't have to specify an extension in the front-matter?
Also, correct me if I'm wrong, but the setExtension function does not seem to do anything (you're not returning a value and assigning it to data in the Object.keys scope.

I use intellij. The intellij ignores are required for anyone who uses JetBrains software. .pid and .seed are probably not needed. I copied them out of a node gitignore template. .log is for all debug logs (npm-debug.log, etc). Finally .DS_Store is used my OS X to store folder metadata.

Yes, that is my reasoning for adding extension.

I opted for a function for 2 reasons.

It encapsulates the feature in a function
It gives that function a descriptive name, so there is less ambiguity around what is going on.
The setExtension actually checks whether extension is set, and then it updates the data.layout attribute for the current file. file is just a key in the files object.

The .gitignore for this project is only for this specific plugin. If you're going to use the plugin with metalsmith you can npm install it, and then use your own gitignore.
I don't think it's necessary to add the extension option for that reason. You can set it from the front-matter, which is more flexible, and doesn't diverge from metalsmith-templates.
I understand, but you're not returning a value and you're not assigning it anywhere. Right now it doesn't do anything of consequence. So for example:

    function setExtension(file) {
      var data = files[file];
      if (extension) data.layout = data.layout + '.' + extension;
      // return the result
      return data.layout;
    }

    // assign it somewhere
    var foo = setExtension(file);
    // etc.

Hope that helps. So I'll close this. If you want to create a pull request for just the tests I'd be happy to take a look at it.

I think you missed the point on this one. I use intellij to code. It creates a .idea folder (among other metadata). Opening this project to work on it means you need to exclude them else have them committed if not careful. As for .log - have you ever had NPM fail on you when working on a project?
Feel free to ignore this PR. You should be able to manage the tests on your own, right?

I understand that you use intellij to code, but this plugin isn't just
for you. It doesn't make sense to include something that only relates to
a particular environment in this project.

On 13-04-15 00:19, afram wrote:

I think you missed the point on this one. I use intellij to code. It
creates a .idea folder (among other metadata). Opening this project to
work on it means you need to exclude them else have them committed if
not careful. As for .log - have you ever had NPM fail on you when
working on a project?
Feel free to ignore this PR. You should be able to manage the tests on
your own, right?
—
Reply to this email directly or view it on GitHub
https://github.com/superwolff/metalsmith-layouts/pull/5#issuecomment-92144200.

Look mate, this is going nowhere. I won't debate gitignore with you, but I have to say unfortunately you are incorrect on your last point.
files is an object.
var files = {
'path/to/layout': { ...metadata... },
'anohter/path/to/layout': { ...metadata... }
}

files is available everywhere inside of the plugin function scope, because it is passed in as an argument.
Object.keys(files) returns an array of the keys in the files object. so ['path/to/layout', 'anohter/path/to/layout']
With this in mind, when we pass file to setExtension we create a new scope inside of that function, where file is available. It doesn't really make a difference, but we could also point out that file is a String primitive, and so a copy is made to pass as an argument to setExtension. It's also worth noting that the files objet is available inside setExtension because it is declared within the plugin function.
Perhaps it also worth pointing out that the files object is passed around by reference, so we are always referencing the same files object.
OK, so with all this in mind, you will find that files[file] works just fine inside of setExtension. We also modify file[file].layout if needed.
Finally. All the tests pass, Including the new test I wrote that explicitly sets an extension.
Good luck with this.

Look mate, this is going nowhere. I won't debate gitignore with you.

That's fine. I'm just explaining why I think it doesn't fit here, it's nothing personal.

but I have to say unfortunately you are incorrect on your last point.

I'm talking about data.layout, not the files object:
    function setExtension(file) {
      // this instance of the data variable will only be available in setExtension
      var data = files[file];
      // so the assignment below doesn't affect the data variable in the parent function
      if (extension) data.layout = data.layout + '.' + extension;
      // unless you return it, and assign it
    }

A simplified example of my point:
var files = {
    one: 1,
    two: 2,
    three: 3
};

var example = function(files) {

    function setExtension(file) {
      var data = files[file];
      data = 10;
    }

    for (var file in files) {
      setExtension(file);
      var data = files[file];
      console.log(data); // will log 1,2,3 and not 10,10,10
    }

};

example(files);

Look at the check function for example. It has the same basic structure as your setExtension function, but it returns either true or false. Which makes it useful. Your function doesn't change anything, so it's useless. So please, if you're going to contribute to open source projects, don't take criticism too personal and be open to other people's suggestions.

Um...
For your example you are correct, but that doesn't reflect what's going on. files[file] is an object, and objects are passed around by reference. That data variable you mention actually references an object, it's the same object that is later referenced.
example of objects passed around by reference.
var a = {
    hello: 'world'
};

var b = a;
b.test = true;
a.test // true

An example of how metalsmith defines file metadata:
var files = {
    'path/to/file': {
        layout: 'layout.hbs',
        someOtherMetadata: 'foo'
    }
};

// Where file equals the key 'path/to/file'
var file = 'path/to/file';
var data = files[file];
// data now equals that object that contains a layout key.

// demonstrating in context

var example = function(files) {

    function setExtension(file) {
       // this is the same object that is referenced below
      var data = files[file];
      data.layout = 'something else';
    }

    for (var file in files) {
      setExtension(file);
       // this is the same object that is referenced above
      var data = files[file];
      console.log(data.layout); // will log 'something else'
    }

};

example(files);

I hope you can see it now :-)

My apologies, you're absolutely right! My mistake. Thanks for elaborating :).


Flatten a little

What this PR does / why we need it:
Simplify the directory sturcture, remove the legacy types.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

@lyarwood still a wip

/close
Superseded by #87 and #90


add resnet50 from paddlehub conversion

[x] ResNet and demo implementation
[ ] Benchmark support and results for ResNet

cc @kaingwade @zihaomu

Need to update download_data.py with test images for image classification.


API Key rotation for Grafana Workspace

What does this PR do?

Added a module to enable Grafana API Key rotation --> grafana-key-rotation
Made appropriate changes to the eks-monitoring module to retrieve the details of the resources created in the in this module to be used for the above key rotation module.
Modified the existing-cluster-with-base-and-infra example to create create the grafana-key-rotation module.

Motivation

The current existing-cluster-with-base-and-infra example does not rotate the expired Grafana Workspace API keys automatically.
Modifying the example to enable key rotation for External Secrets deployed to the EKS Cluster as part of this solution.
Steps provided in https://docs.aws.amazon.com/prometheus/latest/userguide/obs_accelerator.html

More

[X] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)
[X] Yes, I ran pre-commit run -a with this PR
[ ] Yes, I have added a new example under examples to support my PR (when applicable)
[ ] Yes, I have updated the Pages for this feature

Note: Not all the PRs required examples and docs.
For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

Tagging reviewers --> @bonclay7 @lewinkedrs

Made the following changes to incorporate the suggestions from @lewinkedrs :

Added a README.md doc to grafana-key-rotation module with the requested information.
Performed testing with the latest version of python runtime for Lambda, "3.12", and the solution is working as expected.
Removed test from the names of policy attachment resources.
Also removed white spaces from the mentioned files.
Added variables for python runtime, event bridge scheduler expressions to provide additional flexibility for users.

Made the changes suggested by @bonclay7 and removed managed_grafana_workspace_id from the SSM parameter name created through external-secrets to reduce the number of changes made.

Added Unit Tests for Lambda function in the grafana-key-rotation module in the directory ./modules/grafana-key-rotation/tests/unit/src. Also added a ReadMe file in the same location with a quick overview of steps to run the Tests.

Closing this PR as Managed Grafana v9 and 10 introduced Service account and service account token (SAT) APIs, instead of API Keys.


transform + reduce async iterable cancellation

this issue names transducers as a workaround for early cancellation of async iterables. Transducer enabled functions reduce and transform are in a great position to cancel async iteration because they control the for await...of loop that started the async iteration
async iterable cancellation is desirable for example in front-end applications where you may be streaming data at a time and when the user navigates away you should not care about streaming data anymore and cancel at that point.


"missing from vendor" even though it is there

What version of dep are you using (dep version)?
v0.5.4-2-g5600de07
What dep command did you run?
Minimally reproducible example:
$ cd $GOPATH/src/github.com/whatever/project
$ ls
main.go
$ cat main.go
package main

import (
    _ "golang.zx2c4.com/wireguard/wgctrl"
)
$ dep init
$ cat Gopkg.toml
[[constraint]]
  branch = "master"
  name = "golang.zx2c4.com/wireguard/wgctrl"

[prune]
  go-tests = true
  unused-packages = true
$ cat Gopkg.lock
[[projects]]
  branch = "master"
  digest = "1:6b3b719432ce543e68c97ebcfc503ba239782ad78e658d363436c7181fdff7a8"
  name = "github.com/mdlayher/genetlink"
  packages = ["."]
  pruneopts = "UT"
  revision = "e35f2bf499b9e396bf88e96af81ac1085f5c6f0b"

[[projects]]
  branch = "master"
  digest = "1:7e464212ab9ff806389ade611ea95503c15900cbc6648191b470575413b73024"
  name = "github.com/mdlayher/netlink"
  packages = [
    ".",
    "nlenc",
  ]
  pruneopts = "UT"
  revision = "4e5dd4017dae8175b908a6bd46b1cb7161664633"

[[projects]]
  branch = "master"
  digest = "1:c79dab329e903f5f7793c3f541645f5e4fdaeb222ccd804b0913ea796d0f0213"
  name = "golang.org/x/crypto"
  packages = ["curve25519"]
  pruneopts = "UT"
  revision = "71b5226ff73902d121cd9dbbdfdb67045a805845"

[[projects]]
  branch = "master"
  digest = "1:1fc1c03687700856ef340d185fd0272e3de88b3a5632283ba3f148cf40c5dcc8"
  name = "golang.org/x/net"
  packages = ["bpf"]
  pruneopts = "UT"
  revision = "a7b16738d86b947dd0fadb08ca2c2342b51958b6"

[[projects]]
  branch = "master"
  digest = "1:ee82b03e3db19a6d3ed88db62427809f5dfc18c3bd1afa30f8c2b7e56c6c7565"
  name = "golang.org/x/sys"
  packages = [
    "unix",
    "windows",
  ]
  pruneopts = "UT"
  revision = "d223b2b6db03988709bac9e66576ad6ec0d83695"

[[projects]]
  digest = "1:66bf404c97d65e646d3c95f76c64dd867d6b0972cf797a06341b3b8dc66d4f65"
  name = "golang.zx2c4.com/wireguard"
  packages = ["ipc/winpipe"]
  pruneopts = "UT"
  revision = "7c97fdb1e34babf2697a815b8381037220e0c19b"
  version = "v0.0.20190908"

[[projects]]
  branch = "master"
  digest = "1:91e8e083d860ea7a5e9d1e506c94d38d487d1c70d4cc78f4fe46182ef4c18d6b"
  name = "golang.zx2c4.com/wireguard/wgctrl"
  packages = [
    ".",
    "internal/wginternal",
    "internal/wglinux",
    "internal/wglinux/internal/wgh",
    "internal/wgopenbsd",
    "internal/wgopenbsd/internal/wgh",
    "internal/wguser",
    "wgtypes",
  ]
  pruneopts = "UT"
  revision = "599d41c32142c0c277590bdfa680795b2b5582a5"

[solve-meta]
  analyzer-name = "dep"
  analyzer-version = 1
  input-imports = ["golang.zx2c4.com/wireguard/wgctrl"]
  solver-name = "gps-cdcl"
  solver-version = 1
$ dep check
# vendor is out of sync:
golang.zx2c4.com/wireguard/wgctrl: missing from vendor
$ stat vendor/golang.zx2c4.com/wireguard/wgctrl/
# It's definitely there

What did you expect to see?
dep check should exit 0, and not complain that it can't find a vendor directory that is in fact present
What did you see instead?
dep check does not exit 0, and complains that it can't find a vendor directory, but is is there
I've been hacking away at this for the last few hours with many different combinations of imports in Gopkg.lock but I can't get dep check to succeed; it always reports a vendor inconsistency problem but the vendored files are definitely there.
The dependency repository is golang.zx2c4.com/wireguard/wgctrl, and I am able to successfully go get golang.zx2c4.com/wireguard/wgctrl.
Any pointers would be appreciated.

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


Volatile IDs used, any chance having next versions to support persistent UUIDs?

As per Neo4j Manual:
"Neo4j reuses its internal ids when nodes and relationships are deleted. This means that applications using, and relying on internal Neo4j ids, are brittle or at risk of making mistakes. Rather use application generated ids."
So it would be convenient/mandatory for Production grade apps that seraph supports Application generated ids instead of node's internal id. Are there any plans to change this?

Please see the discussion here https://github.com/brikteknologier/seraph/issues/162


Bug on latest Chrome for OSX at http://mudcu.be/midi-js/

And similar thing happens on the latest Chrome (Version 40.0.2214.115 m) for Windows 7.

The bug seems to be that createGainNode has been renamed to createGain. There are other changes in the spec as well: https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Porting_webkitAudioContext_code_to_standards_based_AudioContext

Just here to up this thread :)

The demo has been updated.
I need to merge the dev into master branch, but you can use dev till then.


Channel Alignment TX Strobing 0.85 check in feedback

For file ca_tx_strb, there is an input signal tx_stb_rcvr which is not in the HAS and FS. Just wonder what is the usage of this signal.  My understand is then tx_stb_en, the strobe will be generated. Otherwise won't.  How is user going to use tx_stb_rcvr?
Does the following state machine will dynamically turn on strobe and turn off the strobe and on?

Check if there is a test for tx_stb_en for dynamically enable and disable strobe

We have added the target to add a test for toggling tx_stb_en in our internal DV flow. Is there something more that is needed for this issue?

From the tx strobing block RTL, I can see you can only do strobe off -> strobe on -> strobe off. But not strobe off -> strobe on -> strobe off -> strob on.  Also, in my opinion, there is no need to have the state machine and tx_stb_rcvr input.  All this block need to do is when tx_stb_en is zero, bypass the original traffic. When tx_stb_en is one, choose the mux output of original traffic + strobing.

Here is the state machine in the code that will not satisfy your  "strobe off -> strobe on -> strobe off -> strob on" condition.

I am closing this case. It is up to you to fix it.


[bug] cargo tauri ios dev. tauri: command not found Command PhaseScriptExecution failed with a nonzero exit code

Describe the bug
when i  run: cargo tauri ios dev
...
...
...
/bin/sh -c /Users/mx/Library/Developer/Xcode/DerivedData/chatgpt-gfqldbevlpvvxgeqawqlgyepngis/Build/Intermediates.noindex/chatgpt.build/debug-iphoneos/chatgpt_iOS.build/Script-4AACB566BF22B7233F2E816D.sh
/Users/mx/Library/Developer/Xcode/DerivedData/chatgpt-gfqldbevlpvvxgeqawqlgyepngis/Build/Intermediates.noindex/chatgpt.build/debug-iphoneos/chatgpt_iOS.build/Script-4AACB566BF22B7233F2E816D.sh: line 2: tauri: command not found
Command PhaseScriptExecution failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution Build\ Rust\ Code /Users/mx/Library/Developer/Xcode/DerivedData/chatgpt-gfqldbevlpvvxgeqawqlgyepngis/Build/Intermediates.noindex/chatgpt.build/debug-iphoneos/chatgpt_iOS.build/Script-4AACB566BF22B7233F2E816D.sh (in target 'chatgpt_iOS' from project 'chatgpt')
(1 failure)
Error command ["xcodebuild"] exited with code 65
Reproduction
No response
Expected behavior
No response
Platform and versions
Environment
  › OS: Mac OS 12.6.3 X64
  › Node.js: 16.18.1
  › npm: 8.19.2
  › pnpm: 7.29.0
  › yarn: 1.22.19
  › rustup: 1.25.2
  › rustc: 1.68.0
  › cargo: 1.68.0
  › Rust toolchain: stable-aarch64-apple-darwin

Packages
  › @tauri-apps/cli [NPM]: 2.0.0-alpha.4
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("unexpected character 't' while parsing major version number")', /Users/mx/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-cli-2.0.0-alpha.4/src/info.rs:566:67
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  › @tauri-apps/api [NPM]: tauri-apps%

Stack trace
No response
Additional context
No response

Hi, are you using nvm or any other node version manager?
Since the script is running on /bin/sh, the environment might not be the same that you are using on your terminal thus the node and node modules it running are probably not the ones you expect.

I hit the same error after installing npm packages using bun. I believe I first used my ancient bun 0.1 to install, the updated my bun to 1.x. Later I realised I was behind on the node version as well (18.x) so I upgraded Node to 20.x. How can I make sure my node packages are installed with the same version as I use to run the app in the simulator? bun used a global cache, so I guess I would first have to clear that cache before doing a fresh package install?
https://bun.sh/docs/install/cache#minimizing-re-downloads

Same issue

we made some recent changes to enhance this, can you tell us the steps you've done to initialize the project (tools, nvm, etc)?

I encountered a similar error in Xcode while using Tauri with Bun. If anyone else is using Bun or NVM, they may experience this issue as well.
You can find it under "Build Phase" -> "Build Rust Code."
I manually modified the build script in Xcode as follows:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm use --lts

I hope this helps others who run into the same problem!

I encountered a similar error in Xcode while using Tauri with Bun. If anyone else is using Bun or NVM, they may experience this issue as well.
I manually modified the build script in Xcode as follows:
You can find it under "Build Phase" -> "Build Rust Code."
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm use --lts

I hope this helps others who run into the same problem!
And don't forget to check whether the LTS version is installed on your computer


Remove outdated # TODOs

As part of https://github.com/fastlane/ci/issues/464

Yeah most of them are in the old non-JSON controllers, so no reason to keep the TODO items.


[qt5] Configure without -no-style-* parameters

Removed the parameters for Windows styles because they prevent proper style rendering (defaults to Windows 9x style). Please see issue #856.
Removed the parameter for the fusion style for consistency.
I am not entirely confident about these changes, both because I have only tested removal of all parameters at the same time on Windows 10, and because there must have been some reasons for disabling the styles in the first place.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@SteffenL, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot

Thanks for the issue and PR!
A little bit ago, our Qt5 port had serious build troubles. As part of trying to fix it, started by disabling as many pieces as possible; unfortunately these appear to never have gotten re-enabled!


Fails when maxAge is too large

Hi! 👋
Firstly, thanks for your work on this project! 🙂
When I tried setting a maxAge that is sufficiently large, Redis complains that the expiry duration needs to be in [integer] seconds. I believe the problem is due to the use of floating point numbers. This patch fixed it for me, so it'll be great if you can apply this or similar to the code.
diff --git a/node_modules/remix-redis-session/dist/index.js b/node_modules/remix-redis-session/dist/index.js
index eefa741..a2b73d4 100644
--- a/node_modules/remix-redis-session/dist/index.js
+++ b/node_modules/remix-redis-session/dist/index.js
@@ -25,7 +25,7 @@ const expiresToSeconds = (expires) => {
     const now = new Date();
     const expiresDate = new Date(expires);
     const secondsDelta = (expiresDate.getTime() - now.getTime()) / 1000;
-    return secondsDelta < 0 ? 0 : secondsDelta;
+    return secondsDelta < 0 ? 0 : Math.round(secondsDelta);
 };
 function createRedisSessionStorage({ cookie, options }) {
     let redis;

This issue body was partially generated by patch-package.

I am hitting the same issue fairly consistently setting the maxAge to two weeks. I came here to post an issue but one has already be posted! I fixed the same way locally.


HBASE-28666: In WALEntryStream, always use current WALTailingReader if one exists

There was one code path within a if (reader != null) {} block that did not return and end the method early, thus allowing a subsequent line to re-create the reader. This was not the intention of the author. This PR closes this loophole.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 26s
Docker mode activated.


Hangs when using OpenJDK on Ubuntu Focal

Describe the bug
After about 2 minutes Minecraft freezes with this mod enabled
To Reproduce
Steps to reproduce the behavior:

Open Minecraft with ChatTriggers active and no modules
Play for a bit
Eventually it will freeze, often while warping

Expected behavior
Minecraft does not freeze
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: Ubuntu Focal
ChatTriggers Version: 1.3.0 and 0.18.4-SNAPSHOT
Minecraft Version:  1.8.9
Java Version: openjdk version "1.8.0_272"

ChatTriggers does not work with your java version on Linux, use java 8 162 which you can get at https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
You can just download the tar.gz, extract it and point your launcher to extracted/bin/java.

ChatTriggers does not work with your java version on Linux, use java 8 162 which you can get at https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
You can just download the tar.gz, extract it and point your launcher to extracted/bin/java.

Also that java version isn't the only one which works, it's just what I have and what has worked without any issues for me.

What does not actually work? OpenJDK is the standard on all Linux distributions. That version of the JDK is riddled with security bugs

What does not actually work? OpenJDK is the standard on all Linux distributions. That version of the JDK is riddled with security bugs.

I'm actually not sure what doesn't work with it, you're gonna have to ask somebody else but I'm pretty sure that OpenJDK will work, just not your current version of it, like I said before: that version is the one which works fine for me and doesn't cause any issues, you're free to experiment and search for a version which does work.

Also, downloading that version of Java enforcing signing in with an Oracle account. If there is any company with whom I do NOT want an account, it is Oracle.
Aware of this, I don't know if there's anything you can do about it other than just using a throwaway account.


fix stereo for sounds and audio device. fixes #6526

AL_DIRECT_CHANNELS_SOFT source option was only set for Music. With this change it's applied for both Sound and AudioDevice as well. This option allow to not treat stereo sources with 3D audio stuff. When disabled, you can ear a bit of left channel in right speaker and vice-versa. When enabled, channels are perfectly separated.
This option only applies to stereo sources and has no effect on mono sources. Note that with mono sources you can ear a bit of sound in left speaker even with pan at full right (and vice-versa) because of how OpenAL implement 3D audio.
Lwjgl2 backend doesn't have this option but both have the same behavior now.
I improved the tests a bit in order to validate this change.

Cheers!

While this change works as intended (and fixes the bug in #6526), I thought I'd mention a shortcoming of the AL_DIRECT_CHANNELS_SOFT option I found while looking over this PR:
Apparently it drops any extra channels if it can't find a matching output channel. For example, when playing a surround source on stereo speakers the additional channels are dropped instead of downmixed (see the AL SOFT specification here and this issue for example). Obviously, this can lead to unwanted results.
As a consequence, OpenAL Soft introduced an alternative extension: AL_SOFT_direct_channels_remix. However, this extension isn't a part of LWJGL 3 until the next release.