Improve Security of Publicly Accessible Temporary File Names

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
The current naming convention for temporary files uses short, alphanumeric filenames (e.g., 260b9q47.mp3). These short names are vulnerable to enumeration and brute-force attacks, especially when files are publicly accessible.
For example the files generated by HA in the /config/tts/ folder look like this:
01f3c53437ec8dbc7244fe3e4c3eef48bfec0290_es_3f35d0ab30_tts.openai_tts_shimmer_say.wav
04986bf3f854f870c64484694a67d6b9a448a042_en_-_tts.openai_tts_shimmer_say.mp3
04fb45e6d0def36787af5b57b627728038e046a7_es_3f35d0ab30_tts.openai_tts_shimmer_say.wav
061ee37f3b50a9b42dc3987c18b7b8d1311bc8ea_en_-_tts.openai_tts_shimmer_say.mp3

Describe the solution you'd like
Incorporate more secure identifiers (e.g., SHA256 hashes, UUIDs).
Optionally include additional entropy (e.g., timestamps or random salts).
Describe alternatives you've considered
n/a
Additional context
Thanks for this amazing integration!

Thanks for your suggestion. I agree that it's a good idea. I will include it in the next release


Signature does not seem to always scale correctly

Signature does not seem to always scale correctly.  As the pen moves rightwards, the scale it moves in seems to increase exponentially.  Is there a way to force it to rescale, for example if the parent control resizes?  Any ideas?

How are u rendering it?

i have this problem too, but not 100% appear.
it seems like the signature component has rendered before the Dom Loaded completely, that makes the signature component's width computed wrong.
i may resolve it by force rerender the signature component after the page mounted.
<Vue-signature-pad :key="key" />

mounted() {
  this.refresh()
}

refresh() {
  this.key++
}

this seems to be effective

You can add a ResizeObserver on the parent container of vue-signature-pad,
Then have a ref on the vue-signature-pad and call xxx.value.resizeCanvas() when the parent container resizes.


keep metadata for storage with ceph rbd image

Ideally we would store metadata such as an {attribute: value} pair with the actual ceph volume in the ceph cluster. This would allow us to rebuild the controller database by querying the ceph cluster if the storage table is wiped, or else even allow us to stop using the controller database for persistent storage for storage devices.

NOTE: this would be an improvement for both "image" and "volume" in the OpenStack Glance/Cinder terms.  Our metadata stored objects will have metadata.  That metadata in ceph instead of disjoint in a separate store is a nice enhancement.

Rbd supports object key value mappings.  I've successfully stored and retrieved key:value data in ceph with the 'rados' command line.

It looks like the problem is that if using the kernel rbd driver and image format 2, the object-map feature is not (yet?) supported.  It works with image format 1.

See also: http://www.spinics.net/lists/ceph-users/msg27787.html


FRONTEND-24. Refactor: deleted useless .scss files.

Codecov Report

Merging #230 (b163bd8) into develop (586f107) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #230   +/-   ##
========================================
  Coverage    17.50%   17.50%
========================================
  Files          226      226
  Lines        20309    20309
  Branches       107      107
========================================
  Hits          3555     3555
  Misses       16718    16718
  Partials        36       36

Flag
Coverage Δ

web
17.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 586f107...b163bd8. Read the comment docs.


Toggle switches and radio buttons are not yet consistent with Windows UI

The current switches and radio buttons are still the default ones from Discord and not consistent with Windows UI.
I don't know if that is the goal (to imitate Windows' Fluent Design completely), but it would be nice to match it with Windows UI.
Additional context

Discord's default toggle switch

Windows 11's toggle switch

Discord's default radio buttons

Windows 11's radio buttons
I found these on Microsoft's XAML Controls Gallery on the Microsoft Store: https://www.microsoft.com/store/productId/9MSVH128X2ZT

You might need to update: https://github.com/TakosThings/Fluent-Discord/releases v0.0.13 was released a few hours ago.
Most input controls were done in the last release (with a few exceptions).

You might need to update: TakosThings/Fluent-Discord/releases v0.0.13 was released a few hours ago.
I didn't notice the new update, sorry. I will check now. Thanks!

@TakosThings Not sure if this is within the scope of the theme, but BetterDiscord's plugin page still shows the old/default Discord Toggle Switches

I just pushed the code for it in 833cc04eadbcb1350c5c499566a4c9425c6ce096 so it'll be in the next update.

Thanks so much.


feat(html)!: support more asset sources

Description
Support more tags to process as assets.
Close #7362
Close #5098
Supersedes and closes https://github.com/vitejs/vite/pull/7643 (There was a lot of conflicts that it's easier to start from scratch)
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

Moving to the 5.0 milestone as we don't have a way to opt-out of this feature if someone needs to. Either a dedicated API, sharing with build.rollupOptions.external, <!-- @vite-ignore -->, etc which needs some discussion.

Moving to the 5.0 milestone as we don't have a way to opt-out of this feature if someone needs to. Either a dedicated API, sharing with build.rollupOptions.external, <!-- @vite-ignore -->, etc which needs some discussion.

Would ?url not work as a opt-out on a per-URL basis?
I am really eager to have this feature as early as possible as it just makes Vite so much more suited for SSG. Not only image transformation as I brought up a few days ago (#11099) but also CSP hashes. Both of which are recommended for modern websites and currently missing in Vite whereas other SSG solutions support them like this eleventy blog theme.

Would ?url not work as a opt-out on a per-URL basis?

We can't ask the user to update their links to opt-out. The links should stay as is.
We'd need some time to discuss the API before we can move forward with this.

What about making it opt in? Similar to assetsInclude, an optional config for the attribute strings you need to locate and parse assets in?

Moving to the 5.0 milestone as we don't have a way to opt-out of this feature if someone needs to. Either a dedicated API, sharing with build.rollupOptions.external, <!-- @vite-ignore -->, etc which needs some discussion.

Would making a new configuration option for the Vite config file fix this issue?
export interface UserConfig {
  /**
   * Configure which HTML tags and attributes to use as asset sources.
   */
  assetSources?: AssetSourcesOptions
}
export interface AssetSourcesOptions {
  [tag: string]: {
    [attribute: string]: boolean
  }
}

Default configuration would be: (this matches what is currently present in the code)
// ...
assetSources: {
  audio: {src: false},
  embed: {src: false},
  img: {src: true, srcset: true},
  input: {src: false},
  object: {src: false},
  source: {src: true, srcset: true},
  track: {src: false},
  video: {poster: true, src: true},
  image: {href: true, 'xlink:href': true},
  use: {href: true, 'xlink:href': true},
  link: {href: true, imagesrcset: false},
  meta: {content: false},
}
// ...

Would making a new configuration option for the Vite config file fix this issue?

Sorry for not getting back, this slipped through my notifications 😅 This would indeed be a solution too but ideally we want to keep the configuration internally until needed.

In different news, in the last meeting we discussed that we would introduce resolve.external (https://github.com/vitejs/vite/issues/6582) as a way to externalize things in dev and build. And ideally it would cover HTML too (similar PR: https://github.com/vitejs/vite/pull/11854).
I'm still (secretly) hoping we would support <!-- @vite-ignore --> because it feels convenient in HTML files, but we can improve this later in a non-breaking way.

Would love to see this landed. #7062 is very unexpected and feels like a bug. I can see how there's space for adding more build options. But treating <img href="foo.svg"> so differently from <object data="foo.svg"> for bundling with Vite is very confusing.

Will need to wait for https://github.com/vitejs/vite/pull/18494 before I can properly rebase the code. Not sure if this will get into the next major though, but it's close to done

This is now done. Compared to the initial implementation, I shrunk down the complexity of handled HTML elements list quite a lot. I realized we don't have to completely follow what html-loader has:

If the link tag has a href, it's always safe to assume that's being used as a URL, so we always process it (same as previous behaviour). html-loader added rel and itemprop checks which I don't think is needed.
link with imagesrcset if used is almost always guaranteed a srcset that can be safe to process, we don't have to check other attributes.
meta with itemprop also shouldn't change the meaning of content being a URL or not. From what I can tell, itemprop is merely additional property information and doesn't change the meta tag intent.

There may be actual reasons these were implemented in html-loader that I missed. I tried searching for links or comments for where these behaviour can be found, but I couldn't find any.

It would be nice to mention it in the migration guide. That more attributes are now transformed and it can be excluded by vite-ignore attribute.

/ecosystem-ci run


Add pre-defined color values

Adds predefined color values usable like:
vk2d::Colorf::SCARLET();
vk2d::Colord::RED();
vk2d::Color8::GREEN();
vk2d::Color16::CYAN();
vk2d::Color32::TEAL();

Also fixed typo in matrix classes. Don't understand how it passed your compiler, it was returning wrong types.

These look good. 👍
VS completely skips templates that are not used anywhere, these often come haunting back later.

Unfortunately I had to remove TRANSPARENT for now as it is defined by the "Windows.h".
"Windows.h" causes a ton of naming collisions as everything in it is a pre-processor definition or a macro and they used up all the common words. 🤦♂


Fix SyntaxError: JSON.parse

@changeworld : Thanks for your contribution! The author, @mayanknayar, has been notified to review your proposed change.

We're in the process of pulling these commits to the private repo, so we can verify the content on staging. We'll post a new PR # shortly and then close this PR.

@ktoliver : Thanks for your contribution! The author, @mayanknayar, has been notified to review your proposed change.

@changeworld @mayanknayar - Private repo PR 62206 replaces this pull request. We moved the commit to the private repo so we can validate suggested formatting changes by using automated validation and staging. We'll close this PR now.

@GitHubber17 - Is the private repo PR ready? If so, please assign to @zr-msft for syntax and formatting verification

I'll assign the new PR shortly. Thanks


On SIGTERM, on non-Win32, when we say we're going to exit, exit

Previously we logged that we were going to exit but we forgot to
actually follow through.
Signed-off-by: David Scott<EMAIL_ADDRESS>

LGTM, once the test failure is fixed.

I've restarted CircleCI with a fresh cache.

I also rebased against latest master.


Support for multihost and status for alerts

I present my solution for multihost Grafanas. It's easy to use and the code should be backwards compatible with current implementation. Use can choose whether to use multihost setting or a simple one.
Example of usage:
# app-config.yaml
proxy:
  '/grafana/api':
    # Maybe a public or an internal DNS
    target: https://grafana.host/
    headers:
      Authorization: Bearer ${GRAFANA_TOKEN}
  '/grafana2/api':
    # Maybe a public or an internal DNS
    target: https://grafana2.host/
    headers:
      Authorization: Bearer ${GRAFANA2_TOKEN}

grafana:
  hosts:
    - id: 'default' #unique host identifier used in Catalog Yaml annotation `grafana/source-id`

      # Publicly accessible domain
      domain: https://monitoring.company.com

      # Path to use for requests via the proxy, defaults to /grafana/api
      proxyPath: '/grafana/api'

      # Is unified alerting enabled in Grafana?
      # See: https://grafana.com/blog/2021/06/14/the-new-unified-alerting-system-for-grafana-everything-you-need-to-know/
      # Optional. Default: false
      unifiedAlerting: false

    - id: 'my-second-instance' #unique host identifier used in Catalog Yaml annotation `grafana/source-id`

      # Publicly accessible domain
      domain: https://monitoring2.company.com

      # Path to use for requests via the proxy, defaults to /grafana/api
      proxyPath: '/grafana2/api'

      # Is unified alerting enabled in Grafana?
      # See: https://grafana.com/blog/2021/06/14/the-new-unified-alerting-system-for-grafana-everything-you-need-to-know/
      # Optional. Default: false
      unifiedAlerting: false

I also integrated support for getting status for Alerts (sorry I had to mix it, it would be a mess to separate it).
https://github.com/K-Phoen/backstage-plugin-grafana/pull/65 and https://github.com/K-Phoen/backstage-plugin-grafana/pull/70

@dtemir I don't think it is a good idea. Think about secrets, proxies...

@Vity01 Any updates on this PR?


FileSystem caching

Problem
Traversing the filesystem can take a long time especially for deeply nested & private files which require multiple back and forths to the network with decryption in between.
Solution

Store a "cache" in the header of dirs that contains the subtree.
Update the cache as the subtree is updated.

Note: implementation is similar to the current "pins" implementation that is used to track nested pins for the private tree

Closed here: https://github.com/fission-suite/ts-sdk/pull/45


Remove version: Uncrustify.Uncrustify version 0.77.1

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/uncrustify/files/uncrustify-077.1/uncrustify-0.77.1_f-win64.zip
OK
(Automated message - build 923)

Close with reason: Package still available;


Symfony 4 support

Symfony 4 is already GA, please add support for it. (Cascade dependency from Bunny.)

I was already looking at it on Friday, imho even symfony 3.4 breaks this :(

some news about this issue? Upgradability to Symfony4 is really apreciated :-)

This has been done in #9 and is in 1.3.0, just not been closed. :)


[XXXX] Fix trainee status translation

Context
Fix trainee status translation
Guidance to review

Navigate to a deferred record and click on it
Check that the deferral/withdrawal date is displayed underneath the state

Before

After

 Fix trainee status translation


MeshPy with Potential Interactions

Currently I am further investigating the usage of MeshPy for the creation of multiple helices (based on #60) within a single input file including beam potential interactions.
In a simplified setting I have multiple helices with different start points, different axes, different twist angles and differing heights which are combined into a single 4C input file. Further, I want to enable potential interactions between individual fibers which results in the necessity to define each helix as an individual line.
As a simple proof of concept I use the following Python Code.

Code
import numpy as np

from meshpy import (
  Mesh,
  InputFile,
  MaterialReissner,
  Beam3rHerm2Line3,
)

from meshpy.mesh_creation_functions.beam_basic_geometry import create_beam_mesh_helix

def main():
  """Minimal example of multiple helical beams"""

  # define input file
  input_file = InputFile()

  # define material
  mat = MaterialReissner(youngs_modulus=1000, radius=0.5, shear_correction=1.0)

  # define radii of differing helical segments
  radii = np.array([0, 3, 6, 9, 12, 15, 18])

  # determine twist angles if helical segments
  outermost_twist_angle = np.deg2rad(45)
  twist_angles = []
  for radius in radii:
      if np.isclose(radius, 0.0):
          twist_angles.append(np.pi / 2)
          continue
      twist_angles.append(
          np.arctan((radii[-1] / radius) * np.tan(outermost_twist_angle))
      )

  # create helices
  for radius, twist_angle in zip(radii, twist_angles):

      tmp_mesh = Mesh()

      helix_set = create_beam_mesh_helix(
          tmp_mesh,
          Beam3rHerm2Line3,
          mat,
          [0, 0, 1],  # axis
          [0, 0, 0],  # axis_point
          [radius, 0, radius],  # start_point
          twist_angle,  # twist_angle
          height_helix=2 * np.pi * 10,
          n_el=20,
          warning_straight_line=False,
      )

      input_file.add_mesh(tmp_mesh)
      input_file.add(helix_set["line"])

  input_file.write_input_file("_test_output/test.dat", header=False)
  input_file.write_vtk("test", "_test_output/")

  input_file.display_pyvista(
      beam_nodes=True,
      beam_tube=True,
      beam_cross_section_directors=True,
      resolution=50,
      parallel_projection=True,
  )

if __name__ == "__main__":

  main()

This provides the necessary geometries and also adds each individual helix as a DLINE-NODE TOPOLOGY. To enable potential interactions within 4C I additionally need to add the header settings for the potential interactions:
--------------------------------------------------------------BEAM POTENTIAL
POT_LAW_PREFACTOR               -1e-03 1e-06
POT_LAW_EXPONENT                6.0 12.0
BEAMPOTENTIAL_TYPE              Volume
CUTOFF_RADIUS                   30
STRATEGY                        SingleLengthSpecific_SmallSepApprox_Simple
NUM_INTEGRATION_SEGMENTS        1
NUM_GAUSSPOINTS                 50
POTENTIAL_REDUCTION_LENGTH      1.5
AUTOMATIC_DIFFERENTIATION       no
CHOICE_MASTER_SLAVE             higher_eleGID_is_slave
----------------------------------BEAM POTENTIAL/RUNTIME VTK OUTPUT
VTK_OUTPUT_BEAM_POTENTIAL           yes
INTERVAL_STEPS                      1
EVERY_ITERATION                     no
FORCES                              yes
MOMENTS                             yes
WRITE_FORCE_MOMENT_PER_ELEMENTPAIR  no // maybe change to yes

Finally, I need to add the interaction potential to each fiber as follows (each potential law needs to be added to each line, e.g., law 1 to line 1 and 2 and law 2 to line 1 and 2):
--------------------------------DESIGN LINE BEAM POTENTIAL CHARGE CONDITIONS
DLINE                           2
E 1 - POTLAW 1 VAL 13.123 FUNCT none
E 1 - POTLAW 2 VAL 13.123 FUNCT none
E 2 - POTLAW 1 VAL 13.123 FUNCT none
E 2 - POTLAW 2 VAL 13.123 FUNCT none

Regarding boundary conditions I want to fix all nodes at certain planes in all directions, e.g. fix all nodes at z=0.0 and final geometry length z=100.0.
This leads to the following questions where I am unsure on how to proceed:
1. Would it be the best option to simply add the overall BEAM POTENTIAL settings via input_file.add("""BEAM POTENTIAL ...""")? Or is it useful to somehow implement this as a fixed function into MeshPy?
2. Would it be ok to add a new runtime output for potential interactions to header_functions.py ->set_runtime_output() ?
3. Regarding the DESIGN LINE BEAM POTENTIAL CHARGE CONDITIONS; as a preferred way I would just add a helix_set.add_potential_charge_condition(potlaw=1, value=13.123, function=none).  Is it a good/doable thing within PyMesh? It would be nice if this could directly happen within the geometry creation as each geometry set already has all necessary information on its corresponding DLINE. Currently I am unsure on how to proceed within MeshPy, would it make sense to create a new boundary condition?
4. Regarding the boundary conditions; Is it possible to select specific nodes at a plane in space (e.g., z=100.0 or z=100.0+-0.01) and add a boundary condition to them? If not possible, would it make sense to include this option in MeshPy?
Thanks in advance for your help!

Would it be the best option to simply add the overall BEAM POTENTIAL settings via input_file.add("""BEAM POTENTIAL ...""")? Or is it useful to somehow implement this as a fixed function into MeshPy?
Would it be ok to add a new runtime output for potential interactions to header_functions.py ->set_runtime_output()

The utility functions for creating header sections / input file parameters in 4C have a historic background. They were introduced to ease the creation of input files by wrapping common parameters. On one hand, this has the advantages of the MeshPy scripts being relative robust regarding changes in 4C. On the other hand, this requires a constant update of MeshPy to keep the parameter naming in 4C up to date. I personally only use these functions on rare occasions any more. For me it turned out to be simpler to just add all input file parameters directly as strings to the input file. However, I am not creating input scripts on a regular basis as I used to, so maybe I am biased there.
Long story short, do as you seem best fit. In the near future I can envision a better encapsulation of the 4C specific functionality in MeshPy, similar to the ABAQUS functionaliy stored in meshpy/abaqus. So feel free to add a meshpy/four_c/beam_potential.py file that contains the beam potential specific header functions (would also be a good place to store beam potential boundary condition functions).

Regarding the DESIGN LINE BEAM POTENTIAL CHARGE CONDITIONS

You have two options here:

You can add your boundary condition to the boundary condition definitions of MeshPy.
You can simply state the section name as a string when defining the boundary conditionsfor i_pot_law in range(2):
    input_file.add(
        BoundaryCondition(
            helix_set["line"],
            f"POTLAW {i_pot_law+1} VAL 13.123 FUNCT none",
            bc_type="DESIGN LINE BEAM POTENTIAL CHARGE CONDITIONS",
        )
    )

Regarding the boundary conditions; Is it possible to select specific nodes at a plane in space (e.g., z=100.0 or z=100.0+-0.01) and add a boundary condition to them? If not possible, would it make sense to include this option in MeshPy?

Yes, that is easily possible. Try the following code snippet to fix all points at z=100:
    def find_node_on_plane(node, *, normal=None, origin_distance=None, tol=mpy.eps_pos):
        """Return the nodes lie on the plane defined by normal and origin_distance"""
        projection = np.dot(node.coordinates, normal) / np.linalg.norm(normal)
        return np.abs(projection - origin_distance) < tol

    nodes_at_100 = input_file.get_nodes_by_function(
        find_node_on_plane, normal=[0, 0, 1], origin_distance=100.0, tol=0.1
    )
    input_file.add(
        BoundaryCondition(
            GeometrySet(nodes_at_100),
            "NUMDOF 9 ONOFF 1 1 1 1 1 1 0 0 0",
            bc_type=mpy.bc.dirichlet,
        )
    )

If this turns out to be used in many cases, we can add a file containing "node finding functions". To store commonly used functions like this one.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 30496b3, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 13085 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in 90a402f.


fix(grid-list): harden drag drop logic

:tada: This PR is included in version 12.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


chore: remove express readconcern

The PR looks good to me. Could you please share the motivation behind removing the "Express" read-concern?

The PR looks good to me. Could you please share the motivation behind removing the "Express" read-concern?

yep, will start a slack thread


Don't go above action 128 for Input 33

Not really an issue, but a warning for others who are playing around. 33,0,0,129 and up will result in Furby getting stuck in a glitch loop. Sleep mask on/off will break them out of it.
DO NOT send 33,0,0,131, this will crash the Furby hard, you'll have to pull the batteries/power.
https://youtu.be/xH1DomoyQV8

HOOOLLLYY SHIT! U were right, man! I tried this on FurBLE and it glitched my Furby Noo-Tah pretty hard, I just simply had to reset him, he works perfectly now. So, he’s ok.

Also, don’t sent 33,0,0,130, sending this will result in the Furby saying one word over and over again, like, “Wah! Wah! Wah!” Until you press the reset button.

the other indexes all seem to end with with a "end of list" type of action where there are one or two  actions that repeat at the end of every list (these actions normally also blink the antenna).
for some reason the name list doesn't do this, and anything above 128 causes a glitch, based on the behaviour it seems like triggering these actions results in some sort of invalid out of bounds memory access (hence the repeating or invalid noises and garbled graphics).
i'm not sure what harm would come from letting the furby sit in this state for any period of time.

I’ve seen the glitch triggered by 129 before, and people have been saying that this glitch only occurs when they tap on the furbling when the Furby’s Bluetooth connection is present within the app, so, the app accidentally sends a name action command that’s above 128, causing it to spazz out. So that’s what causes that glitch. If this is the case, why does it only seem to happen to pink and blue Furby connects? I’m pretty sure it’s happened to other colours.

I know I am BEYOND late to ask here, but as I have very little experience and wanna be careful
Is it possible to straight up brick a Furby irreparably by sending random commands, or am I good?
Since there is no documentation on the specific DLC codes, and I'd love to just try and see what the full spectrum of actions is in general :D

I don't think anyone can tell you for sure. Worst thing that happened to me was that I needed to re-insert the batteries, but I didn't ever brick my Furby.

I know I am BEYOND late to ask here, but as I have very little experience and wanna be careful
Is it possible to straight up brick a Furby irreparably by sending random commands, or am I good? Since there is no documentation on the specific DLC codes, and I'd love to just try and see what the full spectrum of actions is in general :D

I do not work for hasbro, so i can't make any guarantees, but if all you're doing is sending interaction commands you're probably safe, the worse i've seen is a crash that required a reboot.
i have not seen enough research done on the DLC files and how they're loaded to know for sure how unlikely or impossible it would be that you could, in theory, create a DLC file that result in a furby stuck in an unrecoverable state on boot up.
i would personally hope the "hard reset" would recover from this, but it's hard to say if hasbro planned for people sending unexpected (i.e. corrupt) files to a furby.
as for the "full spectrum of actions", i spend quite a bit of time documenting all the actions i could find here
https://github.com/Jeija/bluefluff/blob/master/doc/actionlist.md
i'm doubtful, but would definitely love to know if, you find any new ones!


feat: testing rabbit something

Summary by CodeRabbit

Documentation

Added a comment for the writer.close() statement in the writeVersion function to improve code clarity.

@coderabbitai review

@coderabitia review

@coderabbitai review


Add region snippets for CSS and LESS

Issue Type: Feature Request
Testing #48235
There are snippets for SCSS, it would make sense to have these for CSS and LESS too.
VS Code version: Code - Insiders 1.23.0-insider (b845ce918f2689344795e845ae6ef691916c3079, 2018-04-24T05:10:57.500Z)
OS version: Darwin x64 16.7.0

@chrmarti What kind of snippet? We do have some for CSS/LESS.

One thing I noticed, however, is when you type /* # the IntelliSense is not shown automatically. You need to manually trigger it. I can look into adding # as a completion trigger.

Actually we return a list of items that doesn't make sense for cases such as /* #| */. I'll look into supporting only region completions in comment (don't think there are other valid completions in there). And if we return empty results, people who have enabled word based suggestion could use that in comments.

For this one, we need to turn on this:
  "editor.quickSuggestions": {
    "comments": true
  }

Which we don't really do in any language servers, so closing.


Glossary updates

Updated definitions for hot, warm, and cold paths

Hi @JohnPWSharp, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;


Change the dependencies property, on OperatorList instances, from an Object to a Set

Since this is completely internal functionality, and furthermore limited to the worker-thread, this change should thus not have any observable effect for e.g. an API-user.

/botio test

Thanks!


Collective AllGather Fails to Collect Tensors in Multi-(TF)Task Between-Graph Distributed Execution

System information

OS Platform and Distribution: Ubuntu 18.04
TensorFlow installed from (source or binary): binary whl
TensorFlow version (use command below): tensorflow-gpu==2.0.0
Python version: 3.6.8
CUDA/cuDNN version: 10.0 / 7.6.4, recommended with the support of nccl
GPU model and memory: GeForce GTX 1080 Ti

Describe the current behavior
First, we need the two files below.
cluster.py:
import time
from multiprocessing import Process

from tensorflow.core.protobuf import config_pb2
from tensorflow.python.training.server_lib import Server

CLUSTER_SPEC = {
    "worker": [
        "localhost:14286",
        "localhost:14287"
    ]
}

GROUP_SIZE = 4

def _configure(group_size):
    gpu_options = config_pb2.GPUOptions(
        visible_device_list='0,1',
        per_process_gpu_memory_fraction=0.7 / group_size
    )
    experimental = config_pb2.ConfigProto.Experimental(collective_nccl=True)
    experimental.collective_group_leader = '/job:worker/replica:0/task:0'
    return config_pb2.ConfigProto(gpu_options=gpu_options, experimental=experimental)

class TFCluster:
    def __init__(self, cluster_spec):
        self._cluster_spec = cluster_spec
        self._num_worker = len(self._cluster_spec.get("worker", []))
        self._tf_servers = []

    def start(self):
        def server(job_name: str, task_index: int):
            s = Server(self._cluster_spec,
                       job_name=job_name,
                       task_index=task_index,
                       config=_configure(GROUP_SIZE))
            s.join()

        assert self._num_worker >= 1
        for i in range(self._num_worker):
            self._tf_servers.append(Process(target=server,
                                            args=("worker", i), daemon=True))
            # break
        for proc in self._tf_servers:
            proc.start()

    def stop(self):
        for proc in self._tf_servers:
            proc.terminate()

if __name__ == '__main__':
    cluster = TFCluster(CLUSTER_SPEC)
    cluster.start()
    time.sleep(5)
    input('Press Enter to Stop.')
    cluster.stop()

task.py:
import argparse

import numpy as np
import tensorflow as tf
from tensorflow.core.protobuf import config_pb2
from tensorflow.python import ops
from tensorflow.python.client.session import Session
from tensorflow.python.ops import collective_ops

from cluster import CLUSTER_SPEC, GROUP_SIZE

VAR = np.array([0.1, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1])
VAR_TASK_INDEX = 0

def test_collective(job_name, task_index, num_gpus):
    worker_device = "/job:%s/task:%d" % (job_name, task_index)
    master_target = "grpc://" + CLUSTER_SPEC[job_name][task_index]
    print('> Session Target:', master_target)

    with ops.Graph().as_default(), Session(target=master_target) as sess:
        def run(x):
            run_options = config_pb2.RunOptions()
            run_options.experimental.collective_graph_key = task_index + 1
            # Different positive graph key for different task to avoid racing conditions.
            return sess.run(x, options=run_options)

        with ops.device('/job:worker/task:%d/device:CPU:0' % VAR_TASK_INDEX):  # make sure all use the same variable
            var = tf.Variable(VAR, name='W')

        targets = []
        collectives = []
        for i in range(num_gpus):
            with ops.device(worker_device + '/device:GPU:' + str(i)):
                t = var + 0.2 * task_index + 0.1 * i
                targets.append(t)
                collectives.append(
                    collective_ops.all_gather(
                        t,
                        group_size=GROUP_SIZE,
                        group_key=1, instance_key=1
                    )
                    # collective_ops.all_reduce(
                    #     t,
                    #     group_size=GROUP_SIZE,
                    #     group_key=1, instance_key=1, merge_op='Add', final_op='Div'
                    # )
                )

        run(tf.compat.v1.global_variables_initializer())

        var_value = run(var)
        print('> Variable Value:', var_value)

        targets_value = run(targets)
        print('> Targets Value:', targets_value)

        collectives_value = run(collectives)
        print('> Collectives Value:', collectives_value)

if __name__ == "__main__":
    parser = argparse.ArgumentParser()
    parser.register("type", "bool", lambda v: v.lower() == "true")

    parser.add_argument(
        "--job_name",
        type=str,
        default="",
    )
    parser.add_argument(
        "--task_index",
        type=int,
        default=0,
    )
    FLAGS, unparsed = parser.parse_known_args()
    num_gpus_per_node = 2
    test_collective(job_name=FLAGS.job_name, task_index=FLAGS.task_index, num_gpus=num_gpus_per_node)

Then one could use the following commands to run the experiment:
python cluster.py
python task.py --job_name=worker --task_index=0
python task.py --job_name=worker --task_index=1

EXPERIMENT 1 (FAILURE):

Run the above code without change. Note that the GROUP_SIZE=4. It is programmed to all gather the 4 tensors across task:0/GPU:0/ task:0/GPU:1 task:1/GPU:0 task:1/GPU:1, but gets stuck. If one turns on the env TF_CPP_MIN_VLOG_LEVEL=1 , one will notice it successfully gathers the values but gets stuck right after it, specifically after tensorflow/core/common_runtime/collective_rma_local.cc:105] PostToPeer ...

EXPERIMENT 2 (SUCCESS):

Run the above code with GROUP_SIZE=2. On each task, It is programmed to gather 2 tensors on the 2 GPUs of that task. For example, on task 0, it gathers task:0/GPU:0 and task:0/GPU:1 and it succeeds.

EXPERIMENT 3 (SUCCESS):

Run the above code with the original GROUP_SIZE=4 but with the all_reduce op (as provided in the commented code) instead of all_gather. It succeeds.

Describe the expected behavior
It is expected that all the experiments above should succeed. However, EXPERIMENT 1 fails, but 2 and 3 succeed. 3 means the collective executor works in a multi-task way of executing the graph on all_reduce. 2 means all_gather works if only collects tensor within one graph. 1 means the bug where all_gather fails to collect tensors across the tasks.
Code to reproduce the issue
See above

@rmothukuru Thanks for the label. But it may be a comp:op bug for collective_gather instead of a GPU bug.

Hi @dubey, wondering if you might have any idea on whether the above code misuses anything or something else causes that. 😄

wonder if there is any update on this issue?

wonder if there is any update on this issue?

Was able to replicate the issue in TF 2.6.0-dev20210529,please find the gist here..Thanks !

I was able to reproduce the issue in TF 2.6, please find the gist here.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


feat(contract-editor) : Slate rendering of read-only variables

Signed-off-by: Dan Selman<EMAIL_ADDRESS>Closes #194
Adds support for the @ContractEditor decorator, which can be added any Concerto types that are used as variables. Use this decorator to apply selective styles to variables, or to mark them as read-only. Example:
asset TitleNameDateSignatureBlock extends SignatureClause {
  @ContractEditor("readOnly", true,
    "fontFamily", "Lucida Console, Courier, monospace",
    "backgroundColor", "#FAE094", "border", '#CCA855' )
  o String title

The variable title will be rendered using a custom background and border color, using a monospace font and is read-only.
Changes

Checks whether the readOnly decorator is present on a variable to determine whether it can be edited
Updates the styling rules for variables based on the decorator

Flags

Can still click into readOnly variables, though they cannot be edited

Screenshots or Video

Author Checklist

[x] Vital features and changes captured in unit and/or integration tests
[x] Commits messages follow AP format
[x] Extend the documentation, if necessary
[x] Merging to master from fork:branchname
[x] Manual accessibility test performed

[x] Keyboard-only access, including forms
[x] Contrast at least WCAG Level A
[x] Appropriate labels, alt text, and instructions

I updated the PR to support specifying read-only and opacity independently and switched to using the more robust Decorators utility class which was added to markdowna-cicero package.

This looks great to me! I would just get @Michael-Grover 's feedback on this styling for the read only variables if you haven't already.

@Michael-Grover note that none of the styles are hard-coded - the background colour, border colour font-face and opacity are specified by the user using decorators on the Concerto mode.

These decorators are coming from this issue in markdown-transform, correct?

These decorators are coming from this issue in markdown-transform, correct?

yep


bug(MatTab): Tooltip doesn't work on tabs (active & disabled); attaching tooltip on child element under mat-tab-label stopped working in v15

Is this a regression?

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

The previous version in which this bug was not present was
v14
Description
Hi Team,
I'm aware of the tooltip not working on the disabled elements and there are 2 workarounds - using parent or child.
But in v15 the child workaround stopped working.
I was using the dynamic mat-tab-label template and had attached the tooltip to the child element which was working in v14 for both enabled & disabled states. After the upgrade, this child solution failed and I have replaced it with the parent solution for other elements like buttons but no luck for tabs.
Is there any workaround for tabs?
Use case - need to display the disabled reason on the element using the tooltip
Thanks.
Reproduction
Steps to reproduce:

v14 - https://stackblitz.com/edit/angular-ewzvbb?file=src%2Fapp%2Ftab-group-basic-example.html
v15 - https://stackblitz.com/edit/angular-hzuhyj-2stebd?file=src%2Fapp%2Ftab-group-basic-example.html

Expected Behavior
The tooltip should be displayed for disabled tabs
Actual Behavior
Tooltip stopped working on disabled tabs
Environment

Angular: v14 & v15
CDK/Material: v14 & v15
Browser(s):
Operating System (e.g. Windows, macOS, Ubuntu):

This bug seems to be resolved in the next immediate patch version v15.1.3 by this #26527
The version used when raising this bug was v15.1.2
Closing this bug


Ensure the k8s and application-engine current contexts are mutual exclusive

What this PR does / why we need it
This PR ensures the k8s and application-engine current contexts are mutual exclusive at the end of end cli command/plugin invocation and also specifically for SyncPlugin() command as this command can be invoked by plugin through plugin-runtime API before finishing plugin command execution(eg: management-cluster create command creates management cluster and would invoke SyncPlugins within the command)
TODO:

This PR has dependency on plugin-runtime PR #https://github.com/vmware-tanzu/tanzu-plugin-runtime/pull/113 and this PR needs to be updated once the other PR is merged.

Which issue(s) this PR fixes

Fixes #
Describe testing done for PR
Unit test ran locally passed

Release note

Ensure the kubernetes and application-engine current contexts are mutual exclusive

Additional information
Special notes for your reviewer

Once the go.mod/go.sum file are updated, this LGTM. But technically, I don't even thing the go.mod file needs to point to a new plugin-runtime, right? This change actually does the synchronization on its own.

We won't need for this change (where we ensure the mutual exclusion is maintained for plugins using older plugin runtime) but the CLI should be updated to use latest plugin-runtime to ensure mutual exclusion among the current contexts(except TMC) if user uses the command tanzu context use <context-name>

We won't need for this change (where we ensure the mutual exclusion is maintained for plugins using older plugin runtime), but the CLI should be updated to use latest plugin-runtime to ensure mutual exclusion among the current contexts(except TMC) if user uses the command tanzu context use <context-name>

I agree with the update to the new plugin-runtime.
But to make sure we are on the same page: with the PersistentPreRun/PostRun of this PR, won't we have mutual exclusion all the time, even without the new plugin runtime?

We won't need for this change (where we ensure the mutual exclusion is maintained for plugins using older plugin runtime), but the CLI should be updated to use latest plugin-runtime to ensure mutual exclusion among the current contexts(except TMC) if user uses the command tanzu context use <context-name>

I agree with the update to the new plugin-runtime. But to make sure we are on the same page: with the PersistentPreRun/PostRun of this PR, won't we have mutual exclusion all the time, even without the new plugin runtime?

Yes, that's correct. (Though PersistentPreRun/PostRun would ensure the mutual exclusion, it should be just a safe net and is intended to handle the case where old plugins using old plugin-runtime and plugin-runtime API should actually handle the mutual exclusion while setting the current context)


Make switching projects in RStudio work

This PR contains a number of fundamental imrovements!

We supervise the rsession process, restarting it if it stops with a non zero exit code.
This is just good practice anyway, and it also allows 'projects' functionality in rstudio to work

We just proxy everything via '/rstudio/' rather than redirect people to the /proxy// URL.
This provides a number of benefits:

Users never see a 'Connection Refused' error, since we check to
make sure the process is up before forwarding them through
Consistent URL rather than exposing internal detail of what port
is being used!
Much better experience when switching projects - you get a small
message that says 'switching projects', then a spinner then it
exists!
Make sure that port is shared across requests, rather than a
new one being allocated per request! This worked before by
accident :)
Use trailing slash when accessing rstudio (so rstudio/ than
rstudio), to make relative URLs used by rstudio work properly.
This too worked before by accident
Don't make a HTTP request to check before each GET. This is
not necessary, since we know the process is up (since we watch
for SIGCHLD and delete the proc key if it is dead)

This requires https://github.com/jupyterhub/nbserverproxy/pull/9 to work!


[BUG] Downstream RKE2 cluster does not come up "Active" after upgrading Rancher from v2.7.6 to v2.8-head

Rancher Server Setup

Rancher version: v2.8-b74a73ce418ba74aec4f15d835fa64d7ca8851d9-head
Installation option (Docker install/Helm Chart): Helm chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE2

Proxy/Cert Details: byo-valid

Information about the Cluster

Kubernetes version: Local: 1.26.7 / Downstream: v1.26.8+rke2r1
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): AWS EC2

User Information
What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom): Admin
Describe the bug
Downstream RKE2 cluster does not come up after upgrading Rancher from v2.7.6 to v2.8-head and fails with service "capi-webhook-service" not found error
To Reproduce

Create a Rancher server - v2.7.6
Create a downstream RKE1 and RKE2 clusters
Upgrade Rancher to v2.8-head using the following values: version: 2.7.7-rc5 and  rancherImageTag=v2.8-head

Issue

RKE2 cluster does not come up "Active" post upgrade and fails with the following Error:
Failed to update fleet-default/priyanodeprov1 cluster.x-k8s.io/v1beta1, Kind=Cluster for rke-cluster fleet-default/priyanodeprov1: Internal error occurred: failed calling webhook "default.cluster.cluster.x-k8s.io": failed to call webhook: Post "https://capi-webhook-service.cattle-provisioning-capi-system.svc:443/mutate-cluster-x-k8s-io-v1beta1-cluster?timeout=10s": service "capi-webhook-service" not found, failed to update fleet-default/priyanodeprov1-pool1 cluster.x-k8s.io/v1beta1, Kind=MachineDeployment for rke-cluster fleet-default/priyanodeprov1: Internal error occurred: failed calling webhook "default.machinedeployment.cluster.x-k8s.io": failed to call webhook: Post "https://capi-webhook-service.cattle-provisioning-capi-system.svc:443/mutate-cluster-x-k8s-io-v1beta1-machinedeployment?timeout=10s": service "capi-webhook-service" not found

Snippet from Rancher log:
2023/09/20 21:30:52 [ERROR] available chart version (102.1.1+up0.7.1) for fleet is less than the min version (103.0.0+up0.9.0-rc.1)
2023-09-20T21:30:52.559330913Z 2023/09/20 21:30:52 [ERROR] Failed to find system chart fleet will try again in 5 seconds: no chart name found
W0920 21:30:53.739647      35 warnings.go:80] cluster.x-k8s.io/v1alpha3 MachineDeployment is deprecated; use cluster.x-k8s.io/v1beta1 MachineDeployment
2023-09-20T21:30:53.739929749Z W0920 21:30:53.739718      35 reflector.go:533] pkg/mod/github.com/rancher/client-go@v1.27.4-rancher1/tools/cache/reflector.go:231: failed to list *unstructured.Unstructured: conversion webhook for cluster.x-k8s.io/v1beta1, Kind=MachineDeployment failed: Post "https://capi-webhook-service.cattle-provisioning-capi-system.svc:443/convert?timeout=30s": service "capi-webhook-service" not found
2023-09-20T21:30:53.739940009Z E0920 21:30:53.739742      35 reflector.go:148] pkg/mod/github.com/rancher/client-go@v1.27.4-rancher1/tools/cache/reflector.go:231: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: conversion webhook for cluster.x-k8s.io/v1beta1, Kind=MachineDeployment failed: Post "https://capi-webhook-service.cattle-provisioning-capi-system.svc:443/convert?timeout=30s": service "capi-webhook-service" not found

Note:

Issue is observed only with RKE2 clusters that were created pre-upgrade. Downstream RKE1 cluster comes up "Active" post Rancher upgrade
Post upgrade, creation of new RKE2 clusters work fine.
Frequency of the issue: 2/2
Min version set for fleet in the Dockerfile is: 103.0.0+up0.9.0-rc.1. However, on the local cluster, it is: 102.1.1+up0.7.1

This appears to be similar to https://github.com/rancher/rancher/issues/42888 that @brudnak filed


[TorchBench] Performance Signal Detected

TorchBench CI has detected a performance signal.
Affected Tests:

eval-cuda-fp32:

hf_Bert[dynamo-blade (latency)] 7.727 -> 6.539, +15.3747%
hf_Bert[dynamo-disc (latency)] 8.056 -> 6.865, +14.784%

eval-cuda-fp16:

hf_Bert[dynamo-blade (latency)] 4.466 -> 3.192, +28.5266%
hf_Bert[dynamo-disc (latency)] 4.482 -> 3.396, +24.2303%

detail data can be seen in oss://bladedisc-ci/TorchBench/gpu/tiny/20230530-18
created by TorchBench CI automatically

Related to torch version changes, refer to https://github.com/alibaba/BladeDISC/pull/1150 .Update baseline.


error building windows template with mingw

drivers/unix/os_unix_global_settings_path.cpp:2:1: error: 'String' does not name a type
when building with:
scons platform=windows tools=no target=release_debug bits=64 -j 8

I have the same problem building for Windows on Arch Linux.

Same error building for windows on linux (ubuntu 64 on digital ocean) on 08/Dec/2015:
[20:00:26]Step 1/28: Compile Linux 64 Server (Command Line) (31m:24s)
[20:31:50]Step 2/28: Clear Linux 64 Server (Command Line) (1m:44s)
[20:33:35]Step 3/28: Compile Windows 32 Tool Theora (Command Line) (1m:59s) failed
[20:35:35]Step 4/28: Clear Windows 32 Theora (Command Line)
[20:35:35]Step 5/28: Compile Linux 64 Debug (Command Line) (13m:18s)
[20:48:53]Step 6/28: Compile Linux 64 Tool (Command Line) (33m)
[21:21:54]Step 7/28: Compile Linux 64 Release (Command Line) (23m:18s)
[21:45:12]Step 8/28: Clear Linux 64 (Command Line) (10m:14s)
[21:55:26]Step 9/28: Compile Linux 32 Debug (Command Line) (13m:06s)
[22:08:33]Step 10/28: Compile Linux 32 Tool (Command Line) (33m:37s)
[22:42:11]Step 11/28: Compile Linux 32 Release (Command Line) (23m:20s)
[23:05:31]Step 12/28: Clear Linux 32 (Command Line) (8m:59s)
[23:14:30]Step 13/28: Compile Windows 32 Debug (Command Line) (1m:12s) failed
[23:15:42]Step 14/28: Compile Windows 32 Tool (Command Line) (6s) failed
[23:15:49]Step 15/28: Compile Windows 32 Release (Command Line) (1m:47s) failed
[23:17:37]Step 16/28: Clear Windows 32 (Command Line)
[23:17:37]Step 17/28: Compile Windows 64 Debug (Command Line) (1m:12s) failed
[23:18:50]Step 18/28: Compile Windows 64 Tool (Command Line) (1m:54s) failed
[23:20:44]Step 19/28: Compile Windows 64 Release (Command Line) (1m:43s) failed
[23:22:28]Step 20/28: Clear Windows 64 (Command Line)
[23:22:28]Step 21/28: Compile OSX 64 Debug (Command Line) (18m:14s)
[23:40:42]Step 22/28: Compile OSX 64 Release (Command Line) (23m:06s)
[00:03:48]Step 23/28: Compile OSX 64 Tool (Command Line) (41m:27s)
[00:45:16]Step 24/28: Clear OSX 64 (Command Line) (12m:47s)
[00:58:03]Step 25/28: Compile OSX 32 Debug (Command Line) (18m:40s)
[01:16:44]Step 26/28: Compile OSX 32 Release (Command Line) (23m:35s)
[01:40:19]Step 27/28: Compile OSX 32 Tool (Command Line) (41m:45s)
[02:22:05]Step 28/28: Clear OSX 32 (Command Line) (11m:43s)

Looking at the commits I can see that they changed how to detect Linux systems, the file drivers/unix/os_unix_global_settings_path.cpp is automatically generated for linux systems:
changed a bit to use system()	reduzio		1 file 	708ff381d6c7	08 Dec 15 18:36
improve detection of linux, fixes #3201	reduzio		1 file 	78b5404434ee	08 Dec 15 18:35

From
if platform.platform() == 'Linux':

To
if platform.platform().find('Linux')>=0:

Then To
if platform.system() == 'Linux':

IN drivers/unix/SCsub you can see that it is unix only:
ed_gl_set+='}\n'
f = open("os_unix_global_settings_path.cpp","wb")
f.write(ed_gl_set)
f.close()

env.add_source_files(env.drivers_sources,"*.cpp")

Export('env')

You can also find it's name in .gitignore
So even if I'm compiling it for windows, it is trying to compile linux drivers or something.
On a sucessful build I have this log:
[Step 3/28] i686-w64-mingw32-g++ -o drivers/unix/mutex_posix.windows.opt.tools.32.o
[Step 3/28] i686-w64-mingw32-g++ -o drivers/unix/thread_posix.windows.opt.tools.32.o
[Step 3/28] i686-w64-mingw32-g++ -o drivers/unix/memory_pool_static_malloc.windows.opt.tools.32.o
[Step 3/28] i686-w64-mingw32-g++ -o drivers/unix/os_unix.windows.opt.tools.32.o
[Step 3/28] i686-w64-mingw32-g++ -o drivers/unix/stream_peer_tcp_posix.windows.opt.tools.32.o
[Step 3/28] i686-w64-mingw32-g++ -o drivers/unix/ip_unix.windows.opt.tools.32.o

And on a new build:
[Step 3/28] i686-w64-mingw32-g++ -o drivers/unix/mutex_posix.windows.opt.tools.32.o
[Step 3/28] i686-w64-mingw32-g++ -o drivers/unix/thread_posix.windows.opt.tools.32.o
[Step 3/28] i686-w64-mingw32-g++ -o drivers/unix/memory_pool_static_malloc.windows.opt.tools.32.o
[Step 3/28] i686-w64-mingw32-g++ -o drivers/unix/os_unix_global_settings_path.windows.opt.tools.32.o
[Step 3/28] drivers/unix/os_unix_global_settings_path.cpp:2:1: error: 'String' does not name a type
[Step 3/28]  String OS_Unix::get_global_settings_path() const {

Unless os_unix_global_settings_path was introduced recently and is the problem itself.

That is the case, it was added in #2956.
The changes to Linux detection in platform/x11/detect.py are not relevant for this bug, as you can see the if only handles the linking of the ALSA library on Linux.

Alright! Great to know what introduced this behaviour.

ping @est31

Fixed by #3026.


Removed non localized warnings.

Q
A

Bug fix?
[ x]

New feature?
[ ]

New sample?
[ ]

Related issues?

What's in this Pull Request?
Fixed minor issue where the console would log an English-only warning when users specify both an event handler to the control and in the chart options.

Codecov Report

Merging #198 into dev will increase coverage by 0.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #198      +/-   ##
==========================================
+ Coverage   72.24%   72.58%   +0.33%
==========================================
  Files          15       15
  Lines         645      642       -3
  Branches      123      123
==========================================
  Hits          466      466
+ Misses        139      136       -3
  Partials       40       40

Impacted Files
Coverage Δ

src/controls/chartControl/ChartControl.tsx
69.4% <ø> (+1.51%)
:arrow_up:

Continue to review full report at Codecov.

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

Please ignore, combining with other pull request


Fixed issue - add h1 tag to index.html file.

Added
John Doe
 tag to tasks/html/easy/index.html

Adding this here, though I mentioned it earlier (so not to be missed):
The issue's title says:  'Add H2 tag', but the description asks to add an 'h1' tag. I added an h1 tag.

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


How can I set image repeating as repeating header?

I tried something like:
   ` $request->setRepeatingHeader('<img src="http://site.com/img/logo.png"/>');`

But got nothing. Just a empty 1cm space at the header of page.

So after some investigation this seems to be an existing issue with PhantomJS - https://github.com/ariya/phantomjs/issues/12887.
The reason for this is that the header and footer are loaded separately from the main content so they do not use the same rules when it comes to waiting for resources to load. I tried to figure out a solution and the only way I can get this to work is to include the image you want to use in the main body of the page. Set it to display: none; and then use the same URL in your img tag for your repeating header. This essentially preloads your image before using it in the footer.
If the content you are loading isn't yours i.e. you don't have the ability to edit it, you may want to host your own page that loads the content in an iframe.


Convert to a package as well as CI refresh

Includes the commits from and therefore closes #93

This is all looking great.  Is it trouble if I ask you to squash the commits?


Automatically apply pardoned timeouts upon rejoining the server

This has been originally raised by @vivekashok1221 here
The current scenario is this
Scenario

A user is muted for 4 days
The user leaves the server
Someone with the right perms pardons the unmute
The user rejoins the server

Problem
Step 3 will only pardon the infraction in our database, but the native discord timeout will still remain in place since we cannot edit that when a user is not a Member of our server.
This means that someone would have to manually unmute the user.

This should probably just require adding something like
elif <user_has_timeout>:
    <remove_user_timeout>

here https://github.com/python-discord/bot/blob/3c7701a64c708ad1c4acf0c8604400721aee830c/bot/exts/moderation/infraction/infractions.py#L650-L672

@lxnn Hi, any update on this?

Hi @wookie184, I'm so sorry. I only got as far as starting to familiarise myself with the codebase to work on this issue and then it fell by the way-side. I've un-assigned myself from the issue.


optimise database queries

Better to think of this before usage gets too high. I would suggest aiming for a system that handles requests as follows:

Check local storage for cached data
Return cached data immediately if no connection or content up to date
Return live version if internet and not up to data
Update cache

This way it is still likely that a given user will be downloading a copy of the majority of the database, but hopefully only doing this once instead of running the risk of downloading multiple times. Coupled with service workers to cache images and core code this should in theory be highly performant and low-cost
For this we would make heavy use on object fields such as 'modified'  which can be added to custom indexes (or should be automatically populated if top level document field of map subfield)
https://firebase.google.com/docs/firestore/query-data/index-overview

A few extras:
a) firestore pricing charges per document returned from read operations, so using filters server side still might be cost effective without need for local caching (consider when likely to result in long lists of frequent reads vs individual docs). E.g. if performing search that could have thousands of results probably want cached, whereas loading a single doc could be done from db.
b) long string fields should probably be omitted from indexes
c) aggregations should be done with cloud functions and incrementally (i.e. don't read all documents when simple math can be done to calculate new totals, averages etc.)

Have put in a couple methods in  stores/database, needs to be trialled with module

seems to be working well for collections, need to test getting doc by id as well as querying to get by slug


Upgrade of build system, adding tests, CI, other improvements

Upgrade build system to use only pyproject.toml
Dynamic version number from tag with setuptools_scm
convert_rf_pdf now returns a vectorized wrapper of a RooAbsPdf instead of a spline approximation
First automated tests and CI scripts

Not sure why the new github actions are not picked up.

I am going to merge this now, let's see whether CI then starts to work.


Add API Description parsing API

@zdne Please fix the typo and then this is good to merge.

@smizell done


Add 'dvc cloud create' to https://github.com/dataversioncontrol/dvc/pull/149

Fixed by #165

Could you please hide cloud command by experimental prefix?
$ dvc ex cloud creat ...

Fixed by @dmpetrov


Add support for redirecting user to a target URL when they click on the magic link code

Details

Add support for redirecting user to a target URL when they click on the magic link code
Fixed Issues

$ https://github.com/Expensify/App/issues/36325
PROPOSAL: https://github.com/Expensify/App/issues/36325#issuecomment-1938660069
Tests

Precondition:
Copy the target path (the part after https://dev.new.expensify.com/) of any url from the app
Example: /settings/profile or /r/1442936292319950

Logout if you already logged in.
Start the sign in process with an email.
Copy the magic link received by email.
Add to the end of the magic link ?exitTo=valid_target_path_in_newDot examples:
https://dev.new.expensify.com/v/16379227/110480?exitTo=/settings/profile
https://dev.new.expensify.com/v/16379227/110480?exitTo=/r/1442936292319950
Paste the link in a web browser and click enter.
for native ios and android run:
npx uri-scheme open new-expensify://v/14826403/497893?exitTo=/settings/preferences --ios
npx uri-scheme open new-expensify://v/14826403/293211?exitTo=/settings/preferences --android
for desktop paste the link in this format in the web browser:
new-expensify:/v/14826403/818329?exitTo=/settings/preferences
Verify that the user is signed in and redirected automatically to the target path in the app.

[x] Verify that no errors appear in the JS console

Offline tests

N/A
QA Steps

Precondition:
Copy the target path (the part after https://staging.new.expensify.com/) of any url from the app
Example: /settings/profile or /r/1442936292319950

Logout if you already logged in.
Start the sign in process with an email.
Copy the magic link received by email.
Add to the end of the magic link ?exitTo=valid_target_path_in_newDot examples:
https://staging.new.expensify.com/v/16379227/110480?exitTo=/settings/profile
https://staging.new.expensify.com/v/16379227/110480?exitTo=/r/1442936292319950
Paste the link in a web browser and click enter. for native platforms, use a note app.
Verify that the user is signed in and redirected automatically to the target path in the app.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/77965000/effa5bf1-78d6-499e-b171-a69161b2f731

Android: mWeb Chrome

https://github.com/Expensify/App/assets/77965000/12da8437-371a-45a3-9ae7-2864651d534c

iOS: Native
https://github.com/Expensify/App/assets/77965000/6bebf70b-3bbd-448d-bc73-65ef8dc42437

ps: my ios simulator  is very slow

iOS: mWeb Safari
https://github.com/Expensify/App/assets/77965000/feb95c06-0b6b-43e0-9224-929463e0a052

running into issues with my simulator, I'm searching for a solution.

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/77965000/3e82cfdb-c85d-47d3-b79a-2e68cca00d63

If the user is not logged in (and initiated the login process on the same browser)
https://github.com/Expensify/App/assets/77965000/c59b7042-1193-4710-b404-870d5f434682

If the user is not logged in (and initiated the login process in another browser)
https://github.com/Expensify/App/assets/77965000/e0597fe4-3ccf-410a-bef7-24de6355e83b

If the user is already logged in
https://github.com/Expensify/App/assets/77965000/8ea5b775-5de0-40c1-a86a-090e492b3d63

MacOS: Desktop

https://github.com/Expensify/App/assets/77965000/7e35199c-30f9-4e5a-a49e-0e4f828a5387

Do you have an ETA on when you'll be able to resolve @allroundexperts comments, @rayane-djouah ? Thanks! This is a high priority issue for us 🙇

I think this is fine; I don't see much scope of DRYing it up further. @allroundexperts Do you have any thoughts about it?

I think this is fine; I don't see much scope of DRYing it up further. @allroundexperts Do you have any thoughts about it?

Agreed. Testing this now.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/techievivek in version: 1.4.42-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.42-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Add a 'How to Cite' to readme

Is your feature request related to a problem? Please describe.
Help the community properly spread the word about python in publications
Describe the solution you'd like
Add info to the Readme. Include a note about pysat paper, and perhaps a request in Acknowledgements.
Describe alternatives you've considered
No information
Additional context
similar approach pursued in sami2py

From zenodo:
@misc{russell_stoneback_2019_3321222,
  author       = {Russell Stoneback and
                  Jeff Klenzing and
                  Angeline Burrell and
                  Carey Spence and
                  Matthew Depew and
                  NHargrave and
                  vvonbose and
                  Silvio Luis and
                  Gayatri},
  title        = {rstoneback/pysat v2.0},
  month        = jul,
  year         = 2019,
  doi          = {10.5281/zenodo.3321222},
  url          = {https://doi.org/10.5281/zenodo.3321222}
}

We'll need to fix the author names, obviously.  And suggest a citekey that won't cause LaTeX to puke.

How about pysat200?

Draft up here:  https://github.com/rstoneback/pysat/blob/doc_how_to_cite/docs/citing.rst
The format is still pretty bad, but at least is readable.

Thanks @jklenzing and @aburrell. I modified the title and expanded the developer names.

Closing with merge of #283.


Syntax is in correct need to correct Azure Active Directory instead of Azure Activity Directory

Hi,
I was reading the content and i found that in below line-
"There are two ways to authenticate and authorize access to Azure Service Bus resources: Azure Activity Directory (Azure AD) and Shared Access Signatures (SAS). This article gives you details on using these two types of security mechanisms."
It's need to be below -
"There are two ways to authenticate and authorize access to Azure Service Bus resources: Azure Active Directory (Azure AD) and Shared Access Signatures (SAS). This article gives you details on using these two types of security mechanisms."

[Enter feedback here]

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

ID: 9e6c9ef8-76a1-be12-65e5-8250c6282cfb
Version Independent ID: a8f9540f-c14a-4370-ec60-168aed722402
Content: Azure Service Bus authentication and authorization - Azure Service Bus
Content Source: articles/service-bus-messaging/service-bus-authentication-and-authorization.md
Service: service-bus-messaging
GitHub Login: @spelluru
Microsoft Alias: spelluru

Fixed now. #please-close


Write FOCA specs and configuration

Reference for writing specifications can be taken from: Link

Write initial specifications for this Microservice.
Write FOCA configuration.

It might be better to write controllers along with specifications one by one, but they can also be written after writing specs and changes if needed to be done in the specification file.

I agree that it's best to fire up the FOCA app with the specs and the Swagger UI and get the general project/dir structure right (following examples like proTES, Cloud Registry, TRS-Filer etc) and then implement the controllers one by one (along with unit and integration tests, docstrings etc). More agile, easier to review etc.
Check the TESK project board for inspiration of writing issues for controllers, as well as a "meta issue" to track the progress of controller implementation. It can also serve as inspiration for additional issues with regard to CI, docs etc, as the development of this app will pretty much follow the same path (minus the TES(K)-specific stuff.

Note also that I am creating a separate issue for the OpenAPI specs (which should be addressed before this one).


wkhtmltopdf&IIS Firewall?

Hi! In other PCs are not generated reports. The PDF is generated with the text "Error 404: Not Found". From the local machine works. If generate HTML report it works too.

Have you hosted server?

vinaykulkarni89, Home PC, Win10 Pro

The router is the problem, but the 80 port is not enough.

proxy Client


Yarn build client size 1.2 MB

I'm submitting a ...

[ ] bug report
[X] feature request

Feature Request:
Any idea how to bring this down? Is it just semantics and iconsapple-touch-startup-image-1536x2008.png?

Hi @TheDolo, icons aren't included in bundle size. You can run ANALYZE_BUNDLE=true APP_LANGUAGE=en npm run build for more info about bundle. Did you mean client + vendor size = 1.2mb?

I appreciate the suggestions for Webpack!  That's one of my weak areas at the moment, but not for long :D
Oh my, BundleAnalyzerPlugin is fantastic.  Make this part of the docs!!  Thanks!

Hmm, but there is no momentJS in the starter...   I added some other things and saw it reach 2MB, panic'd, started from scratch again and saw a 1.2MB default build, panic'd again then realized gzip is amazing, learned some more webpack, and now I see the light!
I also did this:
base.plugins.push(new BundleAnalyzerPlugin({**analyzerMode: 'static'}**))
Which got rid of the 8088 server and did .html reports!

Hm, strange, but why it's a github bug?

https://github.com/th0r/webpack-bundle-analyzer/issues/37 I think!

Do you use BundleAnalyzer in dev move?

Naw, only needed in production!


Expired editor session 401 on save has unhelpful error message

Issue Summary
If your session expired on the editor and you attempt a save, the error is reported as Unknown Error. Worse, you're going to be prompted to leave/stay because of the unauthed redirect. Staying, however, won't let you save your work.
Reproduction Steps

Edit a post
Expire your token (could someone with more DB knowledge than me give steps for this? @sebgie)
Save your post
Worthless error

Specs
Latest Chrome,
Ghost Pro 0.5.6
I'm not sure much can be done about the modal; I'd consider this issue solved if the 401 just showed a more helpful "You aren't logged in" error message. Because of that, I'd call this a beginner issue, eh?

I don't think this is a problem now that #3492 is in? Seems like the reauthentication flow is working quite nicely now.


Update openai.js for new gpt ui update

Update for the new openai view. Tested in local dev and works.

@swyxio would appreciate review and merge, thanks.

@andrewsiah was about to do this myself. thank you!


Quarkus 3.5.0

https://issues.redhat.com/browse/ISPN-15296

We should no longer be using Graalvm 23.x, but the new releases:
We still support GraalVM/Mandrel 23.0 but we recommend using GraalVM/Mandrel for Java 21.

I'll try. I'm not sure if the cause  of https://github.com/quarkusio/quarkus/issues/36129 is Java 21 specific, or if it's related to all GraalVM releases since 22.3.x

Merged, thanks


bug nil check

this is expected to work:
def bla
  x = rand > 0.5 ? 1 : nil
  return if !x || x == 2
  x + 1
end

p bla

undefined method '+' for Nil (compile-time type is (Int32 | Nil))

  x + 1

Is this related to the possibility of a new mutation after the return?
def bla
  x = rand > 0.5 ? 1 : nil
  return if !x || x == 2
  x = nil
  x + 1
end

Would be a very nice feature if the compiler can decide smartly based on the logic of the program anyway, as you're pointing out in the issue.

This works
def bla
  x = rand > 0.5 ? 1 : nil
  return if x.nil?
  return if x == 2
  x + 1
end

p bla

2

It's the logical OR

Seems to be a duplicate of #3266


Add Dockerfile for containerization

We need to add a Dockerfile to containerize the PenCraft-Full-Stack-Blogging-Application. This will help ensure consistency across different development and production environments. The Dockerfile should:

Use a Node.js image as the base.
Set the working directory.
Install dependencies for the backend, frontend, and common packages.
Build the frontend using the vite build tool.
Copy the necessary files.
Expose port 3000 and run the backend development server (wrangler dev).

Acceptance Criteria:

Dockerfile is added to the root directory of the project.
Dockerfile can successfully build and run the application.

can I work on it @AkshitLakhera under gssoc-24ext and hacktoberfest, i am interested in solving this issue

@AkshitLakhera is the issue it still open.

Yes, I am working on it, i will finish it by today and make the PR, sorry for the delay, i had an exam

Can anyone help me
@AkshitLakhera
with this error logs upon running docker-compose up --build
I created 2 docker files, one for the frontend and one for the backend


Fix summary tables

Remove rowspan option where admin is not sourcing as these tables are different.
Before:

After:

Feels a bit hacky, but yep let's try it :+1:

No it's not that hacky, we added the rowspan in.  That's how it works.  It's a bit messy with all the if elses but that's kind of a macro problem.


Question: is it possible to avoid "EvalError unsafe-eval"?

Sinon version: 1.13.0 (master)
Environment: OSX / Atom Package Manager (apm 0.142.0) / node 0.10.35
Context - working an Atom.io package, specifically a code linter and the tests make liberal use of Sinon.
When using a stub it throws:
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
at createProxy (/Users/doug/Projects/Sinon.JS/lib/sinon/spy.js:86:86)
at Function.create (/Users/doug/Projects/Sinon.JS/lib/sinon/spy.js:145:29)
at Function.create (/Users/doug/Projects/Sinon.JS/lib/sinon/stub.js:86:42)
at Object.stub (/Users/doug/Projects/Sinon.JS/lib/sinon/stub.js:43:32)
at [object Object].<anonymous> (/Users/doug/Projects/linter/spec/linter-spec.coffee:14:31)

Found one attempt at a solution called loophole but it has issues.
Looking for any advice / suggestions?

I am also developing specs for my package in Atom that are trying to stub the fs. I too get the original unsafe-eval message and when using the loophole package I get reset undefined! I'd like to be able to stub this!
stubWriteFileSync = sinon.stub(fs, 'writeFileSync').return(undefined)
gets

whereas
allowUnsafeEval -> stubWriteFileSync = sinon.stub(fs, 'writeFileSync').return(undefined)
gets


[release-v1.11] Fix selector path for cg scale subresource (#3666)

Backport for fix

/cherry-pick release-v1.13

/cherry-pick release-v1.12

/retest

/retest


[Release 1.7] Fix eds: when endpoint occur later than svc, the eds cache will not updated

Please provide a description for what this PR is for.
Fix: #26983
As #26918 depends on #26112, and we donot want cherrypick that pr. So i filed a fix manually
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio_release-1.6
769ce5e2405692a42efabd53da1f17013277ae45
link
/test integ-security-k8s-tests_istio_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Multi-stage Docker image build

Resolves #176.  The final image should be a few hundreds of MB smaller than what we currently have.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 52.132%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
738

Relevant Lines:
1446

💛  - Coveralls

From local testing, on main branch:
$ docker inspect -f "{{ .Size }}" sdx-controller | numfmt --to=si
1.6G

On this PR branch:
$ docker inspect -f "{{ .Size }}" sdx-controller | numfmt --to=si
695M


BCIC-IV-2a dataset mat-files

@CECNL Thanks for the description of the novel MAtt network and for the source code. I can't reproduce results for BCIC-IV-2a dataset. The link to the dataset you provided contains EEG recordings in GDF format only. But your code requires mat-files.
I found another BCIC-IV-2a dataset source with mat-files, but the following error occurred while preparing the data:
~/MAtt-main/utils/GetBci2a.py in getAllDataloader(subject, ratio, data_path, bs)
     38     train = io.loadmat(os.path.join(data_path, 'BCIC_S' + f'{subject:02d}' + '_T.mat'))
     39     test = io.loadmat(os.path.join(data_path, 'BCIC_S' + f'{subject:02d}' + '_E.mat'))
     40
---> 41     x_train = torch.Tensor(train['x_train']).unsqueeze(1)
     42     y_train = torch.Tensor(train['y_train']).view(-1)

KeyError: 'x_train'

As far as I understand, you are using a custom BCIC-IV-2a dataset mat-files format.
Please provide a description of the used mat-files format (for example, format for the BCIC_S01_T.mat and BCIC_S01_E.mat) or a link to download these files. Without mat-files it is impossible to reproduce your results.

Thanks for providing the link to the dataset. Now everything works as described.

I meet the same question, could you share your datasets?

I am also interested in the datasets, however, the files got deleted in your drive location when following the link in the dataset section. Could you be so kind as to restore the files?

@Murphyzc @JoBurchert Oh! my account was deleted by my university because I already graduated. I apologize for the inconvenience. I found the same file in my backup and uploaded it to the Google Drive of another account, thus you can check again now. Thank you!


[Ludown CLI] Utterances with labelled Roles on List Entities cause Ludown parse toluis to fail

Tool
Name: [Msbot|Ludown|LUIS|QnAMaker|Chatdown|Dispatch|LuisGen]
Version: tool version
OS: os version
Describe the bug
Entity roles can now be used with list entities and builtin entities. However ludown parse toluis cannot handle utterances labelled with roles on list entities and fails with an error.
To Reproduce
Steps to reproduce the behavior:

Model json (save as rolesBug.json):
{
"luis_schema_version": "3.2.0",
"versionId": "0.1",
"name": "bug",
"desc": "",
"culture": "en-us",
"tokenizerVersion": "1.0.0",
"intents": [
{
"name": "None"
}
],
"entities": [],
"composites": [],
"closedLists": [
{
"name": "aListEntity",
"subLists": [
{
"canonicalForm": "some value",
"list": [
"avalue"
]
}
],
"roles": [
"ThisIsARole"
]
}
],
"patternAnyEntities": [],
"regex_entities": [],
"prebuiltEntities": [],
"model_features": [],
"regex_features": [],
"patterns": [],
"utterances": [
{
"text": "here's an utterance avalue with a role in it",
"intent": "None",
"entities": [
{
"entity": "aListEntity",
"role": "ThisIsARole",
"startPos": 20,
"endPos": 25
}
]
}
],
"settings": []
}
this works: ludown refresh -i .\rolesBug.json -n rolesBug.lu
this fails:
c:/>

ludown parse toluis --in rolesBug.lu --out rolesBug-parse.json --verbose
Parsing file: rolesBug.lu
[ERROR]: 'List' entity: "aListEntity" is added as a labelled entity in utterance "here's an utterance avalue with a role in it". List cannot be added with explicit labelled values in utterances.
Stopping further processing.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]

Fixed via #1168


May I use click to print out some text and edit it then got the result

for example:
I want print text
'this is the text I want change'
on screen, then, I do some modification on it,
and I got the result after the modification

Please use Stack Overflow for questions about your own code. This tracker is for issues related to the project itself. Be sure to include a minimal, complete, and verifiable example.


Change Authentication

We're moving away from the Shared Keycloak Realm to a Custom Keycloak Realm with Azure Entra IDP.  This required refactoring all the CSS authentication/authorization.
We can now support guest email addresses through the Keycloak users.  Ideally we could use guest accounts within Azure, but they appear to be limited to Microsoft accounts.
This will require manually refreshing your local Keycloak setup and configuration.
Summary

Migration to Keycloak Custom Realm
Add Azure Entra IDP
Refactor local Keycloak
Publish tno-core:0.1.112

I still need to reconfigure all the services.


Family Pack page

Complete migration of the Family Pack page
Original Page: https://www.bitdefender.com.au/solutions/family-pack
Franklin Page: https://main--bitdefender--hlxsites.hlx.page/solutions/family-pack
Link to the Google Doc

Breadcrumb should be showing the current page.
Original:

Franklin:

Price discount:

Issue 3. Start Free 30-Day Trial link on the Hero section should not be button.

Issue 4. Add tabs to the Feature Cards

Issue 5. Add tabs to the System Requirements Accordion

Isse 6. Add availability list
Original:

Current:

Issue 7. Improved tag corners not matching
Original:

Current:

Issue 8. Font sizes are not matching with the original page


Trick LG AC to lower temperatures

I'm using my LG AC to heat my apartment. The lowest temperature my LG AC allows in heat/cool mode is 18°, but at night I would like to keep my apartment at 16°. I'm thinking I can trick the AC into thinking the target temperature is already reached by adding 2° to the thermistor.
Would this work?

Yes I think that will work fine but I haven't tried this for a longer period of time. You can do this with a HA template sensor.


improves lendocs

I think this is sane. One can always do ptr.tokens().count() for the alternative definition of "length".
I see that you've copied the doc-comment from str::len. This is mostly accurate, since we do indeed just delegate to that method, but the semantics is not quite right. I think we could go with something simpler instead, along the lines of:
/// This length expresses the byte count of the underlying string that represents the RFC 6091 Pointer. See also [std::str::len].
Although the caveat with char/graphemes applies, it's less important for us than the relationship with std::str.

Originally posted by @asmello in https://github.com/chanced/jsonptr/pull/69#discussion_r1781566911
Carry over from the above.
I guess I leave len and is_empty on PointerBuf for now, right? Ugh. I realized I had accidentally added them to PointerBuf and I thought I deleted them to move them on to Pointer but I guess I yanked instead :(.

I yanked v06.2 - i seriously doubt it'd be a breaking change for anyone but I wanted to make sure since the CI reported it as such.


Version number

Can we please have the vsmodtemplate to append a version number to the zip file name?
Right now when downloading all it shows is: "vsmodtemplate-master.zip"

You have to click on "releases": https://github.com/anegostudios/vsmodtemplate/releases


Root transform on VRC contact receiver/sender keeps copied reference.

When copying  over vrc contact receiver/sender scripts, the Root transform keeps pointing to the object from the template, and is not pointing to the newly created target.

Same issue here, a fix would be greatly appreciated!

I'll check tomorrow if i don't forget

From: Shaun Dreclin @.>
Sent: Monday, October 17, 2022 12:42:31 AM
To: rurre/PumkinsAvatarTools @.>
Cc: Subscribed @.***>
Subject: Re: [rurre/PumkinsAvatarTools] Root transform on VRC contact receiver/sender keeps copied reference. (Issue #69)
Same issue here, a fix would be greatly appreciated!
—
Reply to this email directly, view it on GitHubhttps://github.com/rurre/PumkinsAvatarTools/issues/69#issuecomment-1280063503, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD7RGWPKG3JV35XNNKGVZOLWDRZEPANCNFSM6AAAAAAQ56DE4I.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Should be fixed in the next WIP release. You can get it on the discord later today.


Add unit tests

PR #7 adds integration tests.

PR #8 adds integration tests for the other possible session types.


Get PHOENIX spectra

It would be very easy to generalise the 'get stellar spectrum' script in tools/ to cover a much wider range of stars by using the following Python library: https://github.com/bmorris3/expecto
Particularly useful for modelling planets around less well-studied stars (e.g. LP 791-18)

Amazing! Does this work neatly together with Mors?

Yes I think so. Mors provides us with the band-integrated fluxes, which are then used to scale the spectrum. Currently we've been semi-manually obtaining spectra from Muscles (etc.) but this could make it much simpler by taking the stellar parameters from the configuration file.
The main downside is that it increases the number of dependencies.

I've tested this in a standalone notebook by using the Baraffe tracks to get Teff and logg at a given age, and then using these to find the appropriate spectrum.
Seems to work, although it's quite slow since this python package downloads the spectra via FTP from the PHOENIX database as required.
I still think this is worth thinking about, but it needs more investigation.

The library mentioned above gets PHOENIX spectra from the Goettingen spectral library. However, this doesn't seem to cover wavelengths below 60 nm. For escape calculations we will want wavelengths shorter than this.
The BT-Settl models cover ~1e-4 to ~1e5 nm, which is better (and also overkill).
Can view/obtain these here:
http://svo2.cab.inta-csic.es/theory/newov2/index.php
And also potentially from here:
https://zenodo.org/records/8015969

I have scraped the model spectra from this website for the BT-Settl CIFIST grid. This covers a wide range of Teff and log(g).
These are stored as individual npy files, packaged into a single tar.gz file on OSF.
https://osf.io/8r2sw/
We could easily write a script to take Teff and log(g) from an evolution track, and then interpolate or find the appropriate spectrum from this grid. The file size is only ~1 GB.

Also check out:
https://msg.readthedocs.io/en/stable


UrXpubQrEncoder always exports for "mainnet"

Exporting XPUB destined for Sparrow appears to export version=mainnet-public even when seedsigner is set for testnet.
As far as I can tell, Sparrow always forces the extended public key to the version matching the network mode that sparrow is running in.  This is not causing any problems whatsoever, I'm just logging this as I realized this to be the case while testing for v0.8.0-rc1.
I suspect that if HDKey were initilialized with a non-defaulted "use_info" DataItem, that the resulting "xpub" key might become its "tpub". https://github.com/SeedSigner/seedsigner/blob/100a9740e70e3c7119eab0f8b0ad262f72a35b7e/src/seedsigner/models/encode_qr.py#L348
From the Foundation-Devices Passport2 codebase, use_info is initialized like:
https://github.com/Foundation-Devices/passport2/blob/0199ac1488efc894b3d4bb4f55ec2f6884e6491d/ports/stm32/boards/Passport/modules/wallets/casa.py#L37
Discussion 2 days ago in the telegram New Devs group led me to believe that this may better be addressed during the next refactor of qr-encoding code.

An example of a single-sig native-segwit descriptor exported by seedsigner for Sparrow (indicates "zpub" for user) is below:

In Sparrow started with "-n testnet" (or signet), I suspect this gets handled (possibly mangled for testnet mode), creating the following wallet descriptor

wpkh([94613660/84h/1h/0h]tpubDC6QfQdCbyBtfhpJRwBE3zezPCq7ySMBpvxbRmz47dc6K4FJrvBEKfkwYvpPqoJabnf9u9bJZxcELGzF195tQf45S8XNdXsToCBCfWxYN1G/<0;1>/*)#nrhmzuj4

In Sparrow started for mainnet, Sparrow notices that the derivation path is suspicious, but interprets the xpub as:

xpub6Bin9AoWthESPudSykC8r5Kd45jTz3r8HJNJ5DvumirCZmabnhL9BE67JtjcKJMLot8FHa5S2rnBe6VdcHEeXDbnNXn4x1DEDEanuXXwQ3C

...and the zpub as:
zpub6qPJkW9MC4KQ6W1geTmPGFWdQ22MsHq87XQje1igXjbxfyD4J1fGRMQPMJenK7fBdAMrnXGYxBVHQfim3g4g7gxz7DAv7prCkgi5gfa1A3q

In SeedQReader, this decodes to:

wpkh([94613660/84'/1'/0']xpub6Bin9AoWthESPudSykC8r5Kd45jTz3r8HJNJ5DvumirCZmabnhL9BE67JtjcKJMLot8FHa5S2rnBe6VdcHEeXDbnNXn4x1DEDEanuXXwQ3C)#qkze980s

Hi @jdlcdl , I think I could found way of exporting on testnet for public key from seedsigner. Would be possible to test it on SeedQReader or another tool you have?


#14 add typings on sjs module

@markmcdowell Thanks for your review! Change has been merged and published as 2.0.1


Issue-422 - date input to consume form Input.

Updated date picker to use Form Input.
Fixed issue where the calendar button height is smaller than the input height when font-size is changed.
font-size: 1em

font-size: 1.5em

Resolves https://github.com/cerner/terra-core/issues/422
Thanks for contributing to Terra.
@cerner/terra

Did the jest snapshots update with these changes?

No, the reason is because the date input is composed internal by react-datepicker (https://github.com/cerner/terra-core/blob/master/packages/terra-date-picker/src/DatePicker.jsx#L153) as the custom input so there is no reference to it in the jest snapshot.

@neilpfeiffer @mmalaker Does this issue need UX and Functional Review?

Functional verification completed. All date entry examples display and function correctly using form inputs.

Tested: PR #481
Reviewed:

Follows pattern considerations documented in the current Cerner Design Standard: Date-Pickers
Follows UX defined Terra design implementation for Date Picker.

Pass

UX Review


Update TablesInitializer.java

updated error messages to be logger messages
Describe your changes :

I worked on the system error messages because ISSUE-1986 wanted the system error messages to be changed into logger error messages.

Type of change :

[x] Bug fix
[x] Improvement
[] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

Thanks @emilyolsen246 for your contributions


Add observable in typescript and support

TypeScript Version:
1.7.5 / 1.8.0-beta / nightly (1.9.0-dev.20160217)
Code
// A self-contained demonstration of the problem follows...

Expected behavior:
Actual behavior:

I assume you mean the Stage 1 ES Observable proposal.
Much like many other functional aspects of ECMASCript (Promise, Set, Map, WeakMap, WeakSet, Symbol, Array extras, Object extras, etc...), TypeScript does not "shim" functionality and you need external libraries to provide the functionality.  As stated in the proposal, there are currently two implementations of this:

RxJS 5
zen-observable

In particular, RxJS is actually written in TypeScript.

Typescript has add  Stage 1 ES Decorators.
So, We should also add Observable into it or simply target 'ES7' feature in typescript.

Decorators are syntactic features which cannot be functionally polyfilled.
TypeScript design non-goal:

Provide additional runtime functionality or libraries. Instead, use TypeScript to describe existing libraries.

As noted by @kitsonk typescript does not provide any polyfills. you can use any polyfill library that you choose.