x/vuln: govulncheck very slow in CI

govulncheck version
Go: go1.22.4
Scanner<EMAIL_ADDRESS>DB: https://vuln.go.dev
DB updated: 2024-07-03 16:27:09 +0000 UTC
Does this issue reproduce at the latest version of golang.org/x/vuln?
Yes, installed with go install golang.org/x/vuln/cmd/govulncheck@latest currently pointing at v1.1.2
Output of go env in your module/workspace:
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/runner/.cache/go-build'
GOENV='/home/runner/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/runner/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/runner/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/hostedtoolcache/go/1.22.4/x64'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/hostedtoolcache/go/1.22.4/x64/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.4'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/runner/work/<repo-name>/<repo-name>/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2116296393=/tmp/go-build -gno-record-gcc-switches'

What did you do?
Ran govulncheck -show verbose ./... on a private repo via the golang/govulncheck-action@v1 Github action.
Also tested by SSHing into the machine and running the same command.
What did you see happen?
The output shows
Scanning your code and 1960 packages across 302 dependent modules for known vulnerabilities...

Fetching vulnerabilities from the database...

Checking the code against the vulnerabilities...

After 30 min there is still no further output. Locally the check finishes after ~1m30s but in CI on a Github runner the process seems to be taking extremely long.
What did you expect to see?
I expected to see the output after a few seconds/minutes. Is there any way to dig into what is being slow? Is the CI machine just too low-spec?
Some other info:
$ time go build ./...

real    8m7.259s
user    14m30.808s
sys     0m53.133s

Running govulncheck -mode binary takes <1s to run.

cc @golang/vulndb

Likely a dup of #54940 and #67838.

Is the CI machine just too low-spec?

Low memory is the most likely culprit. Do you have any information on how much govulncheck is consuming?

Locally the check finishes after ~1m30s but in CI on a Github runner the process seems to be taking extremely long.

That is a bit surprising. How much memory is consumed locally?

Is there any way to dig into what is being slow?

@zpavlinovic any ideas?

This seems like a duplicate of #67838. We currently don't have a way of digging into the performance bottlenecks. This definitely seems to be a large repository (~2k dependent packages) so the memory consumption will spike to several GBs.
To validate this hypothesis, see if you can increase your CI memory limit. (My bet is that the current limit is 4GB, so I would bump it to 8GB)

Perhaps similar to #38714 govulncheck could get a flag/env for producing a runtime trace?

Thanks for the hints, I jumped into an SSH session on the CI machine and it has 8 GB, running govulncheck ./... and checking htop I see that memory fills up all 8GB and then fills up 3GB of swap. Locally I have a lot running so I'll try tomorrow with a more thorough analysis using valgrind and see how much memory is consumed.
Also, this repo is unfortunately private so I can't share a reproducer but I believe most of the package are coming from only a single import which is public so I'll look into that.

Perhaps similar to #38714 govulncheck could get a flag/env for producing a runtime trace?

Will add this to a to-look-into list.

Trying with Valgrind caused an SSL handshake timeout, so just running the check locally looks to use ~12 GB of memory. Our main dependency is https://github.com/juju/juju, running govulncheck ./... there results in similar memory usage (tested with their 3.5 branch).
Bumping up the CI machine to one with 16GB RAM resolved the problem. I'll close this issue, thank you for the help.


Add coveralls

Changes Unknown when pulling 16f0f0af250782852acf7fa487866cdd78e60681 on coveralls into ** on master**.

Changes Unknown when pulling 16f0f0af250782852acf7fa487866cdd78e60681 on coveralls into ** on master**.

Changes Unknown when pulling 3f3dc6b1ba1bef51afc91f7e225aadad65c826f7 on coveralls into ** on master**.

Changes Unknown when pulling 39f41d6ab204f97dfac3d8b7472f7067f66573c8 on coveralls into ** on master**.


account argument

Is it possible to specify your account ID as an input argument? In cerbot, it's:
  --account ACCOUNT_ID  Account ID to use (default: None)

(See http://letsencrypt.readthedocs.io/en/latest/using.html)
For more info about the use case for account IDs, see "One Account or Many?" here: https://letsencrypt.org/docs/integration-guide/
Thanks a bunch!

dehydrated supports the --privkey option for this use case.

Got it. Thank you!


Vector2 doesn't do int -> float casting

Engine built from 8c2beeea9
Take a Vector2 and assign an int value to it, it doesn't get casted to a float I believe:
var test: Vector2 = Vector2(1.0, 1.0)

func _ready():
    test.x = -1
    print(test)

Results in:
(nan, 1)
However, setting it to a float directly does work:
var test: Vector2 = Vector2(1.0, 1.0)

func _ready():
    test.x = -1.0
    print(test)

Results in:
(-1, 1)

I have verified this on Linux Mint.
using var test = Vector2(1.0, 1.0) instead of var test: Vector2 = Vector2(1.0, 1.0) works fine too.

This is the same issue as #45172

This is the same issue as #45172

Correct, closing.

Duplicates should be closed


Bug no Download

Estou tendo problemas para baixar meus vídeos, ele carrega 100% porem não faz o download de jeito nenhum, carrega por vários minutos mas não baixa, e por fim tenho que fechar o navegador e abri-lo novamente, uso no navegador Edge e no Chrome ambos dão o mesmo problema, então presumi ser um bug, segue a captura de tela a baixo.

The same problem for me, I tried Mozilla Firefox and Chrome, and Edge but they all have the same problem.
After 100% of the download parts are downloaded, the extension fails to continue.

This bug is caused by the file name. You can modify generate-file-name.ts to only keep characters allowed by the operating system, then repack and it should work

I don't know will it be of any help to anyone. I found out that if I installed this same extension on Chrome, same files downloading without any troubles. But on Firefox it's stuck. So it seems to me that Firefox changed the way it hold file name treatment. And for information all this happened on my Macbook.


hide list

I need to display a list which should be shown when we press a button object and it should be hidden when we touch the out of the list areas, except places we have other buttons.
After looking to the 'write' tab of demo code, I concluded that I can create a button(or maybe a page) and make it the parent of all buttons on the page and set its size equal to the whole screen and also make it transparent. after doing this in its press action I should delete the list object.
Am I right or is there any better solution?

Hi,
It's correct, I'd do the same way!


Image Basemaps Lat/Lng Display

In the Notebook Header for Spots that are on an image basemap show lat and lng (of parent Spot) if available in spot properties. Otherwise show x, y.

Closing Commit id : 034593346a9897505b8ba33eb27996219f10dd17


testnet network support - cfdxmo84nzkf7zi - validator,rpc,api

@stivelix , Your Moniker and validator addresses are required, please update the PR with those details

@stivelix , Your Moniker and validator addresses are required, please update the PR with those details

@stivelix , Your Moniker and validator addresses are required, please update the PR with those details

Moniker stivelix
validator address akashvaloper1wweutlwmvfkltd56yzmunelrwrnv6td7gnny6s

@stivelix , Your Moniker and validator addresses are required, please update the PR with those details

Moniker stivelix
validator address akashvaloper1wweutlwmvfkltd56yzmunelrwrnv6td7gnny6s


CSS missing (ComfyUI has upgraded its /web implementation)

Previously, we borrowed /lib/litegraph.css and /style.css, but now it doesn't exist anymore.
We should either copy the old files and make it avaiable to login.html, or redo login.html using the new style.

I choose to save and expose the old css. fixed. 7278270bff2cb3d3c12e3582ebc55cba6500cd38


Biovalidator Throws 504 Error when accessions field is included in payload

The Biovalidator service is throwing a 504 Gateway Timeout error when the accessions field is included in the payload for validation, e.g., "accessions": ["SAMEA2397676"]. The issue appears to be related to the asynchronous validation performed by the isValidIdentifier keyword for accessions.
After some investigation with Isuru, we found that this issue does not occur when running on localhost, suggesting it might be related to the Kubernetes environment.

It seems K8s can't access outside world. Need to contact support and ask if we can open connection to identifier.org


Getting an error when leaving a space between doctype and html

Hello,
I'm just trying out Slime and while converting my app.html.eex file I found out that if I write this:
doctype html

html

I get an error like:
Compiling 1 file (.ex)

== Compilation error in file lib/rumbl_web/views/layout_view.ex ==
** (Slime.TemplateSyntaxError) Unexpected symbol '
'
INPUT, Line 2, Column 1

Notice the empty line between doctype and html.
If I remove the space everything is ok.
It also works like this:
doctype html
|
html

Is there any particular reason why an empty line is not allowed between the doctype and html tags?

Hi, @lobo-tuerto, thanks for the report, sounds like a bug to me. Would you like to created a PR and try to fix it?

@Rakoth Sure, I'll take a look and take a stab at it. :)

@Rakoth Got a PR for this issue ready to be reviewed here: https://github.com/slime-lang/slime/pull/161 :)

Fixed by #161


ansible fails with too many open files on Fedora

python(mitogen): ansible-stat Error Executing CMD:/bin/file -i /etc/conda/condarc.d/nwra.yml Exception:[Errno 24] Too many open files

Not sure where the ultimate fault lies - possibly in ansilble or dnf - but because mitogen produces a long running process unclosed file descriptors build up.

I guess this is happening on the target machine? If you set "mitogen_task_isolation=fork" I presume it will abate. Just setting up a CentOS VM now. Would love an example task that lead to ^ and e.g. how many times it was executed.

It looks like either Ansible's dnf.py isn't calling a finalization method of dnf, or dnf isn't calling a finalization method of the underlying rpm library. DNF doesn't appear to directly manipulate those solvx files, it's (seemingly?) handled only by the RPM library.

Ansible dnf.py is definitely missing a call to dnf.Base.close(), it's relying on del to call it, which is wrong to begin with, but easily defeated if /anything/ else holds a reference to the Base instance.
99% sure mitogen_task_isolation=fork on all your dnf tasks will cure this, but that's not a real fix

Yeah, it happens on the target machine.  I suspect something like:
- dnf: name="{{ item }}" state=present
  with_items:
  - A LONG LIST OF ITEMS

Would do the trick to reproduce it.  I suspect we're initializing a new dnf state of some kind each time, and getting a new set of the above open files.  Target machines are Fedora 27 and 28.  Worth reporting to ansible, or do they not care about module cleanup at this point?

Okay, I added a base.close() in dnf.py before every module.{exit,fail}_json() call and that helps.   Looks like DNF itself might be a little suspect

Filed https://github.com/ansible/ansible/pull/41810

/var/log/hawkey.log is closed by hy_sack_free(), which is called by the hawkey.Sac' tp_dealloc in the Python extension. This means the log file will never be closed until the last reference to the sack is destroyed.
Looking at dnf/base.py we see def reset clearing out the reference to the sack, but clearly it persists elsewhere, and doesn't seem to be due to a reference cycle since forcing a GC doesn't close it.
I'm going to have another pass to find where those references leak, but even if we find them and can work around it, there is no promise they won't sneak back later -- this library's design leaves a lot to be desired.
A real fix to this likely requires API changes in hawkey, meanwhile forking will need to be enabled automatically for existing deployed versions when this module is executed.

You've dug much deeper than I was willing to.  FWIW - I've filed https://bugzilla.redhat.com/show_bug.cgi?id=1594016 against dnf if you want to pass along your findings.

Thanks for all your help with this! As it impacts existing versions of Ansible, the solution I've committed will be needed until the relevant versions of hawkey and DNF disappear (i.e. circa 2028 ;)). It's the first case where always-fork is definitely required, been expecting it for some time.


Disable auto-mocking for tree data invariants test

Summary
Travis build was failing because Jest was auto-mocking all modules.
Test Plan
yarn run test

Creating a different PR with fix


bug(mat-slider): Experimental mat-slider throws Cannot read properties of undefined (reading '_hostElement')

Is this a regression?

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

The previous version in which this bug was not present was
No response
Description
When adding the most basic experimental mat-slider to a page it throws the error
TypeError: Cannot read properties of undefined (reading '_hostElement')
when initializing the page.  This does not happen with other experimental controls or the normal mat-slider.  The page does not use a form.
Reproduction
Steps to reproduce:

Create a page with routing (in my case it is lazy-loaded but I don't think this matters)
craete a  containing a
Navigate to the page and an alert is show with the above message

Expected Behavior
the experimental mat-slider works as expected
Actual Behavior
Error thrown and the slider renders as a solid bar
Environment

Angular: 13.0.2 (also 12.x)
CDK/Material: Experimental 13.0.2
Browser(s): Chrome 96
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

This is the console output for the error

Can you post what your component's template looks like? We have tests for the slider that don't throw this error.

Just a guess based on the stack trace: you're probably missing an input inside the slider. The public API of the experimental slider is slightly different than the current one. You can see some usages here: https://github.com/angular/components/blob/master/src/dev-app/mdc-slider/mdc-slider-demo.html


Document the risk of actions getting replayed in FixedUpdate

If we have a system in FixedUpdate that calls `buffer_message_to_send, then during each rollback the system would get called multiple times again, which means the message would be sent multiple times.
Maybe we should provide a schedule FixedUpdateWithoutRollback for actions that should happen in FixedUpdate but shouldn't be rolled back?

I don't think more schedules should be added, since there's already a lot of schedules in Bevy and adding more is both confusing and reduces available parallelism. Maybe buffer_message_to_send could detect that Lightyear is in rollback and no-op automatically, returning an error value.

That's a good idea!


MSYS2 build failures

Experienced behavior
Current master does not build on MSYS2 as documented.
$ ninja
[1/67] Compiling c object<EMAIL_ADDRESS>FAILED<EMAIL_ADDRESS>cc<EMAIL_ADDRESS>../src/graphene-alloc.c: In function 'graphene_aligned_alloc':
../src/graphene-alloc.c:94:11: error: implicit declaration of function 'posix_memalign' [-Werror=implicit-function-declaration]
   errno = posix_memalign (&res, alignment, real_size);
           ^~~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
[2/67] Compiling c object<EMAIL_ADDRESS>[3/67] Compiling c object<EMAIL_ADDRESS>../src/graphene-box.c:53:0: warning: "_WIN32_WINNT" redefined
 #define _WIN32_WINNT 0x0600

In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/crtdefs.h:10:0,
                 from C:/msys64/mingw64/x86_64-w64-mingw32/include/stdlib.h:9,
                 from ../src/graphene-private.h:30,
                 from ../src/graphene-box.c:33:
C:/msys64/mingw64/x86_64-w64-mingw32/include/_mingw.h:225:0: note: this is the location of the previous definition
 #define _WIN32_WINNT 0x502

../src/graphene-box.c:688:15: warning: no previous prototype for 'InitBoxFunc' [-Wmissing-prototypes]
 BOOL CALLBACK InitBoxFunc (PINIT_ONCE InitOnce,
               ^~~~~~~~~~~
ninja: build stopped: subcommand failed.

Expected behavior
Ninja completes the build so I can make you a nice mingw-w64-graphene-git package to allow the new GTK3 dependencies to be built on Windows.
Steps to reproduce
These also form updated build instructions for MSYS2.
From an MSYS2 environment:

Build mingw-w64-meson with makepkg-mingw -sf (packages are not yet available in the repository because @alexpux has been busy) Now just install them: pacman -S mingw-w64-i686-meson mingw-w64-x86_64-meson

Install the resultant packages: pacman -U *.pkg.tar.xz

Install ninja from the repository: pacman -S mingw-w64-{x86_64,i686}-ninja Now pulled in as a dependency.

Install graphene's documented dependencies:
pacman -Syyuu    # repeat as needed, closing the terminal when it tells you

pacman -S automake autoconf libtool pkg-config gtk-doc
pacman -S glib2   # why not native (mingw-w64-{x86_64,i686}) ?

From a MINGW64 or a MINGW32 shell,
cd /usr/src/
git clone git://github.com/ebassi/graphene
cd graphene/
mkdir _build && cd _build
meson.py ..     # note the different name on these platforms
ninja

At which point it fails with the error above.
Operating system in use
Windows 7 Professional N (on Virtualbox on Debian)
SIMD implementation in use
Not a clue, I only care about getting graphene built sensibly so I can fix wacom stylus tilt in GTK master.

Apologies for being a bit gruff trapped in a chain of building the tool to make the tool to do a thing right now. Putting together a non-git graphene 1.4.0 in MINGW-packages as penance.
I note that this may be a regression since 1.4.0: the test was working with autofu.
[...]
checking if building for some Win32 platform... yes
checking for aligned_alloc... no
checking for posix_memalign... no
checking for memalign... no
[...]

We do the same checks in Meson that we did with Autotools, and we conditionally build things depending on the results; that part hasn't changed, and I can quickly verify that the build still works the same way on Linux.
You should have a meson-log.txt under the _build directory, which should tell you whether Meson is able to find various conditional features, like posix_memalign() and InitOnce.

Still broken as of 80d553a532346f3044aee973af67c04f8a914ffd, although at least meson is now available through MSYS2.
build-output.txt
meson-log.txt

Somebody with a Windows machine and MSYS2 will have to debug this, since I don't have a Windows machine with development tools on it.

Would patches for a Tea-CI or Appveyor CI build be welcome?

Yes, as long as they come with the implicit guarantee that somebody will look at Tea-CI/Appveyor, since I don't really have experience with those services.

They'd operate as automated github checks, so you wouldn't have to check them each time. I don't have the time to devote to their ongoing maintenance; I have enough on my plate already. Really I'm only doing this to try and ensure that the next MyPaint release's GTK will be OK.
Let's get the build working first. This is my first tussle with meson, and I don't know it at all, but it's clearly drawing the wrong conclusion about the presence of posix_memalign(). This is meson 0.35, I will try a newer version.
$ pacman -Ss meson
mingw32/mingw-w64-i686-meson 0.35.1-1 [installed]
    High-productivity build system (mingw-w64)
mingw64/mingw-w64-x86_64-meson 0.35.1-1 [installed]
    High-productivity build system (mingw-w64)

Meson 0.36.0 does not fix this issue, sadly.

This actually works fine for me with MSYS/MinGW (not MSYS2):
Checking for function "aligned_alloc": NO
Checking for function "memalign": NO
Checking for function "posix_memalign": NO

I will also note that the aligned malloc logic is broken: #83 so it's probably best to not build the benchmark at all on MinGW.

Till this is figured out, I'd recommend wrapping the posix_memalign check in a if host_machine.system() != 'windows'.


⚠ Bofrost.es has degraded performance

In 99afb80, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1552 ms

Resolved: Bofrost.es performance has improved in 6dc7ab1 after 10 minutes.


Add basic Makefile

Run $ make to test the project from the command line.

Could you add something to the README to explain how to use this?

Sure!

@joostvandijk Done.


UG update with yes, no, start, end and reveal section

Perhaps it would be better for our whole group to use "flash card" instead of "flashcard" in documentation. Since our classes are all named "FlashCard"!


Additional requirements make management more difficult

Why are the default requirements for this task more stringent than the MSDeploy command line parameters?  If this task is intended to be a wrapper for MSDeploy -verb:sync, then you only additional parameters for package location (-source:package=) and -dest:auto.
These are not requirements to run MSDeploy from a command line:

Machines
Admin Login
Password
Website Name
Remove Additional Files at Destination

By enforcing unnecessary requirements, this task is going to cause my team more management overhead.

We keep the website name in a SetParameters.xml file.  So for this piece of data, our configuration management has doubled.
Our agent runs on a domain-joined machine and MSDeploy works perfectly well in this type of environment. But this task forces us to manage credentials.

Check out deployment-groups and end-to-end CI/CD configuration for IIS web app deploy support in deployment groups (DG). With DG, you don't need additional information viz. machine details, credentials etc. Also, the task is richer than WinRM based IIS deploy task.
Another option is to explore msdeploy tasks from marketplace


Update multi-tenant-user-management-introduction.md

Docs Build status updates of commit 41d6822:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory/fundamentals/multi-tenant-user-management-introduction.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Alec13355
Thanks for the fix!


propogate base power through to results for plotting

@Lilyhanig I will close this PR since these changes need to be implemented in this branch https://github.com/NREL/PowerSimulations.jl/tree/jd/add_params_to_results that has several fixes to the solution objects handling.


Removed legion shader preprocessor build

This PR removes the legion shader preprocessor build in applications because the build was very bloated (taking over the vast majority of the repo's stats/info) and it'll likely need to undergo significant changes before being reintroduced

This just needs a quick merge prior to project reorganization (which will introduce sample projects & unit tests)


C parser can't handle structure typedefs referencing themselves as a pointer (such as linked lists)

Describe the bug
A structure that refers to other instances via pointer causes the C parser to fail, as the type is not defined. This breaks a lot of linked-list implementations if the list nodes are typedefed.
To Reproduce
typedef struct Il2CppStringBuilder
{
    Il2CppObject object;
    Il2CppArray* chunkChars;
    Il2CppStringBuilder* chunkPrevious; // This line will fail as Il2CppStringBuilder is not defined yet
    //struct Il2CppStringBuilder* chunkPrevious; // And this is the workaround
    int chunkLength;
    int chunkOffset;
    int maxCapacity;
} Il2CppStringBuilder; // Type 'learned' here

Expected behavior
The parser doesn't fall over on a basic linked-list
Environment (please complete the following information):

OS: Debian bullseye
Java Version: openjdk-11
Ghidra Version: 10.0.4
Ghidra Origin: Github Release

Additional context
Possible fix is to defer the type lookup/validity check for unknown pointer types until the rest of the file/block is parsed? Shouldn't complicate the parser too much.
A workaround is to use struct to refer to the self-referencing type, as ghidra already knows that type exists by the time it parses the line in question.

From what I recall, C does not allow a typedef to be used inside itself but instead requires you to mention the struct. I'm not sure about the rules in C++, though.

In c either a forward declaration or the use of the struct keyword is required. I don't think it is required in c++ though.

Forward declarations don't seem to work here either...

It can be defined earlier in the parsing stream with a placeholder. I have a prototype fix.

Fixed by f4e9dbb13a85cea0dc4af176ed72eb490db5fed4


The latest version of scrcpy, scrcpy v2.4, cannot play with mobile phone headphones, but with PC

The latest version of scrcpy, scrcpy v2.4, cannot play with mobile phone headphones, but with PC
if I play a music on my phone, I want to listen music from my speaker or earpod,
but in fact it come out from the pc!
and your comand below doesn't work!
The following command is invalid:
scrcpy --no-audio

could you pls provider a config file or a brief ui for user to make some customized config?

The following command is invalid:
scrcpy --no-audio

No, it is valid.
https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run

or with arguments (here to disable audio and record to file.mkv):
scrcpy --no-audio --record=file.mkv
=> You mean I need to append audio/video file name in the command line?
But I need to play the online music or vidoe, like spotify or youtube?
So how should I do?
and I have already tested more than once, it just doesn't work!
scrcpy --no-audio


allow custom stop tokens for OpenAI answer

As far as I can tell, answer  doesn't do any special question/answer formatting, which confused me temporarily, suggest changing the description

Good points!

I think the multiline argument in the agent answer interface should be changed to stop more globally, i.e. also in these places.
answer should probably be renamed to generate or complete (now that it doesn't do question-specific formatting). This also requires changing the primer.

I can do both of these on Tuesday, but if anyone else gets there before I do I would be grateful!

I have read the CLA Document and I hereby sign the CLA

Implemented a more general version of this in #52


need to expose andThen in the tutorial

I kept getting cannot find variable andThen until I imported it from the Task module.

Thanks for the fix!


README fix

Fixed bad require in README.markdown from require 'jeweler' to require 'jeweler2'.

Thanks!


cmake should check architecture and fail with an appropriate message

Describe the bug
filament fails on armv7:
/wrkdirs/usr/ports/graphics/filament/work/filament-1.27.0/libs/bluegl/src/BlueGLCoreLinuxImpl.S:15278:9: error: unexpected token in operand
    jmp *(%r11)
        ^

filament fails on i386 on assembly: unexpected token in operand - on the same assembly line.
It doesn't fail on arm64.
Please check architecture in cmake scripts and fail with an appropriate message.
FreeBSD 13.1

arm7 is supported on Android only.


begin/copy: scan for arm executables, update arch label when found

The runtime.GOARCH value isn't accepted by the AppC spec as a value for
the arch label in a manifest when on an arm platform. This commit adds a
case to use "armv7l" whenever runtime.GOARCH is "arm". Additionally
(when on arm) this change scans all files at the build start and any
files copied in later for executables, and will switch the label between
"armv7l" and "armv7b" when it finds a little or big endian binary.
Fixes https://github.com/appc/acbuild/issues/190.

@godart: would you be willing to try out this modified version of acbuild, and see if this fixes your issue?

Thanks @dgonyeo. It works for me now.
I was trying myself to use the golang.org/x/sys/unix.Uname() function to determine the current architecture, but it did not compile due to bugs in golang.

Hrm - is it important that this works for cross-compile situations?  If we can assume we're running natively, then it should be easy to work out current endianness and even armv6/armv7 without walking the binaries - using logic like this xgetgoarm() function
I feel like at some point we just have to add this as a command line option - particularly when cross-compiling - and at that point it doesn't seem worthwhile to try to be as clever as you're being here.  I can't see how we can assert generations of arm architecture other than by just trusting the user to tell us how they compiled the binaries contained in this rootfs :/  (other than completely disassembling all the code we find, looking for armv7 constructs, and assuming we found it all reliably..)
TL;DR: Can we just have a command line option, and default to something based on querying the local CPU (via /proc/cpuinfo or similar)?

No matter what arch label acbuild tries to specify, the user can always override it with a manual acbuild label add arch <value>, so I think acbuild should work fine in the case of cross-compilation.

Just changed this to be more sane, now it'll just look at the endinanness of /proc/self/exe (based on the elf data) and pick an armv7 label. Users wishing for an armv6 label can just manually set it.
@godart would you be willing to try out this new set of changes?

Just pushed the change to use @anguslees's method for determining endianness.

lgtm (fwiw)

It would be real convenient if I had a couple of arm devices to test this on :/

did you fill out the lab survey? ;-)
On 23 June 2016 at 00:57, Derek Gonyeo<EMAIL_ADDRESS>wrote:

It would be real convenient if I had a couple of arm devices to test this
on :/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/appc/acbuild/pull/195#issuecomment-227902218, or mute
the thread
https://github.com/notifications/unsubscribe/ACewN-oZeaHUAKhxkEjK6qtSxaatHHBkks5qOb3DgaJpZM4H9ysK
.

Just pushed changes to also handle aarch64 and aarch64_be, and tested it out on an aarch64 machine courtesy of redbeard. Looks like it works fine at least in that case.

LGTM

Sorry. I've been away from my account for a while.
Works well for my Cubietruck (armv7l) as well.


Process routes one by one and eliminate a route identifier from each of them.

Keeping Rebar3 configuration as minimal as possible.
Excluding the SASL app from dependencies, for a while.
Defining some more helper constants.
Processing routes one by one and eliminating a route identifier from each of them, thus preparing a distilled routes list.

She looks fulminant ! :+1: — Approved. :blue_heart:


Assignment 03

Assignment 03
Checklist

[ ]

[ ]

[ ]

[ ]

Problem
In page three, the component can not work, but actually the .ghx file is at the same place with the .py file.
In page four, I submitted the json file and ghx with .py separately.  I have problem of summiting the homework. By the way, the .json file is not in the same folder with the .py file. How can I find it

@ZHAOHANBING1024 rename the python file to assignment_03.py and it will probably work.


Original repositories for nationalparks

Hi. I have a question. Where can I find the original source repositories for the applications used in this workshop? E.g. for nationalparks. The content of the labs assumes the code is stored in Gogs deployed on the cluster, but I cannot find where are the sources from.

Hi @sobkowiak, you can find all the repositories here:

Java: https://github.com/openshift-roadshow/nationalparks.git
NodeJS: https://github.com/openshift-roadshow//nationalparks-js.git
Python:  https://github.com/openshift-roadshow//nationalparks-py.git
PHP:  https://github.com/openshift-roadshow//nationalparks-php.git

I'm updating some of those for the new version of the lab :)

Thanks @blues-man for the info :)


Fix naming discrepancy

handleSubmit is what appears in SimpleForm.js.

Codecov Report

Merging #3045 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #3045   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          68      68
  Lines        1452    1452
======================================
  Hits         1452    1452

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 89a4722...2debd53. Read the comment docs.

handleSubmit is a prop provided by the reduxForm HOC.
It wraps external onSubmit prop and triggers necessary Redux changes.
Therefore, the example is correct.

Thanks for the explanation.


test(search): improve api.search tests

@cummings updated with requests also updated commit message as discussed.


Update API to use SQLite support library.

This a pure port of existing usage. No new APIs were added to support things like SupportSQLiteQuery.
Because this support library does not use a normal open helper, interop with 1.x and 2.x is not possible. The recommended use will be to use 2.x and the interop library to get entirely to 2.x before switching to 3.x.
Closes #109.

Not updating the README because I don't want to deal with people who mistake it for the released version.


There are a lot of mistakes in the text that needs to be changed

assalamualaikum akhi Aqeel, Thanks for your efforts creating this package, I really appreciate it.
But as I was testing the package I notice many words that are written in a wrong way for example [ ٱلْءَاخِرَةِ , ٱلْءَاخِرِ ,  إِبْرَٰهِۦمَ , وَلَّىٰهُمْ ,  تَرْضَىٰهَا, ], and those are only the errors that I managed to notice, only God knows how many mistakes there are .
I don't know how you got that data, but you should not rely on that source. I advice you to use another source.
And if you don't have time, just tell me and I can create a pull request with a better written text.

Wa alaikumussalam wa rahmathullah,
Jazakallah. Thanks for pointing out those errors. It would be helpful if you can make a pull request.

Fixed. Jazakallah khairan.


Support Connection for ServiceBus binding as well

When we did multi-connection support for Queues/Blobs/Tables, we left it as a TODO to also do for ServiceBus. PR here: https://github.com/Azure/azure-webjobs-sdk-script/pull/128
We need to respect the Connection property for ServiceBus as well and emit the [ServiceBusAccount] attribute.

David and I have made the call to yank service bus from beta. This applies for the template, the trigger binding (they might need to be deleted tempoarily because i dont think we have a way to hide them right now), and we'll take this script PR post beta.

I just tested this PR and it works end to end. However, if you want to take post beta that is fine.

Fixed


⚠ Bofrost.at has degraded performance

In 6cc9a8c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1350 ms

Resolved: Bofrost.at performance has improved in bda127a.


ASP.NET Core RC2 Seed Data using Services

I've been using ASP.NET 5 RC1 in which I've an application in which I seed administrative credentials into the data base using Services as follows:
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddEntityFramework()
                .AddSqlServer()
                .AddDbContext<ApplicationDbContext>(options =>
                    options.UseSqlServer(Configuration["Data:DefaultConnection:ConnectionString"]));

        services.AddIdentity<AdministratorUser, IdentityRole>()
            .AddEntityFrameworkStores<ApplicationDbContext>()
            .AddDefaultTokenProviders();

        services.AddMvc();

        services.AddTransient<AdministratorSeedData>();
    }

Here is the connection string sub-object:
"ConnectionString": "Server=.;Database=kjanshair;Trusted_Connection=True;"
And the service that I use to seed data is being seeded using the Administrative seed data. It all works fine but when I port it to RC2, with the following changes in the startup as:
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddDbContext<ApplicationDbContext>(options =>
            options.UseSqlServer(Configuration["Data:DefaultConnection:ConnectionString"]));

        services.AddIdentity<ApplicationUser, IdentityRole>()
            .AddEntityFrameworkStores<ApplicationDbContext>()
            .AddDefaultTokenProviders();

        services.AddMvc();

        services.AddTransient<AdministratorSeedData>();
    }

with the connection string as:
"ConnectionString": "Server=.;Database=_CHANGE_ME;Trusted_Connection=True;"
I get an exception in Configure() method
    public async void Configure(IApplicationBuilder app, AdministratorSeedData seeder)
    {
        app.UseIdentity();

        app.UseMvcWithDefaultRoute();

        await seeder.EnsureSeedData(); //Here exception occurs
    }

saying:
Message = "Cannot open database \"_CHANGE_ME\" requested by the login. The login failed.\r\nLogin failed for user 'DESKTOP-55E4D9H\\Janshair Khan'."
Why Am I getting this error? I've looked all over the alternatives but couldn't resolved.
Sorry for not proper formatting the code.

@kjanshair how does the 'AdministratorSeedDataclass and yourApplicationDbContextlook like? In particular I am interested in the constructors and theEnsureSeedData()method,  but there may be other relevant parts,  e.g. do you have anOnConfiguring()method on theDbContext`?
PS: you may want to check out how I fixed the code formating on your post.

Also, it may be obvious,  but is the change of the database name in the connection string intentional?

@divega here is my EnsureSeedData() method
`public async Task EnsureSeedData()
{
if (await<EMAIL_ADDRESS>== null)
{
ApplicationUser administrator = new ApplicationUser
{
UserName =<EMAIL_ADDRESS>Email =<EMAIL_ADDRESS>};
            await _roleManager.CreateAsync(new IdentityRole("Administrator"));
            await _userManager.CreateAsync(administrator, "Metallica321!");

            IdentityResult result = await _userManager.AddToRoleAsync(administrator, "Administrator");
        }
    }`

and here is my Context class
`public class ApplicationDbContext : IdentityDbContext
{
public ApplicationDbContext(DbContextOptions options)
:base(options)
{
    }

    protected override void OnModelCreating(ModelBuilder builder)
    {
        base.OnModelCreating(builder);
    }
}`

Put this in Startup.cs file
using (var serviceScope = app.ApplicationServices.GetRequiredService<IServiceScopeFactory>().CreateScope())
            {
                serviceScope.ServiceProvider.GetService<ApplicationDbContext>().SeedUser();
            }

Create a helper class like this
public static async void SeedUser(this ApplicationDbContext context)
        {
            string[] roles = new string[] { "Administrator", "Manager", "Developer", "Accountant", "Designer", "Client", "Watcher" };

            foreach (var role in roles)
            {
                var roleStore = new RoleStore<IdentityRole>(context);
                //add default  role to db
                if (!context.Roles.Any(r => r.Name == role))
                {
                    await roleStore.CreateAsync(new IdentityRole(role));
                }
            }

        }

@ngohungphuc 's code should work


Update README.md

[ ] I have updated the documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4791

Relevant Lines:
12810

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4791

Relevant Lines:
12810

💛  - Coveralls


Uncloak binaries

Adds back cloaked binaries and other cloaked files removed in https://github.com/dotnet/installer/pull/18563

@dotnet/source-build-internal - I am unable to add reviewers to this PR. Can someone take a look at the changes in this PR when they get a chance? Thanks!

@premun - is there any tooling to validate the VMR contains all the intended files?

@MichaelSimons Ella reached out to me and the way that we created this commit is by removing all files and synchronizing them back via darc vmr initialize so if that's what happened then I believe we're good. But there's no command atm that would crosscheck the contents based on SHAs.


Use pip to install numpy and scipy

Closes #5.

The remarks hold for scipy. Also please let me know if you can run this successfully:

on an instance where you delete the venv folder and the numpy folder
on an instance where numpy has already been installed (nothing should happen but the script should not crash)

LGTM, have you checked that the scripts run correctly and that both numpy and scipy are built against openblas?

Merging to test it and re-create new snapshots.


fix static calculator and some code style

Using static properties with eg. doctrine integration is not possible.
Some example: i use Money as embedded class and get it from entity.
$entity->getMoney()->greaterThanOrEqual($otherEntity->getMoney());

Currently it is impossible and generate fatal error because constructior is not triggered:
Fatal error: Call to a member function compare() on null

I like the general idea, but I am unsure about instantiating a new calculator every time. Seems to be an overkill to me. How about falling back to static property in the non-static getCalculator method?
The object itself can still be stored in the money object, hence it will be the same reference.
I can imagine a static globalCalculator property and getGlobalCalculator methods.
What do you think?

I agree that to return to the static - it is better performance.
Please recheck code and give me a feedback.

Sorry, I caused some confusion, I though you might want to keep the getCalculator method. If there is no separation, I think it is better to rename it back to calculator and getCalculator. Sorry about that.
I think the getCalculator does not have to be static, as we don't want to statically access it. The calculator property can and should be static.
:+1: Nice catch @piotrantosik

Ok, soo now is:

private static calculator property
private methot to get this property

And looks good for me :smile:

LGTM, thank you.


Saving Demuxed files

@rsxdalv - Is there a way to save demuxed files?
On the video there are three dots on the right hand side of the separated track with a save option but I'm guessing this is a demo version. Presumably you will set up a button to feed the track to a vocoder or to a voice cloner.
(Helpful video by the way).
regards
@Magenta-6

Oh, actually in chrome it has those buttons. I never knew that other
browsers don't give them. I'll add the download buttons. Thanks for the
feedback!
Until I add the download, I recommend trying another browser for this
specific use case.
On Thu, Jul 20, 2023, 8:57 PM Magenta-6 @.***> wrote:

@rsxdalv https://github.com/rsxdalv - Is there a way to save demuxed
files?
On the video there are three dots on the right hand side of the separated
track with a save option but I'm guessing this is a demo version.
Presumably you will set up a button to feed the track to a vocoder or to a
voice cloner.
(Helpful video by the way).
regards
@Magenta-6 https://github.com/Magenta-6
[image: screenshot 2023-07-21]
https://user-images.githubusercontent.com/116250074/254967802-5d9ac799-5147-419c-83d2-ffe3ab582e6a.jpg
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/85, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI3BBHTO4A3SJQ5RF5DXRFWRVANCNFSM6AAAAAA2RZAFEM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Perfect. I did not think about that. I always run stable diffusion and oogabooga in Chrome for exactly the same reason.
However because Firefox is my default browser it automatically opens when i launch the webui-.bat file.


No more code completion for the file if slicing inside a struct initializer

Example:
package test

Test :: struct {
    slice: []u8
}

create_shader::proc()  {
    buffer: [256]u8

    test := Test  {
        slice = buffer[:]  // remove this and now you get code completion
    }
    some // no completion for `something`
}

something::proc() {
}

This is not currently a bug in ols. You need to have trailing commas in
    test := Test  {
        slice = buffer[:],
    }

This is required by core:odin/parser
It will be fixed automatically when somebody makes it not require trailing commas.


LAB3 - 401.2 Unauthorized

Yesterday I deployed the newest version (including updated reference to biz.dfch.CS.Appclusive.Api of the UI to LAB3. When trying to connect to the UI the following error occurs
HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.

Can you please try to figure out why this is happening and document the reason and solution on this issue?

Authentication on IIS virtual directory mnust be like this:
Anonymous Authentication:  Enabled
Forms Authentication            Enabled
everything else   Disabled


Confusing error message

When using VIM version Gentoo-8.0.1298, running
:win_getid()

Will show the following error: E465: :winsize requires two number arguments. I expected a message saying either Not an editor command: win_getid() or :win_getid requires two number arguments to be displayed. I don't know if these messages make sense since I know nothing about how :win_getid() works but :winsize requires two number arguments doesn't seem very helpful to me since I didn't try calling :winsize.

This happens because win_getid() is parsed as an abbreviated form of the Ex command :winsize, which here is :win, and the argument _getid().  But _getid() is not a number, and even if it was, :winsize needs 2 numbers.
In Vim9, such a confusing error would not occur for 2 reasons:

:call is no longer needed to call a function
whitespace is enforced between an Ex command name and its argument; which gives the extra benefit of making the code more readable

In Vim9, such a confusing error would not occur for 2 reasons:

Which is why I hope at some point we'll have a 'vim9cmdline' option to let us all the Vim9 syntaxes on the command-line.  Sometimes, while developing a plugin, we need to execute a few commands on the command-line; if we're writing a plugin in Vim9 stript, it's confusing to have to use a legacy syntax.


Add Mutation [MUTA] axis

PR to follow up on the inclusion of the new custom axis Mutation MUTA #9
Required for the upcoming font Kablammo.

I'll take a look at the CI fails.  They are related to the changes in #89

rebased on CI fixes that I merged into main

Merged so that we can begin the registration process. @vv-monsalve please reach out to the development team to open the repository and add the repository URL in a header comment in a new PR. Thanks!

https://github.com/google/fonts/pull/5704

MUTA was replaced by #120


Malekula transcriptions incorrect - correct by modifying per-language profiles

Making this issue cf. our email chain.
I just tested Timo's updated profile for Neverver (Lingarak - Sakan), copying changes into the source column and re-running cldfbench lexibank.makecldf. Now cldfbench abvdoceanic.inventories gives us 7 vowels and 21 consonants, down from 14 V and 34 C. Does this look correct? If so we can get started tomorrow on the rest of the profiles. Can't assign Timo is he on this repo?

Thanks @antipodite. I think that is much more reasonable sounding! I also had toruble assigning and tagging Timo here. Perhaps he needs to be added as a collaborator @LinguList? His user name is @tihomirrangelov.

7 vowels and 21 consonants is definitely much closer to the truth.

Pushed all Timo's edited profiles into the master orthoprofile dir

@tihomirrangelov and I discussed yesterday and he will go through the rest of these starting next week. He'll make the edits directly in the repo and flag any concerns/questions as issues [Orthography-Malekula].


Update Remove-PnPApp.md

Type

[ ] Bug Fix
[ ] New Feature
[ ] Sample
[x] Documentation

Related Issues?
n/a
What is in this Pull Request ?

Removed CommonParameters
Changed Default value to Tenant
Removed the word "scoped" . The official name seems to be "site collection app catalog" and "tenant app catalog". See https://learn.microsoft.com/en-us/sharepoint/dev/general-development/site-collection-app-catalog

Thanks @PowershellScripts , much appreciated 😊🙏


HoloOpenGLES.Net?

Could Microsoft support OpenGLES for C# in mixed reality (HoloLens)
Currently, I am starting this by porting C++ OpenGLES XAML template to C#
It would be great if I could get support for doing this.
With support, we could port these Angle Holographics C++ UWP templates to C# community who prefer NON-Unity3D approach.

I would think that it's easier and more efficient to use DirectX instead of OpenGLES.
Consider that OpenGLES with ANGLE is ultimately implemented in DirectX, so your stack really is: C# -> OpenGLES -> ANGLE -> DirectX. Instead you can go C# -> DirectX directly.
Maybe this link will help: https://msdn.microsoft.com/en-us/library/windows/desktop/bb153298(v=vs.85).aspx

@Almost-Done
I am aware of SharpDX UWP XAML interop for C#.
UWP is a great vision. Unfortunately for users coming from OpenTK (e.g WPF/C#), without Angle.WindowStore for C#, there is no continuous path towards UWP.

Could you take OpenTK and change its OpenGL imports to come from ANGLE instead of the system's OpenGL binaries? Then you'd run OpenTK on top of Angle.WindowStore and it might work.
This is not a direction for this project though. HoloJS is about scripting for mixed reality and bridging web and HoloLens development.


Change date for italian

Hi @qutang,
It's possible to change of the date is viewed for the italian language?
In english, the site give this format for exemple: Apr 17, 2018.
In italian need to be for example: 17 Apr, 2018.
I have changed it in the _config file on the root directory with this format: Do MMM YY (because hexo use moment.js to process date.
It's possible to integrate it directly on the theme?

Update:
the correct format is D MMM YY

It is recommended to set date through _config.yml if you are using a different language to keep the flexibility. So I may not make this change.


The file "" does not exist in MimeTypeGuesser.php:123 #23492

Laravel Version
laravel10
PHP Version
8.2
Database Driver & Version
No response
Description
The file " does not exist in MimeTypeGuesser.php:123 #23492  (error)  Sometimes this happens because of limit uploaded file in Default config on Laravel ."
Steps To Reproduce
maximum size is 2Mb .
change this on ini.php (server , Host , ...) or set Config

Hey there,
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54914

tag v0.3

tag v0.3.0

created

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/56623

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/56818

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/57356

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/57363

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/59038


How to set USERMAP_GID to "users"(100)?

I would like to set my default user to 1028:100.
The important part is GID=100 because I have several (shared) GIT repositories and those are supposed to belong to group "users" for shared access.
Unfortunately this doesn't work and I get fatal error: groupmod: GID '100' already exists.
Side effect is all my GIT repositories will be chgrp 1000 (and thus unwritable by all but a single user) each time redmine is restarted.
What is the right spell (if any)
TiA!

I have not tried to use the git integration with redmine on this image.  However, I'll see what I can do.
It seems unlikely that you want all your redmine files to be owned by the same group that the redmine files are.
My suggestion would be to mount the git repo to /srv/git in the docker (this should keep the start script from chowning the directory).  And add an entrypoint.custom.sh script in the data directory.  The script can add the redmine user to the "users" group so it can read the git repo files.
https://github.com/sameersbn/docker-redmine/blob/888b5c7f94a83c39f45ff42b7a71166d6f3cf24c/entrypoint.sh#L21
Reference:https://github.com/sameersbn/docker-redmine/issues/123#issuecomment-130673248

Thanks JCormier.
Just adding one more Volume apparently cured the problem.
No need to do fancy changes as repositories ate world-readable (locally) and that's enough for Redmine'd needs.
Group ID was needed for (read/write) ssh access, but that is done completely outside Redmine Container.
Only one problem remains, but I doubt it's related (so I will close this Issue):
Among other things I have a kernel clone in my repositories (with some custom commits); this does not work under Redmine because initialization thread times out (60 sec) before it can parse the zillion commits. Is there some easy way to (temporarily) enlarge timeout?
Many thanks again!

I had a similar issue with a large svn repo.  My solution was to manually run the fetch_changesets call outside the web process and at least for svn, it was able to keep up after this initial run.
Causes redmine to fetch all repositories changesets
docker-compose exec redmine bundle exec rake redmine:fetch_changesets RAILS_ENV=production

Thanks for the advice but I feel something is severely wrong:
the commad is now running for a looong time (almost since You suggested it yesterday):
  281 pts/1    Sl+  156:31 ruby2.3 /home/redmine/redmine/vendor/bundle/ruby/2.3.0/bin/rake redmine:fetch_changesets RAILS_ENV=production

I'll let it run some more time...

How many repositories do you have?  Maybe check the log files to see if you
can see any output about what its doing.
On Thu, Sep 26, 2019 at 3:07 AM Mauro Condarelli<EMAIL_ADDRESS>wrote:

Thanks for the advice but I feel something is severely wrong:
the commad is now running for a looong time (almost since You suggested it
yesterday):
281 pts/1    Sl+  156:31 ruby2.3 /home/redmine/redmine/vendor/bundle/ruby/2.3.0/bin/rake redmine:fetch_changesets RAILS_ENV=production
I'll let it run some more time...
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/sameersbn/docker-redmine/issues/404?email_source=notifications&email_token=ABK2RGKQQEN43HGHXQCRWRDQLRNRJA5CNFSM4I2GBZJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7URRFQ#issuecomment-535369878,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABK2RGJLOVJ63BLAKLDP77DQLRNRJANCNFSM4I2GBZJA
.

--
Jonathan Cormier
Software Engineer
Voice:<PHONE_NUMBER> x222
http://www.CriticalLink.com http://www.criticallink.com/
6712 Brooklawn Parkway, Syracuse, NY 13211
https://www.linkedin.com/company/critical-link-llc
https://twitter.com/Critical_Link

At begin I had several "old and stale" repositories (due to several movements of the whole redmine / git repo to new server), but now I trimmed everything down to a handful (7) repositories and I can access all of them but the Huge one that's a clone of the whole Linux kernel repo.
I restarted bundle exec rake redmine:fetch_changesets RAILS_ENV=production and I have NO log in normal redmine logs (log/production.log, log/unicorn.stdout.log and log/unicorn.stderr.log).

I'm really not sure.  Your getting into redmine territory I've not
explored.  Maybe ask on the redmine forum.
On Thu, Sep 26, 2019 at 10:50 AM Mauro Condarelli<EMAIL_ADDRESS>wrote:

At begin I had several "old and stale" repositories (due to several
movements of the whole redmine / git repo to new server), but now I trimmed
everything down to a handful (7) repositories and I can access all of them
but the Huge one that's a clone of the whole Linux kernel repo.
I restarted bundle exec rake redmine:fetch_changesets RAILS_ENV=production
and I have NO log in normal redmine logs (log/production.log,
log/unicorn.stdout.log and log/unicorn.stderr.log).

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/sameersbn/docker-redmine/issues/404?email_source=notifications&email_token=ABK2RGOKOYAPICCH4IMPVMDQLTD2LA5CNFSM4I2GBZJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7V3EMQ#issuecomment-535540274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABK2RGO2I2M36ECIEKPSRP3QLTD2LANCNFSM4I2GBZJA
.

--
Jonathan Cormier
Software Engineer
Voice:<PHONE_NUMBER> x222
http://www.CriticalLink.com http://www.criticallink.com/
6712 Brooklawn Parkway, Syracuse, NY 13211
https://www.linkedin.com/company/critical-link-llc
https://twitter.com/Critical_Link


scExpression Prod QA - Firefox nav bar issues

Steps tp reproduce:
Browser: Firefox

https://cellxgene.dev.single-cell.czi.technology/scExpression
Datasets and Collections tabs are not visible

@signechambers1 This may be due to not having the filter=true set. Datasets and Collections tabs are only visible right now if you have the feature flag set. This will be fixed when filters are unhidden.


report error when ShmSize is 0

1.report err when --shm-size=0
2.add unit test for 0

I think it was like this originally; https://github.com/docker/docker/pull/16168, but changed in https://github.com/docker/docker/commit/5190794f1d85d5406611eb69c270df62ac1cdc7f, which no longer used a pointer for this value. See the discussion here; https://github.com/docker/docker/pull/18977#discussion_r48884767
I wonder if there's a reasonable minimum for shm; is shm=0 valid on Linux? Or should we have a minimum, like https://github.com/docker/docker/blob/eed9c930b85ac1489129e4e36e0945bb3ee6954f/daemon/daemon_unix.go#L360-L362
ping @anusha-ragunathan any ideas?

@thaJeztah : shmsize is the /dev/shm mount size. The actual value to the mount syscall cannot be 0. However, if someone sets it to 0, instead of erroring out, we set it to be the default value (65K) and proceed. IMO, there's no need to report an error on 0. Existing behaviour is fine.

@anusha-ragunathan is "1" a valid size? (wondering if we need a minimum amount)

1 is valid, but it gets converted to a 4k.
Essentially, 4k is the minimum and 65536k is the default

I think we can close this, given the discussion above
Thanks @allencloud !!


CAMEL-16717: Base commit for Huawei Cloud IAM Component

JIRA - https://issues.apache.org/jira/browse/CAMEL-16717
Huawei Cloud's Identity and Access Management (IAM) enables you to easily manage users and control their access to Huawei Cloud services and resources. Refer to https://www.huaweicloud.com/intl/en-us/product/iam.html for more information.
This PR contains the Camel Component for integrating with existing users in the cloud. (created via the Huawei Cloud web console)

@davsclaus Some changes that were made to the documentation in this PR were reverted in this Regen commit (https://github.com/apache/camel/commit/daf5c6058b952850a8fc419fbf2fa5ac84050983). The doc title of every component was changed, and the component-header of the IAM component was also changed in the Regen commit. Is there any way to not have the changes be reverted during the regen stage? Thanks

There is a condition missing in the prepare catalog mojo

@oscerd Thanks for your comment. Is there something that I could do to update the prepare catalog mojo so it fixes this issue?

It should be fixed now.

There is a new issue about documentation of huawei components btw https://issues.apache.org/jira/browse/CAMEL-16723


refactor loadBabelModule for making it work well

refactor loadBabelModule for making it work well
add babel-loader into dependency
change config to var from const(because somewhere rewrite it)

PR先发到dev分支

#43


Update pl.coffee

Coverage remained the same at 56.215% when pulling e5ec264660af73308fccb7071cd9a25a549e1a97 on sake12:master into faa24d71ea70874fabedc90e519940d2b6c1c46a on codecombat:master.

Thank you! Merged.


lint

Fixes most warnings found by golangci-lint run --enable-all.
Note: also fixed the README typo mentioned in #6
e2f282b2d5b100186585a3f72cc2b24073ff6c66 breaks some tests. Would you mind looking at it?
Thanks

This had changes that broke some tests. Any idea on how to fix it?


Handle and subscribe to multiple queues in one channel

Hi, I was wondering how to go about handling and subscribing to multiple queues under one channel? With “rabbit.handle” and “rabbit.startSubscription”  I am able to handle and subscribe to one queue per channel but I was wondering if it was possible to do this all under one channel?
In amqplib, I can use ch.consume and it would consume from multiple queues under one channel.
For example
Ch.consume(queue1)
Ch.consume(queue3)
Ch.consume(queue5)
Thanks
Ken

@gittekken - by design you cannot do this. There’s no reason to that I’m aware of. AMQP is a multiplexing protocol and typically it’s better to separate operations per queue to a channel especially because any issues on the channel would close it and disrupt all consumers on the channel. In cases where you’re using acks (and especially batching acknowledgements) - losing a channel that was consuming multiple queues would mean having to clean up several sets of messages in various states.
All that said - if you want to micromanage channels, Rabbot is not the library you want. I intentionally design it to hide channel operations and manage them all for you. You’ll be much happier just using amqlib which exposes the entire protocol primitives directly.


feat: embed github runner

Applicable spec: N/A
Overview
Embed GitHub runner to the image.
Rationale
GitHub runners can be downloaded without GitHub tokens.
For faster image boot.
Module Changes

builder.py: includes GitHub runner download.

Library/Dependency Changes
None.
Checklist

[x] The contributing guide was applied
[x] The documentation is generated using src-docs
[x] The PR is tagged with appropriate label (urgent, trivial, complex)

@yanksyoon FWIW, changing this may affect the stability of the runner's, as it appears that the latest version is not always the version propagated through the Listing Runner application API endpoint (the current approach used in the github runner charm). Do we have a rollback plan in case we download a buggy Runner application?
Quote https://github.com/actions/runner/releases/ :

Note: Actions Runner follows a progressive release policy, so the latest release might not be available to your enterprise, organization, or repository yet.
To confirm which version of the Actions Runner you should expect, please view the download instructions for your enterprise, organization, or repository.
See https://docs.github.com/en/enterprise-cloud@latest/actions/hosting-your-own-runners/adding-self-hosted-runners

@cbartz created a ticket to follow up - use token/path config option to enable downloading org/repo runners rather than use latest runners.


user defined filename feature added in Text-to-pdf tool.

Thanks for your support to the project. Please check below mentioned points -
What kind of change does this PR introduce ?
#156
This PR introduces a new feature. The feature is about giving use rdefined filename to the pdf u get to download from the Text-to-pdf tool.
Documentation updated ?
No
Checklist

[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Links
check out the new feature in this link https://siva-krish45.github.io/Student-portal/Text-to-pdf/index.html
Screenshots
Intro page:

The file downloaded was subjects.pdf as mentioned in the filename input field.

it also checks whether the filename is valid and gives an message.

download pdf button is only enabled when both the fields are non empty and valid.

@siva-krish45 Are you participating in SWOC'21?
If yes, then tell me your Participant Id.

@swati2603 i am not participating in SWOC'21. is it possible to join now ?

@swati2603 i am not participating in SWOC'21. is it possible to join now ?
According to my, I think you can't. Since it has been a month, it has already started. But I'll ask and tell you.

@swati2603 i am not participating in SWOC'21. is it possible to join now ?
According to my, I think you can't. Since it has been a month, it has already started. But I'll ask and tell you.

yeah sure.

@siva-krish45 Participant registration for swoc'21 are  closed

It's okay. No problem


slove dead loop problem when in repl

#446
(autotest :filter :one ) change to (autotest :filter :two ) will into dead loop

deployed in 1.9.9


Improper Parsing of Unicode

Originally reported on Google Code with ID 31
What steps will reproduce the problem?
When a string contains a unicode character specification, it does not parse properly.
Specifically, it works when it is 6 digits long, but not if it is less.

This works:

.rule:after { content: " \00203a "; }

This breaks:

.rule:after { content: " \203a "; }

This should be allowed according to the CSS2 spec:

http://www.w3.org/TR/CSS2/syndata.html#characters

Reported by<EMAIL_ADDRESS>on 2013-03-15 15:13:13

This is fixed.
.arule:after { content: " \00203a "; }

.brule:after { content: " \203a "; }

produces:
.arule:after, .brule:after {
  content: " \203a";
}


Multiple terraform modules in terragrunt configuration

Is there a way to use multiple modules from git inside terragrunt configuration i.e in terraform.tfvars file. This is a single template for my use case as below.
terragrunt = {
terraform {
source= "git::/link/to/repo/vpc.git"
source= "git::/link/to/repo/subnet.git"
}
}

No, not really. Your best bet is to create a module that uses vpc and subnet under the hood and use Terragrunt with that. See #343 for more discussion.


Temp sensors do not show up for Adventurer 5M Pro

System Health details
System Information

version
core-2024.2.1

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.1

os_name
Linux

os_version
6.1.63-haos-raspi

arch
aarch64

timezone
America/Los_Angeles

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
4823

Installed Version
1.34.0

Stage
running

Available Repositories
1389

Downloaded Repositories
22

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 11.5

update_channel
stable

supervisor_version
supervisor-2024.01.1

agent_version
1.6.0

docker_version
24.0.7

disk_total
28.6 GB

disk_used
14.4 GB

healthy
true

supported
true

board
rpi4-64

supervisor_api
ok

version_api
ok

installed_addons
Terminal & SSH (9.9.0), Mosquitto broker (6.4.0), Zigbee2MQTT (1.35.3-1), Log Viewer (0.17.0), Cloudflared (5.1.3), File editor (5.8.0), Z-Wave JS UI (3.3.2), Z-Wave JS (0.4.4), ESPHome (2023.12.9), Home Panel (2.7.0), Studio Code Server (5.15.0), Docker Wyze Bridge (2.3.17), Node-RED (17.0.6)

keymaster

zwave_integration
zwave_js

network_status
on

Dashboards

dashboards
2

resources
5

views
19

mode
storage

Recorder

oldest_recorder_run
January 31, 2024 at 7:51 PM

current_recorder_run
February 10, 2024 at 10:20 AM

estimated_db_size
278.73 MiB

database_engine
sqlite

database_version
3.44.2

Sonoff

version
3.5.4 (a4a8c5f)

cloud_online
0 / 2

local_online
1 / 1

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
Not sure if this is really a bug or if this should be a feature request. Installed the integration and configured it. It correctly identifies my printer, as the Adventurer 5M Pro, and creates the entities for the Camera, Job Percentage and Status and they all show up and update correctly in Home Assistant!!! One of the features lists in for the integration is temp sensors however the integration didn't manage to find the entities. I can help debug this if you can give me some ideas on how to help grab additional data on what it's seeing when it's polling the printer for information.
Reproduction steps
Load and configure the integration, the two temp sensors do not show up.
Debug logs
024-02-10 10:58:40.513 DEBUG (MainThread) [custom_components.flashforge.data_update_coordinator] Finished fetching FlashForge-e0569b7ee80bcea3f58d40d85486fb74 data in 0.034 seconds (success: True)
2024-02-10 10:58:40.515 INFO (MainThread) [homeassistant.components.sensor] Setting up flashforge.sensor
2024-02-10 10:58:40.515 INFO (MainThread) [homeassistant.components.camera] Setting up flashforge.camera
2024-02-10 10:58:40.519 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.flashforge entity: sensor.adventurer_5m_pro_status
2024-02-10 10:58:40.521 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.flashforge entity: sensor.adventurer_5m_pro_job_percentage
2024-02-10 10:58:40.526 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new camera.flashforge entity: camera.adventurer_5m_pro_camera

Diagnostics dump
No response

Hi, glad you found this integration.
Interesting, then they'll have made some changes in how temperatures are reported.
I made this integration to fit the Adventure 4.
I do not own a M5 and can't debug it.
But if you have the possibility to inspect the network protocol then perhaps i can add support for it.
The best way would be if you record with wireshark when you have flashprint running and connected to the printer.

Ok, I'll fire up wireshark and let you know what I see.
On Mon, Feb 12, 2024 at 1:21 PM joseffallman @.***>
wrote:

Hi, glad you found this integration.
Interesting, then they'll have made some changes in how temperatures are
reported.
I made this integration to fit the Adventure 4.
I do not own a M5 and can't debug it.
But if you have the possibility to inspect the network protocol then
perhaps i can add support for it.
The best way would be if you record with wireshark when you have
flashprint running and connected to the printer.
—
Reply to this email directly, view it on GitHub
https://github.com/joseffallman/hass_flashforge/issues/34#issuecomment-1939604964,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3NPIKRFTCLTYYYJJ3BCEDYTKBVDAVCNFSM6AAAAABDC5VDVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZZGYYDIOJWGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Here's the packet from wireshark packet with the M105 coming back:
0000   d8 d3 85 94 89 a7 88 a9 a7 97 d6 d0 08 00 45 00   ..............E.
0010   00 67 79 55 40 00 40 06 3b 9b c0 a8 02 1a c0 a8   .gyU@.@.;.......
0020   02 36 22 c3 ed 8a 4f 22 f9 5a 0c a4 81 51 50 18   .6"...O".Z...QP.
0030   0f a5 18 ce 00 00 43 4d 44 20 4d 31 30 35 20 52   ......CMD M105 R
0040   65 63 65 69 76 65 64 2e 0d 0a 54 30 3a 31 30 34   eceived...T0:104
0050   2e 35 2f 32 32 35 2e 30 20 54 31 3a 30 2e 30 2f   .5/225.0 T1:0.0/
0060   30 2e 30 20 42 3a 35 31 2e 33 2f 35 30 2e 30 0d   0.0 B:51.3/50.0.
0070   0a 6f 6b 0d 0a                                    .ok..
Let me know if that's what you're looking for or if there's something else I can grab for you. I may poke around a bit in the code myself (I'm not a python person though...more C++, C#, Java so it would literally be poking in the code and probably not doing much good).

Just saw your ffpp project is the underlying library for this, I'll pike around in there and see what it returns from the printer and if I can make it do something...

I only poked around ffpp, but, could it be because they are using decimal temps now and your regex are expecting integer temps?
        "Extruder Temp", None, "(T0)\s?:\s?(\d+)/(\d*)")  # noqa

Should be something like:
"Extruder Temp", None, "(T0)\s?:\s?(\d*.)?\d+$/(\d*.)?\d+$")
You'd want something like that for the bed temps too...
I think it handles both decimal and non-decimal strings...

I just went into ffpp and created a pr with the regex changes in it. I ran some tests to make sure that it still sees non-decimal temps correctly, and should also now work for the newer firmware versions that do return decimal temps.

I'm really sorry but I have missed that you sent the wireshark response.
Great, thanks. I'll will have a look and merge it during this weekend.

There is a new version, press the update button in HACS, and check it out!
Let me know if it's working and if so I'll close this issue.

That did it!! Thanks for getting it working!

Thank you 👍


front-proxy example configuration works for sample python service, but not with simple service written using Java Spring Boot

Issue Template
Title: front-proxy example configuration works for sample python service, but not with simple service written using Java Spring Boot
Description:
I am trying Envoy as a front-proxy to a simple API built using Java Spring Boot. But it returns HTTP status 503: upstream connect error or disconnect/reset before headers. reset reason: connection termination
Same configuration works when I replace my service with python service provided in examples.
[optional Relevant Links:]
I do not think it is a bug. I am probably missing some trivial configuration - to proxy a REST-JSON service.
My Java code is as simple as this-
@RestController
@RequestMapping(value = "/customer")
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
@RequestMapping(value = "/{id}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
public Customer getCustomer(@PathVariable("id") Integer id) throws Exception {

	Customer cust = new Customer(id, "My Name", "My Address", new ArrayList<Order>());
             return cust;
    }

}
Config:
static_resources:
listeners:

address:
socket_address:
address: <IP_ADDRESS>
port_value: 7080
filter_chains:

filters:

name: envoy.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager
codec_type: auto
stat_prefix: ingress_http
route_config:
name: local_route
virtual_hosts:
- name: backend
domains:
- "*"
routes:
- match:
prefix: "/service/ab"
route:
cluster: serviceab
http_filters:

name: envoy.router
typed_config: {}
clusters:

name: serviceab
connect_timeout: 0.25s
type: strict_dns
lb_policy: round_robin
http2_protocol_options: {}
load_assignment:
cluster_name: serviceab
endpoints:

lb_endpoints:

endpoint:
address:
socket_address:
address: serviceab
port_value: 8080
admin:
access_log_path: "/dev/null"
address:
socket_address:
address: <IP_ADDRESS>
port_value: 9901

Logs:
[2019-06-14 07:44:21.227][18][debug][http] [source/common/http/conn_manager_impl.cc:1155] [C43][S8392129109895463059] Sending local reply with details upstream_reset_before_response_started{connection termination}
[2019-06-14 07:44:21.227][18][debug][http] [source/common/http/conn_manager_impl.cc:1347] [C43][S8392129109895463059] encoding headers via codec (end_stream=false):
':status', '503'
'content-length', '95'
'content-type', 'text/plain'
'date', 'Fri, 14 Jun 2019 07:44:21 GMT'
'server', 'envoy'
[2019-06-14 07:44:21.227][18][debug][pool] [source/common/http/http2/conn_pool.cc:149] [C44] client disconnected
[2019-06-14 07:44:21.227][18][debug][pool] [source/common/http/http2/conn_pool.cc:171] [C44] destroying primary client
[2019-06-14 07:44:22.183][8][debug][main] [source/server/server.cc:168] flushing stats
[2019-06-14 07:44:22.707][18][debug][connection] [source/common/network/connection_impl.cc:518] [C42] remote close
[2019-06-14 07:44:22.707][18][debug][connection] [source/common/network/connection_impl.cc:188] [C42] closing socket: 0
[2019-06-14 07:44:22.707][18][debug][main] [source/server/connection_handler_impl.cc:80] [C42] adding to cleanup list
[2019-06-14 07:44:22.707][18][debug][connection] [source/common/network/connection_impl.cc:518] [C43] remote close
[2019-06-14 07:44:22.707][18][debug][connection] [source/common/network/connection_impl.cc:188] [C43] closing socket: 0
[2019-06-14 07:44:22.707][18][debug][main] [source/server/connection_handler_impl.cc:80] [C43] adding to cleanup list

Hi All,
I am quite stuck on this; and seemingly it must be something simple in config I am missing. Any clue/pointer please?  Thanks a lot in advance.
Regards.
sibendu

The serviceab Cluster definition has http2_protocol_options: {}. Did you configure your Java server to handle Http/2?

Hi, many thanks for looking into it. yes the service works with Http2. I had some issues with networking setup in my environment. Now I am able to make it work. I am closing the issue.
Thank you.

@sibendu, what was the issue with network set up? I am facing the same issue now.

hi. as far as i can recall, it was nothing related to envoy. i was initially having the java service outside kubernetes on separate cloud VMs; and networking rules were not configured properly.

Got it resolved - it was something to do with http2 options!! Thanks!!!


Help - parse socket output and send to IPC

Hey,
thanks for this great tool!
There are already a couple of status bars supported. I now like to make it work with polybar as well. The idea is pretty simple, connect to the socket of yubikey-touch-detector, parse output for each event and covert it into messages that you can put onto a FIFO. This makes use of polybars custom modules via IPC (short docs here. The component would look like that:
[module/yubikey-touch]
type = custom/ipc

hook-0 = echo
hook-1 = echo "key-icon"

format-foreground = #ffffff
format-background = #ff0000

So when hook 0 (which is the initial one) gets triggered the component is empty, end for hook 1 it shows a nice icon and has catchy colors.
Now I need to listen to the output of the socket. When it matches GPG_1, U2F_1 or MAC_1 it should trigger hook 1 and when  GPG_0, U2F_0 or MAC_0 trigger hook 0.
My approach was like this ncat --recv-only --unixsock $XDG_RUNTIME_DIR/yubikey-touch-detector.socket | grep 0 | polybar-msg hook yubikey-touch 1 (and the same for 1).
Anyways, while I can listen to the socket and read the output successfully. But the grep does not work anymore. I guess because grep works on lines. So I tried the stream editor and also attempt to parse the number to make it re-used for the hook number: ncat --recv-only --unixsock ./yubikey-touch-detector.socket | sed -r 's/GPG_([0,1])/\1/g'. But that does not work as well.
I'm sorry to bother you with such issues, but do you have some hints how to do this?
PS:
The idea was to make this then a systemd service unit that is triggered by your socket unit and gets the socket passed as template argument.

Hey! Happy to hear that you like the tool, and that you are building an extension for polybar - once you succeed, let's link to it in this project's README!
As to your question, what if you would read each message individually, parse it and then decide on the action - basically like I do in waybar module?

Perfect that was the hint I needed. Sorry that I missed that. I looked into the Python bar implementation, but not waybar.
Alright, so I have a solution up and running. It is kinda hard to link it. But I could at least share it here as comment. Eventually I could make it a Gist that you can link. :shrug: So here a simplified version (no special references to fonts, colors etc in polybar).
Somewhere within the polybar configuration:
[module/yubikey]
type = custom/ipc

hook-0 =
hook-1 = echo  " <key-icon> " # GitHub does not show NerdFont icons...

format-foreground = #ffffff
format-background = #ff0000

A new SystemD service unit dependent on the one provided by this project here:
[Unit]
Description=Push YubiKey touch notifications to Polybar module for visualization
After=yubikey-touch-detector.service

[Service]
# Note the awkward offset of +1 for the correct polybar hook.
ExecStart=/bin/sh -c "ncat --unixsock $XDG_RUNTIME_DIR/yubikey-touch-detector.socket | while read -n5 message; do polybar-msg hook yubikey $((${message:4} +1)); done"

[Install]
WantedBy=yubikey-touch-detector.service

I'm very glad that you made it working, I linked this comment in the README, thank you for sharing it 😉

Cool. I'm still on the blinking/animation part. Someone at Reddit told be it should actually work. I'll update the comment if I got it working. I think such effect would make it way better to recognize.

Update
Polybar module without a service:
[module/yubikey]
type = custom/script

exec = ncat --unixsock $XDG_RUNTIME_DIR/yubikey-touch-detector.socket | while read -n5 message; do [[ $message = *1 ]] && echo " <key-icon> " || echo ""; done
tail = true

format-foreground = #ffffff
format-background = #ff0000

This should be promising to allow to apply blinking animation. The key here is the tail = true option. But I guess that should not be a one-liner than.

For noobs like me; if you are on arch you might have to install nmap to get the correct version of ncat :)

I'm using nc -U from openbsd-netcat, works well too 😉
A hint for Arch on how to find the correct package:
$ pacman -Fy
...

$ pacman -F usr/bin/ncat
usr/bin/ncat is owned by extra/nmap 7.80-3

$ pacman -F usr/bin/nc
usr/bin/nc is owned by extra/gnu-netcat 0.7.1-8
usr/bin/nc is owned by community/openbsd-netcat 1.217_2-1

Guys I thought to create Wiki for all sorts of integrations like you shared above, you should be able to edit it without any approvals, and I'm happy for the community to take charge and order Wiki however you see fit 👍
I made an initial page, just as an example: https://github.com/maximbaz/yubikey-touch-detector/wiki/Polybar


Gradle is generating a .m2/settings.xml

For a particular build, I'm seeing a ~/.m2/settings.xml generated. It contains references to a env.MAVEN_LOCAL_REPO, but I'm not sure where this is even coming from.  I suspect it has something to do with publishing to a local maven repository.
Your Environment
macOS and Linux.

Is this issue still relevant? Have we found the root cause? If we didn't then I don't see a way forward with this issue.

I haven't been able to recreate it locally, so I'm happy to close and see if it resurfaces.


Refactor X-Hub-Signature validation

Describe the feature
https://github.com/octokit/webhooks.net/blob/95e10f99238339f5ae712e73b5f4279debef7646/src/Octokit.Webhooks.AspNetCore/GitHubWebhookExtensions.cs#L66 requires a HttpContext object only for its header and for generating a response in the case of failure.  Unfortunately. HttpContexts are sometimes hard to come by; for example, Azure Functions, at least as of runner version 4, for example, provide only HttpRequests and not the full HttpContext.
Therefore, it would be quite nice and DRY if this method could be split into a worker and wrapper, with the worker taking the already-extracted signature header and returning a HttpStatusCode and String for the body, and the wrapper adapting for the ASP.Net HttpContext object.

Okay, so to clarify you'd like an interface that looks something like this:
public static class GitHubWebhookExtensionsWorker
{
    public static VerifyResult VerifyContentType(HttpRequest request, string expectedContentType);

    private static async Task<string> GetBodyAsync(HttpRequest request);

    private static async Task<VerifyResult> VerifySignatureAsync(HttpContext context, string secret, string body)
}

where VerifyResult is something like:
public sealed record VerifyResult
{
    public bool IsSuccess { get; init; } = null!;

    public int? ResponseCode { get; init; }

    public string? ResponseMessage { get; init; }
}

and MapGitHubWebhooks will call GitHubWebhookExtensionsWorker methods checking IsSuccess?

That seems plausible, though maybe GitHubWebhookUtilities rather than ...ExtensionsWorker?
Is it possible to make VerifyResult parametric on its success case?  Then VerifySignatureAsync can return VerifyResult<bool> and MapGitHubWebhooks could also be split into the preflight checks (fairly reusable) and flight (ASP.Net specific) bits?  That is, pull https://github.com/octokit/webhooks.net/blob/95e10f99238339f5ae712e73b5f4279debef7646/src/Octokit.Webhooks.AspNetCore/GitHubWebhookExtensions.cs#L20-L33 out to their own method (adjusted to take a HttpRequest and to return a Task<VerifyResult<string>> capturing the body of a verified message) in the worker class?


Persisting Data

I am using Cage to run a Tauri application that uses IndexedDB for data storage.
Unfortunately, all data stored in IndexedDB is lost every time the system is restarted / rebooted.
Is there any way to preserve the data across multiple reboots?

I think your issue does not come from Cage. Check the path your data are saved to and get the associated mount point maybe.

Thanks, I'll check it out.
Ralph Eichelberger, Ing.
6645 Vorderhornbach 122
Mobil: +43 677 620 321 85
Jonathan GUILLOT @.***> schrieb am Sa., 6. Apr. 2024,
10:41:

I think your issue does not come from Cage. Check the path your data are
saved to and get the associated mount point maybe.
—
Reply to this email directly, view it on GitHub
https://github.com/cage-kiosk/cage/issues/330#issuecomment-2041019042,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIEL553N3DOXV5K4PEN3RD3Y36YKHAVCNFSM6AAAAABF2AX2RSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGAYTSMBUGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Indeed, cage only takes care of graphics, it's unrelated to any kind of storage.


process suggestion: open an issue and have it assigned before starting work

As more people are contributing to KaTeX, the possibility that multiple people might start working on the same thing or taking the same code in different directions increases.  One way that we can minimize the odds of this happening might be to request that people open an issue before starting work on a PR.  We can use the "Assignees" field to indicate who is working on something.  Contributors with push access can assign themselves.  New contributors should leave a message in either new or existing issues indicating their interest and someone will assign them.

Maybe we can make use of assignees for PR review too?  Namely, assign it to yourself when you start reviewing.


StoreRequest needs to handle optionals better

If you register a user and leave out a field, it crashes

Actually wait, maybe not. Investigating...

Yep nevermind, missed something.


Node OS name only correct on Linux

On the Inventory tab, OS attribute is set as undef for Windows and Mac. For Linux it's shown correctly.
The node facts are correct and show Windows and Mac together with their release versions.

Compare the fact name in default_settings.py and/or your settings.py and find a consistent fact name to configure. in INVENTORY_FACTS

Oh I see now, thanks @corey-hammerton though was pointing to a specific fact that was "universal" on all platforms.
Will create a custom one myself and use it on the INVENTORY_FACTS to list it on the inventory.
Thanks and sorry for opening this issue!


Remove force_set from tasks

Description

Related Issues

Checklist

[ ] Is this code covered by new or existing unit tests or integration tests?
[ ] Did you run make unit-testing and make integration-testing successfully?
[ ] Do new classes, functions, methods and parameters all have docstrings?
[ ] Were existing docstrings updated, if necessary?
[ ] Was external documentation updated, if necessary?

Additional Notes or Comments

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (34830a7) 80.33% compared to head (b10d814) 66.51%.
Report is 1410 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1712       +/-   ##
===========================================
- Coverage   80.33%   66.51%   -13.83%
===========================================
  Files          95      122       +27
  Lines        6602     8748     +2146
===========================================
+ Hits         5304     5819      +515
- Misses       1298     2929     +1631

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


运行失败了， asr 服务器

好像是编译失败，我不太明白，没学过 py
这该怎么解决呢
这是输出信息：
parse config succeed, use it
parse config succeed, use it
try to init vosk asr engine
asrDir exists, start asr server D:\temp\asr-server
try to init nlp engine
nlp server not exist
stdout: 2023-03-22 11:31:48.453  INFO : ASR API is starting, please wait...

stdout:
You can find the C code in this temporary file: C:\Users\a\AppData\Local\Temp\theano_compilation_error_i2599uuz

stdout: 2023-03-22 11:31:49.255 ERROR :
stdout: Compilation failed (return status=1): C:\Users\a\AppData\Local\Theano\compiledir_Windows-10-10.0.18362-SP0-Intel64_Family_6_Model_158_Stepping_10_GenuineIntel-3.8.10-64\lazylinker_ext\mod.cpp:1:10: fatal error: Python.h: No such fi.  or directory.  #include <Python.h>.           ^~~~~~~~~~. compilation terminated.
    Traceback (most recent call last):
      File "theano\gof\lazylinker_c.py", line 76, in <module>
        raise ImportError(
    ImportError: Version check of the existing lazylinker compiled file. Looking for version 0.211, but found None. Extra debug information: force_compile=False, _need_reload=True

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "theano\gof\lazylinker_c.py", line 99, in <module>
        raise ImportError(
    ImportError: Version check of the existing lazylinker compiled file. Looking for version 0.211, but found None. Extra debug information: force_compile=False, _need_reload=True

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "main.py", line 38, in <module>
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
      File "punctuator\__init__.py", line 4, in <module>
        from .punc import Punctuator
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
      File "punctuator\punc.py", line 12, in <module>
        import theano
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
      File "theano\__init__.py", line 110, in <module>
        from theano.compile import (
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
      File "theano\compile\__init__.py", line 12, in <module>
stdout:
        from theano.compile.mode import *
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
      File "theano\compile\mode.py", line 11, in <module>
        import theano.gof.vm
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
      File "theano\gof\vm.py", line 674, in <module>
        from . import lazylinker_c
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
      File "theano\gof\lazylinker_c.py", line 139, in <module>
        cmodule.GCC_compiler.compile_str(dirname, code, location=loc,
      File "theano\gof\cmodule.py", line 2410, in compile_str
        raise Exception('Compilation failed (return status=%s): %s' %
    Exception: Compilation failed (return status=1): C:\Users\a\AppData\Local\Theano\compiledir_Windows-10-10.0.18362-SP0-Intel64_Family_6_Model_158_Stepping_10_GenuineIntel-3.8.10-64\lazylinker_ext\mod.cpp:1:10: fatal error: Python.h: No . ch file or directory.  #include <Python.h>.           ^~~~~~~~~~. compilation terminated.

asr server exit: 1
(node:19264) UnhandledPromiseRejectionWarning: false
(Use `echo --trace-warnings ...` to show where the warning was created)
(node:19264) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:19264) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

哦哦，和4好像一样，说什么安装c++，我用 go 的时侯编译 sqlite 需要什么c++的玩意，好像安装过，我换台电脑试试看