Tab completion matches first parts of words in CmdLet names

Summary of the new feature/enhancement
As a C# dev and occasional PS user I want the tab completion to recognise and cycle the options for shorthand CmdLet names like New-AzResGroDep so that I don't have to type so much before the tab completion suggestions are a usefully short list.
In Visual Studio the suggestions work in this way, so entering this.LogFac would suggest this.LoggerFactory. This is convenient and now natural to a bunch of developers.
New-AzResGroDep would suggest New-AzResourceGroupDeployment
Thanks
Proposed technical implementation details (optional)
I've no clue how to do this. I feel bad now.

Wasn't something like this already implemented, @SteveL-MSFT?
I remember hearing about something that would expand tab completions by looking for acronyms or initialisms, did that ever make it in?

@vexx32 yes, PS6.2 has abbreviation expansion which will be non-experimental in PS7 preview2.  Basically, in @lukepuplett's example, n-argp would expand to New-AzResourceGroupDeployment.  It specifically works against the upper case letters so doesn't fuzzy match additional characters.  What @lukepuplett is suggesting is a bit different and more of an expanded version of the abbreviation expansion

Okay thanks folks, good news. My suggested behaviour was proposed simply because I'm used to Visual Studio's.
I must point out that the problems for me - and I'm assuming other people, too - are
Typing long commands.
Remembering the name of all the commands. Being able to enter some of the tokens I do remember and cycling them would help.
Matching on the initials would solve 1 but doesn't sound like it would help at all with 2.


Clicking on FAB multiple times trigger the Chrome search on Android

I'm facing this issue with the FAB button on Chrome for Android:
If you click on the button to open the FAB menu and then you want to close the menu and press on the FAB again, the chrome search function gets triggered.
Here's a video:
https://www.youtube.com/watch?v=FdrBzHQkQk4

Hmm this seems like it is trying to select the text for the ligature of the material icons. Have you tried setting the FAB to user-select: none;?

I tried to use the .click-to-toggle and now it behaves correctly on mobile. I'm fine with it since I didn't like the hover on desktop.


Autosize on chart doesn't seem to work

Can you please provide more info, like when it happens Thanks!

If I set the width and height to Auto and no matter what the alignment is, the view always looks like this

If I set a minimum width of 300 and minimum height of 125 I get this

Also, you will notice the other bug with the labels duplicating

About the sizing, this library does not modifies any size property, it only inherits from user control, I think it is an error in your code, the labels bug I am not able to reproduce it.

ok, let me take a look and see what I can find

did you solve this problem so I can close this issue?

closing issue since no more info


kubectl explain --recursive --depth 5

What would you like to be added:
Setting the maximum depth of the recursion could be helpful at times.
Why is this needed:
when you kubectl explain complex objects such as pods, it goes way to much in detail, so having a shorter desc would be helpful.

@novellizator I think this --depth <int> flag would be a good addition, along with --recursive and it will give better UX. User may want to see the first few levels of details to begin with and not the entire description of complex resources. I got the implementation for plaintext type of output, would like to take this up once it is triaged.


⚠ Jenkins Plugins Artifactory has degraded performance

In 0a85caa, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2709 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 30a47b5 after 47 minutes.


Normalize Sort in 2.0

Sort() on SearchDescriptor works in an unexpected way: you can call it multiple times and mutate SearchDescriptor's state. Where everywhere else chaining the same method twice will override the previous value in a descriptors state.
Proposal change from:
client.Search<T>(s=>s
    .Sort()
    .SortScript()
)

to
client.Search<T>(s=>s
    .Sort(sort=>sort
          .Ascending()
          .Descending()
          .ScriptDescending()
         ....
    )

Closed via #1646


python312Packages.python-smarttub: 0.0.37 -> 0.0.38

Diff: https://github.com/mdz/python-smarttub/compare/refs/tags/v0.0.37...v0.0.38

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] 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/)
25.05 Release Notes (or backporting 24.11 and 25.05 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

[ ] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 356436

x86_64-linux

:white_check_mark: 5 packages built:

home-assistant-component-tests.smarttub
python311Packages.python-smarttub
python311Packages.python-smarttub.dist
python312Packages.python-smarttub
python312Packages.python-smarttub.dist


[Feature Requests] Monitor / Validate SSL, Monitor pages for errors/text on page, Daemon / API mode w/ callback posting after scan.

Possible feature request, if it doesn't.
Actually a few additions could be nice:

SSL chain validation and monitoring.
Api/Daemon mode. Set an api-key in a config, then you can send a post request to the server: ip:port with the following payload: { key : '', urls: [array] | [url/to/files.gzip], callbackurl }

Use case: You could deploy the daemon on multiple serverless setups to get stats around the world, and have a central db/site just call out to these satellite nodes.
3. Monitor a page for text/data on the page, or specific criteria, easy enough for non-dynamic pages, may need headless chrome or something for react/vue vendered pages.

@patrickcurl That is a brilliant idea!
When I created the module I just wanted to monitor a few websites that I was managing but I have been expanding the scope recently.
I think in the next version I will add support for API  endpoint monitoring.
What do you think about the api below? (suggestions welcome)
const Monitor = require('ping-monitor').apiMonitor;

const apiMonitor = new Monitor({
    url: 'https://api.ragingflame.co.za',
    interval: 10,
    httpOptions: {
        // http options: https://nodejs.org/api/http.html#http_http_request_url_options_callback
     },
    expectedResponse: {
        statusCode: <Integer>,
        validateResponse: function(res) {
            // return true if passed
        }
    }
});

apiMonitor.on('up', function (res, state) {
     // res <http response>
    // state <monitor state>
});

apiMonitor.on('down', function (res, state) {
     // res <http response>
    // state <monitor state>
})


[DISCUSSION] Thoughts on Code Layout & System Design

I'm not set in stone on the design or code layout of this project. Feel free to provide thoughts and insights you might have if you believe a better or more efficient methods exists.

so far from what I've seen all looks good. the making a table for each file and attaching the functions to the table, is a really cool thing that makes the code quite a bit more readable than anything I've done.


fix: Remove extra whitespace in the untitled editor label

This PR fixes #107979
Normalize multiple whitespaces to a single whitespace for the untitled editor label:
Before:

After:

Some Updates:

Add logic in case cachedModelFirstLineWords is undefined
Change regex /\s{2,}/ to /\s+/ because it's reasonable to replace tab or form feed to one whitespace.

Is there any issue happened in pipline of test? It seems like it cannot process normally. @bpasero

Thanks!


Sets : STL in C++

Description 📜
Describing the SETS container and it's respective functions in the form of code and documentation

Domain of Contribution 📊

[x] C/CPP

/assign

/assign

/assign

/assign


Reading text from PDF

Hey,
I'm using pdf-reader to extract text from arbitrary pdf files, which works well in mose cases.
But I have pdf documents, where the text extraction returns complete "letter salad". The PDF itself seems valid, I can open and print the file in Adobe Reader, I can copy text out of it, and text extraction with other programs like pdftotext went well.
pdf-reader output:
$ reader.pages[1].text
F   P    d   e    P   G    w   V   s    H   D      m    t   B      f   a    d   b    u   m    w   V      E   F    .     Thanks in advance, Ulf

The text extraction for the sample file you sent me is significantly better starting in 2.7.0, I suspect due to the fix in #403.
Sorry it took so long to get it sorted!


Incompatible with object-curly-spacing settings from eslint

After the last update there was changed behavior and once it is sorted, spaces after { and before } are removed. We use http://eslint.org/docs/rules/object-curly-spacing

"object-curly-spacing": [2, "always"].

Before save:

import React, { Component } from 'react';

After save:

import React, {Component} from 'react';

It is possible to respect eslint settings? Or add this setting to the atom.io plugin?

Oh, I didn't think about that. Sorting named members is trickier than expected. I don't want to parse ESLint's config, but perhaps an auto-detection would work. That is, when a space after (or before) the { (or }) is detected, it will keep those spaces. Would that work for you?
I am going to try to fix it tomorrow or the day after.

Yes the auto-detection would be great!

I added this feature to the new release. Let me know if it works for your!

It works great! Thx!


Remove writer class

Describe the bug
In #3733 the internal writer class was refactored to use a batch writer.  Also some code was refactored to use the batch writer directly instead of the writer.  The remaining code use the writer class is the replication code, so it may be easy to completely remove the class in 3.1.x.
The writer class used to use the single mutation RPC mentioned in #3734.

If #3733 is split into two tasks: one to refactor to use the batch writer, and the other to fix the BatchWriter's writes-after-close bug, then when the first task is merged forward, we can just delete it from 3.1, since it will be unused in 3.1 after that. Right now, it's hard to do that separately, because the changes in #3733 that would allow us to do this are currently entangled with the bugfix there.


Wayland fullscreen broken with Plasma 5.20

I updated to Plasma 5.20 this week, and I am unable to make my RDP windows take up the whole screen.
Steps:

RDP to any machine on Plasma 5.20.
Right click the window top bar and check "Fullscreen". Plasma now sends all keystrokes to the client machine, so ctrl+meta+f does not work. I think this is a good thing, though!

Expected behavior: The window takes up the whole screen.
Actual behavior: The window extends downward behind the taskbar, but the title bar remains at the top.
Version: 3.0.0-dev
"wlfreerdp /u:'my-domain\my-user' /f /p:my-pass-here /cert:ignore /dynamic-resolution /v:my-url"
Build config:
This is FreeRDP version 3.0.0-dev (03128d515)
Build configuration: BUILD_TESTING=OFF BUILTIN_CHANNELS=ON HAVE_AIO_H=1 HAVE_EXECINFO_H=1 HAVE_FCNTL_H=1 HAVE_INTTYPES_H=1 HAVE_JOURNALD_H=TRUE HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL= HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=ON WITH_CAIRO=OFF WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=ON WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF_AVAILABLE=0 WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=ON WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=ON WITH_FAAD2=ON WITH_FFMPEG=TRUE WITH_FFMPEG=TRUE WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=ON WITH_GSSAPI=OFF WITH_ICU=OFF WITH_IPP=OFF WITH_JPEG=OFF WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=ON WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENCL=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PCSC=ON WITH_PROFILER=OFF WITH_PULSE=ON WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=OFF WITH_SERVER_INTERFACE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SOXR=OFF WITH_SSE2=ON WITH_SWSCALE=OFF WITH_THIRD_PARTY=OFF WITH_VAAPI=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_WAYLAND=ON WITH_WINPR_TOOLS=ON WITH_X11=ON WITH_X264=OFF WITH_XCURSOR=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XV=ON WITH_ZLIB=ON
Build type:          Debug
CFLAGS:               -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -DWINPR_DLL
Compiler:            GNU, 9.3.0
Target architecture: x64

Connecting to Windows Server 2016
Client OS: Arch Linux running KDE Plasma 5.20
I have no knowledge of how compositors work, but I did a little debugging anyway. If I had to guess, this is a UWAC problem not telling kwin that the window is in full screen?

I should mention that the "Fullscreen" checkbox in Plasma never shows as checked.


URHO3D_WIN32_CONSOLE does not show up as an available option in cmake.

Of course it still works as an option if explicitly set as a entry,  But it would be a nice to have if it showed up along with the other options in cmake-gui


Some code snippet can make slidev crash

I try to embed this code in a slide, but it seems to make slidev crash.
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://(?:api[\.-])?{{core.domain.sub}}\.{{core.domain.ext}}$
###< nelmio/cors-bundle ###

To reproduce, run npm init slidev and add this snippet surrounded with usual three backticks and langage into first slide.

Please note that removing ^https?://(?:api[\.-])?{{core.domain.sub}}\.{{core.domain.ext}}$ part from the snippet make things work, so it seems there's something in the regex that triggers the crash.

I have narrowed things down, and it seems to crash because of the mustache {{...}} pattern if it occurs more that one time.
Pass
{{a}}

Pass
{{b}}

Fail
{{a}} {{b}}

And the stacktrace, it seems to crash in vite vue plugin.
[vite] Internal server error: Cannot read property 'line' of undefined
  Plugin: vite:vue
  File<EMAIL_ADDRESS>      at createRollupError (C:\Users\FRUP67305\projects\MENJ-Accompagnement-Dev-Workflow\node_modules\@vitejs\plugin-vue\dist\index.js:4092:29)
      at C:\Users\FRUP67305\projects\MENJ-Accompagnement-Dev-Workflow\node_modules\@vitejs\plugin-vue\dist\index.js:4346:51
      at Array.forEach (<anonymous>)
      at transformMain (C:\Users\FRUP67305\projects\MENJ-Accompagnement-Dev-Workflow\node_modules\@vitejs\plugin-vue\dist\index.js:4346:12)
      at TransformContext.transform (C:\Users\FRUP67305\projects\MENJ-Accompagnement-Dev-Workflow\node_modules\@vitejs\plugin-vue\dist\index.js:4665:16)
      at Object.transform (C:\Users\FRUP67305\projects\MENJ-Accompagnement-Dev-Workflow\node_modules\vite\dist\node\chunks\dep-e9a16784.js:44268:53)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
      at async transformRequest (C:\Users\FRUP67305\projects\MENJ-Accompagnement-Dev-Workflow\node_modules\vite\dist\node\chunks\dep-e9a16784.js:58540:29)
      at async viteTransformMiddleware (C:\Users\FRUP67305\projects\MENJ-Accompagnement-Dev-Workflow\node_modules\vite\dist\node\chunks\dep-e9a16784.js:58678:32)

Works fine for me, have you upgraded to the latest version?

Slidev  v0.12.1

Important stuff, and i'm sorry about that, I run on Windows NodeJS 14.17.0. I'll give a try on my linux computer right now.

Ah, why are you using ### instead of ```? If they are not inside of code blocks, mustache are treated as Vue template interpretations.

### Are comments inside the snippet I want to display in slide. But anyway, I can reproduce the error without those symbols, on Linux Ubuntu too.
Please clone this minimal reproduction repository : https://github.com/Toilal/slide-issue-repro
npm install & npm run dev, you should reproduce the crash.

I can reproduce this error on my machine:
[plugin:vite:vue] ENOENT: no such file or directory, open<EMAIL_ADDRESS>
strange message, not sure where is the problem yet.


Upgrade library to use React v18

please upgrade library to use React v18
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-is": "^17.0.2",

Please resolve all application code changes
Please create your branch from release/0.5
git checkout release/0.5
git pull
git checkout -b 'feature/react-upgrade'

PR create #304


Can't get 3440x1440 resolution for external monitor. HP8570p (HD4000)

Hey Chris,
Did you try to connect hi-res external displays to your hackintosh?
In my case, everything works nearly great but the UltraWide monitor with 3440x1440 is able to operate on at 1080p only.
Whereas in Windows I can get it works, perhaps in Linux as well (not tested).
Will appreciate any advise.
Cheers,
Paul

I not try, I only have 3 monitor 1080p
Seee on WhateverGreen maybe some boot args do this ?


Publish to npm?

Hi, are you considering publishing the package to npm? It would be easier for people to integrate it into projects then. Thanks!

That’s a great idea @peilingjiang , I’ve published others @LingDong- project to npm, I can help with a bundling setup if you need @LingDong- please let me know!
Ps Another awesome project! I published a simple example on Observable https://observablehq.com/@radames/hello-q5-js the modularity of your version makes it perfect for that environment

Hi @peilingjiang @radames,
Thanks for the suggestion! I decided to figure out publishing on npm, looks like I'm doing it right :) It's now at:
https://www.npmjs.com/package/q5xjs
@radames thanks for the nice demo on Observable!

@LingDong- perfect! thanks for doing that, I've update the source on my test to npm and it works great!

It would be great to include in the docs how to add the script by ecmasript import (not only script tag)
I have trouble getting it working with react...

It would be great to include in the docs how to add the script by ecmasript import (not only script tag)
I have trouble getting it working with react...

@moonclimber1 It's because the function is not exported from the original file, simply change the first line
- function Q5(scope){
+ export default function Q5(scope){

and import it in your file like
import Q5 from 'path/to/q5.js'

Given the fact that you'll need to modify the file to get it to work, you'll not be able to use npm. Instead, you can fork the repo (if you want to then manage your own version of q5.js) or directly download the file.


[Patterns] No error if always-exhaustive type variable not exhaustive in a swith statement

According to the Patterns specification

Switch statements must only be exhaustive when the matched value is an always-exhaustive type, defined as:
...

A type variable X with bound T where T is always-exhaustive

But the following code produces no expected errors in both analyzer and CFE.
sealed class Sealed {}
class C1 extends Sealed {}
class C2 extends Sealed {}

test1<T extends Sealed>() {
  switch (T) {
//^^^^^^
// [analyzer] unspecified
// [cfe] unspecified
    case C1:
  }
}

test2<T extends bool?>() {
  switch (T) {
//^^^^^^
// [analyzer] unspecified
// [cfe] unspecified
    case bool:
  }
}

Tested on the edge SDK (March 29, 2023) on Linux x64

Thank you for clarification. I updated my tests and believe that this issue can be closed


Update land data in the analysis file from the boundary data

Done.  However, better to keep to land surface temperature not updated?


fix: eslint-config-eslint desc

it contains the ESLint configuration used for projects maintained by the ESLint team.

Thank you!


Add async modifier for ProxyHttp::response_body_filter

What is the problem your feature solves, or the need it fulfills?
Sometimes it is necessary to add some asynchronous operations in this method.

Ditto here.  I need to be able to call async logging functions, async requests out to external processes, etc.
No problem with request_body_filter, it's already asynchronous.  This appears to be the lone hold out.  Also the last thing I went to implement, so just noticed it after writing a pile of async code I call from request_body_filter that I can't call from response_body_filter


Add additional support for more JSON Schema keywords (minLength, maxLength, etc.)

What are the steps to reproduce this issue?

I ran orval against an OpenApi 3.0 spec with some of the following rules and saw no reference to them:

AnObjectDto: {
  type: "object",
  properties: {
    key: {
      maxLength: 30,
      minLength: 0,
      pattern: "\A(\w|-)+\Z",
      type: "string"
    },
    name: {
      maxLength: 100,
      minLength: 0,
      pattern: "\A(?!\s*\Z).+\Z",
      type: "string"
    },
    // ...
}

What happens?
I see no references to maxLength, minLength or pattern and I'd suspect other keywords are missing as well.
I do see references to enums, which is great!
What were you expecting to happen?
I'd expect either an object with references to these rules to be created or even individual constants created similar to how enum is treated.
Ideally:
export const AnObjectDtoKey = {
  maxLength: 30,
  minLength: 0,
  pattern: "\A(\w|-)+\Z"
};

Or:
export const AnObjectDtoKeyMaxLength = 30;
export const AnObjectDtoKeyMinLength = 0;
export const AnObjectDtoKeyPattern = "\A(\w|-)+\Z";

Any logs, error output, etc?
None seen
Any other comments?
Love the library and I'm really hoping I can leverage it to help with data validation.
I primarily use Yup for client validation and I could take one of these generated values and use it along with it.
What versions are you using?
Operating System: macOS 12.2.1 (Monterey)
Package Version: 6.5.3
Browser Version: Brave Version 1.35.103 Chromium: 98.0.4758.102 (Official Build) (x86_64)

Currently we support zod and you can use these in your schema validation.


Update build configuration

The build configuration of this project is outdated and may no longer work.
This pull request will be merged automatically if there are no conflicts.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unable to install PowerShell using winget

Brief description of your issue
Looks like winget is unable to pick the requested app with the name when there are multiple matchings found, it is not even working with the --version argument.
When I tried to install the PowerShell, it throws the warnings below, and not going to install it...
PS C:\WINDOWS\system32> winget install powershell
Multiple apps found matching input criteria. Please refine the input.
Name               Id                           Version         Matched
-------------------------------------------------------------------------------
PowerShell-Preview Microsoft.PowerShell-Preview 7.1.0-preview.3 Tag: powershell
Powershell         Microsoft.Powershell         7.0.1

PS C:\WINDOWS\system32> winget install --name Powershell --version 7.0.1
Multiple apps found matching input criteria. Please refine the input.
Name               Id                           Version
---------------------------------------------------------------
Powershell         Microsoft.Powershell         7.0.1
PowerShell-Preview Microsoft.PowerShell-Preview 7.1.0-preview.3

Steps to reproduce
Run the commands below...
winget install powershell
winget install --name Powershell --version 7.0.1

Expected behavior
Either PowerShell should be installed or prompt for the actual package name.

Actual behavior
Neither PowerShell is installed nor prompt for selection.

Environment
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19631.1
Package: Microsoft.DesktopAppInstaller v1.0.41331.0

Links:
  Privacy Statement: https://aka.ms/winget-privacy
  License agreement: https://aka.ms/winget-license
  3rd Party Notices: https://aka.ms/winget-3rdPartyNotice
  Homepage:          https://aka.ms/winget

It is the same with edge browser as well...
PS C:\WINDOWS\system32> winget install 'Microsoft Edge'
Multiple apps found matching input criteria. Please refine the input.
Name                Id                 Version     Matched
----------------------------------------------------------------------
Microsoft Edge      Microsoft.Edge     83.0.478.37
Microsoft Edge Beta Microsoft.EdgeBeta 83.0.478.37 Tag: Microsoft Edge
Microsoft Edge Dev  Microsoft.EdgeDev  84.0.516.1  Tag: Microsoft Edge

Okay, it looks like I need to use --exact flag. So closing this issue. Thank you.

I think it should be nicer with us and suggest the "exact" flag in those cases.... it really made me lost some time.

I'd like to suggest it to have the same sintaxe as docker... @latest, @preview, etc. and if you didn't explicit put the tag, it should assume the @latest...


fix: add missing build on circle ci

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat(backend): use carlo instead of puppeteer

It is work in progress pull request.
All migration work is finished, there are couple bonus points, e.g. file system is implemented from scratch and should be much faster and more reliable.
One important piece is missing: in case when Chrome is not installed, ndb should be able to download latest Chrome by itself and use it for feature parity with previous ndb releases.

@ak239 when using puppeteer, the user have an option to skip downloading chromium binary and use the one installed in the OS by PUPPETEER_SKIP_CHROMIUM_DOWNLOAD. It looks like there's no option for it after move to carlo?


Contact

Hi OpenRefine team,
I tried to contact you through<EMAIL_ADDRESS>but it seems the group no longer exists or unable to receive messages.
I approach to you regarding security issues found, please get back to me at<EMAIL_ADDRESS>Thanks,
Hagai

Thanks, I am getting in touch.

@wetneb Will you fix the private email issue, or do we need to put another private email address in our SECURITY.md file https://github.com/OpenRefine/OpenRefine/edit/master/SECURITY.md

@thadguidry it would indeed make sense to make openrefine-coredev publicly reachable but I don't seem to be the owner/admin/… of that list, can you check if you could do it on your side?

@wetneb the original idea for using openrefine-coredev email was that for security matters to have a private email to allow outside users to send an email to our team and where the messages are not seen publicly as our other email mailing lists.  The openrefine-coredev Google group is private and has the current description of "OpenRefine Project Management Committee (PMC)" private mailing and @magdmartin is the actual owner of that one.  So...
@magdmartin Thoughts ?


Magick::QuantumDepth is now missing

Not sure if this constant was deprecated or accidentally removed.  Present in 2.13.3, but not in 2.13.4.
$> gem 'rmagick', '=2.13.3'
 => true
$> require 'rmagick'
 => true
$> Magick::QuantumDepth
 => 8

$> gem 'rmagick', '=2.13.4'
 => true
$> require 'rmagick'
 => true
$> Magick::QuantumDepth
NameError: uninitialized constant Magick::QuantumDepth

Oh, looks like defined as Magick::MAGICKCORE_QUANTUM_DEPTH now in https://github.com/gemhome/rmagick/commit/363e4e5249ea749ec74253dfe91650a7eb131e71, might of been intentional.

As you say, QuantumDepth was deprecated and replaced with MAGICKCORE_QUANTUM_DEPTH.
Please use MAGICKCORE_QUANTUM_DEPTH :)


5.0.0 release prep

Git diff here: https://github.com/reactjs/React.NET/compare/release-4.1.1...7ed661e4fb4def2d35e3510d1be643ac0aa7006c
Notable changes:

Typescript support via Babel 7
JSON.NET 12 dependency
Source link & symbols published to NuGet
.NET Core 3 support (preview)
Performance improvements (19d18b134c2e707ce79d8c82316c0ab052ef0c16)
Output caching support (#858)

Nice!


Misc UX: Pull Request Description page

Header left-alignment is very strange... There seems to be none.

The white decorations don't work well in light themes:

The row separators are omitted in most themes:

Code snippets use non-monospace font:

Multiple reviews in the same file are strangely rendered:

Commit rows could be aligned with the comment rows. Right now they look like:

They could probably look much more aligned with github's:

That way every row would start with an avatar, which is good alignment.

There's a strange crop happening on PR 47144 from vscode:

@misolori already addressed these issues.


CodeArea in Tab

When I put CodeAreas in a Tab, the first Tab is shown correctly, the other Tabs with other CodeAreas show just the scrollbar, not the content. I think its the Problem, that they are marked at invisible and need to be set to visible (FIX: override setVisible, so that the content is visible, too)
Code:
//To set it visible
mainPane.getSelectionModel().selectedItemProperty().addListener(
                new ChangeListener<Tab>() {
                    @Override
                    public void changed(ObservableValue<? extends Tab> ov, Tab t, Tab t1) {
                        System.out.println("changed");
                        if(t!=null)
                            t.getContent().setVisible(false);
                        t1.getContent().setVisible(true);
                    }
                }
        );
//TABCLASS
public class SyntaxEditorTab extends Tab{
    private SyntaxEditor editor;
    private File file;
    public SyntaxEditorTab(Settings mainSettings){
        editor = new SyntaxEditor(mainSettings);
        this.setContent(editor);
    }
    public SyntaxEditorTab(Settings mainSettings,File tmp){
        editor = new SyntaxEditor(mainSettings);
        file=tmp;
        editor.setFile(tmp);
        this.setText(tmp.getName());
        this.setContent(editor);
    }
    public void setFile(File x){
        this.file=x;
        editor.setFile(x);
    }
    public SyntaxEditor getEditor(){
        return editor;
    }
}
//SyntaxEditorTab extends CodeArea

From your description, it seems more like a problem with TabPane than with RichTextFX to me. Do you think otherwise?

The Problem is, that TabPane set its content invisible, if the Tab is not shown.
If the Tab changes, only the Scrollbars are set to visible (not recursive to the StyledTextArea, I think.)
Maybe, it can be set visible, manually?
(I looked up the source and think, you use List to display the text. I think, they are not set to visible, if CodeArea is set visible).
I think its just bad-made by the Tab^^

I don´t know why, but I worked a littlebit and now its displayed... or not... Its just displayed sometimes, and sometimes not. I have no idea why, I will look for a reason...
I´m loading files, when doubleclicked at a TreeView. The same File is Displayed sometimes, and Sometimes not...

Now I found the difference. The CodeArea is displayed in Tabs, when it have no scrollbars. If there are any scrollbars and its not opened it the first tab, the content is not visible. SO I don´t think, its a problem of Tabs. But I don´t know.

Can you create a minimal self-contained test case that I can use to reproduce the problem?

I uploaded it at my Webside (.zip is not allowed here).
I hope it helps :)
http://kanashius.bplaced.net/Downloads/codeAreaExample.zip

Thanks, but unfortunately I was not able to reproduce the problem. I simplified the example to a single java file. Could you please try to run this and report back whether you observe the same problem?
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Tab;
import javafx.scene.control.TabPane;
import javafx.stage.Stage;

import org.fxmisc.richtext.CodeArea;

public class RichTextFXInTabPane extends Application {

    // generate some text
    private static final String TEXT1, TEXT2;
    static {
        StringBuilder sb1 = new StringBuilder();
        StringBuilder sb2 = new StringBuilder();
        for(int i = 0; i < 100; ++i) {
            for(int j = 100; j > i; --j) {
                sb1.append(i);
                sb2.append(100-i);
            }
            sb1.append("\n");
            sb2.append("\n");
        }
        TEXT1 = sb1.toString();
        TEXT2 = sb2.toString();
    }

    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws Exception{
        TabPane pane = new TabPane(
                new Tab("tab1", new CodeArea(TEXT1)),
                new Tab("tab2", new CodeArea(TEXT2)));
        primaryStage.setScene(new Scene(pane, 800, 600));
        primaryStage.show();
    }
}

Needed to rewrite TabPane pane = new TabPane(
new Tab("tab1", new CodeArea(TEXT1)),
new Tab("tab2", new CodeArea(TEXT2)));
, tab konstruktor error, could not create Tab with sting and codearea.
I made a Screenshot:

new Tab(String, Node) constructor is only available sine 8u40, which is also the minimum recommended version for RichTextFX. There were some text rendering issues prior to 8u40 anyway, so I strongly suggest to upgrade.

Ok, didn´t saw that. I will update... thought I had the newest Version...

Closing this as it doesn't seem to be an issue in JDK 8u40 and later.


Support multiple triggers for auto-save

The auto-save feature is very handy when working, but only supports one trigger at a time.

"onFocusChange" fits the workflow of editing in VS Code, then switching to a terminal, e.g. to run your code.
"afterDelay" is useful to prevent lost work when working on a file for a long time, but too short of delay can be annoying because many tasks, such as linters, run on save, thereby slowing down your computer.

It would be nice to allow both "afterDelay" and "onFocusChange" to trigger saves, so you could prevent lost work while also having files saved before running your program.
This could be easily exposed in the settings by changing files.autoSave to accept a list of strings, instead of a single string. For example:
"files.autoSave": ["afterDelay", "onFocusChange"],

Duplicate of #50035
Sorry, didn't find it before posting.


kabeljau: 1.1.0 → 1.2.0

Description of changes

Added a justfile to source code which builds app icon in different sizes and a .desktop file and puts them in the right place.

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

I added a comment on why Inkscape is needed and fixed a substitueInPlace.


Featured Image

Posts need a featured image, to be included somewhere in the body of the post (and Email). Should be an option on the right-hand side. If it is easy enough to designate one of the assets a "featured image" we should do that. If a solution on that is not easy to implement (i.e. in under 30 minutes), we should simply allow them to upload a featured image.

Will finish this tomorrow, however I did add the ability to add assets to the release (still needs work)

Great, this is very awesome @bflanagin!

Need to add the place holder image ,but the feature is complete.

Great, can't wait to see it.

Done


Error: Cannot find module './runtime'

When trying to upgrade from 7.0.2 to v7.0.2-canary.42 I can build ok but get the following error when hitting the first page:
{ Error: Cannot find module './runtime'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
    at Module.require (internal/modules/cjs/loader.js:636:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.uqG8 (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:1136:18)
    at __webpack_require__ (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:23:31)
    at Object.QcLC (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:569:18)
    at __webpack_require__ (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:23:31)
    at Object.ln6h (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:790:18)
    at __webpack_require__ (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:23:31)
    at Module.B5Ud (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:139:19)
    at __webpack_require__ (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:23:31)
    at Object.0 (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:106:18)
    at __webpack_require__ (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:23:31)
    at C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:91:18
    at Object.<anonymous> (C:\Users\Adam\code\public\next-reason-boilerplate\.next\server\static\pG0J7KxMZx_VHzleY1EvL\pages\_app.js:94:10) code: 'MODULE_NOT_FOUND' }

Error happens in dev and production setting.  Is this a known issue in canary.42 or is there something my codebase might be doing to cause it?
System information

OS: Windows 10
Version of Next.js: v7.0.2-canary.42

UPDATE:
I believe I have traced the problem to module babel-plugin-react-intl.  Problem seem to go away when I remove that module and these lines:
https://github.com/zeit/next.js/blob/master/examples/with-react-intl/.babelrc#L5-L18

Most likely not related to Next.js, we didn't even upgrade Babel in the canary releases as far as I can remember. The integration tests on Next.js are passing between stable and canary (canary has even more tests). It seems like you're importing a runtime module that does not exist in your app or something. Maybe it's related to babel caching? Try rm -rf node_modules/.cache.

@timneutkens Thanks for your feedback.  The with-react-intl example works in canary so there indeed must be something more going on.  Removing node_modules directory also seems to be required to .cache may indeed factor into this.   When I have more time I will try just clearing the cache rather than whole directory.  Will close ticket since I can live without the babel-plugin-react-intl functionality and will reopen if anyone else hits this issue as they upgrade.

Experiencing the same issue, however even deleting .babelrc and babel-plugin-react-intl didn't help in my case.

FWIW I've also run into this in an unrelated project. I believe it's due to @babel/plugin-tranform-runtime injecting that require statement, but then @babel/runtime is not handling it. It for sure has something to do with both those modules.
I was trying to transpile some React components using async/await with Babel 7. I ended up removing those two packages completely and requiring regenerator-runtime/runtime.js in the main entry point.


Technical issue in the TSS Assurance Activities for SFR FCS_CKM.1/SKG in HCD SD v1.0

An issue from Masatoshi Kawashima, Information Technology Security Center
HCD SD Version 1.0
Section 2.2.1. FCS_CKM.1/SKG Cryptographic key generation (Symmetric Keys)” of HCD SD, Section <IP_ADDRESS> TSS”
As last selection of FCS_CKM.1.1/SKG, one can select Section 6.1 or 6.3 of NIST SP 800-133 Rev.2. Section 6.1 of SP 800-133 describes symmetric keys that are directly generated from the output of an RBG, and Section 6.3 describes symmetric keys produced by combining keys and other data.
On the other hand, Section <IP_ADDRESS> of HCD SD says that the evaluator shall verify how the TOE obtains a symmetric key through direct generation from a random bit generator. This requirement is considered to be inadequate when SP 800-133 Rev.2 Section 6.3 is selected.
Proposed Resolution (if any):
The word “direct” should be deleted from Section <IP_ADDRESS> of HCD SD.

I have implemented the following fix:
<IP_ADDRESS>. TSS
The evaluator shall review the TSS to determine that it describes how the functionality described by FCS_RBG_EXT.1 is invoked and how the TOE obtains a symmetric key through direct generation from a random bit generator as specified in FCS_RBG_EXT.1 or by combining one or more keys and other data.
The fix is marked by the text in bold above.
The fix is available here:
https://github.com/HCD-iTC/HCD-iTC-Template/commit/38fb9dacec381bc2ca1c78264948a8cb5f23a7ca


Upload widget

Codecov Report

Merging #142 into master will increase coverage by 0.07%.
The diff coverage is 73.68%.

@@            Coverage Diff             @@
##           master     #142      +/-   ##
==========================================
+ Coverage   72.44%   72.52%   +0.07%
==========================================
  Files          18       18
  Lines         911      928      +17
==========================================
+ Hits          660      673      +13
- Misses        251      255       +4

Impacted Files
Coverage Δ

bowtie/__init__.py
100% <100%> (ø)
:arrow_up:

bowtie/control.py
68.09% <66.66%> (-0.09%)
:arrow_down:

bowtie/_layout.py
79.63% <77.77%> (+0.29%)
:arrow_up:

Continue to review full report at Codecov.

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


Ignore BQ_ vars that do not have property matches

Current behavior for invalid configs that can't be bound to property values is to throw. Which is reasonable and helps to debug YAML. However fairly often users have their shell environment polluted with BQ_ vars declaration (e.g. BQ_JDBC_MYDS_BADPROP), and a declaration that contains an invalid property will also cause an exception. This seems wrong though, as BQ_ vars are implicit and are not a part of the app startup command, so such exceptions come as a total surprise to the users. It becomes a cheap way to render any Bootique app inoperable.
The correct behavior should probably be to complain in the logs, but otherwise ignore the bad var.

See #124 - we are now supporting explicitly declared vars. So perhaps we add a "strict" mode for var parsing - only load declared vars:
// new default
BQCoreModule.ignoreUndeclaredVariables(binder);

// current behavior
BQCoreModule.useUndeclaredVariables();

BQ_ vars got deprecated. This is no longer relevant.


[STYLE CHANGE] Implement Transparent Navigation Bar on Home Page

Description:
Currently, our project's navigation bar on the home page lacks transparency. I want to enhance the user experience by making the navigation bar transparent initially and removing the transparency effect when the user starts scrolling. This change will provide a visually appealing and modern look to the website.
Reason for Change:
It will enhance the user experience and Transparency adds a sense of depth and elegance to the website, making it more engaging for users.  It gives the home page a unique and captivating visual element, making it stand out and leaving a memorable impression on users.
Current Styling:
navbar is same through out the website
Proposed Styling:
Implement Transparent Navigation Bar on Home Page and Remove Transparency on Scrolling
Screenshots or Design Mockups (optional):
[If available, include relevant screenshots or design mockups illustrating the requested style changes.]
Additional Information (optional):
[Provide any additional information that may help in understanding or implementing the style change. This can include any specific requirements or constraints.]

Priority Level (optional):

[ ] Low
[x ] Medium
[ ] High

Timeline (optional):
[Specify any preferred or required timeline for implementing the style change.]
Possible Implementation Approach (optional):
[If you have any suggestions or ideas on how the style change could be implemented, feel free to provide them here.]

@akshitagupta15june please assign me this issue under @GSSOC


"Failed to launch the browser process!" in Github actions

Hi 👋  I have this error without specific configuration in github actions:
yarn --cwd ./tests test
  shell: sh -e {0}
yarn run v1.22.15
$ jest --runInBand
Error: Jest: Got error running globalSetup - /__w/mano/mano/tests/node_modules/jest-environment-puppeteer/setup.js, reason: Failed to launch the browser process!
/__w/mano/mano/tests/node_modules/puppeteer/.local-chromium/linux-901912/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

Source: https://github.com/SocialGouv/mano/runs/4253539620?check_suite_focus=true
I don't know what to do to fix it, since I did not do anything particular I guess. Thank you 🙏

Looks like it might have been a change in GitHub actions or an update to chrome that caused that error. I would try reaching out GitHub to see if they have a fix.


Capybara::Poltergeist::StatusFailError: Request failed to reach server, check DNS and/or server status

I'm working with poltergeist for the first time, so I don't really know what I'm doing but I couldn't find any solution on the web. Please tell me if any information is missing.
Error message:

Capybara::Poltergeist::StatusFailError: Request failed to reach server, check DNS and/or server status
this issue doesn't happen on production but only on development and staging environment.

This line of code is the one that is making the trouble
phantomjs_options: ['--ignore-ssl-errors=yes', '--ssl-protocol=any', '--load-images=no', '--proxy=localhost:9050', '--proxy-type=socks5']
without '--proxy=localhost:9050' everything's working perfectly on every environment but I don't want to delete it in case it's critical for the production.
I've also noticed that on staging/development there's no 9050 port listening but on production there is one
full config code part (capybara_drivers.rb):
Capybara.register_driver :polt do |app|
  Capybara::Poltergeist::Driver.new(
      app,
      js_errors: false, # break on js error
      timeout: 180, # maximum time in second for the server to produce a response
      debug: false, # more verbose log
      window_size: [1280, 800], # not responsive, used to simulate scroll when needed
      inspector: false, # use debug breakpoint and chrome inspector,
      phantomjs_options: ['--ignore-ssl-errors=yes', '--ssl-protocol=any', '--load-images=no', '--proxy=localhost:9050', '--proxy-type=socks5']

  )
end

You need to make your poltergeist config environment dependent and only set the proxy options in the environments they are needed.

Thank you. Can you please explain why this is happening?


XLIFF Public pages export includes automatically saved pages

Describe the Bug

While exporting XLIFFs, you have the choice to explicitly export only published sites. However it exports also automatically saved pages. These are not shown in the App and are not published sites. These should not be exported.
Steps to Reproduce

Go to 'Deutschlandvorlage'
Click on 'Sites'. Change the Language in the drop down Menu to French. Apply the Filter "Translation is old" or "Translation does not exist"
Scroll down to 'the drop down menu'. Choose "Export only the published sites for the translations into French".
The Export is generated.

Expected Behavior

The export should have all published sites that do not have a translation or where the translation is old.
Actual Behavior

In the export are non published sites (automatically saved sites) as well.
Additional Information

Traceback
![Bild eingefügt am 2022-7-18 08-38](https://user-images.githubusercontent.com/80322785/179461952-fc901a96-849e-4993-aef6-162aa9a6fe60.png)
<img width="914" alt="2022-07-18_09-19" src="https://user-images.githubusercontent.com/80322785/179461955-772ad652-0bb1-4f2e-a3a6-67f63fe4f59b.png">

Indeed, version 19 is being exported my test. I do not yet understand why this is the case.
integreat=# SELECT language_id, version, status, creator_id, language_id, currently_in_translation FROM cms_pagetranslation WHERE page_id=10999 AND language_id=3 ORDER BY version ASC;
 language_id | version |  status   | creator_id | language_id | currently_in_translation
-------------+---------+-----------+------------+-------------+--------------------------
           3 |       1 | PUBLIC    |            |           3 | f
           3 |       2 | PUBLIC    |            |           3 | f
           3 |       3 | PUBLIC    |            |           3 | f
           3 |       4 | PUBLIC    |            |           3 | f
           3 |       5 | PUBLIC    |            |           3 | f
           3 |       6 | PUBLIC    |        280 |           3 | f
           3 |       7 | PUBLIC    |        280 |           3 | f
           3 |       8 | PUBLIC    |        280 |           3 | f
           3 |       9 | PUBLIC    |        280 |           3 | f
           3 |      10 | PUBLIC    |         21 |           3 | f
           3 |      11 | PUBLIC    |        499 |           3 | f
           3 |      12 | PUBLIC    |        499 |           3 | f
           3 |      13 | PUBLIC    |        650 |           3 | f
           3 |      14 | PUBLIC    |        650 |           3 | f
           3 |      15 | PUBLIC    |        651 |           3 | f
           3 |      16 | PUBLIC    |        651 |           3 | f
           3 |      17 | PUBLIC    |        650 |           3 | f
           3 |      18 | PUBLIC    |        650 |           3 | f
           3 |      19 | AUTO_SAVE |        235 |           3 | f

AFAICT the query for selecting the pages is in prefetched_public_translations_by_language_slug, which filteres for status=status.PUBLIC.

This was partially resolved in #1600


npm install does not work

$ npm install && npm run typings
npm WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from angular2-in-memory-web-api will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from angular2-in-memory-web-api will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from @angular/router will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm ERR! Darwin 16.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.13
npm ERR! npm  v2.15.1
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>

Fixed with
npm install npm -g


[sql-lab] make query history scrollable

this fix is mega hacky, and i hope to fix it one day 🥇
fixes: https://github.com/airbnb/superset/issues/2472
@mistercrunch

Just saw your disclaimer on being hacky, feel free to merge and revisit if you think that's the right approach.


virsh/qemu:  The -accel and "-machine accel=" options are incompatible

Describe the bug
I did update my nixos unstable installation on monday, in which I also use virsh/qemu. However I noticed now that I can't start VMs aymore using virsh start VM
Steps To Reproduce
Steps to reproduce the behavior:

Update to latest unstable branch
Run a preexisting VM (not sure if new vms are affected also) using virsh start VM
You get an error:

error: internal error: process exited while connecting to monitor: 2022-01-12T06:56:56.144411Z qemu-system-x86_64: The -accel and "-machine accel=" options are incompatible

I looked at the xml file but I could not find but I could not find any accel or machine entries. Not sure where qemu gets this from.
Expected behavior
The VM should be started using virsh start VM
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
@eelco @qyliss
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.90, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5.1`
 - channels(hyper): `"nixos-21.11pre326640.e544ee88fa4"`
 - channels(root): `"nixos-22.05pre344851.0ecf7d41481"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

This seems to be related:
https://listman.redhat.com/archives/libvir-list/2021-January/msg00536.html
Reverting to 5b091d4fbe3 makes virsh/qemu run again.

If I'm reading that right, a qemu-kvm script is no longer required, and can just be a symlink to the appropriate QEMU binary for the architecture.  That's what Fedora's doing now, at least (verified in a container).  Perhaps we should be looking at a similar change.

libvirtd is effectively broken on unstable as a consequence of this. I'll take a look as soon as I can.


Hack: Force UIEdgeInsets.zero to always come from the SDK

...instead of relying on the one in the overlay in pre-4.2 versions of Swift. This caused crashes in deserialization, which (deliberately) doesn't respect availability.
There are three changes here:

Remove UIEdgeInsets.zero and UIOffset.zero from the UIKit overlay.
Always use the 4.2 name for UIEdgeInsetsZero and UIOffsetZero from the underlying UIKit framework. (This is the nested name.)
Ignore the unavailability messages for those two constants in pre-4.2 Swift, since we're now relying on them being present.

The latter two, the compiler changes, can go away once UIKit's API notes no longer specify different pre-4.2 behavior, but meanwhile we need to keep compatibility with the SDKs released in Xcode 10b1.
SR-7879 / rdar://problem/40735990

@swift-ci Please test

@swift-ci Please test source compatibility

Build failed
Swift Test Linux Platform
Git Sha - b4d95c8f11980ac5a5befa4fa118fdec281ccc08

Build failed
Swift Test OS X Platform
Git Sha - b4d95c8f11980ac5a5befa4fa118fdec281ccc08

Let's try that again.
@swift-ci Please test

@swift-ci Please test source compatibility

Build failed
Swift Test Linux Platform
Git Sha - b4d95c8f11980ac5a5befa4fa118fdec281ccc08

Build failed
Swift Test OS X Platform
Git Sha - b4d95c8f11980ac5a5befa4fa118fdec281ccc08

@swift-ci Please test source compatibility

@jrose-apple I'm curious why XREFs to imported types don't respect the module filter. This would have fixed the problem without adding a special case.

That doesn't actually fix the problem, because we don't want to find the one in the overlay. We want the one in the actual Clang module.
(The original motivation, though, was when we thought swiftmodule was going to be a stable format, in which case it needs to cope with declarations being moved from one framework to another, something that's legal in Objective-C.)

Build failed
Swift Test OS X Platform
Git Sha - 8a8adf71812a4f3ce3ac082bb46c808128e203f2

@swift-ci Please smoke test Linux


bundleconfig.json was removed from the 2.1 templates

Hi, the answer to a question on Stack Overflow (https://stackoverflow.com/questions/50419033/has-something-replaced-bundleconfig-json-in-asp-net-core-mvc-2-1) states that 'bundleconfig.json was removed from the 2.1 templates'. Is this true as the first line after the heading, "Configure bundling and minification" above states otherwise? Thank you.

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

ID: 36f55e9a-cd3f-83a0-f142-969dc10d3ceb
Version Independent ID: f6845f70-1ac6-2036-f213-a3b665b3d8bf
Content: Bundle and minify static assets in ASP.NET Core
Content Source: aspnetcore/client-side/bundling-and-minification.md
Product: aspnet-core
GitHub Login: @scottaddie
Microsoft Alias: scaddie

@Antec71 This is true. Toggle the version selector between 2.1 and 2.0, and you'll notice that section's first sentence change.
2.0 text

In ASP.NET Core 2.0 or earlier, the MVC and Razor Pages project templates provide a bundleconfig.json configuration file that defines the options for each bundle:

2.1 text

In ASP.NET Core 2.1 or later, add a new JSON file, named bundleconfig.json, to the MVC or Razor Pages project root. Include the following JSON in that file as a starting point:


i18n(zh-cn): delete DontEditWarning & Video

What kind of changes does this PR include?

Minor content fixes (broken links, typos, etc.)
New or updated content

Description

delete DontEditWarning & Video

Related Issue / Implementation PR

Closes Issue #

Wait https://github.com/withastro/docs/pull/4821 merged

Should this be marked as [i18nIgnore]?

Should this be marked as [i18nIgnore]?

不用，改中文不会对其他产生影响

But it would affect the i18n tracker and mark these pages as up to date. It wouldn't matter if all the pages edited is already up to date anyways, but you never know what might get merged into the English main before this PR gets merged.

But it would affect the i18n tracker and mark these pages as up to date. It wouldn't matter if all the pages edited is already up to date anyways, but you never know what might get merged into the English main before this PR gets merged.

Done


Provide a Conda package on Conda-forge

We should make a conda package available.  The best way to do this is to submit it to conda-forge which will build and release a conda package to Conda-forge every time a new version is released on PyPi.

PRs welcome!

Yeah, I'll create a feedstock for it


Finding items in the New manuals

Sorry to bother you but finding things in the new manuals are extremely challenging.  Having been a long time professional developer with 4D since 1988 (international version 2.0.10) I wore out many of the early manuals reading them, and looking up topics.
With the web site, the format stayed a lot the same and I could still find things.
Of course the language, and many other things have changed dramatically (including the manuals). Do not get me wrong, I am loving working in 20R6. Like always I come across something that I either do not remember, or never learned how to do. I need to find it in the manual and look at the examples, and read the knowledge imparted there.
For example, today I need to loop through a collection of objects.
The For each - End for each is perfect for this.
The issue is I am deleting items from the collection as I loop through.
The way to handle this in the classic language was For - End For, but in reverse Order.
OK, I have not done that with For each - End for each.
So I spend an hour looking through the manual for this command.

Not in the command Index
Not in the Collection topic
Do a search for 'for each' - told to be more specific
The 'classic' manuals does not have the command and the Collection section links to the new manuals.

It is a challenge I constantly have with the new manuals. I cannot find what I need often.
I do not know the answer as to how to use the new manuals efficiently. Can you impart some good tips as to how to use them. I am certain this topic is in the new manuals.
As a long time reader of your manuals, I have never spent so many hours trying to find things in them before. I am obviously missing out on a concept(s)...
Thanks for any knowledge you can provide me with.
Jody

Thank you for your quick, and helpful reply.
I am sure your intent is good, and efforts huge.
I typically have been a person to sit down and read from the front to the back of the ‘book’. I think you are right about the structure of the old manual. Having been engulfed in the classic 4D environment for over 2 decades I knew it very well. Unfortunately I took 2 years off at a critical time in the evolution of 4D (v13 & 14).
What I experienced yesterday is that I did a search for 'For Each’ and found nothing in the new or old documentation (20R6). I tried looking in collections and objects. I didn’t find anything. I looked in the Alphabetical list of commands (old Manual style for 20R6). After an hour I gave up. An hour after that I tried Google search for ‘4D For Each’. It brought me to the classic style manual in 18.4. There was the information I needed. At that time I then tried the search in the new manual again and the search result came right up instead of telling me to be more precise - too many results (I am paraphrasing).
I will take your advice and try Copilot. My first use of it was just now. It presented the command. Thanks, this is another avenue of exploration.
Thanks again for your attention, and assistance.
Jody Bevan
￼

On Nov 15, 2024, at 03:23, arnaud-4d @.***> wrote:
Hello Jody,
First of all, thank you for taking the time to express your concerns. This helps us to improve the 4D documentation. I'm sorry to see that you're not entirely satisfied with the new documentation site, especially as we designed it to provide easier access to information, not the other way around!
The structure of the previous documentation was strongly influenced by 4D's initial architecture (language and framework), which has now evolved considerably. The new site has a more standard structure, more consistent with what 4D is today.
To answer your question, let me start by saying: trust search. It's powerful and fast. To take up your example, entering “for ea” or “loop collection” as a search string will find the relevant pages. Did anything go wrong when you searched? Even "for" will give the results, provided you scroll a little.
Another point is that some of the information is still shared between the new and old sites. For a specific search, I can advise you to use an AI and ask it the question, the answer is usually relevant as public AIs have well integrated 4D documentation. For example, the question “where to find how to loop through a collection in the 4D doc” gives good results with Copilot. Well, it's just a hint to accelerate things if the query seems quite complex, usually the search will give you the expected results.
I hope these tips will help you find the information you need more quickly. Please note that we have just integrated the classic commands from the Language manual into the new documentation. We still have a few sections to migrate, and the “new” site will be complete.
Best regards,
A.S.
—
Reply to this email directly, view it on GitHub https://github.com/4d/docs/issues/369#issuecomment-2478326844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHIY34VGYHBDNV4X4KLHQDL2AW4RBAVCNFSM6AAAAABRZSDYBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZYGMZDMOBUGQ.
You are receiving this because you authored the thread.


Do you have a Jupyter Python notebook to showcase functionality or a Google Colab notebook?

Do you have a Jupyter Python notebook to showcase functionality or a Google Colab notebook?

Are you asking about the library in general or the 20B model specifically? Either way the answer is no, but in the later case it’s actually impossible due to the lack of a powerful enough GPU via Collab.


What is the difference between armv8.2-a and arm64-v8.2-a

See https://github.com/ARM-software/ComputeLibrary/releases/tag/v23.02.1

Hi @ilya-lavrenov
Apologies for the confusion, there is no difference as both binaries are built for the same architecture v8.2-a and are both aarch64. The files using armv8.2-a should really be arm64-v8.2-a. Moving forward any new binaries will use the arm64 prefix.
Hope this helps.

Hi @morgolock
Does it mean a list of architectures here also needs to be update to avoid confusion ?
https://github.com/ARM-software/ComputeLibrary/blob/d8bf9b53752a4f573120cf51b31055de8b3c7d29/SConstruct#L93-L94
Currently, it also mixes arm64-v8.2-a and armv8.2-a.

Hi @ilya-lavrenov
The option -march=arm64-v8.2-a builds a 64 bit binary.
The intention with the option -march=armv8.2-a is to let the user to specify the estate and allow 32 bit builds when using arch=armv8.2-a estate=32
The prebuilt binaries in the release for armv8.2-a should have used the arm64 prefix because they are all aarch64 binaries.
Hope this helps.

arch=armv8.2-a estate=32

Could you please elaborate more or point to external documents where it's written why it can be useful?
In what cases should I use this approach?
Thanks,
Ilya.

Hi @ilya-lavrenov

Could you please elaborate more or point to external documents where it's written why it can be useful?

It depends on the specific use case, one benefit of an aarch32 binary is the reduced binary size since the instruction set is 32 bit.

I (maybe mistakenly) supposed that armv8 is always 64bits

You can build armv8a for 32 bit. For more information see:

https://developer.arm.com/documentation/den0024/a/ch03s01
https://developer.arm.com/documentation/den0024/a/ARMv8-A-Architecture-and-Processors/ARMv8-A

Hope this helps.


Added about Binary

Hey,
I Added a basic piece about binary, i can even add some some and explain binary addition with diagrams and stuff if you want. I am kind of new in open source so maybe i made some mistakes. Do let me know if there is any ill try to correct them

Change “Binary” to importance of binary. And add it below common positional number system. With heading like this ### Importance of binary . And also remove binary from toc.. thank you.

@ShivanshDengla Merging.


[BUG] Wrong "metricRelabelings" after upgrade to 102.0.1+up40.1.2

Rancher Server Setup

Rancher version: v2.7.5
Installation option (Docker install/Helm Chart): Helm

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE2 v1.24.3+rke2r1

Proxy/Cert Details: LetsEncrypt

Information about the Cluster

Kubernetes version: v1.24.3+rke2r1
Cluster Type (Local/Downstream): local

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: Admin

Provider Information

What is the version of the Rancher v2 Terraform Provider in use? None
What is the version of Terraform in use? None

Describe the bug
Unable to fresh install rancher-monitoring version 102.0.1+up40.1.2 from local helm
To Reproduce
1.Get values from chart
2. Enable :

rke2ControllerManager
rke2Scheduler
rke2Proxy
rke2Etcd
rke2IngressNginx

Deploy with HELM

rke2ControllerManager:
  enabled: true
rke2Scheduler:
  enabled: true
rke2Proxy:
  enabled: true
rke2Etcd:
  enabled: true
rke2IngressNginx:
  enabled: true
  component: kube-system

Actual Result
CrashLoopBackOff on Prometheus Pod.
Logs from init-config-reloader :
ts=2023-07-10T14:01:34.863Z caller=main.go:454 level=error msg="Error loading config (--config.file=/etc/prometheus/config_out/prometheus.env.yaml)" file=/etc/prometheus/config_out/prometheus.env.yaml err="parsing YAML file /etc/prometheus/config_out/prometheus.env.yaml: relabel configuration for replace action requires 'target_label' value"

I found this when getting helm values :
rke2ControllerManager:
  [...]
  serviceMonitor:
    enabled: true
    endpoints:
      - metricRelabelings:
          - {}
          - {}

Same in rke2Etcd, rke2IngressNginx, rke2proxy and rke2Scheduler
Expected Result
Working rancher-monitoring install.
Additional context

No issue with older version

@murand78 I think this essentially confirms what I was trying to figure out; in rancher, name is the same as "id". Thanks :)

@murand78 Could you provide a screenshot of where you think the cluster-events view is showing a cluster id?
Regardless, it would appear that this suggested workaround does not work
global:
  cattle:
    clusterId: xxxxx
    clusterName:  xxxxx

I have verified this bug. It seems retest pass on below config setup.
Rancher version: v2.7.5
RKE2 v1.24.3+rke2r1
chart = 102.0.1+up40.1.2
I was able to install rancher monitoring and there were no error “CrashLoopBackOff on Prometheus Pod.”
Later upgrade was also successful


Added team_whoami

Hello hello,
found another streamer, sadly I can't see his previous streams on twitch but from what it seems he posts the streams on his Youtube
I saw him last streaming around 21:56 IST 27-09-2023 (As of making this pull request)

Thanks @elli0t43  -- keep them coming if they're active streamers :)


fix storybook

storybook changed the repository layout for vite-builder and package.json no longer is in root of the repo but in packages/vite-builder
causing an error in the test https://github.com/vitejs/vite-ecosystem-ci/actions/runs/3202468586/jobs/5231480918#step:7:269
Possible fixes:

add support for custom package.json paths in vite-ecosystem-ci
switch to storybook 7 monorepo

Just to add some context here.
In Storybook 7.0 (currently alpha), the Vite builder is being pulled into the Storybook monorepo, and is located at
https://github.com/storybookjs/storybook/tree/next/code/lib/builder-vite
I don't know if you want to hold off testing against 7.0 until it's released though.

the storybook monorepo seems to have a very custom layout, what is yarn task for example. (seen in the root package.json) and there doesn't seem to be build or test scripts in the builder-vite subdirectory and other scripts link to parent directories.
So it looks like we have to checkout the whole storybook repo. To avoid doing a lot of extra work and a very long test runtime it would be great if you found a way to build and test builder-vite only.
Is that currently possible or will it be possible?

fixed by #311


cloud-function-aws what should the aws handler class name/method name be

I'm new to spring native. When I upload the zip that's produced by the build script to aws what class/method name should I supply in the aws lambda console. I know this a newbe question so let me say thank you in advance for any help.
currently I have org.springframework.cloud.function.adapter.aws.FunctionInvoker::handleRequest, but when I run a test it tells me the class was not found.

See https://github.com/spring-projects-experimental/spring-native/tree/main/samples/cloud-function-aws#deploy-and-test.


Imported Maxroll Build Contains Unknown Affix

Tried uploading a bunch of maxroll builds to test, getting some errors, log doesn't specify which builds were the problem so here's all the ones I tried to import:
https://maxroll.gg/d4/planner/4f1r6091#5
https://maxroll.gg/d4/planner/eeau0ocn#8
https://maxroll.gg/d4/planner/ek1pb0rq#6
https://maxroll.gg/d4/planner/qiy909ya#1
https://maxroll.gg/d4/planner/qu8v0hvo#7
https://maxroll.gg/d4/planner/um3xz0t1#10

Thank you for the report. Going to address those issues the following days.
Besides the messages in your log you could also get an:
Imported Maxroll build contains unknown itemtype id: 123
Please report those as well when you notice them.

Fixed the above builds in v<IP_ADDRESS>


New note from templater

Hi !
I use templater and core template, with two different folder.
When I try to create a new button to create a new note using a template from templater, the plugin doesn't found the template.
It's possible to add, to the plugin, the folder from templater ?

It should support templates from both folders... sounds like a :bug:

this will be fixed in 0.4.16


Update Excel Export to Include Fish Observation Data - WALLY

As a WALLY user I want the fish observation data to be exported into the Excel so that I am able to further analyze EFN (Environmental Flow Needs) risk or make further adjustments as necessary.
Acceptance Criteria

[ ] Given a WALLY user selects fish observation data to export, when they export the data, then they are given all data and summary information in a format compatible with Excel.
[ ] Export should have this data in the Summary tab

Additional Context

Data to be included in the Excel export that is not currently being exported and is manually added into Excel to evaluate EFN risk
Export function: This function allows users to export to Excel (or as a shapefile). However, the current output from WALLY into Excel only contains partial information that is found in the online staging environment.
Data is already in Wally
This does not require any calculations

Fish data has been added to the excel export. This will be added to PR #732 and receive testing with ticket #707.
I have copied what layout of whats displayed on the front end to excel. If any more fish information is required this could be added easily.


docs: added missing dots at end of sentences

Hey! Just wanted to be of help, added 3 dots at the end of 3 sentences!
Keep up the good work!

Hi there, the dots were intentionally not put, therefore I'll close the PR since it adds no value, thanks for your effort though.


Triangle model is not displayed

It seems that Triangle is not displayed because it does not correspond to the default material.
If material is not specified, default material should be used.
See: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#default-material
This is Issue separated from https://github.com/KhronosGroup/glTF-WebGL-PBR/issues/3#issuecomment-306048877

@emackey
this.material isn't defined here:
https://github.com/KhronosGroup/glTF-WebGL-PBR/blob/master/scene.js#L114

Doh, my fault.


make a sync server framework

This should be similar to taskchampion::taskstorage, but specialized to store the data expected of a server as described in #34.
Aside from various management methods, this should have an add_version method that satisfies the necessary atomicity guarantees.
The intent is that the server should be able to store data in a variety of backends.

Looking at the design in #8, it feels weird to use an explicit asymmetric-key signature to protect get_child_version.  And, it only makes sense for add_version since that signature is kept and returned fromget_child_version.  The history segment in that version is expected to be encrypted by the client, and could certainly be signed as well.  The rest is server metadata that doesn't need to be signed.
There's already hawk that can sign HTTP requests with a symmetric key.  That is well-tested and well-defined.  Let's use that instead.

Hawk idea is moved off to #60

Yet to do:

[ ] document the protocol
[ ] tests for API methods
[ ] break the SyncServer trait up to try to get the add_version logic separated from the storage logic
[ ] tests for SyncServer
[ ] tests for storage backends


Add Ability to Chain Config Files Together

It is very useful to have a base or main config file and then separate config files that you chain together. An example of this would be environment specific config files for deployment. This is how it is done in a Jekyll project I work with:
jekyll build --config _config.yml,_config_production.yml

This would allow specific variables to be set only when building for production (and not local testing builds). It looks like Viper itself only supports one config file at a time so we'd need to implement another instance?
I found a forum post with the same request: https://discuss.gohugo.io/t/can-you-chain-multiple-configs-together/1278

It looks like Viper itself only supports one config file at a time so we'd need to implement another instance?

We should update Viper to support multiple files. Viper is a @spf13 project, too, so we have commit access :-)

Fixed in https://github.com/gohugoio/hugo/pull/3532


QubitOperator to PauliSum Conversion

openfermion.QubitOperator and cirq.PauliSum represent the same logical entity, i.e. A linear combination of Pauli Terms.
Since there is now a general consensus on removing the constraint to keep OpenFermion independent of Cirq (for eg: The Openfermion-Cirq, Openfermion integration), I propose that:

We should provide a way to convert QubitOperator to PauliSum. For eg, using a helper qubit_operator_to_pauli_sum.

In the long run, should we also aim to get rid of the duplicate pieces and adopt the QubitOperator to internally use PauliSum structure (need discussion here)?

For 1, there is a clear short term advantage because this conversion helps us use many nice features in cirq like PauliSumCollector etc.
For example, Given an ansatz_circuit and a qubit_hamiltonian, we can write a simple function to find the optimal parameters for the ansatz_circuit to minimise expected value of qubit_hamiltonian as follows:
def qubit_operator_to_pauli_sum(qubit_operator, qubits):
  # This helper (or another equivalent) should be a part of openfermion.
  qubit_list = [*qubits]
  pauli_strings = []
  for term, coeff in qubit_operator.terms.items():
    pauli_string_contents = {}
    for qub, pau in term:
      pauli_string_contents.update({qubit_list[qub] : pau})
    pauli_strings.append(cirq.PauliString(pauli_string_contents, coefficient=coeff))
  return cirq.PauliSum.from_pauli_strings(pauli_strings)

def optimize_circuit(ansatz_circuit, qubit_hamiltonian, qubits):
  # Assuming ansatz_circuit has a single parameter theta_1.
  pauli_sum_hamiltonian = qubit_operator_to_pauli_sum(qubit_hamiltonian, qubits)
  def func(x):
    p = cirq.PauliSumCollector(circuit=cirq.resolve_parameters(ansatz_circuit, {'theta_1' : x[0]}),
                              observable=pauli_sum_hamiltonian,
                              samples_per_term=20000)
    p.collect(sampler=cirq.Simulator())
    return p.estimated_energy()

  return scipy.optimize.minimize(func, numpy.random.rand(1), tol = 1e-9, method = 'COBYLA')

Please let me know your thoughts/concerns and I can proceed with a PR accordingly.

@ncrubin

Hi @tanujkhattar, please coordinate with @kevinsung on this larger effort.  I am not in a rush to do this integration especially since cirq is moving quickly to 1.0 and could have significant feature changes.

Thanks for pointing out the earlier efforts in this direction. I've left some comments on your PR. Will mark this issue as duplicate and close it. Thanks!


[Enhancement] Streams

BurnOutSharp should be able to support checking file protection for streams as well. In order to support this, the following changes need to be made:

Refactor all code that relies on file contents to work without requiring a physical file
Refactor all code that relies on file contents to work on byte arrays (or Span<byte>) to enable the same functionality as the existing file content scans
Ensure that most of the places that the file name checks are done are not required due to how they are used (mostly re-opening the file to read bytes)
Allow for reading of streams as sectors in order to catch special protections
Add support, where possible, for more than just executable checks on streams

Capped off by https://github.com/mnadareski/BurnOutSharp/commit/ec8c395ffab2813631d31afd86fdc3e2a063771c


How to avoid browser content jumping in development mode?

Basically when you are in development mode (with watch on) editing the content will usually cause the page to jump to another fixed location. When you are writing latex, this is more painful as you are kind of using the page to check if it compiled and iterating on that.
I'm wondering if anyone has thought about this or if it possibly to avoid.
I have not dug into it yet but was hoping someone had some clues as to what is setting this starting point. It seems consistent across two browsers that I tested it on.
Obviously not a huge deal but I would dig into it if someone had a good guess as to where to start.

Please use https://discourse.gohugo.io/ for questions/troubleshooting. Also see  Hugo Documentation.

Ok will start there.
https://discourse.gohugo.io/t/how-to-avoid-browser-content-jumping-in-development-mode/15809


python37Packages.xxhash: 1.3.0 -> 1.4.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-xxhash/versions.
meta.description for python37Packages.xxhash is: '"Python Binding for xxHash https://pypi.org/project/xxhash/"'.
meta.homepage for python37Packages.xxhash is: '"https://github.com/ifduyue/python-xxhash"

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.4.1 with grep in /nix/store/hpwxxxg2nn53ip6ccbl5f38867s84bkp-python3.7-xxhash-1.4.1

directory tree listing: https://gist.github.com/1592ae4f61edafbdb16ce733480ee762

du listing: https://gist.github.com/aea4729b5014640d91dd85ab4b09114d

Rebuild report (if merged into master) (click to expand)

20 total rebuild path(s)
5 package rebuild(s)
5 x86_64-linux rebuild(s)
5 i686-linux rebuild(s)
5 x86_64-darwin rebuild(s)
5 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
pyre
python27Packages.uproot
python27Packages.xxhash
python37Packages.uproot
python37Packages.xxhash

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hpwxxxg2nn53ip6ccbl5f38867s84bkp-python3.7-xxhash-1.4.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.xxhash https://github.com/r-ryantm/nixpkgs/archive/6d37f07301c796dc97959efc4f1b6c1517074148.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hpwxxxg2nn53ip6ccbl5f38867s84bkp-python3.7-xxhash-1.4.1
ls -la /nix/store/hpwxxxg2nn53ip6ccbl5f38867s84bkp-python3.7-xxhash-1.4.1/bin

cc @teh for testing.

@jonringer I'm tempted to remove pyre-check because it's not easy to package.

I can fix it, don't worry about it

looks like pyre-check could use a bump as well. Maybe tomorrow

@jonringer yea but bumping pyre past 0.22 appears to be non-trivial. I already lost some time to that without success. https://github.com/NixOS/nixpkgs/pull/70001 if you want the option, otherwise I'll close that removal PR in a week or two.

another option would be to mark it broken, at least someone else might have a starting point if they want a go at packaging it again.


Added shopware 5 environment type using Mutagen

shopware 5 environment
able to add a custom nginx entry point (NGINX_INDEX)
fix typos

One-liner install script
mkdir -p sw5/webroot \
&& cd sw5 \
&& warden env-init sw5 shopware5 \
&& warden sign-certificate sw5.test \
&& cd webroot \
&& wget https://www.shopware.com/de/Download/redirect/version/sw5/file/install_5.6.8_7b49bfb8ea0d5269b349722157fe324a341ed28e.zip \
&& unzip install_5.6.8_7b49bfb8ea0d5269b349722157fe324a341ed28e.zip \
&& rm -rf install_5.6.8_7b49bfb8ea0d5269b349722157fe324a341ed28e.zip \
&& cd ../ && perl -pi -e 's#^WARDEN_WEB_ROOT.*#WARDEN_WEB_ROOT=/webroot#' .env \
&& warden env up \
&& echo "<?php return array (\n  'db' => \n  array (  \n    'host' => 'db',\n    'port' => '3306',\n    'username' => 'app',\n 'password' => 'app',\n    'dbname' => 'app',\n  ),\n);\n" > webroot/config.php \
&& open https://sw5.test

Had to add a custom Dockerfile for the needed folders and permission adjustments.
A make file for local development would make it much easier, what's your opinion (or workflow) about that?

@davidalger Is there anything I can do about the pipline errors?


fix and tests for #122 - no .volatile emitted on stfld

This fixes the core issue of #122 - no .volatile annotation is emitted for stfld and stsfld.

:+1:

A few codegen tests are now failing with this change, can you please investigate if changes are expected and update the tests?

test baselines now updated


Improve focus mechanism in RichTextWidget

Unlike the usual slate editor ( the text block) if we directly use SlateRichTextWidget, we have problems with focus and text selection. The main problem being not able to place a 'cursor' between the texts.

See https://github.com/eea/volto-slate/pull/126#issuecomment-888041459


[bug] hyper fails due to incorrect permissions

hyper.root.key has the wrong permissions (0660) when the pod is created or recreated. This causes hyper to fail. The workaround is manually fixing the permissions to be 0600. This has already been officially reported (case 08354366) and was not solved. I'm posting publicly so other people can easily find the workaround.
[tableau@censored-hostname /]$ tsm status -v
node1: localhost
        Status: DEGRADED
        'Tableau Server Application Server 0' is in an error state.
        'Tableau Server Data Engine 0' is in an error state.
        'Tableau Server Ask Data 0' is in an error state.

[tableau@censored-hostname /]$ # note that /var/opt/tableau is a EBS volume mounted onto the image
[tableau@censored-hostname /]$ stat /var/opt/tableau/tableau_server/data/tabsvc/config/hyper_0.20221.22.0415.1144/hyperSecurity/hyper.root.key
  File: ‘/var/opt/tableau/tableau_server/data/tabsvc/config/hyper_0.20221.22.0415.1144/hyperSecurity/hyper.root.key’
  Size: 1704       Blocks: 8          IO Block: 4096   regular file
Device: 10303h/66307d Inode: 9961693     Links: 1
Access: (0660/-rw-rw----)  Uid: (  999/ tableau)   Gid: (  998/ tableau)
Access: 2022-08-01 15:40:06.450123093 +0000
Modify: 2022-06-21 00:21:46.211158153 +0000
Change: 2022-08-06 06:01:13.096799104 +0000
 Birth: -

[tableau@censored-hostname /]$ tail /var/opt/tableau/tableau_server/data/tabsvc/services/hyper_0.20221.22.0415.1144/logs/stdout_hyper_0.log
Permissions for 'ssl_key' have to be 0600
LogFile: /var/opt/tableau/tableau_server/data/tabsvc/logs/hyper/hyper_0_2022_08_06_00_00_00.log
hyperd server version 9.1.0 build version 2<IP_ADDRESS>40.rf1eaa7d9
Permissions for 'ssl_key' have to be 0600

[tableau@censored-hostname /]$ chmod 0600 /var/opt/tableau/tableau_server/data/tabsvc/config/hyper_0.20221.22.0415.1144/hyperSecurity/hyper.root.key

[tableau@censored-hostname /]$ lsb_release -a
Distributor ID: CentOS
Description: CentOS Linux release 7
Release: 7

[tableau@censored-hostname /]$ tsm status -v
node1: localhost
        Status: RUNNING

Hi @caleb15, thanks for reporting the issue. The fix was pushed as part of the 2022.3 release by our team. Please report back if you are still continue to see the issue post upgrade.


Next Coin

Expected Behavior
Next coin in the list.
Current Behavior
Next coin of its own choosing.  #skynet
Steps to Reproduce
Watch dis voodoo
Possible Solution (Not obligatory)
idk.. y'all are the evil geniuses. :)
Context
I am now extremely depressed.
Your Environment

Operating System : W11
Application Version : Current
Mining Application (if applicable) : trex

Hah.  This is actually by design.  We should probably have documented it better.  In order to make sure that all coins have equal probability of running we pick a new coin at random from the configured list whenever the user clicks 'Next Coin'.  Otherwise it would be easy to starve coins further down the list since they may never get a chance to run.  We don't want the user to be at the mercy of the app though which is why you can start pick any coin on the list and explicitly tell it to mine that coin.
@evan-cohen What are your thoughts on making this overridable so that users have more control over how coin selection works?  How about a drop-down of strategies?

Tracking in #37
Going to make coin selection configurable.  The two strategies will be either sequential or AI-driven.
@Tramp420 AI-driven mode will be named skynet in your honor.


Glitchy when clicking + dragging the scrollbar to scroll the page

Thanks for the great plugin! While I personally don't like scroll hijacks, this is the best plugin I've yet to find to make it the best user experience possible, so great work.
I've only had one major issue so far, and that's when clicking and dragging the scrollbar to scroll up/down the page. I've got a long home page with 6 sections and a footer revealed at the bottom. The first time I use the scrollbar, it's usually okay. But after that, the page has a glitch effect and doesn't allow the scrollbar to stay at the position I've dragged it to, or it stops at a random position somewhere in between.
The other side effect I've noticed is that about 85% of the time when clicking and dragging the scrollbar up/down the page, I can't get it to stay at the very bottom with the footer revealed. If I only use my mousewheel (pc) or magic mouse (mac) to scroll, it works perfectly as expected every single time.
The site I'm seeing this on is at http://www.hillwoodcommunities.com/. Please understand that these issues only happen when clicking and dragging the scrollbar, on both Mac and PC. Any help in debugging or work arounds would be super appreciated. Thank you!
Here's my code for reference:
HTML (basic idea)

    ..CONTENT..

    ..CONTENT..

..MORE SECTIONS..

    ..CONTENT..

    ..CONTENT..

JAVASCRIPT
$.scrollify({
    section: ".section",
    sectionName: false,
    scrollSpeed: 1500,
    easing: "easeOutExpo",
    setHeights: false,
    updateHash: false,
    before: function(index, sections) {
        var ref = sections[index].attr('data-section-name');
        $('.section').each(function() {
            if( $(this).attr('data-section-name') === ref ) {
                $(this).addClass('active-section');
            }
            else {
                $(this).removeClass('active-section');
            }
        });

        // animations
        if( ref === 'communities' ) {
            $('#section-communities').find('.center-vert').addClass('fade-in');
        }
        if( ref === 'live-smart' ) {
	    $('#section-live-smart').find('.icon').addClass('fade-in');
	}
        if( ref === 'legacy' ) {
	    $('#section-legacy').find('.center-vert').addClass('fade-in');
	    $('#section-legacy').find('.img-bg').addClass('zoom');
	}
	if( ref === 'perot' ) {
	    $('#section-perot').find('.center-vert').addClass('fade-in');
	    $('#section-perot').find('.img-bg').addClass('zoom');
	}
    },
    afterRender: function(index, sections) {
        var currentSection = $.scrollify.current();
        currentSection.addClass('active-section').siblings().removeClass('active-section');

        // animations
        if( currentSection.attr('data-section-name') === 'communities' ) {
	    $('#section-communities').find('.center-vert').addClass('fade-in');
	}
        if( currentSection.attr('data-section-name') === 'live-smart' ) {
	    $('#section-live-smart').find('.icon').addClass('fade-in');
	}
	if( currentSection.attr('data-section-name') === 'legacy' ) {
	    $('#section-legacy').find('.center-vert').addClass('fade-in');
	    $('#section-legacy').find('.img-bg').addClass('zoom');
	}
	if( currentSection.attr('data-section-name') === 'perot' ) {
	    $('#section-perot').find('.center-vert').addClass('fade-in');
	    $('#section-perot').find('.img-bg').addClass('zoom');
	}
    }
});

jQuery(window).on('load resize', function() {
    // reveal footer
    var footerHeight = jQuery('footer').outerHeight();
    jQuery('.home').css('marginBottom', footerHeight);
});

I think this is because Scrollify doesn't have an awareness of the footer. Try setting the footer as an interstitialSection, see if that helps.

I did try that without success. I also tried including the footer in the last section, as well as setting the last section to use the standardScrollElements property. Neither made a difference. And the whole page works perfectly if I don't drag the scrollbar and just use the mouse to scroll.

Do you have any other ideas I might be able to try?

I'm not seeing glitchy behaviour. What browser are you using?
When you drag the scroll bar and let go Scrollify will snap it to the nearest section. Could this be what you're seeing?

I'm using Chrome on Mac but it was first noticed o=in Chrome on PC. It also happens in Firefox and IE on PC. I haven't checked Safari or Firefox on Mac.
It's not the snapping. From either the very top or bottom of the page, drag the scrollbar to the opposite end, maybe back and forth a few times. I see it every time.

@lukehaas - I'm experiencing the same issue on in Chrome as well @rftb :)

@rftb -removing the before and afterRender actually fixed mine. Not sure if the problem is with those of the code within their functions.

@MathiasHC thanks for your solution. I unfortunately can't remove the before and afterRender though because I'm using them to trigger animations for each section.

The before and afterRender callbacks will only execute the code you've defined. Nothing within Scrollify uses them.

Yeah, noticed that @rftb when I inspected the code on the link you posted 💪🏼

I've recorded a video of dragging the scroll bar - up and down the page at first and then to individual sections.
Can you let me know if you can see the issue you're having in the video?
https://projects.lukehaas.me/scrollify/scrollify.mov

No I don't see it in your video. Here's one I recorded just now so you can see what I'm experiencing. Should've thought of this before.. sorry.
http://rideforthebrand.net/clients/donia/hillwood-scrolling.mov

@rftb did you ever resolve this? We are seeing the same issue.

Hi All,
Am also facing the above issue. Any solution so far?
Thanks.

@optimadesign @anahitghazaryan No never resolved it.. sorry I can't be of more help

I'm facing the same issue, here is my solution. Try to change the Scrollspeed faster, below 1000.
If I set it to 2000, the Glitchy problem showed up. if it is below 1000, the Glitchy gone.


Introduce CSR Auto-approver for virtual-kubelet

Description
This commit adds a CSR-approve routine in Advertisement Operator
main function in order to auto-approve CSR coming from the virtual-kubelet.
(to-do): So far, the advertisement operator simply checks if a label is put on the
CSR, in future we will add some more accurate checks.
How Has This Been Tested?

[x] Test auto-approve of a virtual-kubelet issued CSR
[x] Test ignore of other CSRs

@dependabot merge


Quiz owner gets notified by its own comment.

Quiz owner gets notified by its own comment. It should be notified only when others comment not the owner.

fixed