VSCode doesn't highlight user-defined types for c++

We have written the needed data into your clipboar
Issue Type: Bug
Write any class and proceed to declare an instant of it, the class name isn't highlighted. I have read before that this has something to do with the parser and that this is related to https://github.com/atom/language-c/issues/266
If adding the tree-sitter parser fixes the problem I only ask to know how to do it. I'm fairly new to programming and my knowledge is limited. Thank you for your time.
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:27:14.102Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.93GB (11.79GB free)

Process Argv
D:\College\First Year\Second Semester\DS\Labs\Lab6_UPDATED_Recursion_Binary_Search_Trees_S2019_std\DS_Lab5\Binary_Search_Tree

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

vscode-sync
jac
1.0.4

python
ms-
2019.3.6558

cpptools
ms-
0.22.1

subtitles-editor
pep
1.0.2

(2 theme extensions excluded)

d because it was too large to send. Please paste.

Duplicate of https://github.com/Microsoft/vscode/issues/50140

Hello everyone. I've developed and published syntax highlighting extension based on Tree-Sitter. It provides universal syntax coloring engine for almost any programming language (currently, C and C++ are supported OOTB). Constructing entire syntax tree, Tree-sitter efficiently overcomes all limitations of built-in TextMate grammars. Being context-aware, it's able to parse complex language structures providing complete coverage of source code. So all custom types are properly highlighted. I've been using it by myself for a month, so I suppose it's ready for public use.
You can install it from VSCode Marketplace.
Or download .vsix package from GitHub page and install it manually.
Please note, that extension published in VS Code Marketplace will only work in Windows-x64.
For other operating systems, please download pre-compiled .vsix package.
This will be fixed in the near future with one of the next updates.
Alternatively, you can build extension from sources.
@onecalled3bkr, you may give it a try, feedback is welcome.

Thank you so much for this extension, the syntax highlighting works so far
so good, a great solution to all my problems.
I was wondering if you can perhaps add an easy way to use Visual Studio's
syntax highlighting colors.
On Wed, May 22, 2019 at 3:44 PM Evgeniy Peshkov<EMAIL_ADDRESS>wrote:

Hello everyone. I've developed and published syntax highlighting extension
based on Tree-Sitter. It provides universal syntax coloring engine for
almost any programming language (currently, C and C++ are supported OOTB).
Constructing entire syntax tree, Tree-sitter efficiently overcomes all
limitations of built-in TextMate grammars. Being context-aware, it's able
to parse complex language structures providing complete coverage of source
code. So all custom types are properly highlighted. I've been using it by
myself for a month, so I suppose it's ready for public use.
You can install it from VSCode Marketplace.
https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter
Or download .vsix package from GitHub page and install it manually.
https://github.com/EvgeniyPeshkov/syntax-highlighter/releases
Please note, that extension published in VS Code Marketplace will only
work in Windows-x64
https://github.com/EvgeniyPeshkov/syntax-highlighter#distribution.
For other operating systems, please download pre-compiled .vsix package.
https://github.com/EvgeniyPeshkov/syntax-highlighter/releases
This will be fixed in the near future with one of the next updates.
Alternatively, you can build extension from sources
https://github.com/EvgeniyPeshkov/syntax-highlighter/blob/master/BUILD.md
.
@onecalled3bkr https://github.com/onecalled3bkr, you may give it a try,
feedback is welcome.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/72785?email_source=notifications&email_token=AKTPZ3DUO7MLGEPD4L3GUKLPWVE2RA5CNFSM4HIARCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV7CWAQ#issuecomment-494807810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKTPZ3ESBD6JFD7HWHMJJ5LPWVE2RANCNFSM4HIARCYQ
.

Hello @onecalled3bkr . I was investigating this feature during development.
Unfortunately, VSCode API doesn't provide access to token colors.
I will be glad to add such synchronization when VSCode teem resolves this issue.


Could somebody make 1920x1200 resolution patch?

And the way to make it work on Windows 10, please!

The headless mode patch process is same for Windows 10 and can be carried out using free tools, eg. IDA Pro Free for patching and LordPE for checksum recalculation.

@alicaccs I have got IDA pro opened and did the patch but there is no produce/export or whatever for a .sys file. How to I compile or export on IDA?

@F1uk369 First make dif file then patching using 3rd party tools.
https://reverseengineering.stackexchange.com/questions/17159/running-a-patched-binary-within-ida-free


Remove "afterKeys" and "ensureUpdates" from ContentSet

Neither of these things is really necessary anymore.

done


Deny ACL rules

How to write deny rules like ones described in etc-acl-config?

@anhldbk, cannot define Deny Rules in Redis : (

invalid issue


why not support realtime display while typing some search words？

why not support realtime display while typing some search words？

I guess this is out of scope for this plugin... This feature exists on other tools like telescope.


Correct type of policy_id in incoming_webhook

According to the upstream documentation [0] and [1] the parameter for the escalation policy id shall be of type string not integer. The previous implementation could create resources fine but when running a plan of an existing resource it would fail with:
error: json: cannot unmarshal string into Go struct field incomingWebhook.data.attributes.policy_id of type int

This can easily be re-created by running terraform apply to create a incoming webhook resource with a escalation policy id and then running terraform plan as this will fail with the error message mentioned above.
[0] https://betterstack.com/docs/uptime/api/create-incoming-webhook/
[1] https://betterstack.com/docs/uptime/api/incoming-webhooks-response-params/

Hi @adikus , is there something I can do to get this moving? Would love to finally deploy out the managing of the incoming web hooks in our infra. 🙏

Thanks @peter-hippo, finally got around to testing this - works great!

This should be released as 0.3.17 in a bit

No worries @adikus , thanks for work on the provider! 👏 ❤


Add a Gitter chat badge to README.md

fossasia/sciencehack.in now has a Chat Room on Gitter
@hiteshd has just created a chat room. You can visit it here: https://gitter.im/sciencehack-in/Lobby.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

please use slack


Docs: Elysia integration

This is an integration document for better auth & elysia

Example code: https://github.com/yukikwi/elysia-boiler-plate


Validator avatars are auto-generated continuously

Describe the bug

Validator avatars are auto-generated continuously -> Effect on performance
Do not scroll in validator list

https://github.com/Koniverse/SubWallet-Extension/assets/130966515/c79e1231-9638-4825-8824-205d79506541

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1758-build-1.1.7-0-2023-08-07T11-21-22UTC.zip
Please check issue below:

[ ] Show incorrect validator in case do not select an account

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1758-build-1.1.7-0-2023-08-09T10-05-48UTC.zip
Validation passed


fix #6011, feat($core): add string type getter for computed option

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[x] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)
check for this issue, also Chinese version

Other information:

https://github.com/vuejs/vue/issues/6011#issuecomment-312481663


luci-app-nlbwmon: add missing PKG_LICENSE

@jow- As you may have seen, I am currently updating the license information in some makefiles. I have not found anything for the luci-app-nlbwmon. So that I do not commit something wrong!
Is luci-app-nlbwmon licensed  under the Apache 2.0?

Yes, you can - unless otherwise stated - assume that all LuCI apps are Apache 2.0 licenses.

Note however that the bundled chart.min.js belongs to the https://github.com/chartjs/Chart.js project and is licensed under MIT

Good to know.
Should I then add MIT or should I move this to a separate package?
It looks like the minified is checked in.
Is there no official source for this?

Probably this one.
https://cdnjs.com/libraries/Chart.js

Iirc it is a custom minified build that only includes the chart core and the doughnut plugin, it is not any official chart.js distribution file. It probably is enough to add a header like the following:
/* Custom minified build of Chart.js supporting only doughnut style graphs
 * Released under the MIT license
 * https://github.com/chartjs/Chart.js
 */

@jow- I moved the chart.js file as it is  in this pullrequest into its own package.
So this library could gets its own MIT license tag.
I want to switch to an official upstream version of chart.js in the feature, so I could see the source and not minified subset of the official version.
Also I need this lib to generate nice graphs in other apps.

When I compile the sources, every time I run make, this line is included/output:
WARNING: Makefile 'package/feeds/luci/luci-app-nlbwmon/Makefile' has a dependency on 'luci-lib-chartjs', which does not exist

FAO @feckert @jow-

./scripts/feeds update luci
./scripts/feeds install luci-lib-chartjs

./scripts/feeds install luci-lib-chartjs

Hmm - I ran the update part about 10 times already. But that install bit fixed it. Thanks @jow-


ENH: fix the type-stable val. closes #46

With this commit you can do
julia> gengufun(Val{(1,2,3)}, x, y, z, p)
([-0.35; 0.0], [0.5 0.7 -0.5; 0.0 0.0 0.0], [0.0 0.0; 1.0 0.1])

julia> gengufun(Val{1}, x, y, z, p)
([-0.35; 0.0],)

julia> gengufun(Val{(1,2,3)}(), x, y, z, p)
([-0.35; 0.0], [0.5 0.7 -0.5; 0.0 0.0 0.0], [0.0 0.0; 1.0 0.1])

julia> gengufun(Val{1}(), x, y, z, p)
([-0.35; 0.0],)

and they are all type stable

Thanks! Actually it would be nice if
gengufun(Val{1}, x, y, z, p) [-0.35; 0.0]
so that tuple of types as input would return a tuple of outputs but just a type, just an output.

Actually, I was a bit confused, I was doing (Val{1}, Val{2}) and that didn't work. But Val{(1,2)} seems to work with Dolang/master, so I'm not totally clear about what this PR is fixing.

Fixes the Val{0} case

Ah ok, but it still returns a tuple, right ? I think the gen_gufun function accepts either a tuple of ints, or an int as argument. It would be cool to have the same behaviour here.

Ahh yes, good catch.
Should be fixed now

Hmm, I don't think the commit fixes that. It special cases tuples, of length one, which is not desirable.
What we have after your commit is:

`gengufun( x, y, z, p) # -> SVector{3} # fine
gengufun(Val{(0,1)}, x, y, z, p) # -> (SVector{3}, SMatrix{3,2}) # fine
gengufun(Val{(0,)}, x, y, z, p) # -> SVector{3} # not fine, should be (SVector{3})
gengufun(Val{1}, x, y, z, p) # error # not fine, should be -> SMatrix{3,2}
gengufun( x, y, z, p) # -> SVector{3} # fine

I have checked, and the gen_gufun function seems to behave consistently, i.e. return a tuple of output, if and only if given a tuple

I didn’t realize it was so subtle. Thanks for looking closely at this. I will take a proper look tomorrow

ok, now I think we are good to go...
julia> gengufun(Val{0}, x, y, z, p)
2-element SVector{2,Float64}:
 1.04315
 0.42

julia> gengufun(Val{1}, x, y, z, p)
2×1 StaticArrays.SArray{Tuple{2,1},Float64,2,2}:
 -0.35
  0.0

julia> gengufun(Val{(1,2)}, x, y, z, p)
([-0.35; 0.0], [0.5 0.7 -0.5; 0.0 0.0 0.0])

julia> gengufun(Val{(1,)}, x, y, z, p)
([-0.35; 0.0],)

julia>

julia> gengufun(x, y, z, p)
2-element SVector{2,Float64}:
 1.04315
 0.42

Let me know if anything looks off there to you

Perfect! Merging now.


Update principle to 2.1.5

After making all changes to the cask:

[x] `brew cask audit --download {{cask_file}}` is error-free.
[x] `brew cask style --fix {{cask_file}}` left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as 761c74975d711afc9078de89bba0e230ecbb1172. Your contribution is still credited to you.


fix qwen pretrain bash bug

Change-Id: I3dd3b90784fb2800b00964072f4aacc0b880ae19

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.kangliu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


q filter - full text search on a field

In gitlab by @MohamedHamouGisaia on May 4, 2017, 11:04

In gitlab by @sfalquier on May 9, 2017, 09:13
added ~1918367 and removed ~1918909 labels

In gitlab by @MohamedHamouGisaia on May 4, 2017, 11:04
changed milestone to %4

In gitlab by @MohamedHamouGisaia on May 12, 2017, 11:42
added ~1918368 and removed ~1918367 labels

In gitlab by @MohamedHamouGisaia on May 12, 2017, 11:42
assigned to @MohamedHamouGisaia

In gitlab by @MohamedHamouGisaia on May 17, 2017, 10:09
closed

In gitlab by @MohamedHamouGisaia on May 17, 2017, 10:09
removed ~1918368 label


Uncaught TypeError: this.editor.getLastCursor(...).setVisible is not a function

[Enter steps to reproduce:]

Just hit "alt-s"

Atom: 1.19.2 x64
Electron: 1.6.9
OS: Mac OS X 10.12.2
Thrown From: box-edit package 0.1.3
Stack Trace
Uncaught TypeError: this.editor.getLastCursor(...).setVisible is not a function
At /Users/avi/.atom/packages/box-edit/lib/box.coffee:43

TypeError: this.editor.getLastCursor(...).setVisible is not a function
    at BoxEdit.atomSelectionsToBox (/packages/box-edit/lib/box.coffee:43:29)
    at BoxEdit.toggle (/packages/box-edit/lib/box-edit.coffee:32:6)
    at /packages/box-edit/lib/box-edit.coffee:15:56)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:35)
    at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:65
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:610:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:401:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:3:65)

Commands
     -0:08.8.0 box-edit:toggle (input.hidden-input)

Non-Core Packages
box-edit 0.1.3
git-plus 7.9.3
php-debug 0.2.5

I see the same issue

box-edit no longer works probably due to this issue. I can draw the box but no manipulation possible.

Still doesnt work for me in 2020

I dropped support of my atom plugins several years ago.  Unless someone
else forks and supports this it will remain broken.
P.S.  Have you tried vscode?
On Tue, Jun 2, 2020 at 1:36 PM Alan Cugler<EMAIL_ADDRESS>wrote:

Still doesnt work for me in 2020
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mark-hahn/box-edit/issues/5#issuecomment-637791648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGGDP7V6C5XT2O3IHTBV33RUVPDLANCNFSM4DX4IQKQ
.


[tool_crash] FileSystemException: Cannot open file, OS Error: No such file or directory, errno = 2

Command
flutter run

I tried running flutter web with rpi4 ubuntu 20.10 chromium browser.
Logs
FileSystemException: Cannot open file, OS Error: No such file or directory, errno = 2
#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.openSync (dart:io/file_impl.dart:479:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:539:18)
#3      ForwardingFile.readAsBytesSync (package:file/src/forwarding/forwarding_file.dart:88:43)
#4      ForwardingFile.readAsBytesSync (package:file/src/forwarding/forwarding_file.dart:88:43)
#5      WebDevFS.update (package:flutter_tools/src/isolated/devfs_web.dart:775:57)
#6      ResidentWebRunner._updateDevFS (package:flutter_tools/src/isolated/resident_web_runner.dart:734:54)
<asynchronous suspension>
#7      ResidentWebRunner.run.<anonymous closure> (package:flutter_tools/src/isolated/resident_web_runner.dart:517:41)
<asynchronous suspension>
#8      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:24)
<asynchronous suspension>

[✓] Flutter (Channel master, 2.1.0-13.0.pre.223, on Linux, locale tr_TR.UTF-8)
    • Flutter version 2.1.0-13.0.pre.223 at /home/fiskindal/snap/flutter/common/flutter
    • Framework revision 891511d58f (11 hours ago), 2021-03-23 14:57:01 -0700
    • Engine revision d59a01d2d3
    • Dart version 2.13.0 (build 2.13.0-150.0.dev)

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[✓] VS Code (version 1.54.3)
    • VS Code at /usr/share/code
    • Flutter extension version 3.20.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-arm64    • Linux
    • Chrome (web)    • chrome • web-javascript • Chromium 83.0.4103.116 built on Debian bullseye/sid, running on
      Debian bullseye/sid

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: beta
Creation framework version: 198df796aa80073ef22bdf249e614e2ff33c6895

Closing as duplicate of https://github.com/flutter/flutter/issues/68958.


Add intent-filter with deep-links and targetPackage

Description

Add an intent-filter using deep-links;
Add strings in both english and japanese;
Add a static shortcut using both the deep-link and the targetPackage to show that the targetPackage is not taken into account (this is a bug in production API: https://issuetracker.google.com/issues/135863691)

This PR must be merged after https://github.com/googlesamples/android-AppShortcuts/pull/34

Files changed


Add avocado

... is never a mistake

Interesting! This was not auto-closed. It should probably have been ... closes #6.


Strange transparent textbox under XamlDisplay

I'm using following code to show a snackbar:
<smtx:XamlDisplay >
<materialDesign:Snackbar Message="hello 1"
HorizontalAlignment="Stretch"
IsActive="true"
x:Name="SnackbarMsg" />
</smtx:XamlDisplay>
But a transparent textbox been added under XamlDisplay tree node:

Anybody know why?
Thanks.

@Leon-Zhang Are you actually using the XamlDisplay control to display XAML in your app? This control is only in the MaterialDesignInXaml Demo to make it easy for people to copy the XAML they need. You should be able to omit it from your code.

@Keboo Thanks for the answer! Removed XamlDisplay node and problem solved!


Use paramter value rather than hard coded value in win_pulsar

This looks fine to me but I want @madchills to review as well.


Fix Video sizing with required aspectRatio

Setting paddingBottom using the DOM element was causing weird glitches with math operations that set the value to NaN%. This change makes the aspectRatio required and not defaulted.
@chrislloyd I'm only introducing the required aspectRatio here instead of aspectRatio, width, and height so we can keep the resizing fluid for now.

Deploy preview for gestalt ready!
Built with commit 69d51aa7ccda0ec8c4c091357ed1d79ae4c49385
https://deploy-preview-201--gestalt.netlify.com

Just double checking - did you check this works IRL?

Deploy preview for gestalt ready!
Built with commit 1d0e8c184bd81098146769e6c4b0006c339ee653
https://deploy-preview-201--gestalt.netlify.com

Filename
Size Diff
Gzip Diff
Prev Size
Current Size
Prev Gzip
Current Gzip

gestalt.js
:small_red_triangle_down: 0.1%
:small_red_triangle_down: 0.2%
261.25 KB
260.95 KB
58.56 KB
58.45 KB

gestalt.es.js
:small_red_triangle_down: 0.1%
:small_red_triangle_down: 0.2%
258.7 KB
258.4 KB
58.19 KB
58.09 KB

  Generated by :no_entry_sign: dangerJS

@chrislloyd verified it gets rid of the NaN% but turns out the issue with restarting the video was another bug, I'll put that up in a separate PR after this fix 😞


undefined is not an object (evaluating '_react2.default.PropTypes.array')

please help! i got that error

any solutions for this issue ?

https://www.npmjs.com/package/rn-multiple-choice

nu5rim3 "rn-multiple-choice" is also giving the same error.


Get.back() don't dismiss the Get.defaultDialog

i try to use Get.back(); to dismiss the defaultDialog, only can dismiss touching outside of dialog.

Please, when reporting a bug, do not delete the template with the information that must be provided.
You must provide a valid and complete test code so that we can copy, paste and run.
Get.back () works to discard defautDialog. See an example:
import 'package:flutter/material.dart';
import 'package:get/get.dart';

void main() {
  runApp(GetMaterialApp(home: HomePage()));
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('HOME')),
      body: Container(
        child: RaisedButton(
          child: Text('Open'),
          onPressed: () => Get.defaultDialog(
            title: 'MyDialog',
            content: Text('This is my dialog'),
            textConfirm: 'Close',
            confirmTextColor: Colors.white,
            onConfirm: () => Get.back()
          ),
        ),
      ),
    );
  }
}

I am closing this, as it does not respect the correct way to report a bug.


Sets by Tatewaki et al

A bunch are available at http://www.nsc.nagoya-cu.ac.jp/~htatewak/english.html
I was thinking that the uncontracted sets might be the most useful ones. The format in those is actually the same as the one in the STO atomic orbital databases of Thakkar and coworkers, for which I already have implemented a Python parser for https://github.com/JFurness1/AtomicOrbitals.
The output actually contains the contraction coefficients as well, so it'd be possible to put in a contracted version as well.

#181 implements the uncontracted non-relativistic sets.
Tatewaki's website also contains several contracted sets, but the problem is that there are 4-6 different contraction patterns for each, so it's not just one basis but several. These also lack polarization functions.
The main interest would be in adding the uncontracted relativistic sets, but they're in four-component form which we don't support at the moment.

#181 implements the uncontracted non-relativistic sets.
Tatewaki's website also contains several contracted sets, but the problem is that there are 4-6 different contraction patterns for each, so it's not just one basis but several. These also lack polarization functions.
The main interest would be in adding the uncontracted relativistic sets, but they're in four-component form which we don't support at the moment.


placeholder text color

Hi I cannot find how to change placeholder text colour

There's a pull request which would add attributed strings which would allow to set the color of the placeholder text: https://github.com/MoZhouqi/KMPlaceholderTextView/pull/41


Add Docker

Added a Dockerfile for building a Docker image out of this project, updated package.json and build.yml to automated building Docker images, updated README.md with instructions on how to use these files. Closes #1.

Looks like Docker is still unavailable on the MacOS virtual environment due to licensing issues (See here). As such, I'll remove the MacOS build from the action and resubmit this pull request.


install: Code refactoring

Formats the install script in accordance with Google's Shell Style Guide using shfmt and applies fixes for issues that were found by the static analysis tool shellcheck.
Style changes

Consistent two space indentation.
Consistent formatting of for ... do loops and if ... then code blocks.
Consistent brace-delimiting of variable names.
Consistent upper-case spelling of variable names.
Consistent alphabetic ordering of packages installed/removed by apt-get.
Explicit error codes for exit commands.
All error messages sent to STDERR.
Use of [[ -z "${VAR}" ]] instead of [[ "${VAR}" == "" ]].

Shellcheck fixes

Double quote variables to prevent globbing and word splitting. [SC2086]
Use { cmd1; cmd2; } >> file instead of individual redirects. [SC2129]
Useless echo. Instead of echo $(cmd), just use cmd. [SC2005]
To redirect stdout+stderr, 2>&1 must be last. [SC2069]
read without -r will mangle backslashes. [SC2162]

The variable NEKO_IMAGES is purposefully left unquoted in the for ... do loop on L245 since it is an array of values where we do want word splitting to happen.
The variable NEKO_IMAGES has been converted to a proper array, so it can be double quoted as well now. On L215, [*] is used instead of [@] because of SC2145.

Looks good!


URL customization

I had to change in the restclient like this:
case GET_MANY_REFERENCE: {
const { page, perPage } = params.pagination;
const { field, order } = params.sort;
const query = {
orderBy: field + " " + order.toLowerCase(),
pageNumber: page,
pageSize: perPage
};
            **var parentresource = '';
            switch (resource) {
                case 'details':
                    parentresource = `products/${params.id}/${resource}`;
                    break;
                default:
                    parentresource = `${resource}`;
            }**

            url = `${apiUrl}/${**parentresource**}?${fetchUtils.queryParameters(query)}`;
            break;

I have a EditView where in one tab I have got:

When I click EditButton the url in the browser needs to needs to be http://localhost:5000/#/details/1?_k=5f7qc1 but the url to grab data from should be http://localhost:5000/api/products/2/details/1
Any easier way to do this?

We don't provide support through GitHub issues. If you need advice on using or debugging your own project based on admin-on-rest, please use StackOverflow.


feat(docs): adding team page

@JWO719 Ohh didn't check on windows will fix it.

@JWO719 Updated PR


Version bumps

Prepare the 0.1.10 release, which contains only a single fix to the URLs in the Cargo files. Then bump all crates to 0.1.11-pre.

Actually, I don't want to do this.


Do we still need the autolabel branch?

Do we still need the autolabel branch? Can it be deleted?

Deleted.


Head behavior does not take SEA degree change into account

Expected behavior
Head search pattern should not collide with robot torso or arms.
Current behavior
Search pattern collides a bit.
Steps to Reproduce
roslaunch bitbots_head_behavior test.launch
on branch feature/collision_checking
Context (Environment)

[ ] RViz
[ ] Simulator
[x] Robot
[ ] Local

Only happens on robot, since the problem is coming from the deviation of the head SEA.
Possible Solution
Adapt search pattern so that lowest line is a bit higher. Then there would be no collision even if the SEA adds a few degrees.
Propably this will be resolved anyway, when the pattern is adjusted to the new camera

I think there is a larger rabithole at this point. Because the transformer and also the normal look_at calls in the head behavior are off due to the sea. Therefore I would introduce a transform in the head part of the tf three right after the head tilt joint. The angels of the new sea joint would be calculated (and published) by a new node which calculates the offset using both Imus.

Of we try to redesign or calibrate the seas that they are only shock absorbers for very high loads and stay quite stiff and centerd while normal use.

Maybe the most precise why would be to add an magnetic encoder inside the sea which estimates it's torsion.

@Flova I agree. That would be the best option in the future. But is there a dirty solution which works for now?

I would go for an additional transform for the sea consisting of the difference of the IMU measurements. (To be evaluated.)


Xposed hooks - Found

Hi, I have a problem, I try hide my Xposed, root, magisk, modules etc.
I use HideMyApplist and I configured everything except Xposed hooks.
if i turn on Android Module Android Faker or any other, I see Xposed hooks - Found
How to hide Xposed Hooks?

@iauei Is there only option system framework in LSPosed?

@iauei Is there only option system framework in LSPosed?

I do not quite understand what you are writing about.
I have LSPosed with 2 modules Hide My Applist and Android Faker
If turn on Android Faker, AppListDetecrot will show an error Xposed hooks found

@iauei What HMA chooses in LSPosed Manager

@iauei What HMA chooses in LSPosed Manager

I can't understand. What is it HMA
https://ibb.co/8sz7phx
https://ibb.co/rvTK5pt
https://ibb.co/KxNdFr8
my screenshots

@iauei What HMA chooses in LSPosed Manager

https://ibb.co/m8Bk5xP
Only system framework


(pkgsStatic.perl): Patch Perl to avoid duplicate symbols with musl

Description of changes
This commit backports a commit introduced on Perl 5.39.2 to allow pkgs.pkgsStatic.perl to compile without raising errors about duplicate symbols being defined during the linking process.
This fixes https://github.com/NixOS/nixpkgs/issues/295608

Tested on
Status

M1 Mac (aarch64-darwin)
Failed due to other issues*

NixOS VM (x86_64-linux)
✅

Nix (aarch64-linux)
✅

Test method:
nix repl -I nixpkgs=$PWD
nix repl> pkgs = import <nixpkgs> {}
nix repl> :b pkgs.perl
nix repl> :b pkgs.pkgsStatic.perl

Despite the upstream commit being scoped to all environments, we are only applying this patch only on the pkgsStatic context to avoid rebuilding all of NixOS packages by changing Perl.
It includes an additional build flag also used upstream
for configuring static builds.
*MacOS: pkgsStatic.perl still fails to compile after this change due to MacOS case-insensitiviness affecting the build recipe under /tmp, as perl-cross/configure is copied over perl/Configure file, as well as not finding readelf for the configurePhase.
https://github.com/NixOS/nixpkgs/issues/113985#issuecomment-785024419 https://github.com/NixOS/nix/issues/1446
https://github.com/NixOS/nix/issues/9318
https://github.com/NixOS/nix/issues/8995
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Despite the patch applying cleanly, the error still persists:

Error log
error: builder for '/nix/store/yc75djfdw129399igyshacynhk7zsfnf-perl-static-x86_64-unknown-linux-musl-5.38.2.drv' failed with exit code 2;
       last 10 log lines:
       > /nix/store/826v1ayjaayg7j61c8mndfqmh110dxa6-x86_64-unknown-linux-musl-binutils-2.41/bin/x86_64-unknown-linux-musl-ld: lib/auto/re/re.a(re_comp.o): in function `Perl_set_ANYOF_arg':
       > re_comp.c:(.text+0xb020): multiple definition of `Perl_set_ANYOF_arg'; libperl.a(regcomp.o):regcomp.c:(.text+0x8160): first defined here
       > /nix/store/826v1ayjaayg7j61c8mndfqmh110dxa6-x86_64-unknown-linux-musl-binutils-2.41/bin/x86_64-unknown-linux-musl-ld: lib/auto/re/re.a(re_comp.o): in function `Perl_get_ANYOFM_contents':
       > re_comp.c:(.text+0xcf50): multiple definition of `Perl_get_ANYOFM_contents'; libperl.a(regcomp.o):regcomp.c:(.text+0x9d70): first defined here
       > /nix/store/826v1ayjaayg7j61c8mndfqmh110dxa6-x86_64-unknown-linux-musl-binutils-2.41/bin/x86_64-unknown-linux-musl-ld: lib/auto/re/re.a(re_comp.o): in function `Perl_get_ANYOFHbbm_contents':
       > re_comp.c:(.text+0xd020): multiple definition of `Perl_get_ANYOFHbbm_contents'; libperl.a(regcomp.o):regcomp.c:(.text+0x9e40): first defined here
       > collect2: error: ld returned 1 exit status
       > make[1]: *** [Makefile:154: perl] Error 1
       > make[1]: Leaving directory '/build/perl-5.38.2'
       > make: *** [Makefile:87: all] Error 2
       For full logs, run 'nix log /nix/store/yc75djfdw129399igyshacynhk7zsfnf-perl-static-x86_64-unknown-linux-musl-5.38.2.drv'.

I'll need to further investigate upstream what else can be done

Can confirm the interpreter is linked statically with this PR. Thank you!

I've checked that https://github.com/Perl/perl5/commit/ba6e2c38aafc23cf114f3ba0d0ff3baead34328b (merged into blead https://github.com/Perl/perl5/pull/21320) is the same as static-stdenv-5.39.2.patch vendored into this PR.

I'm getting the segfault error when running perl -V
$ set c (nix-build -A pkgsStatic.perl); and $c/bin/perl -V
fish: Job 1, 'result/bin/perl -V' terminated by signal SIGSEGV (Address boundary error)

dmesg output:
[285797.506144] perl[403625]: segfault at 5878ed7 ip<PHONE_NUMBER>4a5072 sp 00007ffd945de7c0 error 4 in perl[401000+2d3000] likely on CPU 11 (core 6, socket 0)
[285797.506158] Code: 0f b6 4a 01 49 8d 04 82 4c 39 d0 48 0f 45 f0 48 89 74 24 28 48 8b 44 24 10 c7 44 24 08 f6 ff ff ff 4c 8b 48 10 4d 39 cb 73 08 <41> 0f b6 03 89 44 24 08 81 f9 99 00 00 00 0f 87 fa 6c 00 00 48 8d

Would like to check this one out a bit before merging

CNR at 63d7ba59d7d6. It consistently builds to /nix/store/41nylr1jx656aki1xhw5x44fp4c36l8s-perl-static-x86_64-unknown-linux-musl-5.38.2 on my machine.

That command does segfault on my machine, but if I launch a shell nix shell -ivL github:NixOS/nixpkgs/63d7ba59d7d67d07b60729c2fb3b2f6653ebc345#pkgsStatic.perl then it's fine.

To dig into this a little bit, I got myself a debuggable version of perl with
nix shell -vL --expr 'let pkgs = import (builtins.getFlake github:NixOS/nixpkgs/63d7ba59d7d67d07b60729c2fb3b2f6653ebc345) { system = "x86_64-linux"; }; in pkgs.pkgsStatic.perl.overrideAttrs { env.NIX_CFLAGS_COMPILE = "-g -O0"; dontStrip = true; }'

Of course, the segv doesn't happen in valgrind or gdb, but I can get a stacktrace with machinectl gdb:
#0  0x00000000005780c3 in S_regmatch (my_perl=0x7f6a271c6030, reginfo=0x7ffcd1700cb0,
    startpos=0x7f6a270a9f58 "\npackage='perl5'\npager='less'\npasscat='cat /etc/passwd'\npatchlevel='38'\npath_sep=':'\nperl=''\nperl5=''\nperl_lc_all_category_positions_init=''\nperl_lc_all_separator=''\nperl_patchlevel=''\nperl_static_inl"..., prog=0x7f6a27158684) at regexec.c:6560
#1  0x000000000056df16 in S_regtry (my_perl=0x7f6a271c6030, reginfo=0x7ffcd1700cb0, startposp=0x7ffcd1700bc8) at regexec.c:4407
#2  0x000000000056d6b7 in Perl_regexec_flags (my_perl=0x7f6a271c6030, rx=0x7f6a27145358,
    stringarg=0x7f6a270a2180 "\nAuthor=''\nCONFIG='true'\nDate='$Date'\nHeader=''\nId='$Id'\nLocker=''\nLog='$Log'\nPATCHLEVEL='38'\nPERL_API_REVISION='5'\nPERL_API_SUBVERSION='0'\nPERL_API_VERSION='38'\nPERL_CONFIG_SH='true'\nPERL_PATCHLEVEL="..., strend=0x7f6a270ac236 "",
    strbeg=0x7f6a270a2180 "\nAuthor=''\nCONFIG='true'\nDate='$Date'\nHeader=''\nId='$Id'\nLocker=''\nLog='$Log'\nPATCHLEVEL='38'\nPERL_API_REVISION='5'\nPERL_API_SUBVERSION='0'\nPERL_API_VERSION='38'\nPERL_CONFIG_SH='true'\nPERL_PATCHLEVEL="..., minend=0, sv=0x7f6a271802a0, data=0x0,
    flags=97) at regexec.c:4117
#3  0x0000000000510c62 in Perl_pp_match (my_perl=0x7f6a271c6030) at pp_hot.c:3172
#4  0x000000000063411a in Perl_runops_standard (my_perl=0x7f6a271c6030) at run.c:41
#5  0x000000000044a954 in Perl_call_sv (my_perl=0x7f6a271c6030, sv=0x7f6a271452c8, flags=4098) at perl.c:3133
#6  0x00000000004af632 in Perl_magic_methcall (my_perl=0x7f6a271c6030, sv=0x7f6a27145388, mg=0x7f6a270dd5e0, meth=0x7f6a271452c8, flags=0, argc=0)
    at mg.c:2141
#7  0x00000000004af916 in S_magic_methcall1 (my_perl=0x7f6a271c6030, sv=0x7f6a27145388, mg=0x7f6a270dd5e0, meth=0x7f6a271452c8, flags=0, n=1,
    val=0x0) at mg.c:2175
#8  0x00000000004af95e in S_magic_methpack (my_perl=0x7f6a271c6030, sv=0x7f6a27145388, mg=0x7f6a270dd5e0, meth=0x7f6a271452c8) at mg.c:2185
#9  0x00000000004afa23 in Perl_magic_getpack (my_perl=0x7f6a271c6030, sv=0x7f6a27145388, mg=0x7f6a270dd5e0) at mg.c:2198
#10 0x00000000004aa6b5 in Perl_mg_get (my_perl=0x7f6a271c6030, sv=0x7f6a27145388) at mg.c:198
#11 0x0000000000514bf9 in Perl_pp_multideref (my_perl=0x7f6a271c6030) at pp_hot.c:4032
#12 0x000000000063411a in Perl_runops_standard (my_perl=0x7f6a271c6030) at run.c:41
#13 0x000000000044a098 in S_run_body (my_perl=0x7f6a271c6030, oldscope=1) at perl.c:2812
#14 0x0000000000449a94 in perl_run (my_perl=0x7f6a271c6030) at perl.c:2727
#15 0x000000000040865e in main (argc=2, argv=0x7ffcd17016c8, env=0x7ffcd17016e0) at perlmain.c:127

I was trying to find out what code causes the segv but didn't get very far: -V:ld seems to run something like
use Config; Config::config_vars(ld)

but trying to trace to the code with -d:Trace (requires .withPackages (ps: [ps.DevelTrace])), it segvs in some completely different place, so I kind of doubt that "It seems to function as an interpreter though".
(At this point, I lost interest in this PR, because I found a different way to build a static qemu.)

Superceded by #338838.


Traverse strategy breadth_first won't work with LIMIT keyword

I already posted a question in the issue tracker here : https://github.com/orientechnologies/orientdb/issues/5314 , but I realized that the question is too wide and decided to try and break it into smaller issues.
The first issue is a bug on the parsing of the Traverse operator. If the keyword <limit> is added, both with -1 or with an actual positive limit, the statement <strategy breadh_first> is ignored in turn, as shown by the results of these two simple queries on the GratefulDeadConcerts default database (start node is chosen randomly):
First query (without <limit>):
  select $current.traversedVertex(-1), $path from
  (
  traverse * from #9:24
    while $depth < 4

    strategy breadth_first
  )

Results (only first 20):

$current
$path

#9:24
(#9:24)

#9:15
(#9:24).in_followed_by0

#9:15
(#9:24).in_followed_by1

#9:15
(#9:24).in_followed_by2

#9:15
(#9:24).in_followed_by3

#9:15
(#9:24).in_followed_by4

#9:15
(#9:24).out_followed_by0

#9:15
(#9:24).out_followed_by1

#9:15
(#9:24).out_followed_by2

#9:15
(#9:24).out_followed_by3

#9:15
(#9:24).out_followed_by4

#9:15
(#9:24).out_followed_by5

#9:15
(#9:24).out_followed_by6

#9:15
(#9:24).out_followed_by7

#9:15
(#9:24).out_followed_by8

#9:15
(#9:24).out_followed_by9

#9:15
(#9:24).out_followed_by10

#9:15
(#9:24).out_followed_by11

#9:15
(#9:24).out_followed_by12

#9:15
(#9:24).out_followed_by13

Second query (with <limit>):
  select $current.traversedVertex(-1), $path from
  (
  traverse * from #9:24
    while $depth < 4
	limit -1
    strategy breadth_first
  )

Results (only first 20):

$current
$path

#9:24
(#9:24)

#9:15
(#9:24).in_followed_by0

#9:15
(#9:24).in_followed_by0.out(#9:15)

#9:3
(#9:24).in_followed_by0.out(#9:15).in_followed_by0

#9:4
(#9:24).in_followed_by0.out(#9:15).in_followed_by1

#9:5
(#9:24).in_followed_by0.out(#9:15).in_followed_by2

#9:11
(#9:24).in_followed_by0.out(#9:15).in_followed_by3

#9:12
(#9:24).in_followed_by0.out(#9:15).in_followed_by4

#9:14
(#9:24).in_followed_by0.out(#9:15).in_followed_by5

#9:17
(#9:24).in_followed_by0.out(#9:15).in_followed_by6

#9:16
(#9:24).in_followed_by0.out(#9:15).in_followed_by7

#9:92
(#9:24).in_followed_by0.out(#9:15).in_followed_by8

#9:109
(#9:24).in_followed_by0.out(#9:15).in_followed_by9

#9:54
(#9:24).in_followed_by0.out(#9:15).in_followed_by10

#9:83
(#9:24).in_followed_by0.out(#9:15).in_followed_by11

#9:48
(#9:24).in_followed_by0.out(#9:15).in_followed_by12

#9:53
(#9:24).in_followed_by0.out(#9:15).in_followed_by13

#9:41
(#9:24).in_followed_by0.out(#9:15).in_followed_by14

#9:160
(#9:24).in_followed_by0.out(#9:15).in_followed_by15

#9:146
(#9:24).in_followed_by0.out(#9:15).in_followed_by16

Hi @giacomoParigi
you should apply the LIMIT clause to the outer query, otherwise Studio will apply a 20 by default,
eg.
  select $current.traversedVertex(-1), $path from
  (
  traverse * from #9:24
    while $depth < 4
    strategy breadth_first
  )
  limit -1

I'm closing this, please reopen in case I missed something
Thanks
Luigi

The problem is not on the number of results (in that case you would be right pointing at the position of the LIMIT clause), but on their order. When the LIMIT clause is applied to the inner query - i.e. the TRAVERSE - the strategy falls back to the default depth_first, ignoring the following strategy statement.

To replicate it should be enough to copy and paste the queries - the results are from the public GratefulDeadConcerts database - but if it is useful I can add a scripted toy example.

ouch... ok, reopening

Ciao @giacomoParigi
I just pushed a fix on 2.1.x branch, it was a trivial parsing problem.
Now I'm porting the fix to develop branch
Thanks
Luigi

Ok, it's also fixed in develop branch.
I'm closing this, please reopen in case something is missing
Thanks
Luigi


documentation too vauge: Enable SAML Authentication

File: ee/ucp/admin/configure/enable-saml-authentication.md
The documentation for ADFS settings for SAML is very vague and misleading.
* Attribute Store: Active Directory.
  - Add LDAP Attribute = Email Address; Outgoing Claim Type: Email Address
  - Add LDAP Attribute = Display-Name; Outgoing Claim Type: Common Name
* Claim using Custom Rule. For example, c:[Type == "http://schemas.xmlsoap.org/claims/CommonName"] => issue(Type = "fullname", Issuer = c.Issuer, OriginalIssuer = c.OriginalIssuer, Value = c.Value, ValueType = c.ValueType);
* Outgoing claim type: Name ID
* Outgoing name ID format: Transient Identifier
* Pass through all claim values

This says that these are required values for ADFS settings. However, it doesn't specify which claim to use? Do we use all three? If so, the second and third ones are incomplete, what type of claim rule is the third one supposed to be? What are the incoming claims supposed to be? I would recommend specifying claim rule type and specifics for the rule.

@pkennedyr can you help with questions from @sc10n above? Happy to address the documentation enhancement request once we have more details. cc: @paigehargrave

I have the same issue, the documentation is vague and/or very incomplete.

@pkennedyr can you help with questions from @sc10n above? Happy to address the documentation enhancement request once we have more details.

@ry4nz Can you advise on the questions posed by @sc10n above re: ADFS settings for SAML?

More detail info can be found here https://github.com/docker/orca/issues/5713

@ry4nz @sc10n @nwalter82 - PTAL at #8832 - PTAL - I copied in some rough text and have no experience with this subject matter, so please add clarification as needed. Thank you!.

This is what I figured out:
Claim Rules:

Values from AD to SAML
Display-name : Common Name
E-Mail-Addresses : E-Mail Address
SAM-Account-Name : Name ID
Transform Account Name to Name ID
Incoming type : Name ID
Incoming Format: Unspecified
Outgoing Claim type: Name ID
Outgoing Format:  Transient ID
Create Full Name for UCP (Custom Rule):
c:[Type == "http://schemas.xmlsoap.org/claims/CommonName"]
=> issue(Type = "fullname", Issuer = c.Issuer, OriginalIssuer = c.OriginalIssuer, Value = c.Value, ValueType = c.ValueType);
Pass Admin Value to allow admin access based on AD Group (Send Group Membership as Claim)
Users Group :  Your Admin Group
outgoing claim type: is-admin
outgoing claim value: 1
Group mebership (for more complex organizations with multiple groups to manage access)
Send LDAP Attributes as Claims
Store:  Active Directory
Mapping:
Token-Groups - Unqualified Names : member-of

Note that we dropped using email address as an ID due to bugs we found in the way push and pull works in DTR.  Users with an @ symbol are not able to push or pull images from their personal repositories.  We replaced with just SAMAccountID though this may not be ideal if you have multiple domains.  Maybe a custom rule that appends a dash and creates something like "domain-SAMAccountName" as a login would be better.
Also be aware that there is a bug with single logout currently, it just does not work at all with ADFS/SAML.
Finally, there is a bug in the redirect process UCP does not pass a redirect URL to ADFS so users by default as sent back to UCP.  If you are using DTR this means the login flow goes like this:  DTR -> UCP -> ADFS -> UCP.  Users should go DTR -> UCP -> ADFS -> DTR.

@nwalter82 Thanks for the claim rules. This has our UCP/DTR working with ADFS now. Is there any timeline on fixing the redirect after login issue? I have DTR users that don't utilize UCP (as its not certified for use in our environment yet) so it will be extremely confusing for them to end up at the UCP dashboard. I don't think I can turn on SAML until that is fixed.

@nwalter82 @sc10n Thank yo u- PTAL and see if documentation changes are OK per #8832 .

Closing due to changes made in #8832.


allow /usr/local/pkg as an include dir for function calls

Many addon packages have files in that directory.  It would be helpful to allow included files form that directory as well.

I've taken a look at this and got "something" that probably works at the sacrifice of some stability which itself can be addressed with further effort.
I've taken moment to pause though as I'm not sure I'm comfortable with opening up the universe of possible includes like this - part of the reason the function_call is so rigid about what can be included is that I did not want to enable functionality that led to unexpected outcomes ... and it is already in uncharted territory in that regard..
If anyone can describe more reasons why this is an important must-have extension of capability then I'll make it happen.
Will keep this ticket open for the time being.

@ndejong I'm just using the built-in xmlrpc API now which supports this idea along with anything else so I'm good for now.

That's interesting - could you describe this a little bit more - would it perhaps make sense for FauxAPI to have an xmlrpc endpoint perhaps?

Basically pfSense has an xmlrpc API that somewhat eliminates the need to use this project.  In my use case, I was developing a piece of software to integrate with pfSense and wanted to make the 'barrier to entry' as low as possible.  Requiring users to install/setup the fauxapi in conjunction with the limitation(s) originally mentioned on this ticket were factors in directly using the built-in xmlrpc api (I was unaware of the extent of features it offered...which is basically anything you need/want and more).
None of this is meant to demean this project FYI.  Just stuff I discovered along the way.

https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/xmlrpc.php
https://github.com/travisghansen/kubernetes-pfsense-controller

Ahh - that's awesome, certainly do like your kubernetes-pfsense-controller too - dare I say it, did you consider using OPNsense rather than pfSense for this though?  I've been doing a lot more with OPNsense of late (https://github.com/verbnetworks) and find the OPNsense code much cleaner etc.

@ndejong I've used pfsense for a long time and didn't follow the IMO petty banter between the 2 projects (from both sides from what I can tell).
Perhaps in the future I'll take a look but I've been running the installations I have in production for many years and didn't want to mess with those installs.
Having said that, I have nothing against the newer project and my controller could pretty easily be adapted to opnsense if the API supports all needed functions.
I have plans to tie into fail2ban (with kubernetes logs) but instead of making iptables call it would make rules in pfsense.  Kinda lofty goal but doable :)

Hi,
A possible use case that I've encountered for this: I'm trying to automate some SquidGuard functions, and SquidGuard requires the Apply button in General Settings to be pressed after making changes.

This runs the sg_reconfigure() function from /usr/local/pkg/squidguard.inc in the background. If FauxAPI were to support included files from /usr/local/pkg directory then one could use function_call to execute sg_reconfigure() via FauxAPI.
Other than that, I don't see how one could do this via FauxAPI.


Reconcile block discrepancies: colored->wool, rename, add more

https://github.com/satoshinm/NetCraft/issues/137

Some screenshots with different texture packs (Pixeludi, Piehold Plain, Piehold Pattern, Sphax 16x, MC 1.7.3 beta - terrain.png):

Note this changes the 32 colored blocks to only 16 wool blocks, removing half the colors. I thought 32 was too many anyways, cumbersome to scroll through, and it was taking up room in the texture atlas. Changing to 16 wool allowed adding a lot more blocks in their space. Servers/worlds using the extra 16 colors will get other decorative blocks in their place, an incompatibility but I think it is worth it.


A bug in ProjectListByTime

   ```LifeOS
     ProjectListByTime
    ...

Returns the wrong list.

The seventh item is '|', and I don't know why this entry is included in this list.

Check if there is a problem with the project list in the corresponding file in the diary file.

Checked it, but I don't figure out the reason. It happens from time to time even the diary file was not changed.

Can you give me a minimal reproduction vault?

Try updating to 1.17.9


Breaking change in minor version

If "Karma uses Semantic Versioning", why did the v0.13.0 minor version change introduce a breaking API change?

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

http://semver.org

Because we are still on 0.x.y, so we follow the same convention as node followed, that is having breaking changes in the minor versions, until a 1.0.0 is released.


UI dos not refresh when press and hold mouse on  the window title bar

Describe the bug
UI dos not refresh when press and hold mouse on  the window title bar
To Reproduce
Steps to reproduce the behavior:

start
Update data on child threads
Hold down the mouse on the window title bar
UI dos not refresh

Screenshots
If applicable, add screenshots to help explain your problem.
https://github.com/AvaloniaUI/Avalonia/assets/3275834/e27a6e43-41f9-4796-95a2-e3163281edbe
Desktop (please complete the following information):

OS: [Windows]
Version [11.0.0-preview8]

Additional context
    public class MainWindowViewModel : INotifyPropertyChanged
    {
        public MainWindowViewModel()
        {
            Task.Run(() =>
            {
                while (true)
                {
                    Time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
                    Task.Delay(1).Wait();
                }
            });
        }
        public string? Time
        {
            get => time;
            set
            {
                time = value;
                PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Time)));
                Debug.WriteLine("PropertyChanged");
            }
        }
        private string? time;

        public event PropertyChangedEventHandler? PropertyChanged;

As an alternative, you can also use a DispatcherTimer which is imo the way to go to update data frequently.

看上去是鼠标按住窗口标题栏的时候，UI线程锁住了？
(It seems that the UI thread was locked while the mouse was holding down the window title bar?)
https://github.com/AvaloniaUI/Avalonia/assets/3275834/9899d795-416c-4384-adb8-e1d570751503

i don't think this is bug.


togglespecialworkspace not working

Regression?
Yes
System Info and Version
 System/Version info
[patricia@yoga ~]$ hyprctl systeminfo -c
Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

System Information:
System name: Linux
Node name: yoga
Release: 6.9.10-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Thu, 18 Jul 2024 18:06:13 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] [8086:3ea0] (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/patricia/.config/hypr/hyprland.conf: Read Succeeded

# #######################################################################################
# AUTOGENERATED HYPR CONFIG.
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# #######################################################################################

#autogenerated = 1 # remove this line to remove the warning

# This is an example Hyprland config file.
# Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/

# Please note not all available settings / options are set here.
# For a full list, see the wiki

# You can split this configuration into multiple files
# Create your files separately and then link them to this file like this:
# source = ~/.config/hypr/myColors.conf

###########################
# Environmental Variables #
###########################

env = QT_QPA_PLATFORM,wayland
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = GTK_THEME,McOS-MJV-Dark-Nordic
env = MOZ_ENABLE_WAYLAND,1
env = SSH_AUTH_SOCK,$XDG_RUNTIME_DIR/ssh-agent.socket
env = QT_QPA_PLATFORMTHEME,qt5ct
env = DESKTOP_SESSION,Hyprland

################
### MONITORS ###
################

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
monitor=eDP-1, 1920x1080, 0x0, 1
monitor=DP-2, 1920x1080, 1920x0, 1
monitor=HDMI-A-2, 1920x1080, 3840x0, 1

###################
### MY PROGRAMS ###
###################

# See https://wiki.hyprland.org/Configuring/Keywords/

# Set programs that you use
$terminal = kitty
$fileManager = dolphin
#$menu = wofi --show drun
$menu = .config/rofi/launchers/type-7/launcher.sh

#################
### AUTOSTART ###
#################

# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:

# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
exec-once = [special:keepass;float;monitor 2;size 60% 60%] keepassxc
exec-once = waybar
exec-once = dunst
exec-once = nm-applet
exec-once = pasystray
exec-once = play-with-mpv
exec-once = variety
exec-once = swww-daemon

#############################
### ENVIRONMENT VARIABLES ###
#############################

# See https://wiki.hyprland.org/Configuring/Environment-variables/

env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

#####################
### LOOK AND FEEL ###
#####################

# Refer to https://wiki.hyprland.org/Configuring/Variables/

# https://wiki.hyprland.org/Configuring/Variables/#general
general {
    gaps_in = 5
    gaps_out = 20

    border_size = 2

    # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    # Set to true enable resizing windows by clicking and dragging on borders and gaps
    resize_on_border = false

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false

    layout = dwindle
}

# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
    rounding = 10

    # Change transparency of focused and unfocused windows
    active_opacity = 1.0
    inactive_opacity = 1.0

    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)

    # https://wiki.hyprland.org/Configuring/Variables/#blur
    blur {
        enabled = true
        size = 3
        passes = 1

        vibrancy = 0.1696
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
    enabled = true

    # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
    pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = true # You probably want this
}

# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
    new_status = master
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
    force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
    disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
}

#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_layout = de
    kb_variant = T3
    kb_model = pc105
    kb_options =
    kb_rules =

    follow_mouse = 1

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.

    touchpad {
        natural_scroll = false
    }
}

#input {
#    kb_layout = us
#    kb_variant =
#    kb_model =
#    kb_options =
#    kb_rules =
#
#    follow_mouse = 1
#
#    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
#
#    touchpad {
#        natural_scroll = false
#    }
#}

# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
    workspace_swipe = false
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = epic-mouse-v1
    sensitivity = -0.5
}

####################
### KEYBINDINGSS ###
####################
# Test #
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod CTRL, G, togglespecialworkspace, keepass
bind = $mainMod, Return, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod CTRL, Q, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move current workspace left/right
bind = $mainMod CTRL, Left, movecurrentworkspacetomonitor, l
bind = $mainMod CTRL, Right, movecurrentworkspacetomonitor, r

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

##############################
### WINDOWS AND WORKSPACES ###
##############################

# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules

# Example windowrule v1
# windowrule = float, ^(kitty)$

# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$

windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.

======Config-End========

Description
Bug https://github.com/hyprwm/Hyprland/issues/3311 is happening again.
Togglespecialworkspace does only dim the monitor slightly.
Funfact: if a workspace with firefox esr is focussed and i try to toggle the special workspace, firefox slides away.
Pressing again the bind does not toggle firefox back. But it can be "recovered" via waybar
How to reproduce
put this in your config
exec-once = [special:keepass;float;monitor 2;size 60% 60%] keepassxc
bind = $mainMod CTRL, G, togglespecialworkspace, keepass
Crash reports, logs, images, videos
No response

what's the output of hyprctl clients and of hyprctl monitors after using the bind?

monitors.txt
clients.txt
clients.txt contains before and after using the bind. As far as i can see no change.

keepassxc is not in any special workspace
try using something like foot (without foot server) it should work
if a program forks itself exec binds won't work


Allow specifying the $expand attribute on the client

See the related issue https://github.com/Azure/azure-mobile-apps-net-client/issues/141

Closing this issue as it's over a year old and we are not adding new features in Azure Mobile Apps.


Fix testing redirection & model library

There were some remaining bugs related to IndexedDB and the Vue store. The changes are:

finished step

redirects to the correct model in the "model testing" page
correctly initializes its memory
handles untrained tasks

model library

displays both working and saved models (closes #315)
correctly deletes models
is consistent w.r.t. IndexedDB content

Additionally:

the UI for information pages uses a single BaseLayout to avoid duplicate footers
federated client starts at round 0 instead of -1 to avoid stalling in the beginning and thus losing a round

looking good!
does it also work if i start from the library page, select a model there and that one can be tested?


IN-235 api consumer can provide s3 reference instead of encoded docum…

…ent source
Purpose
Briefly describe the purpose of the change, and/or link to the ticket for context
Approach
Explain how your code addresses the purpose of the change
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes
[ ] I have run the integration tests (results below)

Can close this now as it's been superseded by PR 94?


create a package template for new developers

See Developer Orientation

We decided it was not worth the effort to do this.  What we do need is examples for developers.  See the https://github.com/gregorbj/VisionEval/wiki/Documentation-Plan for our plan moving forward.


Secondary constructors on abstract entities don't add listeners to @PreInsert and @PreUpdate

As it seems, an entity created with an overloaded constructor doesn't add the listeners to call the methods with signatures PreInsert and PreUpdate. I have this entity here:
@Entity
public class AbstractEntityWithTwoConstructors {

    public AbstractEntityWithTwoConstructors(){}

    public AbstractEntityWithTwoConstructors(String name) {
        this.name = name;
    }

    @Key
    public UUID id;

    public String name;

    @PreInsert
    @PreUpdate
    public void generateIdIfNeeded() {
        if (id == null) {
            id = UUID.randomUUID();
        }
    }

}

This is the constructors extracted from the generated concrete class:
public EntityWithTwoConstructors(String name) {
    super(name);
}

public EntityWithTwoConstructors() {
    $proxy.modifyListeners().addPreInsertListener(new PreInsertListener<EntityWithTwoConstructors>() {
        @Override
        public void preInsert(EntityWithTwoConstructors entity) {
            generateIdIfNeeded();
        }
    });
    $proxy.modifyListeners().addPreUpdateListener(new PreUpdateListener<EntityWithTwoConstructors>() {
        @Override
        public void preUpdate(EntityWithTwoConstructors entity) {
            generateIdIfNeeded();
        }
    });
}

I don't know if this is an expected behavior or an issue. Naturally, In this particular case, one could simply add the default id in the overloaded constructor (or simply call the generateIdIfNeeded() manually). But if the callbacks signed with PreInsert/PreUpdate becomes more complex, this could lead to a problem.
I'm testing it in 1.5.1.
Great work!

You should call the primary constructor from your secondary constructor. Most tools only ever use one constructor anyway, typically marked with an annotation if there are multiple constructors available. I imagine requery works no different.

Thanks for your feedback @consp1racy . However, calling the primary constructor from the secondary one doesn't seem to change this behavior.
This is the secondary constructor:
public AbstractEntityWithTwoConstructors(String name) {
    this();
    this.name = name;
}

This test fails:
@Test
fun `test entity with overloaded constructor`() {
    val entity = EntityWithTwoConstructors("my name")
    repo.store.upsert(entity).blockingGet()
}

Resulting in:
Caused by: org.h2.jdbc.JdbcSQLException: NULL not allowed for column "ID"; SQL statement:
merge into EntityWithTwoConstructors (id, name) key (id) select ?, ? from DUAL [23502-196]
Did I get something wrong? Maybe it would be better if the generated secondary constructor would also add the listeners the same way the primary constructor does.
Again, one can simply deal with it as it is (as you even mentioned, by using only the simple constructor), it is perfectly ok.


[BUG] deepspeed Chat. OOM when running "single_node" mode because deepspeed is assigning calculating job to a small display card instead of other four A100 gpu cards

Describe the bug
i have 5 gpus card on my machine, 0,1,2,4 are A100 and gpu-3 is a small capacity display card(4GB), but the deepspeed is running on the gpu-0,1,2,3 including the small-memory display card
To Reproduce
Steps to reproduce the behavior:

Go to 'DeepSpeed/DeepSpeedExamples/applications/DeepSpeed-Chat'
make a little modification to enable 4 gpus for "single_node" mode from the default 8 gpus (   ```
if args.num_gpus == 1:
args.script_type = "single_gpu"
elif args.num_gpus == 4:  # here replace 8 with 4
args.script_type = "single_node"
elif args.num_gpus == 64:
args.script_type = "multi_node"

3. see the program is occupying the GPU-0,1,2,3 so an OOM bug occurs

**Expected behavior**
 the program is occupying the GPU-0,1,2,4 except the small-memory display card gpu-3

**ds_report output**

DeepSpeed C++/CUDA extension op report
NOTE: Ops not installed will be just-in-time (JIT) compiled at
runtime if needed. Op compatibility means that your system
meet the required dependencies to JIT install the op.
JIT compiled ops requires ninja
ninja .................. [OKAY]
op name ................ installed .. compatible
[WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
[WARNING]  async_io: please install the libaio-dev package with apt
[WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
async_io ............... [NO] ....... [NO]
cpu_adagrad ............ [NO] ....... [OKAY]
cpu_adam ............... [NO] ....... [OKAY]
fused_adam ............. [NO] ....... [OKAY]
fused_lamb ............. [NO] ....... [OKAY]
quantizer .............. [NO] ....... [OKAY]
random_ltd ............. [NO] ....... [OKAY]
[WARNING]  sparse_attn requires a torch version >= 1.5 but detected 2.0
[WARNING]  using untested triton version (2.0.0), only 1.0.0 is known to be compatible
sparse_attn ............ [NO] ....... [NO]
spatial_inference ...... [NO] ....... [OKAY]
transformer ............ [NO] ....... [OKAY]
stochastic_transformer . [NO] ....... [OKAY]
transformer_inference .. [NO] ....... [OKAY]
utils .................. [NO] ....... [OKAY]
DeepSpeed general environment info:
torch install path ............... ['miniconda3/envs/rlhf_deepseed/lib/python3.8/site-packages/torch']
torch version .................... 2.0.0+cu117
deepspeed install path ........... ['miniconda3/envs/rlhf_deepseed/lib/python3.8/site-packages/deepspeed']
deepspeed info ................... 0.9.0+0b5252bb, 0b5252bb, master
torch cuda version ............... 11.7
torch hip version ................ None
nvcc version ..................... 11.6
deepspeed wheel compiled w. ...... torch 2.0, cuda 11.7

**Screenshots**
<img width="417" alt="image" src="https://user-images.githubusercontent.com/64009988/232102534-056ab150-53e2-4a12-b190-14d4886d6aa8.png">

**Launcher context**

python train.py
--actor-model facebook/opt-1.3b
--reward-model facebook/opt-350m
--num-gpus 4
--output-dir ./output2
--step 1 2 3

**Docker context**
Are you using a specific docker image that you can share?
i am not using docker

@feiliya333 Please update your DeepSpeedExamples repo with the latest changes. We've replaced --num-gpus with --deployment-type. In your case, you would want to run with the option --deployment-type single_node.
With the latest changes, run the script and in the output you will see which bash script is being executed. Modify the line with deepspeed in that bash script and add --include=localhost:0,1,2,4 (directly after deepspeed). This will restrict which GPUs DeepSpeed runs on.

The solution to the GitHub issue provided by the contributor @mrwyattii seems to be right. Here's a summary of the solution:

Update your DeepSpeedExamples repository with the latest changes. The --num-gpus flag has been replaced with --deployment-type. In your case, you should use --deployment-type single_node.

Run the script with the latest changes, and you will see which bash script is being executed in the output.

Modify the line with deepspeed in the executed bash script and add --include=localhost:0,1,2,4 (directly after deepspeed). This will restrict which GPUs DeepSpeed runs on, and it will not use the small-memory display card gpu-3.
Here's an example of how to modify the bash script:
# Original command
deepspeed train.py --deepspeed_config config.json

# Modified command
deepspeed --include=localhost:0,1,2,4 train.py --deepspeed_config config.json

By following these steps, you should be able to avoid the OOM issue by excluding the small-memory display card GPU-3 from the training.

the problem has been solved! thanks so much for help!


Eighty seven warnings in esp-idf release 1.0

Hi,
Congratulations on releasing esp-idf 1.0 including extensive documentation!
After clean build of of 01_hello_world example I see almost 90 warnings.
Most of them coming from component/bt.
Do you see the same?
This number of warnings is distinctive so one can miss warnings flagged for own code.

maybe such checks should be part of the CI system?

This was supposed to be part of CI check, but was cleverly worked around in component makefile.
https://github.com/espressif/esp-idf/blob/master/make/build_examples.sh#L24
We are tracking this issue internally and will have a fix soon.

This should be fixed, including a CI check for warnings to avoid regressions.
Please open if you see other spurious warnings appearing.


[Swift 3] Navigation Left & Right Buttons Hidden but Functional When Using Tools

I managed to make the navigation bar items show in the view with the carousel of tools to pick from, but when I choose a tool to edit my image, the left and right buttons in the navigation bar are hidden  even though I can click on them. I am pushing the view controller instead of presenting it.

Does that mean you made any changes?

We found the issue. We had UINavigationBar.appearance().tintColor = .whiteColor() for our app's navigation bar, so changing it to UINavigationBar.appearance().tintColor = .blackColor() fixes the problem.


Config_file, emission sheet

The name of the columns in the emission sheet of the config file are not coincident with the name of columns while reading them.

Solved by commit: 22e14bc9bbb043c4d7dbf5b881d9dadbce6c0de1


Improve w3f grants website

Changes:

decreased w3f logo resolution for better performance

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


adapta-gtk-theme: <IP_ADDRESS>8 -> <IP_ADDRESS>

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/adapta-gtk-theme/versions.
These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
directory tree listing: https://gist.github.com/5796929fde76fddc1465d9cfbc2ace7b

cc @romildo for review

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: adapta-gtk-theme
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: adapta-gtk-theme
Partial log (click to expand)
make[3]: Leaving directory '/build/source'
make[2]: Leaving directory '/build/source'
make[1]: Leaving directory '/build/source'
glibPreFixupPhase
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/dj0yy6hz52hmkwx96471flh4if9gxfjf-adapta-gtk-theme-<IP_ADDRESS>
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/dj0yy6hz52hmkwx96471flh4if9gxfjf-adapta-gtk-theme-<IP_ADDRESS>
checking for references to /build in /nix/store/dj0yy6hz52hmkwx96471flh4if9gxfjf-adapta-gtk-theme-<IP_ADDRESS>...

Failure on aarch64-linux (full log)
Attempted: adapta-gtk-theme
Partial log (click to expand)
ar: `u' modifier ignored since `D' is the default (see `U')
  AR       libdepixelize/libdepixelize.a
ar: `u' modifier ignored since `D' is the default (see `U')
  AR       2geom/lib2geom.a
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    inkscape
  CXXLD    inkview
building of '/nix/store/p7l43adq4qsvyqvydxka443c3amddkzr-inkscape-0.92.3.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/bjh0jcd9bpf7cflkbhvp3s3lw66bwdlk-adapta-gtk-theme-<IP_ADDRESS>.drv': 1 dependencies couldn't be built
error: build of '/nix/store/bjh0jcd9bpf7cflkbhvp3s3lw66bwdlk-adapta-gtk-theme-<IP_ADDRESS>.drv' failed


Remove JsonListWriter because it's memory intensive

This was holding the whole list in memory, which is not suitable for
large datasets. Rather we can write one JSON object per line, which is
more memory efficent

This writer was used to facilitate early mapping for VIVO imports and is no longer needed. We should get the build passing.


Feature request: disallow ++

I had some Stan code that had the lines
idx <- 0;
shparms[++idx] <- logit_lambda;

thinking that I was using the pre-increment operator on idx. Instead, it appears that "++idx" was interpreted as +(+idx), i.e., just idx. This is correct according to the published syntax reference, but unexpected. I suggest that "++" should be parsed as one token and, as long as pre-increment isn't supported, should give an error.

Good point.  This is very confusing.  And it'll probably
also crop up with x-- + x, which I'm guessing would get parsed as
(x - (-+x)) == (x + x).
I see four options

add ++x and --x to Stan's language with the usual semantics

trap uses of ++x, --x, x++, x-- and print warnings

trap uses and raise an error

just get rid of (+x) as it's useless from within Stan itself
(and frankly, also pretty useless within C++ itself, but we
want to leave it there so all C++ programs work as expected).

Does anyone else have an opinion?  And if we go with the first option,
do we also add post increment,

add x++ and x-- to the language

Bob

On Mar 14, 2015, at 5:04 AM, Kevin S. Van Horn<EMAIL_ADDRESS>wrote:
I had some Stan code that had the lines
idx <- 0;
shparms[++idx] <- logit_lambda;
thinking that I was using the pre-increment operator on idx. Instead, it appears that "++idx" was interpreted as +(+idx), i.e., just idx. This is correct according to the published syntax reference, but unexpected. I suggest that "++" should be parsed as one token and, as long as pre-increment isn't supported, should give an error.
—
Reply to this email directly or view it on GitHub.

Would it be possible to only allow x++ and ++x for ints only?
If so, I would vote including ++ for ints and option 3, trap and raise an
error.
If not, then option 1. I'd also want a += type operator, but not sure what
that would look like. <+ looks weird to me, but I also had to get used to
<-.
On Friday, March 13, 2015, Bob Carpenter<EMAIL_ADDRESS>wrote:

Good point. This is very confusing. And it'll probably
also crop up with x-- + x, which I'm guessing would get parsed as
(x - (-+x)) == (x + x).
I see four options

add ++x and --x to Stan's language with the usual semantics

trap uses of ++x, --x, x++, x-- and print warnings

trap uses and raise an error

just get rid of (+x) as it's useless from within Stan itself
(and frankly, also pretty useless within C++ itself, but we
want to leave it there so all C++ programs work as expected).

Does anyone else have an opinion? And if we go with the first option,
do we also add post increment,

add x++ and x-- to the language

Bob

On Mar 14, 2015, at 5:04 AM, Kevin S. Van Horn<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:
I had some Stan code that had the lines
idx <- 0;
shparms[++idx] <- logit_lambda;
thinking that I was using the pre-increment operator on idx. Instead, it
appears that "++idx" was interpreted as +(+idx), i.e., just idx. This is
correct according to the published syntax reference, but unexpected. I
suggest that "++" should be parsed as one token and, as long as
pre-increment isn't supported, should give an error.
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/stan/issues/1365#issuecomment-79549935.

Stanc3 errors with:
Syntax error in 'examples/bugs/test_model.stan', line 3, column 4 to column 5, parsing error:
 1:  transformed data {
 2:    int a = 0;
 3:    a++;
          ^
 4:  }

Ill-formed expression. Expect an expression after "+".
So closing.


Fix TestFlushCommitAfterCreatePipeline intermittent failures on CI

--- FAIL: TestFlushCommitAfterCreatePipeline (6.63s)
    require.go:153: /home/travis/gopath/src/github.com/pachyderm/pachyderm/src/server/pachyderm_test.go:1855
    require.go:155: No error is expected but got commit TestFlushCommitAfterCreatePipelinePipeline2e4c44ec50d6/TestFlushCommitAfterCreatePipelinePipeline2e4c44ec50d6:932fdb0d437841f587a467f267c86e98:9 was cancelled

We see this w some frequency. Rebuilding usually works.
I noticed this around the time this PR landed, but that could be total coincidence

Fixed via #1031.


Update version: Cisco.WebexTeams version <IP_ADDRESS>795

Description

Related #124954
Also remove version <IP_ADDRESS>612, <IP_ADDRESS>451 and <IP_ADDRESS>753

Checks

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

There's only 1 version in the package folder. What should I do to fix this problem?

Similar to https://github.com/microsoft/winget-pkgs/pull/125556#issuecomment-1806108539

Resolved in #125313 by @PckgrBot .


Create Flows

Catalog # 5
Link to Design (not updated yet)
Link to interim design docs
Maintainers:
Vikki Paterson, Chloe Poulter, Andrew Smith
Tasks

[ ] Initial review of design/existing code

Working in experimental package

[ ] Create a shell component which

[ ] Create ComponentName/ComponentName.js component file that renders props
in raw form (no styling or sub components, plain text OK)
[ ] Adds prop-types with comments for DocGen to
ComponentName/ComponentName.js
[ ] Add Doc file e.g. ComponentName.mdx with a brief description of the
component.

[ ] First engineering review/playback

Continuing in experimental package

[ ] Storybook - stories to cover design scenarios, story with long, min and
max content, etc
[ ] Doc tab in storybook derived from design docs with embedded stories where
appropriate
[ ] Code to include prop-types with comments for automated DocGen
documentation
[ ] Tests (written in React Test Library) to cover behavior from the
documented in the components mdx file.

Review and promote

[ ] Design review
[ ] Add design review issues addressed, issues raised or discounted.
[ ] Engineering review - Submit PR to promote component to production package
[ ] All engineering issues addressed, issues raised or discounted.

Andrew Smith has been working on significant updates to the create pattern after collaborating with multiple teams.  My understanding it that these updates are nearly finalised and he will be providing an update to the sketch file and the documented pattern soon.
(I can't seem to assign people/labels or find Andrew to tag on this!)

It is likely @vikkidpaterson that Andrew is not a member of the carbon-design-system org. He should @ josh black in the internal slack channel.

THIS QUESTION LIST IS A WORK-IN-PROGRESS
After an initial review of the available design documentation I have the following questions:
Major

The design pre-req's a Tearsheet component. When will the design for this be complete, and who will be implementing it?

Minor

The anatomy of the modal create flow differs from a standard Carbon Modal (e.g. has a subtitle). Is this intentional (as it implies the creation of a custom type of modal for create flows)?
Is the side panel design slide-in or slide-over?
Does the side panel design have to support multi-step flows (the design implies not)?
Is the side panel content scrollable? If so, which part(s) e.g. all, body only, header and body...?
Are there any responsive design considerations for the side panel design? E.g. is it still 480px wide at mobile sizes?

Hi all, Andrew Smith has asked me to share these videos here:

Thanks for adding these @chloepoulterdesign!
@moores2, Can this motion get added as we're building out this pattern?

Thanks for adding these @chloepoulterdesign!
@moores2, Can this motion get added as we're building out this pattern?

So, just to be clear - the first animation shows the left nav keeping in sync with the main content as the content is scrolled when 'show all available options' is on, and the second animation is showing the main content fading in and sliding down as the user moves from step to step, right?

Blocked by #183

@lee-chase Can you explain why this is blocked by the Tearsheet?
@moores2 How's the motion elements coming?

Hmm, @ampersandrew-IBM @moores2 the first planned implementation was on Tearsheets, which @moores2 was working on prior to being diverted onto other stuff.
Unblocking as the non-TearSheet implementations are not blocked.

Created separate issues for Modal and Side panel versions and have added them to the "To do" list. Moving this general issue out of "To do" to avoid confusion.
Also I'm unclear if we need a Full page common implementation, and have not create an issue for it yet


Ability to link services on devices

Environment

Python version:  3.6
NetBox version:  2.5.7

Proposed Functionality
Netbox should have a way to link services on devices. If one device provides a service, it should be able to link (connect) it on another device.
Use Case
I have a storage cluster with multiple 4U nodes, each with its own IP address, network interfaces, memory, CPUs, .... On netbox, I created an NFS service on each storage node (device).
Than, I have my servers that access this devices, they can mount the NFS of one specific storage node.
I would like to link multiple servers connecting to each storage device so we can track what is connected where.

This would amount to a major new feature, and unfortunately we're not currently accepting requests which would extend NetBox's scope (see the contributing guide). It's a topic we'll almost certainly revisit at some point in the future once the current backlog of feature requests has been addressed.


Wrong icons at notification bar on Huawei

Phone Huawei p20 lite.
Android 8. Emui 8.0.0
After install icons at notification bar look properly, but after few hours they changed to blank white circles, but functional works as expected.

Thank you for reporting. That is strange. I wasn't able to reproduce this however you should be able to use quick settings tiles instead as recommended for newer phones. Please let me know if it works for you.

Also, have tried switching the theme, or disabling transparency?

Closing after deploying the first stable release. Enjoy 1.0.1 :-)


Fbi crime rewrite

The PR includes

2008 to 2019 FRI Offenses Known to Law Enforcement tables URL
Branch files under google3/datacommons/mcf/crime to github
Clean CSV, including

add 2nd rape column when needed,
add population column if missing
remove duplicate entries under 2019
and etc

logic to convert to city MCF file

Will follow up with

add test
remote MCF logic and add TMCF logic
add country support

Want to get the first PR in, and then iterate over.

Adding @tjann who has some pending Crime stuff going.
tjann: don't feel obliged to review, but in case you were curious and wanted a glance :)

Adding @tjann who has some pending Crime stuff going.
tjann: don't feel obliged to review, but in case you were curious and wanted a glance :)

Could you add a README please? Could you please indicate which file is newly added vs. ported from the existing one in g3 so its easier to review?

Yes, adding README.
Except preprocess.py branched from datacommons/import/crime/pre_process.py
Everything else are branched from google3/datacommons/mcf/crime.
Do you want those information in the README?
However, I have touched all the python files, but not .csv files. Since those python file assume certain input files, which are different from what the code grabs from Web.

Could you add a README please? Could you please indicate which file is newly added vs. ported from the existing one in g3 so its easier to review?

Yes, adding README.
Except preprocess.py branched from datacommons/import/crime/pre_process.py
Everything else are branched from google3/datacommons/mcf/crime.
Do you want those information in the README?
However, I have touched all the python files, but not .csv files. Since those python file assume certain input files, which are different from what the code grabs from Web.

Could you add a README please? Could you please indicate which file is newly added vs. ported from the existing one in g3 so its easier to review?

Yes, adding README.
Except preprocess.py branched from datacommons/import/crime/pre_process.py
Everything else are branched from google3/datacommons/mcf/crime.
Do you want those information in the README?
However, I have touched all the python files, but not .csv files. Since those python file assume certain input files, which are different from what the code grabs from Web.

Thanks.
Since we're generating this with new code, we should have a list of steps to validate this against what's already in prod. Something like: https://screenshot.googleplex.com/Tct7enQa5eCeSXv
Also, this might be a good time to add some tests :)

Could you add a README please? Could you please indicate which file is newly added vs. ported from the existing one in g3 so its easier to review?

Yes, adding README.
Except preprocess.py branched from datacommons/import/crime/pre_process.py
Everything else are branched from google3/datacommons/mcf/crime.
Do you want those information in the README?
However, I have touched all the python files, but not .csv files. Since those python file assume certain input files, which are different from what the code grabs from Web.

Thanks.
Since we're generating this with new code, we should have a list of steps to validate this against what's already in prod. Something like: https://screenshot.googleplex.com/Tct7enQa5eCeSXv
Also, this might be a good time to add some tests :)

Could you add a README please? Could you please indicate which file is newly added vs. ported from the existing one in g3 so its easier to review?

Yes, adding README.
Except preprocess.py branched from datacommons/import/crime/pre_process.py
Everything else are branched from google3/datacommons/mcf/crime.
Do you want those information in the README?
However, I have touched all the python files, but not .csv files. Since those python file assume certain input files, which are different from what the code grabs from Web.

Thanks.
Since we're generating this with new code, we should have a list of steps to validate this against what's already in prod. Something like: https://screenshot.googleplex.com/Tct7enQa5eCeSXv
Also, this might be a good time to add some tests :)

Created doc https://docs.google.com/document/d/1Rr3Y1stgNF67cAvkXmmYJVgkEnvwGnZbB7-Z45o3kk8/edit#heading=h.uudtym8swmf1 and will follow the example and update the doc along the way.
Right now, I am still at the clean CSV and output TMCF stage.
Also add test as well as TODO.

Could you add a README please? Could you please indicate which file is newly added vs. ported from the existing one in g3 so its easier to review?

Yes, adding README.
Except preprocess.py branched from datacommons/import/crime/pre_process.py
Everything else are branched from google3/datacommons/mcf/crime.
Do you want those information in the README?
However, I have touched all the python files, but not .csv files. Since those python file assume certain input files, which are different from what the code grabs from Web.

Thanks.
Since we're generating this with new code, we should have a list of steps to validate this against what's already in prod. Something like: https://screenshot.googleplex.com/Tct7enQa5eCeSXv
Also, this might be a good time to add some tests :)

Created doc https://docs.google.com/document/d/1Rr3Y1stgNF67cAvkXmmYJVgkEnvwGnZbB7-Z45o3kk8/edit#heading=h.uudtym8swmf1 and will follow the example and update the doc along the way.
Right now, I am still at the clean CSV and output TMCF stage.
Also add test as well as TODO.

I was responding on reviewable.io which didn't let me post the comments post merge:

https://screenshot.googleplex.com/6CPLFwjTNCnhwy2
https://screenshot.googleplex.com/7jCnrx7hwNFic5y

Could because that I have submitted the PR.

SG. Will update in follow up cl.
Both old and new data. It's just I only used 2019 to test that code. Would run it against other years, update code if needed and add test.


Multiple Tooltip

Expected Behavior
Normally on tooltip with jquery, it makes all tooltips but when it's in pure javascript it only initializes 1 tooltip.
Current Behavior
This returns 1 item maybe thats why.  var elem = document.querySelector('.tooltipped');
Possible Solution
getElementsByClassName should be used I think.
Steps to Reproduce (for bugs)
Made pen for it.
https://codepen.io/anon/pen/GypyaW
When you are using jquery, it works but pure js version just initialize for the first item
Your Environment

Version used: 1.0.0-alpha.2
Browser Name and version: Chrome 63.0.3239.84
Operating System and version (desktop or mobile): Desktop - Mac Os

In our next release we have changed the way you init to support multiple initialization with javascript

use querySelectorAll() for multiple items.


Mappingselector not respected

Describe the bug
The documentation (https://www.getambassador.io/docs/emissary/latest/topics/running/host-crd/) states the following

If the Host specifies mappingSelector and the Mapping specifies hostname, both must match for the association to happen.

This doesn't seem to be true. We have a host that specifies a mappingselector and a mapping that specifies hostname and its labels don't match the host's mappingselector. Still there is an association.
To Reproduce
--- Host
kubectl get host.v3alpha1.getambassador.io emissary -o yaml
apiVersion: getambassador.io/v3alpha1
kind: Host
metadata:
  labels:
    app.kubernetes.io/managed-by: Helm
    emissary: cas
 ...
spec:
  ambassador_id:
  - cas
  hostname: <hostname>
  mappingSelector:
    matchLabels:
      emissary: cas
  ...
  tlsSecret:
    name: emissary-certs

--- Mapping
kubectl get mapping.v3alpha1.getambassador.io mapping -o yaml
apiVersion: getambassador.io/v3alpha1
kind: Mapping
metadata:
  labels:
    app.kubernetes.io/managed-by: Helm
    emissary: main
  ...
spec:
  ambassador_id:
  - cas
  bypass_auth: true
  hostname: <hostname>
  method: ^(GET|OPTIONS)$
  method_regex: true
  prefix: /our-prefix/
  tls: istio-upstream
  ...

The mapping still works, even though the mappingSelector doesn't match.
Expected behavior
No mapping association.
Versions (please complete the following information):

Emissary: 3.1.0
K8s: 1.23.9

Hi @wiegandf. This issue was fixed in the release of Emissary-ingress 3.2 and will be included in an upcoming 2.5 release as well for 2.x series support.
Here is the associated PR if you would like to take a look: https://github.com/emissary-ingress/emissary/pull/4506
And here are the release notes: https://www.getambassador.io/docs/edge-stack/latest/release-notes/
If you encounter any issues with the changes please re-open this issue and feel free to tag me.


Allow a point geometry to have only a text style

ol3-cesium failed to display a point feature which has only a text style, this PR fixes it.

this probably fixes #245 as well

The PR makes sense, thank you @oterral.


Wait for creation of source in topology inventory before sending inventory

TPINVTRY-544

@slemrmartin @agrare ready for another review.


Add Javadoc

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

FYI @tokle (92b628b)