Development: Improve PostRepository queries

Checklist
General

[x] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] I followed the coding and design guidelines.
[x] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[x] I implemented the changes with a good performance and prevented too many database calls.

Motivation and Context

While reviewing #4933 I noticed that the queries in the PostRepository had some minor issues.
These issues were:

If any of the booleans were set to false they would be interpreted the same way as if they were true
The nested subquery was more resource-intensive than necessary

Just for reference, these queries were introduced in #4685
Description

To fix this I did the following:

Converted the Booleans in PostContextFilter to booleans and assigned them false as a default value
Adapted the queries to no longer check for <some-Boolean> IS NULL but instead for <some-boolean> = false
Adapted the subqueries to only check the answers of the current post instead of all answers.

Steps for Testing

Prerequisites:

2 Users
1 Course

Log in to Artemis
Navigate to the Course Discussion Page
Create some posts, answers, and reactions with both users
Check that the filtering still works as it should

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage
Unchanged

Thanks for your review @akesfeden
The E2E Tests were failing due to a flaky test and simply rerunning them fixed it.
The server tests run through on Bamboo, so the error for the GitHub run can be ignored. (Don't really know why this happens sometimes, but probably also due to flaky tests)


Improved fonts.

Clean Blog Main BEFORE:

Clean Blog Main AFTER:

Clean Blog Post BEFORE:

Clean Blog Post AFTER:

Reference:
http://www.kevinsweet.com/best-free-serif-font-on-google-fonts/
Also:

Upgraded grunt-contrib-less

I'm not sure one this one. The lighter body font is almost harder to read than the original.

It's medium.com inspired. After reading medium I find the current style too blocky. Anyway up to you.

Not blocky - heavy is the word I was looking for.


Update README.rst

Wrap the PIP Installation in the code block so that it will be easy to copy and run the command in the shell.
Now a nice "copy to clipboard" icon appears.

thanks for the contribution!
cherry-picked into PR https://github.com/bndr/pipreqs/pull/402


Can the Cat run forever ?

When I am running the runcat.exe file then the cat does appear but only for a few seconds and then it disappears. Is it supposed to be this way or should it run forever?

@Ananya2001-an
I think it is just omitted and you can check it in the list of running tasks.

Yup I clicked on the pop up but the cat didn't show up at all
It was like I had to run the file again and again to see it work
But thanks for your response.
The runcat animation is really cute.


Jest

Pull Request Test Coverage Report for Build 783

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 100.0%

Totals

Change from base Build 781:
0.0%

Covered Lines:
737

Relevant Lines:
737

💛  - Coveralls


Problem deploy theme on netlify

I tried to deploy the site on Netlify, it doesn't return any errors but I can't see the theme, only the html. I tried to use netlify.toml as well but it gives an error on "repo -b $ URL".
How can I proceed to correct the problem?

Resolved, sorry!

Resolved, sorry!

I thought I had solved it, but no. I do not understand the problem.

I thought I had solved it, but no. I do not understand the problem.


Use next-sass to import scss as css string and put in styled jsx tag

Is it possible to put the style in style tag with next-sass plugin? I could not find a example anywhere.
I got it working with this example, but it uses custom webpack config: https://github.com/zeit/next.js/tree/master/examples/with-global-stylesheet
import React from 'react'
import stylesheet from 'styles/index.scss'

export default () =>


E121: Undefined variable: g:prettier#autoformat when executing vi

Do you want to request a feature or report a bug?
bug
What is the current/expected behavior?
current:
Whenever I edit a js file, I get the error like:
Hankde-MacBook-Pro:src hankchiu$ vi index.js
Error detected while processing /Users/hankchiu/.vim/bundle/vim-prettier/ftplugin/javascript.vim:
line    3:
E121: Undefined variable: g:prettier#autoformat
E15: Invalid expression: g:prettier#autoformat
Press ENTER or type command to continue

expected:
Open vi without error.
What version of vim-prettier are you using - (output of :PrettierVersion) ?
0.2.7
What version of prettier are you using - (output of  :PrettierCliVersion) ?
1.15.1
What is your prettier executable path - (output of  :PrettierCliPath) ?
/usr/local/bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
vim-prettier
@
I'm not familiar of writing *.vim file, but if I change the file vim-prettier/ftplugin/javascript.vim line 3 like:
- if g:prettier#autoformat
+ if exists('g:prettier#autoformat')

then I can execute vi normally.
Is this a bug or something else obviously I should do before using vim-prettier?

Hi @hankchiutw
I will look into this sometime tonight! Thank you for reporting this issue. What is the output of your vim --version ?

Thanks, @mitermayer ! Here you are:
Hankde-MacBook-Pro:code hankchiu$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr  4 2017 18:14:54)
Included patches: 1-898, 8056
Compiled by<EMAIL_ADDRESS>Normal version without GUI.  Features included (+) or not (-):
+acl             -farsi           -mouse_netterm   +syntax
-arabic          +file_in_path    -mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           -mouse_urxvt     -tag_any_white
-browse          +folding         +mouse_xterm     -tcl
+builtin_terms   -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         -gettext         -mzscheme        +textobjects
-clientserver    -hangul_input    +netbeans_intg   +title
-clipboard       +iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   -perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    -keymap          +postscript      +virtualedit
+comments        -langmap         +printer         +visual
-conceal         +libcall         -profile         +visualextra
+cryptv          +linebreak       +python/dyn      +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      -lua             -rightleft       +windows
+diff            +menu            +ruby/dyn        +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
-emacs_tags      -mouseshape      -sniff           -xsmp
+eval            -mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        -mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L/usr/local/lib -o vim        -lm -lncurses  -liconv

Hi @hankchiutw
Do you have any custom vim-prettier configuration on your .vimrc file ??

Hi @hankchiutw
Are you sure you have the correct vim-prettier installed ? That file that you mentioned does not have that line
https://github.com/prettier/vim-prettier/blob/f2755ec6fe465fb6af051a254d826018dcde2a50/ftplugin/javascript.vim#L1

Finally, I found it's related to my .vimrc.
A small .vimrc to make this issue happen is:
execute pathogen#infect()
filetype plugin on
filetype detect

Will close this issue for now as other users have not mentioned to have this problem as well, feel free to reopen if anyone face the same issue

I found that plugin is loaded after ftplugin(ftplugin-overrule).
This may be the root cause of the issue. But I don't know clearly why it happens only when using vim-pathogen.
@mitermayer , I created a PR(https://github.com/prettier/vim-prettier/pull/217), could you have a look? thanks!


ODM class overrides array and object in typemap

My mistake. I do recall that we talked through this earlier.


Ephemeral OS Disks question

With no cache disk size/data displayed, can you please confirm whether there is or is not support for ephemeral OS disks? https://docs.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks

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

ID: dfc7bf3f-e024-b964-df90-9dc2ada62cd6
Version Independent ID: bb514729-296e-9bdc-257e-f33a372b1744
Content: Dv4 and Dsv4-series - Azure Virtual Machines
Content Source: articles/virtual-machines/dv4-dsv4-series.md
Service: virtual-machines
Sub-service: sizes
GitHub Login: @brbell
Microsoft Alias: brbell

Thanks for the ask  . At this time we are reviewing the ask and we will reply back as soon as we can .

Ephemeral OS Disk is supported for VM sizes that supports Premium storage.
Dv4 series do not support Premium storage while Dsv4-series do support premium Storage.
You can also check if a VM size supports ephemeral disk or not on Azure Portal while creating a VM, as shown below:
In the Azure portal, you can choose to use ephemeral disks when deploying a VM by opening the Advanced section of the Disks tab. For Use ephemeral OS disk select Yes.
Screenshot showing the radio button for choosing to use an ephemeral OS disk

If the option for using an ephemeral disk is greyed out, you might have selected a VM size that does not have a cache size larger than the OS image or that doesn't support Premium storage. Go back to the Basics page and try choosing another VM size.

Hi Team,
You're correct - ephemeral OS disks are supported for VM types like Dsv4
where premium storage is supported.
The specific requirements of e-disks are that the size of the cache drive
must be large enough to fit the OS/template used. For Windows Virtual
Desktop, the Windows 10 images are all ~128 GB.
This link shows that the D4s v3 VM has a cache drive size of 100 GB, which
won't support the 128 GB size of a Windows 10 image, but the D8s v3 VM will.
https://docs.microsoft.com/en-us/azure/virtual-machines/dv3-dsv3-series?toc=/azure/virtual-machines/linux/toc.json&bc=/azure/virtual-machines/linux/breadcrumb/toc.json#dsv3-series
[image: image.png]
Those data points are not present in the documentation for Dsv4 VMs. Is
that because there is no cache drive size for Dsv4 VMs?
https://docs.microsoft.com/en-us/azure/virtual-machines/dv4-dsv4-series?toc=/azure/virtual-machines/linux/toc.json&bc=/azure/virtual-machines/linux/breadcrumb/toc.json#dsv4-series
[image: image.png]
This is compelling for Windows Virtual Desktop environments, as Dsv4 VMs
cost slightly less with a higher performance rating (the ACU of the
previously encouraged VM type of Ds v3 is 160 compared to Dsv4's ACU of
195-210).
Hopefully this helps!
-Doug
On Fri, Sep 4, 2020 at 6:17 PM Karishma Tiwari - MSFT <
<EMAIL_ADDRESS>wrote:

@DougPetrole https://github.com/DougPetrole Did that help? Let me know.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/61944#issuecomment-687425451,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ6FEENVLLGYDRVWY4EYZCDSEFRQ3ANCNFSM4QS6OHXQ
.

Thanks for sharing the details. That helps.
@brbell  Would you be able to help confirm on this? Thanks :)

Is there no cache drive size for Dsv4 VMs? Those data points are not present in the documentation for Dsv4 VMs.

@brbell Did you get a chance to look into this issue? Thanks.

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Ephemeral OS Disk is supported for VM sizes that supports Premium storage.
Dv4 series do not support Premium storage while Dsv4-series do support premium Storage.

Apparently not all VMs which support premium storage also support ephemeral OS disk:
Original Error: Code="VMSizeDoesNotSupportEphemeralOS" Message="The Virtual Machine size Standard_D2s_v4 does not support Ephemeral OS disk."

I think it would be useful for the documentation for VMs say whether or not they support ephemeral OS disk and any pertinent information such as the cache size.
This information can be pulled out from the cli, but apparently not very easily?
In [38]: vms = !az vm list-skus -l australiaeast

In [39]: vms = json.loads('\n'.join(vms))

In [40]: for vm in vms:
    ...:     if vm['capabilities']:
    ...:         capabilities = {capability['name']: capability['value'] for capability in vm['capabilities']}
    ...:     else:
    ...:         capabilities = {}
    ...:     vm['capabilities'] = capabilities
    ...:

In [41]: supported_vms = [vm for vm in vms if vm['capabilities'].get('EphemeralOSDiskSupported', 'False') == 'True']

In [42]: [vm['name'] for vm in supported_vms if vm['name'].startswith('Standard_D2')]
Out[42]:
['Standard_D2s_v3',
 'Standard_D2d_v4',
 'Standard_D2ds_v4',
 'Standard_D2a_v4',
 'Standard_D2as_v4']

@brbell Did this ever get resolved?

@brbell Did this ever get resolved?

#reassign: @mimckitt

This work is now completed.
#please-close


TLS connection is not getting through between CBSD and Mock SAS, while using intermediate CA

Certificates created as follows:
CBSD: rootCA,  CBSD_intermediateCA,  CBSD_Endentity
SAS: rootCA, SAS_intermediateCA, SAS_Endentity
rootCA is common for both SAS and CBSD.
1187	6.078225	<IP_ADDRESS>	<IP_ADDRESS>	TLSv1.2	231	Client Hello
1194	6.119177	<IP_ADDRESS>	<IP_ADDRESS>	TLSv1.2	1516	Server Hello
1196	6.119430	<IP_ADDRESS>	<IP_ADDRESS>	TLSv1.2	647	Certificate
Certificate (id-at-countryName=US,id-at-stateOrProvinceName=CA,id-at-localityName=Sunnyvale,id-at-organizationName=Ruckus Wireless,id-at-organizationalUnitName=Small Cell,id-at-commonName=SAS)
1199	6.120057	<IP_ADDRESS>	<IP_ADDRESS>	TLSv1.2	75	Alert (Level: Fatal, Description: Unknown CA)
SAS sent only end entity and as intermediate CA for SAS is different from CBSD intermediate CA. CBSD could not able to verify certificates of SAS server.
Wireshark log is attached here for reference.
intermediateCA.zip

In the file cacertidan1.pem which has the Root CA, please put also the intermediate CA. So this pem file will look the following:
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
It may be that the order is important and Root CA needs to come before Intermediate CA

Saurabh please try the recommended fix here in pem file and update the ticket.

Tried the same, now MOCK SAS is sending proper cert chain to CBSD. But same has to be updated in certificate creation script, so that certs can be made as per the fix. So it will need changes to be made in certificate creation script.


Consecutive blank lines are forbidden should not apply inside template strings

Bug Report

TSLint version: 4.0.0
TypeScript version: 2.1.4
Running TSLint via: npm script

TypeScript code being linted
const str = `
    here is some text

`;

with tslint.json configuration:
"rules": {
    "no-consecutive-blank-lines": [
        true
    ]
}

Actual behavior
Treats the consecutive blank lines inside the string as a violation
Expected behavior
Don't treat the consecutive blank lines inside the string as a violation

sounds like a bug, accepting PRs

Is there any alternatives to getTokenAtPosition function?
There is easy fix with
const token = (ts as any).getTokenAtPosition(node, start) as ts.Node;

but it is not a part of public API (however ts as any already used in noInferredEmptyObjectTypeRule.ts#L55 )
I tried to use LanguageService but none of methods that has AtPosition returns needed info.

the ts as any was only used there to handle backcompat with TypeScript v2.0, since the field doesn't exist in Typescript v2.1.
Seems strange that getTokenAtPosition is not public. I don't think we should be using private functions. I guess the alternative would be to walk every node to find the template string nodes, then filter out the errors

I have a fix in my local fork. Will prepare a PR tomorrow(ish)


Fsatrace mac workaround

Thanks! Given the first commit touches a load of stuff you put back I've done a "squash and merge" in GitHub. Do say if that turns out to be a terrible idea for some reason.


HC-435: Upgrade Elasticsearch 7.9 -> 7.10

related ticket(s):

https://hysds-core.atlassian.net/browse/HC-435
https://jira.jpl.nasa.gov/browse/NSDS-2302

related PR(s):

https://github.com/hysds/hysds/pull/146

change(s):

the query method will use the PIT + search_after API when using es >=7.10, scroll API if <7.10
bump version

@pymonger Let me run through a few SWOT force branches as a sanity check first

LGTM. Feel free to merge in.


[Bug]: Resizer for the page list section is missing

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The resize handle for the sections that displays list of pages is missing. It used to let the users see more than two pages at once and reduced the need for excessive scrolling
Steps To Reproduce

Go to any app with more than 3 pages.
In the section where the list of pages is displayed, we no longer see the resizer.

Public Sample App
No response
Environment
Production
Severity
Medium (Frustrating UX)
Issue video log
https://www.loom.com/share/96c18b4878214b059618236c7a48ab4a
Version
Cloud

Fixed in #32486


Resources should be installed when it's uploaded

Currently, resources will only be installed when the charm is first installed. It would be better that the resources can be installed whenever they are uploaded (of course, we should install the resources if they are needed). This could be useful if the operator decided to change the resources, or if there are new hardware added to the servers, and the operator want to also observe that hardware.

This issue is used to track the potential problem found in #110 .
If the corresponding resource is not installed during charm deployment (because of network or hardware issue), after the hardware available, there should be a mechanism to trigger the installation of resource and enable the collector.

We decide to use action to recover that.


[Errno 2] No such file or directory: './Y_pred_trueMNN.npy'

File "c:\Users\UTM\Documents\HeloWorld\MNN_Main.py", line 8, in
pred = np.load('./Y_pred_trueMNN.npy')
File "C:\Users\UTM\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\lib\npyio.py", line 422, in load
fid = open(os_fspath(file), "rb")
FileNotFoundError: [Errno 2] No such file or directory: './Y_pred_trueMNN.npy'
Hi, I am new to python. Can someone help me through this?

I am quite sorry about that, I will upload it as long as I find it.

I am quite sorry about that, I will upload it as long as I find it.


Possibility of INSTALL_PREFIX ?

I've failed to use cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/opt/rocm --build . --target install
to package rocm-cmake for my distro. How to correctly use it?

The install prefix must be set during the configure stage:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/opt/rocm ..
cmake --build . --target install


shm/newline-indent-proxy do not work.

I took this from haskell.org:
primes = filterPrime [2..]
  where filterPrime (p:xs) =
          p : filterPrime [x | x <- xs, x `mod` p /= 0]

When I type as normal:
primes = filterPrime [2..<cursor>]

press )
primes = filterPrime [2..]<cursor>

press C-j, then the cursor was placed at the start of next line:
primes = filterPrime [2..]
<cursor>

instead of two spaces indentation:
primes = filterPrime [2..]
  <cursor>

How can I archive the intended indentation?
Here is my haskell config. If I replace 'structured-haskell-mode with 'turn-on-haskell-indentation, then everything work well.

I think there is a binding to jump to where clauses, which is probably what
you want in this case
On Sat, 16 Jan 2016 4:11 am Cuong Manh Le<EMAIL_ADDRESS>wrote:

I took this from haskellorg:
primes = filterPrime [2]
where filterPrime (p:xs) =
p : filterPrime [x | x <- xs, x mod p /= 0]
When I type as normal:
primes = filterPrime [2]
press ) then press C-j, then the cursor was placed at the start of next
line, instead of two spaces indentation:
primes = filterPrime [2]

How can I archive the intended indentation?
Here is my haskell config
https://githubcom/Gnouc/emacsd/blob/master/initel#L474 If I replace
'structured-haskell-mode with 'turn-on-haskell-indentation, then
everything work well
—
Reply to this email directly or view it on GitHub
https://github.com/chrisdone/structured-haskell-mode/issues/123.

Do you have electric-indent-mode turned on? Iirc it’s on by default since emacs 24.4 and in the case of shm it switches the meaning of C-j and Return, so you need to press return if you want the “intelligent” indentation.

@cocreature I actually have electric-indent-mode enable, and using enter now work well.
Before opening the issue, I also try RET but did not get the intended indentation, I re-checked and see that the error in my file so indentation did not work.
Thanks guys for the help.


citation lines are unreadable in message-mode

In each theme, the foreground color used for citation lines in emails is very similar (or, in the case of doom-nova, identical) to the background color, making them difficult to read or even invisible. The involved face appears to be message-cited-face.

Sorry for the tremendously late reply. If you're still experiencing this, could you show me a screenshot?

@hlissner no worries about taking too long to reply, I appreciate you getting back to me! Thanks for helping maintain such a nice set of themes!
Here are screenshots of doom-nova, doom-one, and no theme (I have colors set in .Xresources so it doesn't look like the default Emacs theme, but that doesn't affect the readability of message-cited-face) displaying an email in message-mode.

That is peculair. However, the default color for message-cited-face is magenta, and neither doom-nord nor doom-one changes this, so I'm skeptical that that is in fact message-cited-face. Could you place your cursor over it and do M-x describe-char?
At the bottom of the new help buffer you'll find a list of overlays and text properties at point, including the active faces:

It would help us figure out what faces are really at play here.


enable turtleSim build with external micro-ROS library

Please create an Issue to remind us to fix the include paths later on


Patch for  MoveRefactoring null error fix

The MoveRefactoring with the default visibility option as "Escalate" was not working  .
The issue seems to be from an uncaught null pointer exception arising somewhere else .
It got fixed by minimal changes on NB .
Netbeans PR link #7923

Hmm I will check for the tests though the change seems almost harmless we are catching an exception which was not being caught were the later is more dangerous . I am not sure of the tests but this NPE is always caught because initially an empty HTML form gets created with none of the fields selected so this always happens .


merge from arlac77/npm-package-template-esm-only

package.json

chore(scripts): cover@#overwrite c8 -x 'tests/**/*.mjs' --temp-directory build/tmp ava && c8 report -r lcov -o build/coverage --temp-directory build/tmp
chore(engines<EMAIL_ADDRESS>
.travis.yml

chore(travis): remove node versions 10.16.3
chore(travis): add node versions -10,-11,-12

:tada: This PR is included in version 1.5.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Trigger phrase is missing... Locale: 'en'.

It seems that gactions push isn't quite happy with the paths emitted by jovo-model: intents/en-US/Foo.yaml.
en      Trigger phrase is missing for custom intent 'Foo'. Locale: 'en'.

If I take the entire contents of en-US and drop them directly into the intents folder, the push succeeds.

Hm, seems like that not en-US is the problem, but rather the locale en. What's your process here?

So now that I've figured out how to get jovo-cli to emit these files, I noticed that it duplicates them as both global and localized intents. It seems like jovo-model doesn't do that. Here's the script I wrote:
import { JovoModelGoogle } from "jovo-model-google";
import * as fs from "fs";
import * as path from "path";
import YAML from "yaml";

const jovoModelInstance = new JovoModelGoogle();
const jovoModelData = JSON.parse(
  fs.readFileSync("models/en-US.json").toString()
);
const locale = "en-US";
jovoModelInstance.importJovoModel(jovoModelData, locale);
const modelFiles = jovoModelInstance.exportNative();
fs.rmdirSync("platforms/googleAction2/custom", {
  recursive: true,
});

modelFiles!.forEach((value) => {
  value.path = value.path.map((value1) => value1.replace("AMAZON.", ""));
});

const paths = modelFiles!.map((value, index) => {
  return `${index}: ${value.path.join("/")}`;
});
console.log(`Paths: `, paths);
modelFiles!.forEach((value) => {
  const filepath = `platforms/googleAction2/${value.path.join("/")}`;
  const dirname = path.dirname(filepath);
  fs.mkdirSync(dirname, { recursive: true });
  const content = YAML.stringify(value.content);
  fs.writeFileSync(filepath, content);
});

// TODO prepend correct handler name to webhook file
// TODO purge invalid training phrases: yes, no, off
// TODO figure out what metadata is still missing

console.log(`DONE!`);

Yes, this is a bug that'll be fixed and deployed with the newest version.


LSP is conflicting with colorschemes

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.0-dev-2507+g3df1211eb
Operating system/version
Linux void 6.7.9_1 1 SMP PREEMPT_DYNAMIC Fri Mar  8 01:01:43 UTC 2024 x86_64 GNU/Linux
Describe the bug
When neovim/nvim-lspconfig is enabled the colorscheme group will not be applied. The group
Identifier will remain the color I want until the lsp starts. This has been discussed here. The temp fix for now is to use this as mentioned in that issue.
vim.highlight.priorities.semantic_tokens = 95 -- Or any number lower than 100, treesitter's priority level

Steps To Reproduce

Clone a fresh install of LazyVim
Create file plugins/myplugins.lua

return {
  {
    "marko-cerovac/material.nvim",
    -- Comments are a bit darker than I would like
    config = function()
      require("material").setup({
        -- high_visibility = {
        -- lighter = false, -- Enable higher contrast text for lighter style
        -- darker = false, -- Enable higher contrast text for darker style
        -- },
        custom_highlights = {
          CursorLine = { bg = "#262626" }, -- 262626 looks good in comments.
          -- Identifier = { fg = "#de5d68" }, -- 262626 looks good in comments.
          Identifier = { fg = "#ffffff" }, -- 262626 looks good in comments.
        },
      })
    end,
  },

  {
    "LazyVim/LazyVim",
    opts = {
      colorscheme = "material-darker",
    },
  },
}

Expected Behavior
I expect my colorscheme options to be used for the group Identifier but they revert.
Here is a video of the issue.
https://github.com/LazyVim/LazyVim/assets/76216665/aba80ac0-1f8f-428a-afd4-890afe109d06
Repro
See Steps To Reproduce above.

Isn't that a problem with Neovim itself? What does it have to do with LazyVim?

I'm not sure if that's a problem with Neovim itself? I'm not familar with thier code base.
Do I need to open up an issue with them?

vim.highlight.priorities is being set directly from Neovim. LSP semantics have higher priority than treesitter. Instead of changing the value of Identifier i believe you should change the value of the LSP highlight that takes over to achieve what you want.


[it] Update dev-it branch with main branch (#2)

[zh] Localize 'api_gateway' (#893)

[zh] Localize 'api_gateway' fix #850

[zh] remove english description

[zh] move the hyperlink to the right place, add spacing

[zh] optimize the description on home page (#896)

[zh] optimize the description on home page

Update content/zh-cn/_index.md

Co-authored-by: Brian Yan<EMAIL_ADDRESS>Co-authored-by: Brian Yan<EMAIL_ADDRESS>

[zh] Localize 'infrastructure_as_a_service' (#898)

[zh] Localize 'infrastructure_as_a_service'

[zh] refer to existing zh terms in iaas

Create horizontal_scaling.md

Create vertical_scaling.md

Create chaos_engineering.md

Update vertical_scaling.md

扩展 - > 伸缩 for scalability

[zh] Localize auto_scaling.md (#897)

Create auto_scaling.md

Update content/zh-cn/auto_scaling.md

Co-authored-by: Brian Yan<EMAIL_ADDRESS>

unify expression

Update auto_scaling.md

Co-authored-by: Brian Yan<EMAIL_ADDRESS>Co-authored-by: Jacob953<EMAIL_ADDRESS>

Update vertical_scaling.md

[zh] Localize 'application_programming_interface (#902)

[zh] translate api

[zh] refine the transalation of scalability

Create infrastructure_as_code.md (#904)

[zh] localize 'agile_software_development' into chinese

Signed-off-by: Andong Liao<EMAIL_ADDRESS>
[zh] fixed some inconsistent subheadings

Signed-off-by: Andong Liao<EMAIL_ADDRESS>
localize idempotence.md (#919)

Signed-off-by: zhangxuhai<EMAIL_ADDRESS>
refine the translation of scale (#926)

Signed-off-by: Andong Liao<EMAIL_ADDRESS>
Create firewall.md

Signed-off-by: Juncheng<EMAIL_ADDRESS>
Update firewall.md

Signed-off-by: Juncheng<EMAIL_ADDRESS>

localize platform_as_a_service.md

[zh] Localize 'client_server_architecture' (#933)

[zh] cs archtecture

Signed-off-by: Andong Liao<EMAIL_ADDRESS>
[zh] resolve comments and resubmit with sign

Signed-off-by: Andong Liao<EMAIL_ADDRESS>
Update content/zh-cn/platform_as_a_service.md

Co-authored-by: Brian Yan<EMAIL_ADDRESS>

[zh-cn] Update DevOps (#941)

[zh-cn] Update DevOps

Glossary DevOps is widely used, we can put it in title just as CI and CD.
Signed-off-by: tianzong48<EMAIL_ADDRESS>
Update content/zh-cn/devops.md

Co-authored-by: Brian Yan<EMAIL_ADDRESS>Signed-off-by: Submarinee<EMAIL_ADDRESS>Co-authored-by: Submarinee<EMAIL_ADDRESS>
docs: add missing slash

slash in  do not match
Signed-off-by: Yuedong Wu<EMAIL_ADDRESS>
docs: fix terminologie and format

Signed-off-by: Yuedong Wu<EMAIL_ADDRESS>
docs: update terminologie in zh-cn

Signed-off-by: Yuedong Wu<EMAIL_ADDRESS>
docs: add missing blank

Signed-off-by: Yuedong Wu<EMAIL_ADDRESS>
[zh] translate abstraction (#947)

Signed-off-by: Andong Liao<EMAIL_ADDRESS>

[zh] localize database_as_a_service.md (#945)

localize database_as_a_service.md

Update database_as_a_service.md

Co-authored-by: Brian Yan<EMAIL_ADDRESS>

format code style

[zh] translate nodes

Signed-off-by: Andong Liao<EMAIL_ADDRESS>
Update content/zh-cn/nodes.md

Co-authored-by: Brian Yan<EMAIL_ADDRESS>
Update content/zh-cn/nodes.md

Co-authored-by: Jihoon Seo<EMAIL_ADDRESS>

Update content/zh-cn/nodes.md

[zh] complete CNCF Slack link (#1003)

complete CNCF Slack link

Signed-off-by: Petrie<EMAIL_ADDRESS>
revert invalid change

Signed-off-by: Petrie<EMAIL_ADDRESS>
translate debugging into chinese (#1044)

Signed-off-by: Petrie<EMAIL_ADDRESS>
translate service discovery

Signed-off-by: Petrie<EMAIL_ADDRESS>
fix link address

Signed-off-by: Petrie<EMAIL_ADDRESS>

[zh]translate loosely coupled architecture (#1053)

translate loosely coupled architecture

Signed-off-by: Petrie<EMAIL_ADDRESS>
fix link

Signed-off-by: Petrie<EMAIL_ADDRESS>
translate versioncontrol

Signed-off-by: Petrie<EMAIL_ADDRESS>
remove origin

Signed-off-by: Petrie<EMAIL_ADDRESS>
remove code quote git

Signed-off-by: Petrie<EMAIL_ADDRESS>
chore(deps): bump rojopolis/spellcheck-github-actions

Bumps rojopolis/spellcheck-github-actions from 0.24.0 to 0.25.0.

Release notes
Changelog
Commits

updated-dependencies:

dependency-name: rojopolis/spellcheck-github-actions
dependency-type: direct:production
update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>
fix old links to favicons in docsy

Signed-off-by: cjyabraham<EMAIL_ADDRESS>

add some guidelines for localization teams (#1075)

add some guidelines for localization teams

Signed-off-by: Noah Ispas (iamNoah1<EMAIL_ADDRESS>
Small edits

Co-authored-by: Catherine Paganini<EMAIL_ADDRESS>

remove adrianna from all files (#1066)

remove adriana from all files

Signed-off-by: Noah Ispas (iamNoah1<EMAIL_ADDRESS>
Update CODEOWNERS

Co-authored-by: Jihoon Seo<EMAIL_ADDRESS>

[zh]translate tightly coupled architectures (#1054)

translate tightly coupled architectures

Signed-off-by: Petrie<EMAIL_ADDRESS>
fix link

Signed-off-by: Petrie<EMAIL_ADDRESS>
translate continuous deployment

Signed-off-by: Petrie<EMAIL_ADDRESS>
fix lang dir

Signed-off-by: Petrie<EMAIL_ADDRESS>

[zh]update related term refer to the original (#1088)

update related term refer to the original.

Signed-off-by: Petrie<EMAIL_ADDRESS>
replace localized link

Signed-off-by: Petrie<EMAIL_ADDRESS>
Updating custom theme for Glossary site (#1081)

Signed-off-by: James Hunt<EMAIL_ADDRESS>
fix: insert empty lines after the header lines

Signed-off-by: Petrie<EMAIL_ADDRESS>
fix: improve reading experience

Signed-off-by: Petrie<EMAIL_ADDRESS>
fix: add semantic line breaks

Signed-off-by: Petrie<EMAIL_ADDRESS>
fix: rename markdown filenames

Signed-off-by: Petrie<EMAIL_ADDRESS>
fix: update relevant links

Signed-off-by: Petrie<EMAIL_ADDRESS>
translate bare metal machine

Signed-off-by: Petrie<EMAIL_ADDRESS>
translate security chaos engineering (#1091)

Signed-off-by: Petrie<EMAIL_ADDRESS>
add tags

Signed-off-by: Petrie<EMAIL_ADDRESS>
translate site reliability engineering

Signed-off-by: Petrie<EMAIL_ADDRESS>Co-authored-by: Andong LIAO<EMAIL_ADDRESS>Co-authored-by: Brian Yan<EMAIL_ADDRESS>Co-authored-by: Jiangyu Wang<EMAIL_ADDRESS>Co-authored-by: Chester Cheung<EMAIL_ADDRESS>Co-authored-by: Jacob953<EMAIL_ADDRESS>Co-authored-by: Lenshood<EMAIL_ADDRESS>Co-authored-by: Juncheng<EMAIL_ADDRESS>Co-authored-by: Submarinee<EMAIL_ADDRESS>Co-authored-by: Brian Yan<EMAIL_ADDRESS>Co-authored-by: tianzong48<EMAIL_ADDRESS>Co-authored-by: Submarinee<EMAIL_ADDRESS>Co-authored-by: Yuedong Wu<EMAIL_ADDRESS>Co-authored-by: Jacob953<EMAIL_ADDRESS>Co-authored-by: Seokho Son<EMAIL_ADDRESS>Co-authored-by: Jihoon Seo<EMAIL_ADDRESS>Co-authored-by: Petrie Liu<EMAIL_ADDRESS>Co-authored-by: Petrie Liu<EMAIL_ADDRESS>Co-authored-by: dependabot[bot]<EMAIL_ADDRESS>Co-authored-by: cjyabraham<EMAIL_ADDRESS>Co-authored-by: Noah Ispas<EMAIL_ADDRESS>Co-authored-by: Catherine Paganini<EMAIL_ADDRESS>Co-authored-by: James Hunt<EMAIL_ADDRESS>

Hello @fsbaraglia, thank you for your contribution!
I opened a PR that can be a sample PR that updates dev-it with main.
You can open one in here.
PTAL!

@jihoon-seo  ok, thank you, I will do it and close this pull request


Fixes incorrect integration id

Description:
This PR will fix issues users with multiple Lutron Caseta devices were having.  The root cause of the issue was a difference in IDs being reported by the Lutron Integration report and the values received by the SSH /devices call.  This has been resolved by fixing the underlying library to only use SSH.  Only minor changes were required to this code base.
Related issue (if applicable): fixes #6870
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2453
Example entry for configuration.yaml (if applicable):
lutron_caseta:
    host: 192.168.XX.XXX

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

That's weird i run with 3.5:
___________________________________ summary ____________________________________
SKIPPED:  py34: InterpreterNotFound: python3.4
  py35: commands succeeded
SKIPPED:  py36: InterpreterNotFound: python3.6
  lint: commands succeeded
  requirements: commands succeeded

I will look into this more tomorrow.

It seems like you have some commits in this branch that are not yours, please clean it up.

@Balloob yep... Working on it.  I am also having issues with the tests.  I may send a new PR. I will reference this one in the new one if that is the route I take.  Sorry about this

Closing this one in favor of https://github.com/home-assistant/home-assistant/pull/7165


Subscriber usage text is wrong

The subscriber usage text has left overs from copy-paste from Publish.

Closed by https://github.com/nats-io/csharp-nats/commit/8a6c29d6550b68688d9f9e10956123804e7130ff


vector misses implementation for vectors larger 4 for host target

Vector is only implemented for sizes 1, 2, 3, 4. Everything larger results in an error when building host code.
// in slang
vector<float, 13> some_vector;

// generated code
template <typename T, int COUNT>
struct Vector;

template <typename T>
struct Vector<T, 1>
{
....

Please note that support for larger vector sizes is not part of the language. This restriction may be lifted in the future but for now vectors are limited to have size <= 4.

I see. Can you also explain what the difference between vector and Array is? Array maps to StaticArray on the c side? There is also DynamicArray, how is this accessed on the slang side?

In Slang, int arr[5]; is equivalent to Array<int, 5> arr;
Array is just the type for arrays, it maps to a stack-allocated static array when generating C++.
There is currently not a builtin type that maps to a dynamic heap-allocated array such as C++'s std::vector.

@fknfilewalker Slang doesn't current support vectors greater than 4. Is it possible for you to work around this by using arrays instead? Please let us know if you have concerns with closing this issue.

mhm thought so, what speaks against using one array type and then replace everything with N <= 4 and the correct type with the special IR primitive types in the backend

I am not sure what problem your suggestion will solve.
I see some interesting ideas tossed around but it is unclear what the problem is.

I am fine with using arrays, so this is not a road block. Was just wondering about the reasons behind it.


Create pathwayCollection returns uuid with space

The response of createPathwayCollection does return the uuid of the created collection,
but it appears to contain a space in the beginning and thus cannot be used in subsequent calls.

The url actually reads:
path":"/sbml4j/mapping/%222298af48-589f-4eea-a062-88c96c2e4ff7%22"
The added %22 in the beginning and end actually decode to the ' " ' character according to
https://de.wikipedia.org/wiki/URL-Encoding
SBML4j returns an actual UUID java type. which reaches pysbml4j as byte-stream with quotes
b'"6339ddd2-bda0-4464-9d21-bcee164eee43"'
After decoding in utf-8 it remains:
"6339ddd2-bda0-4464-9d21-bcee164eee43"
which is a string that includes the quotes characters.
How to get rid of them, or rather how to process the response in a better way to get a String representation that does not include the quotes?

This has been changed in the SBML4j service itself. It now returns the UUID as an actual String, which does not include the quotes anymore.
The returned element can now directly be used in subsequent calls.


regarding malfunction of extensions

extension host terminated unexpectedly

how to resolve this please help..!??

Did you see #94858 which is currently pinned at the top of the Issues page on GH?


Almost inaudible

Thanks for making this library. Though am having one issue with it. The sound is almost inaudible on 8 ohms 0.25 watt speaker attached directly to Arduino. It's audible with melody example, so the speaker is working fine! It works well when attached to desktop speakers. Is it possible to make it work on a tiny speaker? Trying to make a portable, battery operated circuit. I've tried LM386 module and that marginally increases the sound and Triangle wave seems to be the loudest.
Any suggestions on increasing the sound output as it appears to be a software setting, considering the melody example sounds loud enough. Thanks

It's supposed to be quiet because it uses high-frequency PWM modulation.  The melody sketch you posted does not allow mixing notes together; in fact, the reason I made this library is to play multiple notes at the same time.  There's no other way to achieve this without I2S or high-frequency modulation.  You can try increasing the volume via software with setVolume.
I suggest getting a beefy low-cost amplifier like the PAM8403.  This is a class D amplifier (compared to the LM386 which is an AB amplifier).

Got it! Tried PAM 8403, which induced a lot of noise. Need to figure out how to do this properly.
Closing the issue as its not an issue with this library.


Register extension startup hooks only once

Issue describing the changes in this PR
resolves #issue_for_this_pr
Pull request checklist

[x] My changes do not require documentation changes

[ ] Otherwise: Documentation issue linked to PR

[x] My changes should not be added to the release notes for the next release

[ ] Otherwise: I've added my notes to release_notes.md

[x] My changes do not need to be backported to a previous version

[ ] Otherwise: Backport tracked by issue/PR #issue_or_pr

[x] I have added all required tests (Unit tests, E2E tests)

Additional information
This change improves the idempotence of our service registration. We will now only register extension startup hooks on the first call to this method.
Holding off on adding release notes "ConfigureFunctionsWorkerDefaults() is now idempotent and safe to call multiple times" as I believe there is more work before that is accurate.

Holding off on adding release notes "ConfigureFunctionsWorkerDefaults() is now idempotent and safe to call multiple times" as I believe there is more work before that is accurate.

Tracking additional updates for this with @brettsam to review service and middleware registrations prior to 2.x reaching GA


Efficient Nima shutdown for all type of connections

PR #5876 only covers HTTP/1.1. Explore efficient connection shutdowns for other type of connections, such as HTTP/2.

PR #6041


No device found on /dev/ttyACM0 Arduino Due.

Hello,
I'm having an arduino due, I'm trying to upload zephyr RTOS onto it.
when I do
./bossac -i -d -p /dev/ttyACM0 -U true -e -w -v -b  ~/git/zephyr/samples/hello_world/outdir/arduino_due/zephyr.bin -R

I'm getting the output as
Set binary mode
Send auto-baud
Set binary mode
No device found on /dev/ttyACM0

Am I missing something?
can anyone help me with this?

Check if the device is listed unter 'lsusb'.
If so, try resetting and starting bossac again. You might do this a few times, but finally it works after a few tries.

I have the same problem working with Arduino Due. Tried it many times but got the same error. My linux is Ubuntu 16.04LTS, bossac version 1.7.0 and lsusb returns:
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 046d:081b Logitech, Inc. Webcam C310
Bus 003 Device 028: ID 2341:003e Arduino SA
Bus 003 Device 011: ID 13fd:0840 Initio Corporation INIC-1618L SATA
Bus 003 Device 004: ID 054c:0104 Sony Corp.
Bus 003 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 008: ID 8087:07da Intel Corp.
Bus 003 Device 007: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Arduino IDE doing some tricks with usb/serial port reset and bossac works there, but I need solution for people who are not familiar with Arduino IDE and just want to upload file.

You need to push ERASE for a few seconds while the Due is running. After that push RESET for a short period, wait a second, and then you should have no problems to use BOSSAC.
Oh, and use the following command line:
bossac -p ttyACM0 --usb-port=true -e -w -v -b ./firmware.bin
Let me know the outcome!

I tried ./bossac -p ttyACM0 --usb-port=true -e -w -v -b /tmp/arduino_build_768174/eez_psu_sketch.ino.bin but it returns:
bossac: unrecognized option '--usb-port=true'
Try 'bossac -h' or 'bossac --help' for more information

This suggestion with ERASE sounds good, but even if works it's unfortunately not practical in my case because that key is not easily accessible since due is plugged in in but bigger "shield" and placed inside metal enclosure (link on this picture).

Older Versions of Bossac use '-U true' instead of '--usb-port=true', could you try that?
And If we've got that working we can try the auto erase... theres a trick for that.

For me also Arduino shows up in lsusb output when it is connected to programming port but not when it is connected to the native port.
I also have write permission on the port ttyUSB0.

I have an open PR that would add a flag to help this situation: #45 (Add 1200bps erase flag)

@kevans91 Yes, thats exactly what I'm talking about. A flag would be a good idea!

Wow this one seems to work! I'm still not sure that combination of ERASE and RESET keys is the right one. Since ERASE key is not accessible in my case, a solution that include port reset as kevans91 suggested will be nice.

Yeah, the bossac flags can vary, what really matters is the 1200bps open/close prior to that to put the Due into the right prerequisite state for BOSSA to work with it.

You can't talk to the program code of the Due. You need to erase it first. After erase the bootloader starts and this is the one you can talk to.
The ATMEL16U2 Chip on the Due does the communication handling. It has the capability to erase the due and start the Bootloader. It does that when you open it with 1200bps first. That's the trick Arduino uses so that you don't need to Push the Erase-Button.
It should be possible to do that opening with 1200 baud manually and the PR from kevans91 has a view Infos about that.

Ok, but I'm using so-called Native USB port and it works quite nice. It's not connected to 16U2, or it is?

The Arduino reset is in the latest master.

add this line first
stty -F /dev/ttyACM0 1200


Added support for btree key.

I am not sure if I have done everything I needed to.  But the documentation at https://doc.rust-lang.org/std/cmp/trait.Ord.html leads me to believe I have done what it takes.
I am happy to do more if more is needed.
Thanks

I don't really have any idea how to use GitHub yet.  I accidentally added the lib.rs to the main folder on GitHub, tried to delete, but.  But I think the pull request I did is adding it.  That isn't really what I want to do, but I have no idea how to undo it at this point.


Pandas, Numpy packages are not getting executed

Hello,
I am running the following commands on Jupyter Notebook (Anaconda) and getting following error. Not able to proceed with programming.
import numpy as np
AttributeError                            Traceback (most recent call last)
 in
----> 1 import numpy as np
~\Anaconda3\lib\site-packages\numpy_init_.py in
138     from . import _distributor_init
139
--> 140     from . import core
141     from .core import *
142     from . import compat
~\Anaconda3\lib\site-packages\numpy\core_init_.py in
96 # do this after everything else, to minimize the chance of this misleadingly
97 # appearing in an import-time traceback
---> 98 from . import _add_newdocs
99 # add these for module-freeze analysis (like PyInstaller)
100 from . import _dtype_ctypes
~\Anaconda3\lib\site-packages\numpy\core_add_newdocs.py in
4402     allocating the array data. Returns the previously set value.
4403     See global_state for more information.
-> 4404     """)
4405
4406 add_newdoc('numpy.core._multiarray_tests', 'format_float_OSprintf_g',
~\Anaconda3\lib\site-packages\numpy\core\function_base.py in add_newdoc(place, obj, doc, warn_on_python)
504     If possible it should be avoided.
505     """
--> 506     new = getattr(import(place, globals(), {}, [obj]), obj)
507     if isinstance(doc, str):
508         _add_docstring(new, doc.strip(), warn_on_python)
AttributeError: module 'numpy.core.multiarray' has no attribute '_set_madvise_hugepage'

Hey @prasadhebbar. Unfortunately, I have no idea how to set this up in Jupyter. I was only running this script from command line.
Probably you need to set proper numpy version on Jupyter desktop to make this run.
Since this out of scope, I am closing this issue.


Report Rejected Banking Schemes in html + More Descriptive Mem Annotations

Just about done with banking refactor.  I think it would be useful to report which banking schemes were rejected in favor of the one that was actually used, so the user can kind of have a sense of how a memory could possibly be banked and get ideas on how to rewrite the accesses smarter and what flags to annotate the memory with.  Also need to add more flags that the user can use to guide banking.  Also may be useful to report "expected cost" and "search time" for each rejected scheme.

Nevermind.  I thought about this a little bit and I think it will be more confusing than helpful to a user who can't already read the MemoryAnalyzer log.


Kuadrant Policy Designer Widget Mockup

Design and create policy designer widget as a clickable mockup that showcases creating a rate limiting policy and an auth policy.

Could be 1 or 2 policy designers (auth policy / rate limiting policy)
Ignore context of where the designer widget should live
Consider things like a default policy, policy templates?

[WIP]Design Mockups:

AuthPolicy Designer
Configure Named patterns & Conditions-option1
Configure Named patterns & Conditions -option2
Elevator configuration forms for each phrases

[Update] Policy Designer:

[Update] Template mockup for quickly configure Authenticated Rate Limit  - mock up for Iteration 1

[Updated] Policy Designer
Design option 1
Design option 2
Design option 3
Feedback collected from the UXD Beijing Team.
[Under Review]New proposal
Design option 4

Decision made to (during the review meeting:

Postpone the use case of Designing templates or wizard view for users(persona detail not defined) to quickly configure common configurations.
Focus on Simplify the advanced policy designer with the takeaways from the wizard view.

Iterations of the simplified the policy designer:

Iteration 1
Iteration 2

Final design of the simplified policy designer:

mid-fi


Is there a way to get new messages through user chat box ?

Im trying to unread messages of my user account through the bot.

This library is only for Telegram Bot API. No client accounts, in your case the solution is use a library base in MTProto API (Client Tg API) like TdLib / Madeliproto / Pyrogram ...


Added toxenv for snyk scanning

Summary
This one would be used to perform snyk code scanning from the internal development environment only because the API endpoint cannot be accessed from the external.
Once we setup the self-hosted CI instance, this one will be used by code-scanning workflow to automate snyk scanning & reporting. before that, this will be used to generate snyk report manually.

How to test

Checklist

[ ] I have added unit tests to cover my changes.
[ ] I have added integration tests to cover my changes.
[ ] I have added the description of my changes into CHANGELOG.
[ ] I have updated the documentation accordingly

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below).

# Copyright (C) 2023 Intel Corporation
#
# SPDX-License-Identifier: MIT

Codecov Report
Patch coverage has no change and project coverage change: -0.01 :warning:

Comparison is base (606a0c8) 78.88% compared to head (fb0d638) 78.87%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #926      +/-   ##
===========================================
- Coverage    78.88%   78.87%   -0.01%
===========================================
  Files          215      215
  Lines        25220    25220
  Branches      5046     5046
===========================================
- Hits         19895    19893       -2
- Misses        4191     4192       +1
- Partials      1134     1135       +1

Flag
Coverage Δ

macos-11_Python-3.8
?

ubuntu-20.04_Python-3.8
78.87% <ø> (ø)

windows-2019_Python-3.8
78.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Further clarification to what 1.5M baud rate refers to

Hi,
at https://docs.libretiny.eu/docs/platform/realtek-ambz/#flashing it shows the following information:
**Tip
You need a good USB<->UART adapter for the process. Some chips may not support 1.5M baud rate, required by the ROM for the initial handshake. Widespread PL2303 is currently known not to work, at least under Windows. FT232RL is verified to work reliably.**
In ltchiptool 1.5M baud rate is not available. Possibly I don't understand something fundamental regarding the technical background of this information, nevertheless I wanted to suggest to maybe add some additional information for people like me without the technical background going this deep.
Thanks,
Helge

1.5M baud rate is 1,500,000 baud. It isn't available in ltchiptool, because the available baudrates only apply for the actual flashing process. The 1.5M baud rate is only used at the start of the process:

required by the ROM for the initial handshake.

Thank you, yes this is what I had also assumed, I just wasn't sure about it because I'm not familiar with the technical depth of the connection initiation process. Although you provide an explanation it would maybe help others to add an additional sentence for half-knowledge people like me :D


New icon

[ ] Remove padding around icon:

[ ] Alternative icon idea: little white puffy cloud in a blue sky

We should just use the official icon for Win 11, it clearly says that it is intended to be used with a tiling WM :wink:

Joke aside, I like the current icon (without padding)

https://www.figma.com/file/Hg9xSUVo8BQDu9wQdvo0pl/Whim-Icon?type=design&node-id=0%3A1&mode=design&t=4AY0ADLZhhMlx1oO-1


Feature Request: Output into stdout

Thanks for the very useful tool!
I would like to suggest that outputting into stdout might be a very useful addition to using this tool in various pipelines :-)
Currently I was able to capture the output by using mkfifo and juggling around with it, but if something goes wrong (e.g. Package.resolved is not in a current state so the tool crashes with a "file not found" error), the other end of the pipeline reading from the fifo gets stuck and has to time out...

Hey @vladkorotnev, thanks for the request. This is definitely a valuable addition to the tool, I will take a closer look to this when I find some time.
Just to clarify, there should be a flag which controls if the output as JSON or property list (PDF and settings bundle doesn't make sense) gets printed to the console instead of writing it to a file, right?

Hello,
Yes, that is the assumption. A more expected way (inline with other tools
bundled with the OS and the like) would be defaulting to that, unless
specified otherwise with the flags.
I tried to look around the code but only a very little bit, so it didn't
seem to be easy for someone outside of the project like myself sadly
Best regards,
On Wed, May 10, 2023, 23:49 Felix Herrmann @.***> wrote:

Hey @vladkorotnev https://github.com/vladkorotnev, thanks for the
request. This is definitely a valuable addition to the tool, I will take a
closer look to this when I find some time.
Just to clarify, there should be a flag which controls if the output as
JSON or property list (PDF and settings bundle doesn't make sense) gets
printed to the console instead of writing it to a file, right?
—
Reply to this email directly, view it on GitHub
https://github.com/FelixHerrmann/swift-package-list/issues/48#issuecomment-1542340297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFAGQSUIC64OOGHVDZRPUTXFOTGVANCNFSM6AAAAAAX4G3A4M
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @vladkorotnev, I've just added this functionality but it requires a major version release. It is accessible via a scan subcommand so you just have to add it to your existing configuration, e.g. swift-package-list scan ~/Desktop/Test/Test.xcodeproj.

Version is live, let me know if something needs to be adjusted!


normalize Greek exclamation tags to interjection

It seems we also at some point normalized the Greek treebank to interjection so Arethusa isn't correctly mapping parsing exclamation in a treebank file anymore. I'll need to update the Alpheios trees for this too.
Originally posted by @balmas in https://github.com/alpheios-project/alpheios-core/issues/609#issuecomment-762410030

test in conjunction with alpheios-project/alpheios-core#609

test in conjunction with alpheios-project/alpheios-core#609

@balmas, do you have any example of exclamation in Greek? I am browsing a lot of authors with not much luck so far

@balmas, do you have any example of exclamation in Greek? I am browsing a lot of authors with not much luck so far

Sorry I should have included that. The most common is ὢ -- it's now tagged as "interjection" in the treebank but Morpheus reports exclamation for it .
You can find it at Iliad 2.110 https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg001.alpheios-text-grc1/passage/2.110
Or εἴθε at Odyssey 2.33  https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg002.alpheios-text-grc1/passage/2.33
(I just realized I hadn't flushed the cache of the treebank data which might have been part of the problem for you, that's done now too)

Sorry I should have included that. The most common is ὢ -- it's now tagged as "interjection" in the treebank but Morpheus reports exclamation for it .
You can find it at Iliad 2.110 https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg001.alpheios-text-grc1/passage/2.110
Or εἴθε at Odyssey 2.33  https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg002.alpheios-text-grc1/passage/2.33
(I just realized I hadn't flushed the cache of the treebank data which might have been part of the problem for you, that's done now too)

Great!
On Tue, Jan 19, 2021 at 10:55 AM Bridget Almas<EMAIL_ADDRESS>wrote:

Sorry I should have included that. The most common is ὢ -- it's now tagged
as "interjection" in the treebank but Morpheus reports exclamation for it .
You can find it at Iliad 2.110
https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg001.alpheios-text-grc1/passage/2.110
Or εἴθε at Odyssey 2.33
https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg002.alpheios-text-grc1/passage/2.33
(I just realized I hadn't flushed the cache of the treebank data which
might have been part of the problem for you, that's done now too)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/alpheios-project/alpheios-trees/issues/16#issuecomment-762935880,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ32UOKRAA5KPYQRJECE7LDS2WTPHANCNFSM4WHVW3FQ
.

Great!
On Tue, Jan 19, 2021 at 10:55 AM Bridget Almas<EMAIL_ADDRESS>wrote:

Sorry I should have included that. The most common is ὢ -- it's now tagged
as "interjection" in the treebank but Morpheus reports exclamation for it .
You can find it at Iliad 2.110
https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg001.alpheios-text-grc1/passage/2.110
Or εἴθε at Odyssey 2.33
https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg002.alpheios-text-grc1/passage/2.33
(I just realized I hadn't flushed the cache of the treebank data which
might have been part of the problem for you, that's done now too)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/alpheios-project/alpheios-trees/issues/16#issuecomment-762935880,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ32UOKRAA5KPYQRJECE7LDS2WTPHANCNFSM4WHVW3FQ
.

still getting exclamation.
On Tue, Jan 19, 2021 at 11:04 AM Monica Zugan<EMAIL_ADDRESS>wrote:

Great!
On Tue, Jan 19, 2021 at 10:55 AM Bridget Almas<EMAIL_ADDRESS>wrote:

Sorry I should have included that. The most common is ὢ -- it's now
tagged as "interjection" in the treebank but Morpheus reports exclamation
for it .
You can find it at Iliad 2.110
https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg001.alpheios-text-grc1/passage/2.110
Or εἴθε at Odyssey 2.33
https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg002.alpheios-text-grc1/passage/2.33
(I just realized I hadn't flushed the cache of the treebank data which
might have been part of the problem for you, that's done now too)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/alpheios-project/alpheios-trees/issues/16#issuecomment-762935880,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ32UOKRAA5KPYQRJECE7LDS2WTPHANCNFSM4WHVW3FQ
.

still getting exclamation.
On Tue, Jan 19, 2021 at 11:04 AM Monica Zugan<EMAIL_ADDRESS>wrote:

Great!
On Tue, Jan 19, 2021 at 10:55 AM Bridget Almas<EMAIL_ADDRESS>wrote:

Sorry I should have included that. The most common is ὢ -- it's now
tagged as "interjection" in the treebank but Morpheus reports exclamation
for it .
You can find it at Iliad 2.110
https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg001.alpheios-text-grc1/passage/2.110
Or εἴθε at Odyssey 2.33
https://texts-test.alpheios.net/text/urn:cts:greekLit:tlg0012.tlg002.alpheios-text-grc1/passage/2.33
(I just realized I hadn't flushed the cache of the treebank data which
might have been part of the problem for you, that's done now too)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/alpheios-project/alpheios-trees/issues/16#issuecomment-762935880,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ32UOKRAA5KPYQRJECE7LDS2WTPHANCNFSM4WHVW3FQ
.

yes that's expected, because Morpheus reports exclamation. The treebank reports interjection. Behind the scenes, I'm normalizing both to interjection for comparison, so that I can disambiguate them, but I'm showing the Morpheus default of exclamation. The improvement is that we don't get duplicates - one for exclamation and one for interjection.  Sorry for not being clear about this

yes that's expected, because Morpheus reports exclamation. The treebank reports interjection. Behind the scenes, I'm normalizing both to interjection for comparison, so that I can disambiguate them, but I'm showing the Morpheus default of exclamation. The improvement is that we don't get duplicates - one for exclamation and one for interjection.  Sorry for not being clear about this

ah ok! got it. we are getting only exclamation (and not interjection)

ah ok! got it. we are getting only exclamation (and not interjection)


[Enhancement] Update README.md

Updated README.md with minor refactoring

@Moosphan Can you review the PR?

@Grandolf49 It has been passed, thanks.


chore: Update Cloud Pak for Data to release 4.8.2

Is your feature request related to a problem? Please describe.
Cloud Pak for Data 4.8.2 was released, so we need to update this repository.
https://www.ibm.com/docs/en/cloud-paks/cp-data/4.8.x?topic=overview-whats-new
Describe the solution you'd like
Update the CRs and jobs to reflect the updated installation procedures.
Describe alternatives you've considered
None, the requirement is pretty narrow.
Additional context
CP4D installation procedure shifted towards a procedural approach in release 4.5.x. See #173 for reference and corresponding PR with the changes to understand the nature of that change.

:tada: This issue has been resolved in version 0.37.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Test that the peers send at most one alert

Duplicate alerts have happened, see
70c22888c1648fe8652e77107f3c74bf2212de36

+1 assuming you fix the "if(" nit.

Interestingly this failed on Travis a couple of times with 'Client sent 2 alerts' but is passing for me locally. Will need to investigate a bit more before pushing.

Ah - it's enable-ssl3 that fails! I'm on it.

In SSLv3 we do send a warning alert, so I had to resolve the TODO. PTAL.
To support warning alerts, we could improve this to take a comma-separated list of expected alerts, but for now that doesn't seem so important.

+1  one minor suggestion on comment, just that very minor, your choice.

Clarified the comment.


use multifile file compilation with IAR

IAR compiler provides --mfc option which:

This means that the compiler compiles
one or several source files specified on the command line as one unit, which makes
interprocedural optimizations such as inlining, cross call, and cross jump possible
Example: iccr32c myfile1.c myfile2.c myfile3.c --mfc

Is it possible to instruct cmake to compile source files in one shot like the example above.

cc: @mario-pi

@tarek-bochkati thanks for reporting this. Is this something which is already supported by CMake / cbuildgen for GCC?

@tarek-bochkati thanks for reporting this. Is this something which is already supported by CMake / cbuildgen for GCC?

I not aware if this is available for gcc neither for AC6
But this is a nice alternative for LTO.
So it would be nice if we can do this using the generated CMakeLists.txt

This is something for @mario-pi to investigate.

@tarek-bochkati  is this something that can be of interest for other CMSIS Toolbox toolchains? Would we then need some generic project attribute to mark that a specific group of files in the project should be compiled together if possible?

@mario-pi , sure every toolchain should be able to compile a set of files together,
but I'm not sure if other toolchains than IAR are able starting from multiple source files to generate another object file.
today, GCC/CLANG/AC6 using just -flto for each file then for the link stage we are able to get great size and speed optimizations.
the fact that IAR needs to compile all the files in the same command using -mfc --discard_unused_publics to enhance the footprint is a bit incompatible with current CMake behavior in CMSIS-toolbox.
My request is to check of CMake could be instructed in some way to do this one shot compilation.
and if possible how we could adapt the toolbox to be compatible with this IAR feature.

@brondani, do we have provisions in cbuildgen today to instruction CMake to build multiple source modules with the same invokation of the compiler? Pre-requisite of that would be that the command line options match for all listed modules.

cbuildgen creates CMakeLists specifying the source modules inside standard CMake functions add_executable or add_library, so all modules are part of a given CMake target, there is no special grouping. Of course each module has its own properties which can match or not.
In my opinion no change in this behaviour is required because a proper implementation of the IAR --mfc option in the CMake upstream would take in consideration the fact modules with mismatching compile options cannot be compiled in the same call.
@mario-pi @jlonnberg Please advise whether there is any planned contribution to CMake concerning the multi-file compilation support.

CMake targets have a property UNITY_BUILD which allows doing batch compilation. The behavior can be tuned using various other properties.
The docs recommend setting UNITY_BUILD as an environment variable to let users easily turn it on or off. So I think no specific support is needed in the CMakeLists.txt files we generate.

@massonal Thanks for the hint. Unfortunately it seems UNITY_BUILD does not enable the multi-file compilation as required in this GH issue. It actually creates a file (e.g. unity_0_c.c) where the source modules are included. A bad side effect is the generation of the compilation database (compile_commands.json) with such unity file instead of the original sources.

Oh ok, I get the issue then.
In this case, if you really need the 1:1 compilation database, I don't see how CMake could support building multiple files at once, because it would imply "fresh build" and "incremental build" commands are separate. When only a few files are outdated, only the relevant sources are re-compiled, so you can't have a command in compile_commands.json that describe all cases.

After reviewing with IAR we decided to close this issue.
a) we currently don't see a way how cmake would be able to group modules with common command line options.
b) compilation times would increase for modules that are built together as no incremental builds are possible
c) the overall optimization (benefit) may not be very significant


[Docs] Build and Release notes on mesheryctl

Notes for Reviewers
This PR is a small chore to update the details of how this artifact is built and published.
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit d421d15714fb0887fdca0832b35f9a349d164a2a at: https://66b79a16cc777361c1d9bc24--meshery-docs-preview.netlify.app

Thank you, @singh1203


Release notes?

Does expect publish release notes anywhere?  A recent upgrade from 1.12.2 to 1.13.4 causes some of our tests to break, and I'd like to know exactly what changed in expect to see why.  I can go through the commit log but was curious if there's a more "executive summary" source for what changes were included.
Note that we didn't explicitly upgrade - this problem was caused because we had expect listed as ^1.12.0 in our package.json, which caused implicit upgrades to anything in the 1.x series.

Nevermind, CHANGES.md has what I need.


NUTCH-2403: Fix spelling of phantomJS configuration

The Nutch Selenium documentation states that PhantomJS can be used as phantomJS for selenium.driver. The correct value would be phantomjs according to https://github.com/apache/nutch/blob/master/src/plugin/lib-selenium/src/java/org/apache/nutch/protocol/selenium/HttpWebClient.java#L124

Thank you @mfeltscher


Fix Combobox height if no item is selected v2

What does the pull request do?
Currently when the combobox has not selected an item, it has a different height comparing to a combobox with a selected item. This is ugly and forces developers to set a minheight themselves or preselect an item.
This PR shows an empty textblock if no item is selected which makes the Combobox height being the same as if an item is selected.  This PR sets a default MinHeight of 20, similar what WPF does.
What is the current behavior?

What is the updated/expected behavior with this PR?

Additional notes
Layout changes of some existing lines were done by VS according to the .editorconfig rules.

Replaced content control changes with WPF's approach of setting MinHeight as requested.

Thanks @Symbai !


update docs/debug.md with more information on how to debug Go tests

@shjala are you okay with me merging this, because LGTM

let me give it a quick look.


Facing issue: Unable to retrieve blob containers

Unable to retrieve child resources.
Details:
{
"name": "FetchError",
"message": "request to https://mapssharedsthstorage01.blob.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwlacuptfx&se=2030-06-22T16:45:28Z&st=2021-06-22T08:45:28Z&spr=https&SAS Token Redacted%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B&comp=list&include=metadata failed, reason: unable to get local issuer certificate",
"stack": "FetchError: request to https://mapssharedsthstorage01.blob.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwlacuptfx&se=2030-06-22T16:45:28Z&st=2021-06-22T08:45:28Z&spr=https&SAS Token Redacted%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B&comp=list&include=metadata failed, reason: unable to get local issuer certificate\n    at ClientRequest. (C:\temp\Microsoft Azure Storage Explorer\resources\app\node_modules\node-fetch\lib\index.js:1491:11)\n    at ClientRequest.emit (node:events:526:28)\n    at TLSSocket.socketErrorListener (node:_http_client:442:9)\n    at TLSSocket.emit (node:events:526:28)\n    at emitErrorNT (node:internal/streams/destroy:157:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)",
"type": "system",
"errno": "UNABLE_TO_GET_ISSUER_CERT_LOCALLY",
"code": "UNABLE_TO_GET_ISSUER_CERT_LOCALLY"
}

Could you try these steps to see if you can use system proxy or re-add the missing certificates? https://docs.microsoft.com/en-us/azure/storage/common/storage-explorer-troubleshooting?tabs=Windows%2C2204#ssl-certificate-issues

Could you try these steps to see if you can use system proxy or re-add the missing certificates? https://docs.microsoft.com/en-us/azure/storage/common/storage-explorer-troubleshooting?tabs=Windows%2C2204#ssl-certificate-issues

That worked for me!  I had same issue ("unable to get local issuer certificate") for File Shares.  Used system proxy and now I can access file shares.  Thank you, Jason.

Closing as mitigated.

https://dfwblobstorage.blob.core.windows.net/ewcmediacontainer/eatwisconsincheese/media/content/jawanfreehd6s.html


WebSocket inferencerunner v0

Need to resolve a couple of issues before merge:

[x] When updating anything else on the ModelPage, the InferenceRunner component does a full rerender from scratch
[x] I'm hard-coding version 0.1.0, should come from the form
[ ] Need to populate hyperparams from form
[ ] Need to populate real set of versions from the form

@a10y do you want to wait until the open items are done before we merge?
Need to populate hyperparams from form
Need to populate real set of versions from the form


[Enhancement]:  Differentiating button in light and dark mode .

🎮 feature Request
The button to toggle between the themes (dark/light) can be made more visually appealing
Point down the features
The button can be enhanced by adding a simple small icon of moon and sun with respective themes, so that it is more appealing and user interactive.

For vague idea we can consider something like this

I will stick to the original slider button design and add the img/icon on top of it.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hi @River-unknown ,
You can find new issues in the repository. I assure you, there are plenty of them. Please use the README to set up the website on your localhost and identify the issues. I will assign them to you on a first-come, first-served basis.
Thank you!


Need revert transport length check in libspdm_mctp_encode_message()

@xiangfeima, and @steven-bellock
https://github.com/DMTF/libspdm/pull/1715 fixed https://github.com/DMTF/libspdm/issues/796.
However, it breaks the spdm-emu - See https://github.com/DMTF/spdm-emu/pull/225.
Evidence:
If we sync libspdm just before #1715, the CI can pass - https://github.com/DMTF/spdm-emu/pull/229.
If we sync libspdm to #1715, the CI will fail - https://github.com/DMTF/spdm-emu/pull/228.
As such, we need revert https://github.com/DMTF/libspdm/pull/1715.

Just a quick response from mobile: I'm on the way to China office, I will look into this once I get settled there.

@xiangfeima , any update?

Sorry team I can not look into it deep at present (out of office and about to take a flight from Korean to China) I will be back online by 3/22.
Could you help to just revert #1715 first if it is a show stopper? I will work on the root cause later on.

Thanks! I will revert and reopen https://github.com/DMTF/libspdm/issues/796.
Please keep working on it.

Please take a look at https://github.com/DMTF/libspdm/issues/1824, it might explain why the issue is there, and only reproducible sometimes.

Done in https://github.com/DMTF/libspdm/pull/1823


Broken link

The link to "Reset Windows Update Client settings script" is broken.

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

ID: 886426b5-8548-1cfc-ccd2-fd03e549c967
Version Independent ID: 599aea76-47e4-dccc-799c-2d8acf549546
Content: Windows Update - Additional resources - Windows Deployment
Content Source: windows/deployment/update/windows-update-resources.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

@munrobasher . This issue has been already esculated by other user , Microsoft team looking to hosting new location.
Team is already working , so please close this issue now.
@e0i . please close this issue

This issue is going to be addressed in #9104
Thanks


Creating async test cases

Hi,
Is it possible write async testcase?
Lets say I want to make a HTTP request in a test case:
function httpRequest() {
    // Make a fake http request
    return new Promise(resolve => {
        setTimeout(() => {
            console.log('Data from server');
            resolve('some data');
        }, 5000);
    });
}

Scenario(`Test case`, function*(I) {
    const data = yield httpRequest();
    console.log('Test continues');
    // Some asserts
});

I expected the output to be:
Data from server
Test continues

but it is:
Test continues
Data from server

I would also want the cast case to wait for a returning promise to resolve/reject:
Scenario(`Test case2`, function(I) {
    return httpRequest()
        .then(() => {
            console.log('Test continues');
            // Some asserts
        });
});

It would also be nice if the Before method waits for the promise to resolve/reject:
Before(I => new Promise(resolve => setTimeout(resolve), 5000));

Similar, I expect the testcase to fail if a promise rejects. Is this possible?
Maybe duplicate of: #46

Was this solved???
Im trying to use console.logs to separated my scenario steps but it all gets written before the steps gets executed.

@ecampii, I don't think this was ever solved. I was looking into the matter but could not find a simple solution (without rewriting the current async-handler).

@tjoskar - was this ever progressed? I'd like to do some async setup in a test case before doing the tests but can't find a way to do this in Codeceptsjs. Thanks for youre time.

@harkinj, unfortunately not. Not from my side anyway. I went over to nightmare (and testcafe) to be able to write async setups.

@tjoskar - thanks for your prompt response.I like codeceptjs but this lack of ability to write async setup code is a big missing.Just curious - have u moved off codeceptjs completely for this main reason? Thanks for youre time.

Hey, sorry, I didn't notice this issue, and didn't provide response in time.
I think what you are trying to achieve can be easily done with CodeceptJS however you will need to stick to its abstractions like Helpers.
Everything in CodeceptJS is scenario-driven so any calls like httpRequest should be called inside I. chain, like: I.sendHttpRequest(). To make this function inside of I you will need to create a helper and enable it in config. Once you do it the method is available. All methods of I. are grouped into a promise chain, this way we ensure that everything is executed synchronously.
There is no need to work with promises the way you did it in Mocha or whenever else. The idea of CodeceptJS test is to hide the technical implementation and focus on test scenarios.
Once again: Everything inside I.xxx calls is synchronous and executed inside promise chain. To implement custom logic on top of that use helpers

@DavertMik (follow up question from @harkinj)
I created a helper with an async function (using set timeout), but it doesn't run sync, do I need to return a promise?

@harkinj: The reason that I stopped using codeceptjs was a combination of several issues (all of which seems to be solved now) and the fact that I didn't have time to help and fix the issue at the time. What I really love with codeceptjs is however the fact that you can change the target-client (selenium, nightmare, etc) with very little/none effort (and the support of x-path).
And as @DavertMik pointed out, it is possible to write test cases with custom async methods (I have however not tried yet), so I will give codeceptjs an another chance.

do I need to return a promise?

yes.
@tjoskar thanks! :+1:
Anyway, this project needs some love from community. I wish I had more time to work on it, and implement all the good ideas out there and reply on all issues. Anyway, we are moving forward step-by-step but moving :)
I think I can try to implement the idea you suggested: handling of returned promise in Before/Scenario for async execution. That is how Mocha works, so probably it can be implemented here as well

@DavertMik - Thanks for your responses and the response to @shamusharkin  helped.


[zh-cn]Fixed a word in deploy-intro.html

a clerical error.

/reopen

i have updated the comment, please check again.

@popeng007 Please recommit this PR. There was a transient netlify issue.

@popeng007 Please recommit this PR. There was a transient netlify issue.

Ok, thanks.


No support forum or chat channel?

Sorry if I'm just not spotting it anywhere mentioned here on git, but I was just looking for an answer to a quick question, not a bug or anything, I was just wondering what happened to the power search function? I believe the hotkey combo was Win+space and then the search box would appear right in the middle of the screen. I kinda liked that one. It was better and FASTER than windows search.  I'm sure I'll figure that out sooner or later but having a place to go ask these questions would probably reduce the number of "Issues" being reported substantially since allot of these "issues" are only listed as issues because they don't have any way to ask if it is an issue first! Just my 2 cents.

@Admin-A-LLC The feature you mean is called PowerToys Run. You can set your keycombo in the settings.
We once discussed to enable Github Discussions for questions, but we have decided I would make to much work. So if you have a question just make an issue. That's ok

For more information aboit PowerToys Run see: https://docs.microsoft.com/en-us/windows/powertoys/run

I'm sure I'll figure that out sooner or later but having a place to go ask these questions would probably reduce the number of "Issues" being reported substantially since allot of these "issues" are only listed as issues because they don't have any way to ask if it is an issue first! Just my 2 cents.

https://superuser.com/questions/tagged/powertoys

Alt-Space is the default keystroke and fully customizable via settings.  Github issues is where discuss stuff.  Thanks!


Environment conflict

Hi, and thanks for this nice software!
I tried to install the conda env from the environment.yml both on MacOS Ventura 13.5 and CentOS 8.7 and got the following errors:
On Mac:
(base) ~/PycharmProjects/AlphaCutter$ conda env create -f environment.yml
Retrieving notices: ...working... done
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:
  - ca-certificates==2023.01.10=h06a4308_0
  - python==3.8.16=h7a1cb2a_3
  - libstdcxx-ng==11.2.0=h1234567_1
  - lz4-c==1.9.4=h6a678d5_0
  - setuptools==66.0.0=py38h06a4308_0
  - libffi==3.4.2=h6a678d5_6
  - ld_impl_linux-64==2.38=h1181459_1
  - xz==5.4.2=h5eee18b_0
  - libgcc-ng==11.2.0=h1234567_1
  - bzip2==1.0.8=h7b6447c_0
  - dssp==3.0.0=h3fd9d12_4
  - libgomp==11.2.0=h1234567_1
  - wheel==0.38.4=py38h06a4308_0
  - zstd==1.5.5=hc292b87_0
  - libboost==1.73.0=h28710b8_12
  - zlib==1.2.13=h5eee18b_0
  - readline==8.2=h5eee18b_0
  - ncurses==6.4=h6a678d5_0
  - openssl==1.1.1t=h7f8727e_0
  - tk==8.6.12=h1ccaba5_0
  - _openmp_mutex==5.1=1_gnu
  - icu==58.2=he6710b0_3
  - sqlite==3.41.2=h5eee18b_0
  - pip==23.0.1=py38h06a4308_0

On Linux:
(base) [dmolodenskiy@login01 AlphaCutter]$ conda env create -f environment.yml
Collecting package metadata (repodata.json): done
Solving environment: done

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: / Ran pip subprocess with arguments:
['/home/dmolodenskiy/.conda/envs/AlphaCutter/bin/python', '-m', 'pip', 'install', '-U', '-r', '/g/kosinski/dima/PycharmProjects/AlphaCutter/condaenv.sxo5uwi0.requirements.txt']
Pip subprocess output:
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting biopandas==0.4.1
  Downloading biopandas-0.4.1-py2.py3-none-any.whl (878 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 879.0/879.0 kB 32.6 MB/s eta 0:00:00
Collecting biopython==1.81
  Downloading biopython-1.81-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 123.1 MB/s eta 0:00:00
Collecting ccmap==2.1.3
  Downloading ccmap-2.1.3.tar.gz (35 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting docopt==0.6.2
  Downloading docopt-0.6.2.tar.gz (25 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting networkx==3.1
  Downloading networkx-3.1-py3-none-any.whl (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 87.4 MB/s eta 0:00:00
Collecting numpy==1.24.3
  Downloading numpy-1.24.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 149.2 MB/s eta 0:00:00
Collecting pandas==2.0.1
  Downloading pandas-2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.3/12.3 MB 157.2 MB/s eta 0:00:00
Collecting pcmap==0.5.0
  Downloading pcmap-0.5.0-py3-none-any.whl (23 kB)
Collecting pypstruct==0.1.2
  Downloading pypstruct-0.1.2-py3-none-any.whl (23 kB)
Collecting python-dateutil==2.8.2
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 217.7 MB/s eta 0:00:00
Collecting pytz==2023.3
  Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 231.6 MB/s eta 0:00:00
Collecting scipy==1.8.0
  Downloading scipy-1.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (41.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.6/41.6 MB 12.2 MB/s eta 0:00:00
Collecting six==1.16.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting tzdata==2023.3
  Downloading tzdata-2023.3-py2.py3-none-any.whl (341 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 341.8/341.8 kB 217.8 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /g/kosinski/dima/.conda/envs/AlphaCutter/lib/python3.8/site-packages (from biopandas==0.4.1->-r /g/kosinski/dima/PycharmProjects/AlphaCutter/condaenv.sxo5uwi0.requirements.txt (line 1)) (66.0.0)
Building wheels for collected packages: ccmap, docopt
  Building wheel for ccmap (setup.py): started
  Building wheel for ccmap (setup.py): finished with status 'error'
  Running setup.py clean for ccmap
  Building wheel for docopt (setup.py): started
  Building wheel for docopt (setup.py): finished with status 'done'
  Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13705 sha256=59341f44613665213af3310295170ef1c16fac06f82952fba725dc70880afd95
  Stored in directory: /tmp/pip-ephem-wheel-cache-ocfiyg9r/wheels/56/ea/58/ead137b087d9e326852a851351d1debf4ada529b6ac0ec4e8c
Successfully built docopt
Failed to build ccmap
Installing collected packages: pytz, docopt, ccmap, tzdata, six, numpy, networkx, scipy, python-dateutil, pypstruct, biopython, pcmap, pandas, biopandas
  Running setup.py install for ccmap: started
  Running setup.py install for ccmap: finished with status 'error'

Pip subprocess error:
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [11 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'ccmap' extension
      creating build
      creating build/temp.linux-x86_64-cpython-38
      creating build/temp.linux-x86_64-cpython-38/ccmap
      creating build/temp.linux-x86_64-cpython-38/ccmap/src
      gcc -pthread -B /home/dmolodenskiy/.conda/envs/AlphaCutter/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Iccmap/include -I/home/dmolodenskiy/.conda/envs/AlphaCutter/include/python3.8 -c ccmap/ccmapmodule.c -o build/temp.linux-x86_64-cpython-38/ccmap/ccmapmodule.o -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D AS_PYTHON_EXTENSION -std=c99 -pedantic
      as: unrecognized option '--gdwarf-5'
      error: command '/g/easybuild/x86_64/Rocky/8/haswell/software/GCCcore/12.2.0/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for ccmap
  error: subprocess-exited-with-error

  × Running setup.py install for ccmap did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      running install
      /home/dmolodenskiy/.conda/envs/AlphaCutter/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_ext
      building 'ccmap' extension
      creating build
      creating build/temp.linux-x86_64-cpython-38
      creating build/temp.linux-x86_64-cpython-38/ccmap
      creating build/temp.linux-x86_64-cpython-38/ccmap/src
      gcc -pthread -B /home/dmolodenskiy/.conda/envs/AlphaCutter/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Iccmap/include -I/home/dmolodenskiy/.conda/envs/AlphaCutter/include/python3.8 -c ccmap/ccmapmodule.c -o build/temp.linux-x86_64-cpython-38/ccmap/ccmapmodule.o -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D AS_PYTHON_EXTENSION -std=c99 -pedantic
      as: unrecognized option '--gdwarf-5'
      error: command '/g/easybuild/x86_64/Rocky/8/haswell/software/GCCcore/12.2.0/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> ccmap

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

failed

CondaEnvException: Pip failed

Seems like ccmap is causing a problem?
Could you recommend how I should properly install the conda environment?
Thank you!
Best,
Dima

Hi Dima, unfortunately I don't own a mac..
Would you mind trying to use it on other linux systems?
Alternatively, I can help you cut your structures if there are not many.

Alternatively, you can really just try to run AlphaCutter in the base environment.
AlphaCutter only uses these packages:
import numpy as np
import pandas as pd
from biopandas.pdb import PandasPdb
from argparse import ArgumentParser
import glob
from Bio.PDB import PDBParser
from Bio.PDB.DSSP import DSSP
from scipy import stats
import pcmap
import itertools
import networkx as nx
import re
import os

Then, install each package whenever python says not found.
For pcmap, you can install according to their repo:
https://github.com/MMSB-MOBI/pcmap

Thank you, Johnny, you are right and the problem originated from pcmap installation. I opened an issue there, and hope they fix the problem. I consider integrating AlphaCutter into our pipeline so once I'll do a few tests I will get back to you :)


Add InfiniteArrays.jl example

Add an example with InfiniteArrays.jl to implement an SIR model with counting of the number of people someone infects.

@sdwfrost this sounds quite interesting, what ideas did you have for how to implement that with InfiniteArrays.jl?

Closed with https://github.com/epirecipes/sir-julia/commit/b8065866bc2fa3c5ef4c8b9cf4b2138c8524c9e2


[Question] VM-entry checks related to SMM

The last two checks (bullet points) in section <IP_ADDRESS> of the Intel manual are

If the processor is not in SMM, the “entry to SMM” and “deactivate dual-monitor treatment” VM-entry controls must be 0.

and

The “entry to SMM” and “deactivate dual-monitor treatment” VM-entry controls cannot both be 1.

seem to be missing from vmcs_intel_x64_check_controls.cpp.  Should these be implemented as well?

No, these checks are not needed right now. That being, I would love to demo these someday 😄


Add a filter by name option

Users should be able to search for an ingredient by name. This should be the primary action, with the filters acting as, well, filters.
If an ingredient of the name (name) cannot be found with the filters x, display a message such as "No results found for (query here)".

Add aria-controls="ingredient-list" to the search form.

Need to figure out what exactly is meant by "search facility" in ARIA "search" role.

I have a hunch that the filter and sort features residing in the #ingredient-filter form would be considered as part of the "search facility". In that case, I need to set the form's role to search.


Discrepancy in Scores When Switching GPT Model Versions

I recently judge the model answer provided here and decided to switch the GPT version from gpt-4-1106-preview to gpt-4-0125-preview.  Cause I can only access instances of this version.
After making this change, I observed a discrepancy of over 440 points(overall 1000) in the score compared to the judgement benchmarks listed in your documentation.
Could you please advise on how to address this issue or suggest any solutions that might help mitigate this discrepancy?

Thanks for your feedback! Could you elaborate on what do you mean by discrepancy of over 440 points?
To be completely transparent: from our own experiment, changing judge can be provide very different results. We tried GPT-4-turbo-04-09, and the scores was very different for GPT-4-0613 and some other models. As the prompt engineering for the judge was optimized specifically for GPT-4-1106-preview. Even though GPT-4-0125-preview is also GPT-4-Turbo, the two model has significant difference in their ability and preferences as well. Currently, we recommend to not use any judge other than GPT-4-1106-preview. We are currently working on a new version of Arena Hard addressing many of the limitations of the current version (ETA around June).
If anyone can come up with solution to this limitation, we would love to hear that as well! Thanks!

use the gpt-4-turbo-2024-04-09 will be better than the gpt-4-1106-preview?
cause the former is an official release (not a preview version)

I wouldn't recommend using gpt-4-turbo-2024-04-09, I have tested it and score for a few model wasn't ideal. But we are looking into this and working on implementing and experiment with new judges. I expected a new system prompt would be needed to optimized for the new judge depending the the judge's model's characteristics. Thanks!

@CodingWithTim
I used the answer file (gpt-4-0613.jsonl) from your repository and tested two versions of GPT (gpt-4-0125-preview and gpt-4-turbo-2024-04-09).
Here are the results:

Would it be possible for you to open source all the model answers?
This would allow us to obtain the rank scores for a specific GPT version.
Regarding the missed question about the "discrepancy of over 440 points": I meant that in the 1000 judgment records (for two versions of GPT), I found that 440 out of 1000 results are different.

Hi, it seems like they are pretty close in score. The rest of the model answer are available at on huggingface lmsys/arena-hard-browser. Is this what you are looking for?

Hi, it seems like they are pretty close in score (gpt-4-0125-preview and gpt-4-turbo-2024-04-09). The rest of the model answer are available at on huggingface lmsys/arena-hard-browser. Is this what you are looking for?

Yes, that's exactly what I need.
For some reason, I can only choose between gpt-4-0125-preview and gpt-4-turbo-2024-04-09. Based on your experience, does the former seem like a good choice?

Hi, you mentioned in this conversation that you intend to change the judge model in future versions. Are you still considering/working on that? It can be quite useful to have a faster and cheaper way to compute the arena-hard score.

@nirrai21  Yes, we are still working on that! Arena-Hard-v0.2 will introduce new judges.

@CodingWithTim Great news! Do you have any estimate on when you guys intend to release it?

@nirrai21 While I am unsure when will we be able to release the new version as of right now. But it will be very soon after we successfully debias LLM judges.  Probably 1-2 months?