Update Tutorial Chapter 4 for MET 9.0, METplus 3.0

Replace italics below with details for this issue.
Describe the Task
Update Chapter 4 pages to reflect changes to MET9, METplus3
Chapter 4 uses MODE, MTD MET tools; Mode, MTD METplus
Time Estimate
12 pages to review, update
Check for moved or removed links, renamed tools
~1 week at 50%; goal next Tuesday
Sub-Issues
Consider breaking the task down into sub-issues.

[ ] MET mode
[ ] METplus Mode
[ ] MET MTD
[ ] METplus MTD
[ ] Additional Exercises

Relevant Deadlines
METplus3.1 beta
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[x] Todd Arbetter, George McCabe
[x] John Opatz

Labels

[x] MET/METplus documentation (online tutorial)
[x] High priority
[x] NCAR

Projects and Milestone

[ ] Review projects and select relevant Repository and Organization ones
[ ] Select milestone

Define Related Issue(s)
Consider the impact to the other METplus components.

[ ] METplus, MET, METdb, METviewer, METexpress, METcalcpy, METplotpy

Task Checklist
See the METplus Workflow for details.

[ ] Complete the issue definition above.
[ ] Fork this repository or create a branch of develop.
Branch name: feature_<Issue Number>_<Description>
[ ] Complete the task and verify your changes.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop, listing the <Issue Number> in the title.
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

Issue 443, METplus MTD, needs to be resolved

I have reviewed the tutorial chapter and have the following comments:
MET Tool: MODE splash page
—Links to MET users guide goes too ver. 8.0, not 9.0
MODE Tool: configure
—Links to MET users guide goes to ver 8.1, not 9.0
MODE Tool: output
—The tutorial lists what royal blue is, but what does red mean? Or green?
—NCView is installed on the system, but it’s not set for my path and I’m guessing not for the average tutorial taker (on Dakota). How can they set this up?
Use case: MODE
—Link to MET user's guide goes to ver 8.1, not 9.0
—The METplus user’s guide link is broken
—The path to the logs ($METPLUS_TUTORIAL_DIR/output/mode/logs/) does not exist. Is it supposed to be $METPLUS_TUTORIAL_DIR/output/logs/?
MTD: configure
—Make sure to address the yellow box’s comment
—the first blue box should probably indicate the censor_thresh, censor_val, and conv_time_window to provide contextual clues for where the change should be made (almost thought that I should be setting these variables myself!)
—for the conv_radius, should the “/grid_res” remain there?
MTD: Run
—Running MTD with the command given produces an error: “yyerror() -> syntax error in file ‘/tmp/met_config_26409_0’ line 244 text =‘(nut)’”
METplus Use Case: MTD
—MET users guide links to ver 8.1, not 9.0
—METplus users guide link is broken
—The path to the logs ($METPLUS_TUTORIAL_DIR/output/mtd/logs/) does not exist. Is it supposed to be $METPLUS_TUTORIAL_DIR/output/logs/?
Additional exercises
—The OUTPUT_BASE variable doesn’t exist in the mid.skip.conf or mtd.unzip.conf files, it’s in the tutorial.conf file. This should be indicated in the tutorial so the user isn’t confused
—Can a link to the METplus User's guide glossary be added for the scrub_staging_dir and staging_dir

I'm done with this chapter

Closed unless errors are found testing on supporting NCAR, NOAA platforms (#468)


Implication Constraints

We have discovered OutsideIn's constraint solving technique for implication constraints does not hold true for Dromedary's constraint algebra.
This PR will explore alternatives to the implication constraint.

We implemented the notion of a restricted implication constraint as described in the email to Mistral. Namely,
implication constraints are of the form: forall bs. C => C' where the free variables of C are rigid and a subset of bs.
This allows us to locally determine whether C is true or false.

We implemented the notion of a restricted implication constraint as described in the email to Mistral. Namely,
implication constraints are of the form: forall bs. C => C' where the free variables of C are rigid and a subset of bs.
This allows us to locally determine whether C is true or false.

This draft is complete. However, after testing, the inference provided here is rather weak. Often requiring explicit annotations for everything. We aim to address this in our Ambivalents or Stratified Inference branches. Hence this branch will not be merged w/ main (but serves as an interesting experiment).


Kernel package scan missing

Hi,
I have the kernel image included in the licence.manifest file:
PACKAGE NAME: kernel-image
PACKAGE VERSION: 5.15.92+gitAUTOINC+509f4b9d68_14b35093ca
RECIPE NAME: linux-raspberrypi
LICENSE: GPL-2.0-only
But the script doesn't detect it in the components lists:
It doesn't list it neither in the recipe package list in step 4 and 5, so the scan uploaded doesn't contain it.
Is there something i am missing ?
How can I execute the script just for linux-raspberrypi package , and append it to the existing scan ?
Thank you in advance,

Please check the README. The kernel naming in Yocto is custom for each project and is difficult to map to the origin.


Local storage of custom profile and load by default when there is one

Related to #9, #26 and #97, why not store/host the custom configuration(s) client side?
HTML5 Persistent (Offline) Storage allows 5 MiB by default, and Chrome can be asked to store even larger data.
Write f.e. on KeyUp when editing :
storage.getItem('value')
Read:
sessionStorage.setItem('value', this.value);
A demo: https://html5demos.com/storage/
Localstorage is supported since IE8 and even works on Android and iPhone 2.0+
Note: when there is a locally stored profile, load that custom profile by default.
Purpose: I would use such a feature for profile (a) development, (b) fine-tuning, (c) testing.

Thanks for the suggestion.

why not store/host the custom configuration(s) client side?

Because we want some way to share customized profiles between users. And perhaps that could also generally provide permanent storage of customized profiles (but not sure about that yet).
If not, Local Storage would be a simple alternative. We already use it to remember various application states. But there is no overall concept for an improved profile handling yet.

Hello,
I am interested in the feature described above (==> Because we want some way to share customized profiles between users)
I developped a profile which I liked to share with my bike-frends and some bike-associations.

Not all frends are familiar with cut/paste
The use of Brouter-web is very simple and confortable, that is why I am looking for a simple solution to share my profile using this very good address with 100-200 persons.

The corresponding issue is #26, planned to be one of the next things to work on.

Hallo Norbert,
Besten Dank für deine Antwort!

Auch das Fenster „data“ ist für mich einzig, man kann leicht bei der Planung auf Segment-basis die Eigenschaften des Weges kontrollieren. (ich nutze es jetzt vor jeder Tour ins unbekanntes Terrain)
Mit Mühe schaffen andere Tourplaner nur Statistiken!
Ich war 35 Jahre IT-Experte, Performance-Optimierung und Nicht Funktionale Test: Wenn ich irgendwie helfen kann, bitte melden!
(Wohne 12 Km von Frunkfurt / M)
V.G.
Von: Norbert Renner<EMAIL_ADDRESS>Gesendet: Mittwoch, 8. Mai 2019 21:42
An: nrenner/brouter-web<EMAIL_ADDRESS>Cc: EssBee59<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Betreff: Re: [nrenner/brouter-web] [Feature request] Local storage of custom profile and load by default when there is one (#127)
The corresponding issue is #26 https://github.com/nrenner/brouter-web/issues/26 , planned to be one of the next things to work on.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/nrenner/brouter-web/issues/127#issuecomment-490623038 , or mute the thread https://github.com/notifications/unsubscribe-auth/AL75PSCHWMDR2NX3FXXOHZDPUMUHTANCNFSM4FOPJM6A .  https://github.com/notifications/beacon/AL75PSDS6PO6OZ5WM5QPCX3PUMUHTA5CNFSM4FOPJM6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODU7FAPQ.gif

I like the idea of uploading a profile file instead of pasting it but I would like to suggest a slightly modified approach: there could be a field where you can provide an absolute URL with a profile file on an external web server (direct link). Using this you could avoid using a local storage in a lot of cases and you would allow sharing a track URL which simply includes a link to the external profile file and start/end points, too. If the external file isn't available you simply throw a warning and fall back to the internal default.
The parsing, validating etc. is already there so there shouldn't be any security concerns when downloading the profile from an external source instead of pasting it directly to the web interface.
It's a pity that at the moment you can't share your tour plan with others when you aren't using one of the basic profiles provided :-)


helm: Bump helm-toolbox version

This is to pick the latest helm version, which fixes the below issue.
Relates: https://github.com/cilium/helm-toolbox/pull/2
Relates: #28777
Fixes: #30039

/test


Add support for VersionId in PutObjectAcl

Fixes https://github.com/boto/boto3/issues/385
cc @jamesls @JordonPhillips

:boat:


Upgrading tp 1.1.5 causes all steps to be skipped

Hi,
I have a suite of tests that contain around 400 steps. They have been running and passing for months. I just upgraded to cucumber 1.1.5 and now just about all of my steps get skipped! My scenarios begin with logging in a user - that works, but after that everything gets skipped. I have no idea why this is happening; the console output and log file aren't telling me anything (at least that I can discern). (BTW, I ran the tests with the --backtrace option, but that didn't produce any extra output from running them without it.)
I searched around for an answer, but did not find one. But I see that this upgrade just took place about a dozen hours ago, so maybe that's the reason.
My version of rails is 3.2.1 and cucumber-rails is 1.2.1. When I freeze to the old version of cucumber (i.e. add "gem cucumber, 1.1.4" to my Gemfile) all tests pass.
Works Fine: cucumber 1.1.4 , gherkin 2.7.7
Steps Skipped: cucumber 1.1.5 , gherkin 2.8.0
Can someone help me figure out what is going on?
Thanks,
Larry

Thanks for reporting this. It's hard to diagnose what's going without a bit more information.
When you say skipped, are they literally turning blue in the console and being counted as 'skipped' in the summary at the end of the feature run? Or do you mean they're passing without being executed?

Could this be due to #227? Are you using Capbyara?

Just wanted to update you guys on this issue: I just upgraded to Cucumber 1.1.8 and all is well!!!
Thanks for all of the work that you do on this great gem,
Larry


[Package Issue]: Gyan.FFmpeg sets environment path incorrectly

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
The ffmpeg, ffprobe, and ffplay aliases do not work even after restarting shell due to the environment path being wrong.
The environment path added was C:\Users\...\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe but it needs to be C:\Users\...\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-5.1.2-full_build\bin before it works.
Steps to reproduce

winget install ffmpeg
Wait for installation to complete
Close and re-open shell
Type ffmpeg --help, it will fail and say it's unrecognised

Actual behavior
the ffmpeg, ffplay, and ffprobe aliases are not recognized
Expected behavior
They should be found and refer to the binary.
Environment
Windows Package Manager (Preview) v1.5.101-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1105
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v<IP_ADDRESS>

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Screenshots and Logs

This is because ffmpeg is a library and not truly a portable application or portable installer
Blocked by https://github.com/microsoft/winget-cli/issues/2711

It works for me though.

Interesting.
I wonder if it's due to path cramming differences between user/admin and whether or not developer mode is enabled. Might have something to do with symlink creation

Doesn't work for me, I had to explicitly put \ffmpeg-5.1.2-full_build\bin to the end of the environment path. It looks like you're either on Linux or using a different terminal to me. Maybe it's something to do with that? But I tried Windows Terminal, PowerShell (latest from the Windows Store), normal PowerShell, and Command Prompt. It didn't work on any.

Also tried in my virtual machine. Even if the directory C:\Users\<Username>\AppData\Local\Microsoft\WinGet\Links has been added to PATH and can be seen in the system's "Environmental Variables" settings, it is not shown in the subsequent processes. 🤔

Also tried in my virtual machine. Even if the directory C:\Users\<Username>\AppData\Local\Microsoft\WinGet\Links has been added to PATH and can be seen in the system's "Environmental Variables" settings, it is not shown in the subsequent processes. 🤔

I believe you need to fully close all previous terminals, then open a new one for it to actually refresh. Hence why it's not in your PATH yet.

C:\Users<Username>\AppData\Local\Microsoft\WinGet\Link

Even when doing that, I still don't see it reflected in $env:Path
It looks to me like it is only added to the User Variable path and not the System Variable path

I believe you need to fully close all previous terminals, then open a new one for it to actually refresh.

Doesn't work for me.

It looks to me like it is only added to the User Variable path and not the System Variable path, Adding %LOCALAPPDATA%\Microsoft\WinGet\Links to the System Variable path seemed to resolve the issue for me.

Simply opening User Variable Path edit dialog and then clicking on "OK"s twice also resolves the issue.

For me, %LOCALAPPDATA%\Microsoft\WinGet\Links was never added. Only %LOCALAPPDATA%\Microsoft\WindowsApps. I tried adding it to both user and system PATH, as well as one or the other, and nothing still.
I also tried undoing my change and just opening and hitting save twice, and still nothing.
The fact that did work for you has to be incredibly odd.

This is because ffmpeg is a library and not truly a portable application or portable installer

The pkg being downloaded is ffmpeg-5.1.2-full_build.zip which contains three statically compiled i.e. standalone bnaries.
P.S. The PackageName in the locale files should be corrected to just FFmpeg.

The pkg being downloaded is ffmpeg-5.1.2-full_build.zip which contains three statically linked i.e. standalone bnaries.

My mistake, I was misunderstanding between multiple issues

This is because ffmpeg is a library and not truly a portable application or portable installer

The pkg being downloaded is ffmpeg-5.1.2-full_build.zip which contains three statically linked i.e. standalone bnaries.
P.S. The PackageName in the locale files should be corrected to just FFmpeg.

I think the package names require authors, and therefore it should be Gyan.FFmpeg as it is now. Theoretically, it could be FFmpeg.FFmpeg, however, FFmpeg did not author the builds themselves.

I'm referring to PackageName, not PackageIdentifier.
See line 12 of https://github.com/microsoft/winget-pkgs/blob/master/manifests/g/Gyan/FFmpeg/5.1.2/Gyan.FFmpeg.locale.en-US.yaml and https://github.com/microsoft/winget-pkgs/blob/master/manifests/g/Gyan/FFmpeg/5.1.2/Gyan.FFmpeg.locale.zh-CN.yaml
'Codex FFmpeg' is the name of my site. The package is simply 'FFmpeg;'.

I'm referring to PackageName, not PackageIdentifier. See line 12 of https://github.com/microsoft/winget-pkgs/blob/master/manifests/g/Gyan/FFmpeg/5.1.2/Gyan.FFmpeg.locale.en-US.yaml and https://github.com/microsoft/winget-pkgs/blob/master/manifests/g/Gyan/FFmpeg/5.1.2/Gyan.FFmpeg.locale.zh-CN.yaml
'Codex FFmpeg' is the name of my site. The package is simply 'FFmpeg;'.

Ahh my mad. I do agree with this.

P.S. The PackageName in the locale files should be corrected to just FFmpeg.

I forgot to change the PackageName and have opened a PR for this 😂:
https://github.com/microsoft/winget-pkgs/pull/95368

Doesn't work for me, I had to explicitly put \ffmpeg-5.1.2-full_build\bin to the end of the environment path. It looks like you're either on Linux or using a different terminal to me. Maybe it's something to do with that? But I tried Windows Terminal, PowerShell (latest from the Windows Store), normal PowerShell, and Command Prompt. It didn't work on any.
The normal environment path has nothing but that ffmpeg-5.1.2-full_build folder within it. Maybe a solution would be to symlink the ffmpeg, ffprobe and ffplay binaries to the root?

I have the exact same problem.
This was added my PATH: C:\Users\steven89\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\
But the exe's live 2 folders deeper: C:\Users\steven89\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-5.1.2-full_build\bin

and whether or not developer mode is enabled. Might have something to do with symlink creation

I have developer mode enabled, and it works for me. Is it related to that? Does Winget not create symlinks on non-developer machines and adds the binary directly to the PATH instead? If so, that is a non-developer mode-specific bug.

and whether or not developer mode is enabled. Might have something to do with symlink creation

I have developer mode enabled, and it works for me. A symlink is added to %localappdata%\Microsoft\WinGet\Links\, people who report it to not work have the binary PATH directly added instead. Is it related to that? Does Winget not create symlinks on non-developer machines and adds the binary directly to the PATH instead? If so, that is a non-developer mode-specific bug.

What "developer mode" are you referring to? Is this a winget-cli thing? A powershell thing? Windows itself?
As you can tell from the question it is safe to assume I'm not running developer mode :), so you may be on to something.

What "developer mode" are you referring to? Is this a winget-cli thing? A powershell thing? Windows itself?

See https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development. Yes, it is a Windows thing. The important thing that you need to know is that symlinks normally only work under admin, and developer mode bypasses that:

Try enabling it and see if it resolves your problem.

What "developer mode" are you referring to? Is this a winget-cli thing? A powershell thing? Windows itself?

See https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development. Yes, it is a Windows thing. The important thing that you need to know is that symlinks normally only work under admin, and developer mode bypasses that:
I'm thinking the "Add binary directory to PATH directly" is a fallback to non-admin and non-developer mode machines. Try enabling it and see if it resolves your problem.

Ok, I'll try that. But even if it would fix my problem, there is still a bug at work here, no? The path added to PATH on non-developer mode machines should not be incomplete...

I am now able to replicate this bug by turning off developer mode. Note that refreshenv is a Chocolatey command that  refresh environment variables in the current terminal session:

I have opened up an issue for it: https://github.com/microsoft/winget-cli/issues/2909. This bug should only affect people with non-admin and non-developer mode enabled.

This same issue is happening with aria2.aria2, in the exact same way.

I also ran into this issue. Fresh Win11 install, unelevated, no developer mode.
winget install ffmpeg

Closed and opened the terminal, then checked the path:
PS> $env:path -split ';'
...
C:\Users\kevma\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe

PS> ls C:\Users\kevma\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----         4/15/2023   2:38 PM                ffmpeg-6.0-full_build

Going deeper into the path, at \ffmpeg-6.0-full_build\bin, I can find the executables.
    Directory:
C:\Users\kevma\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe
\ffmpeg-6.0-full_build\bin

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----          3/4/2023  11:54 AM      131666944 ffmpeg.exe
-a----          3/4/2023  11:54 AM      131504128 ffplay.exe
-a----          3/4/2023  11:54 AM      131544064 ffprobe.exe

Same here

Resolved in WinGet v1.5.1081-preview release

It may be a bug. For now, try winget install Gyan.FFmpeg with administrator status.

Resolved in WinGet v1.5.1081-preview release

Close with reason: Stated above;

Resolved in WinGet v1.5.1081-preview release

I tried with the prerelease winget, doesn't solve for me.

This is happening for me still as a heads up
The issue is that the install seems to add the parent directory to the PATH, instead of full-build/bin:

The issue is that the install seems to add the parent directory to the PATH, instead of full-build/bin

Same here...

@rvxfahim Did you already have an installation of ffmpeg from an older version of WinGet?
@GavinRay97 @brizolara Can you please share the version of WinGet you are running from winget -v command?

@mdanish-kh Certainly, thanks for the swift reply (and on a weekend, no less)
S C:\Users\rayga> winget -v
v1.4.11071

I suspect this is because of your earlier comment:
https://github.com/microsoft/winget-pkgs/issues/95349#issuecomment-1528823080

Resolved in WinGet v1.5.1081-preview release

Sorry, I should have double-checked my version. For some reason I thought WinGet auto-updated.

@GavinRay97 An uninstall would be required first to benefit from the fix. I would advise uninstalling the package first from WinGet 1.4 (if you haven't upgraded already) as there's a bug currently in the preview version where the uninstall command gets stuck infinitely for these packages if there is a prior installation from WinGet 1.4.
If you have upgraded though, the most convenient workaround I've found is to downgrade to WinGet 1.4 (i.e. download and install msix from https://github.com/microsoft/winget-cli/releases/download/v1.4.10173/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle), force uninstall the package using winget uninstall ffmpeg --force, then upgrade to the preview release and install the package with winget install ffmpeg

@rvxfahim Did you already have an installation of ffmpeg from an older version of WinGet?

yes, I installed 1.4 then force uninstalled and then installed preview version of winget and then installed ffmpeg. Now it works

I have opened up an issue for it: Root directory of portable packages is always added to the PATH regardless of RelativeFilePath winget-cli#2909.

This bug should only affect people without developer mode enabled and don't have admin previlages.

can confirm I still get this bug as of June of 2023.
I didn't turn on Developer Mode at all, just launch Terminal as admin that makes a difference.

Without admin privileges: C:\Users\_YourName_\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe got added as PATH. Nothing in C:\Users\Tuan\AppData\Local\Microsoft\WinGet\Links, it's just an empty folder.
With admin privileges: C:\Users\Tuan\AppData\Local\Microsoft\WinGet\Links is added as PATH instead. There are also 3 symlinks: "ffmpeg.exe", "ffplay.exe" and "ffprobe.exe" in this folder.

Confirmed issue and solution for 6.0
..\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-6.0-full_build\bin

Why was this closed? I have the same issue. It added the path two directories up to PATH instead of the bin directory

Why was this closed? I have the same issue. It added the path two directories up to PATH instead of the bin directory

@B4ttleMast0r I had the same problem as you, but it was because I didn't carefully read the all the messages in this thread. It is fixed only if you installed FFmpeg with winget 1.5+. It has been in release candidate stage for almost a month so hopefully they can push it to GA soon and us poor folks will stop cutting our metaphorical fingers on this issue.

Also tried in my virtual machine. Even if the directory C:\Users\<Username>\AppData\Local\Microsoft\WinGet\Links has been added to PATH and can be seen in the system's "Environmental Variables" settings, it is not shown in the subsequent processes. 🤔

I believe you need to fully close all previous terminals, then open a new one for it to actually refresh. Hence why it's not in your PATH yet.

works for me, thank you.

+1, Same error: as workaround:
$env:path += ";C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-6.0-full_build\bin"

For me, I found out that I wasn't running winget as admin. It got installed but no environment variables can be added.

Still not working for me with fresh install on Windows 11 22H2
Winget v1.7.11261
FFmpeg C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-7.0-full_build\bin

I uninstalled the package and reinstalled as admin, then the PATH was actually updated.

I recently clean installed Windows 11 with the latest Media Creation Tool -> USB. I did winget install ffmpeg as admin and it properly added to path correctly for ffmpeg, ffplay, and ffprobe. I did not attempt without admin but I presume it would have failed.

when you used command: "winget install ffmpeg"
the bin PATH maybe not add in windows 11.
resolution:
run sysdm.cply
to add a new record in $PATH in Windows
its path as below:
C:\Users<username>\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-7.0.2-full_build\bin
updated Sep.14 2024.

when you used command: "winget install ffmpeg" the bin PATH maybe not add in windows 11.
resolution:
run sysdm.cply to add a new record in $PATH in Windows its path as below: C:\Users\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-7.0.2-full_build\bin
updated Sep.14 2024.

thank you @dave2nian, I was trying to figure out where the binary was after using winget.


Add Toasts for transaction failures

Add onTransactionFailed to evm-client and plumb it through to the tx hooks w/ toasts.

Punting on this issue. onError toasts were implemented sufficiently in #1047


Fix crash on double release

Fix crash on double release

Summary
Make sure image is set to nil once it has been released. This ensures
that we won't release it more than once.
Fixes #1323
Test Plan
This repository contains an example of how to make current version crash.
https://github.com/op/svg-cat-image-boom
Point your package to file:/.../local/path/to/react-native-svg and run yarn upgrade --latest --pattern react-native-svg and you should be good to go.
Compatibility

OS
Implemented

iOS
✅

Android
✅

Checklist

[ ] I have tested this on a device and a simulator
[ ] I added documentation in README.md
[ ] I updated the typed files (typescript)
[ ] I added a test for the API in the __tests__ folder

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix(package): fix package cjs import/require

Current version of the package doesn't export properly the commonjs dist. It leads to errors like "Error [ERR_REQUIRE_ESM]: require() of ES Module"
Solution based on :

https://www.sensedeep.com/blog/posts/2021/how-to-create-single-source-npm-module.html (Package.json paragraph at the end)
https://nodejs.org/api/packages.html#packages_conditional_exports

Tried on my side (Typescript project using CommonJs require after transpilation) it works.

hello @giorgiabosello, don't hesitate if you need more element to review (should i raise an issue ?)

Hi @cbazureau, I should be able to check this within the week. Thank you for your patience.


error: TypeError: Cannot read property 'length' of undefined

Just installed YakYak 1.5.11 from .deb package on Ubuntu 18.04 and get the following after entering authentication details:
Starting Yakyak v1.5.11...
  using hangupsjs v1.3.10
--------

(yakyak:6524): Gtk-WARNING **: 13:02:19.060: Theme parsing error: gtk.css:6342:10: 'height' is not a valid property name
hangupsjs:: connecting
reconnecting 0
resolving proxy http://plus.google.com
resolving proxy https://plus.google.com
resolved proxy DIRECT
resolved proxy DIRECT
connected 0
Error on YakYak window:
 {
  msg: "Uncaught TypeError: Cannot read property 'length' of undefined",
  url: '/usr/lib/yakyak/resources/app.asar/ui/models/conv.js',
  lineNo: 520,
  columnNo: 32,
  error: TypeError: Cannot read property 'length' of undefined
      at Object._initFromConvStates (/usr/lib/yakyak/resources/app.asar/ui/models/conv.js:520:32)
      at Object.init (/usr/lib/yakyak/resources/app.asar/ui/dispatcher.js:54:10)
      at doAction (/usr/lib/yakyak/resources/app.asar/node_modules/trifl/lib/action.js:45:68)
      at action (/usr/lib/yakyak/resources/app.asar/node_modules/trifl/lib/action.js:21:12)
      at Object.init (/usr/lib/yakyak/resources/app.asar/ui/dispatcher.js:39:14)
      at file:///usr/lib/yakyak/resources/app.asar/ui/app.js:209:23
      at EventEmitter.<anonymous> (file:///usr/lib/yakyak/resources/app.asar/ui/app.js:107:16)
      at EventEmitter.emit (events.js:315:20)
      at Object.onMessage (electron/js2c/renderer_init.js:91:925)
}
--- End of error message in YakYak window.

I have the same issue and after this error I'm also stuck at connecting.
Tried on the newest YakYak Release <IP_ADDRESS> as well as beta

I'm currently looking at this issue, but as I'm unable to reproduce myself I'm going to need some more info. Any chance you could run yakyak with the --debug argument and post the output here. Remove any sensitive details such as emails or numbers from the output before posting.

@HomerSp Here you go, ran with the --debug argument and hopefully all personal data removed.
  using hangupsjs v1.3.10
--------
hangupsjs:: connecting
reconnecting 0
resolving proxy http://plus.google.com
resolving proxy https://plus.google.com
resolved proxy DIRECT
resolved proxy DIRECT
2021-04-15 9:30:46 DEBUG emit connecting
2021-04-15 9:30:46 DEBUG DEBUG: Received event connecting
2021-04-15 9:30:46 DEBUG getting auth...
2021-04-15 9:30:46 DEBUG using cached cookies
2021-04-15 9:30:46 DEBUG getAuth done
2021-04-15 9:30:46 DEBUG fetching pvt
2021-04-15 9:30:46 DEBUG request for https://clients6.google.com/chat/v1/clients/setactiveclient result: 403 {
  "error": {
    "code": 403,
    "message": "The request is missing a valid API key.",
    "errors": [
      {
        "message": "The request is missing a valid API key.",
        "domain": "global",
        "reason": "forbidden"
      }
    ],
    "status": "PERMISSION_DENIED"
  }
}

2021-04-15 9:30:46 DEBUG request for 2 https://clients6.google.com/chat/v1/clients/setactiveclient result: 403 {
  "error": {
    "code": 403,
    "message": "The request is missing a valid API key.",
    "errors": [
      {
        "message": "The request is missing a valid API key.",
        "domain": "global",
        "reason": "forbidden"
      }
    ],
    "status": "PERMISSION_DENIED"
  }
}

2021-04-15 9:30:46 DEBUG request for https://clients6.google.com/chat/v1/presence/setpresence result: 403 {
  "error": {
    "code": 403,
    "message": "The request is missing a valid API key.",
    "errors": [
      {
        "message": "The request is missing a valid API key.",
        "domain": "global",
        "reason": "forbidden"
      }
    ],
    "status": "PERMISSION_DENIED"
  }
}

2021-04-15 9:30:46 DEBUG request for 2 https://clients6.google.com/chat/v1/presence/setpresence result: 403 {
  "error": {
    "code": 403,
    "message": "The request is missing a valid API key.",
    "errors": [
      {
        "message": "The request is missing a valid API key.",
        "domain": "global",
        "reason": "forbidden"
      }
    ],
    "status": "PERMISSION_DENIED"
  }
}

2021-04-15 9:30:46 DEBUG init data count pvtToken 76
2021-04-15 9:30:46 DEBUG found pvt token
{PVT TOKEN HERE}
2021-04-15 9:30:46 DEBUG initChat()
2021-04-15 9:30:46 DEBUG init data count apikey 39
2021-04-15 9:30:46 DEBUG init data count email 20
2021-04-15 9:30:46 DEBUG init data count headerdate 10
2021-04-15 9:30:46 DEBUG init data count headerversion 34
2021-04-15 9:30:46 DEBUG init data count headerid 16
2021-04-15 9:30:46 DEBUG init data timestamp 2021-04-15T07:30:46.770Z
2021-04-15 9:30:46 DEBUG init data self_entity {
  id: {
    gaia_id: '114814606059753378978',
    chat_id: '114814606059753378978'
  },
  properties: {
    type: 0,
    display_name: 'John Doe',
    first_name: 'John',
    photo_url: ' :smiley: ',
    emails: [<EMAIL_ADDRESS>],
    phones: [],
    in_users_domain: null,
    gender: null,
    photo_url_status: 2,
    canonical_email: null
  }
}
2021-04-15 9:30:46 DEBUG init data conv_states false
2021-04-15 9:30:46 DEBUG initializing recent conversations
2021-04-15 9:30:47 DEBUG request for https://clients6.google.com/chat/v1/conversations/syncrecentconversations result: 200
2021-04-15 9:30:47 DEBUG found sid/gsid {sid/gsid here}
2021-04-15 9:30:47 DEBUG PushDataParser reset
2021-04-15 9:30:47 DEBUG emit connected
2021-04-15 9:30:47 DEBUG DEBUG: Received event connected
2021-04-15 9:30:47 DEBUG long poll req
connected 0
2021-04-15 9:30:47 DEBUG Sending init...
Error on YakYak window:
 {
  msg: "Uncaught TypeError: Cannot read property 'length' of undefined",
  url: '/usr/lib/yakyak/resources/app.asar/ui/models/conv.js',
  lineNo: 520,
  columnNo: 32,
  error: TypeError: Cannot read property 'length' of undefined
      at Object._initFromConvStates (/usr/lib/yakyak/resources/app.asar/ui/models/conv.js:520:32)
      at Object.init (/usr/lib/yakyak/resources/app.asar/ui/dispatcher.js:54:10)
      at doAction (/usr/lib/yakyak/resources/app.asar/node_modules/trifl/lib/action.js:45:68)
      at action (/usr/lib/yakyak/resources/app.asar/node_modules/trifl/lib/action.js:21:12)
      at Object.init (/usr/lib/yakyak/resources/app.asar/ui/dispatcher.js:39:14)
      at file:///usr/lib/yakyak/resources/app.asar/ui/app.js:209:23
      at EventEmitter.<anonymous> (file:///usr/lib/yakyak/resources/app.asar/ui/app.js:107:16)
      at EventEmitter.emit (events.js:315:20)
      at Object.onMessage (electron/js2c/renderer_init.js:91:925)
}
--- End of error message in YakYak window.

Looks like forever-connecting status may come from invalid API key

I ran it on the YakYak <IP_ADDRESS> btw

@AsgrimS Thanks for the output! I've actually been able to reproduce it now, so I'll release a fix momentarily. Basically, it happens when you don't have any active conversations on the logged in account (I tested it by logging in to an email address I had never used for hangouts before).

@AsgrimS I've released v<IP_ADDRESS> that should fix this issue - please test it and let me know if it works!

@HomerSp It's working now. Thank you

@AsgrimS Great, thanks for confirming! I'll close this issue now (even though you didn't start the issue, the original one is the same thing).


disable ipv6

Hey,
I would like set local-ipv6 to nothing, because I dont want use ipv6 for pdns service.
so I set follow in my hiera definition:
powerdns::auth::config:      'local-ipv6':         value: ''
I need follow config line inside /etc/powerdns/pdns.conf
local-ipv6=
But I get follow error:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Value for local-ipv6 can't be empty. (file: /etc/puppetlabs/code/modules/powerdns/manifests/config.pp, line: 11, column: 7) (file: /etc/puppetlabs/code/modules/powerdns/manifests/init.pp, line: 53)
solution could be to add exception for local-ipv6 in config.pp
unless $ensure == 'absent' or ($setting in [ 'gmysql-dnssec', 'only-notify', 'allow-notify-from','local-ipv6' ]) {     assert_type(Variant[String[1], Integer], $value) |$_expected, $_actual| {       fail("Value for ${setting} can't be empty.")     }   }

If this setting can be empty feel free to add it through a pull request.
Note that this setting is not available anymore since 4.4, it has been deprecated in 4.3.


Add Nomnoml Renderer

This fixes #466
Summary of Changes
This adds Nomnoml rendering support to ChatCraft using skanaar/nomnoml.
This feature was heavily based on Mermaid rendering support using mermaid-js. For example, Nomnoml rendering is handled by NomnomlPreview.tsx similar to how Mermaid rendering is handled by MermaidPreview.tsx, and similar to mermaid, the rendering is done in Markdown.tsx when a nomnoml code block is detected:
https://github.com/tarasglek/chatcraft.org/blob/bb7c55737566be0231fdb525ec725bb8b8409680/src/components/Markdown.tsx#L108-L115
Differences from Mermaid rendering
Although this feature is modelled off of Mermaid rendering, due to the differences between the nomnoml and mermaid-js libraries I had to implement Nomnoml rendering differently:
No SVG ID value support
Unlike the mermaid-js render method, nomnoml's renderSvg method does not support an ID parameter, so in NomnomlPreview.tsx an ID value is not generated or assigned to the rendered SVG.
No config method/no way to directly modify default styling
Nomnoml currently (as of 1.6.2) does not expose a config method like mermaid.initialize.
This means there's currently no way to programatically modify the default styling of nomnoml diagrams.
However, nomnoml has directives that modify styling
Alternative Styling Modification
In the future, I see two ways users can reliably indirectly modify the styling:

The user can update the system prompt with instructions for nomnoml styling
Within a ChatCraft conversation, the user iteratively ask the LLM to modify the styling

However, both of these methods are heavily dependent on the LLM.
Even GPT-4 seems to hallucinate on nomnoml syntax when asked to modify styling, unless a directive example is provided

Hi @tarasglek, @humphd, I've updated the default system prompt following your suggestions.
I've also added new changes to the PR and updated my PR summary. I'm interested to see if you have any thoughts or suggestions on my observations when making this PR.

Love it!

This is fantastic diagram to use in a blog :)

Recently updated this PR with an error message that renders in the Nomnoml preview if the nomnoml code cannot be rendered:

Copying the preview card still copies the actual error:


Python script raises a YAMLLoadWarning

The genOCItf.py script raises the following warning:
[...] oci-terraform-jinja2-templates/bin/jinja2cfg/config.py:45: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

Fixed with commit facd8dc


Execute operation not available in CloudTable

I don't see any execute method available under CloudTable object

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

ID: a9ca205b-55ab-683a-46ee-afc9f6fc239b
Version Independent ID: 065b8cb0-d218-b759-ce69-e8901d89b422
Content: Get started with Azure Table storage using .NET
Content Source: articles/cosmos-db/table-storage-how-to-use-dotnet.md
Service: cosmos-db
GitHub Login: @SnehaGunda
Microsoft Alias: sngun

@tarunendra Thanks for the feedback. We are actively investigating and will get back to you soon.

@tarunendra Can you please point out what you expect to see. This tutorial takes you through several steps to create a table, write to the table, as well as query the table.
Create a table
// Retrieve the storage account from the connection string.
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
CloudConfigurationManager.GetSetting("StorageConnectionString"));
// Create the table client.
CloudTableClient tableClient = storageAccount.CreateCloudTableClient();
// Retrieve a reference to the table.
CloudTable table = tableClient.GetTableReference("people");
// Create the table if it doesn't exist.
table.CreateIfNotExists();
Add an entity to a table
// Retrieve the storage account from the connection string.
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
CloudConfigurationManager.GetSetting("StorageConnectionString"));
// Create the table client.
CloudTableClient tableClient = storageAccount.CreateCloudTableClient();
// Create the CloudTable object that represents the "people" table.
CloudTable table = tableClient.GetTableReference("people");
// Create a new customer entity.
CustomerEntity customer1 = new CustomerEntity("Harp", "Walter");
customer1.Email =<EMAIL_ADDRESS>customer1.PhoneNumber = "425-555-0101";
// Create the TableOperation object that inserts the customer entity.
TableOperation insertOperation = TableOperation.Insert(customer1);
// Execute the insert operation.
table.Execute(insertOperation);
Will produce the following in the target table storage:

Also, while working in Visual Studio with the solution loaded, click on 'Run' (or the green arrow) and the project will execute. There is no .exe to launch.

Reference: Screen capture of Visual Studio showing successful execution of Cloud Table tutorial.

@tarunendra We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.
Regards,
Mike

Thanks Mike. I was facing above issue because of my project was not using latest .NET framework. Once I corrected that it works.
Thank you.


Support concurrency for @action in the same process (scaling Action Server)

Target components
action_server
Why & who
Right now the Action Server creates a process where everything is scaled by the number of processes, so, it'll spawn a process to run one action and while that process is running that action, nothing else may be run in that same process.
This makes things simple, but also the maximum number of concurrent requests is based on the number of processes, which can be a heavyweight approach (as each new process needs its separate memory).
Feature or enhancement
The proposed approach would be allowing concurrent @action calls in the same process using threads.
Note: changes are required both in the action server as well as in the actions and logging (because a different log may have to be created for each thread).
Solution & alternative

Why threads and not asyncio?

asyncio would be harder to implement because the logging does not do well with it at this point and everything, including the user code needs to be async for it to be performant (as a single slow action with asyncio stops all the other asyncio tasks running concurrently).

This issue has been moved here, under Sema4AI/actions repository.


Unable to install the project as an external contributor

The repository uses private npm packages:
npm ERR! code E401
npm ERR! 401 Unauthorized - GET<EMAIL_ADDRESS>- authentication token not provided

I'm filing this as an issue, because I think it would be vital of anyone could clone this repo and contribute to it. Even if only some components of the docs could run locally, in a similar sense like this:
https://github.com/apify/apify-docs/blob/82d6da569455bdc5a8e8dece260431959e04f5ef/CONTRIBUTING.md?plain=1#L83
Currently, it is not possible to even successfully finish npm install of the repo.

cc @jbartadev I lost track of this, do you still plan to make the package public or inline the necessary components here?

@honzajavorek here are docs on how to install the package, but can't add you to the project myself
https://www.notion.so/apify/How-to-use-apify-packages-npm-registry-dfc20d3691ff4a879ef30ad2d104db75

Thanks, but that just points to 404 😅

Yeah, it's a completely valid point, we've been struggling with this internally too. This started relatively recently when a new homepage was added which uses the shared (and private) packages. I thought the packages were already made public, but as said above, I kinda lock track of the current state and plans.

The ui-components library is published as a public package, it should be possible to install it without any authorization
https://github.com/apify-packages/shared-components/pkgs/npm/ui-components

Maybe we just need to update its version, but I remember there were breaking changes. Let me have a look.

Build is passing with latest version, will update in a minute.

Btw @jbartadev you might want to ship v1 of those public packages, as right now, every 0.x release is considered major/breaking, so renovate won't update it automatically for us. If you would ship v1 and start distinguishing feature releases from major/breaking ones, it would help downstream to stay up to date.

The ui-components library is published as a public package, it should be possible to install it without any authorization
https://github.com/apify-packages/shared-components/pkgs/npm/ui-components
It's probably because there is outdated version of this package

When I click on the link, I get 404.

I don't think that's relevant, it is a private registry, it won't be public. The package is, you should be able to install it.

Hmm, I think you still need to set up the registry (which is described in notion, to which you clearly don't have access 🙃).

But I guess you first need to be added to https://github.com/apify-packages which I don't have permission for.
@jbartadev how hard would it be to publish those to NPM so we can skip this completely?

The .npmrc is commited to the repo, so that shouldn't be the problem. Without it npm wouldn't even know what to do with the @apify-packages prefix.
If I need to be added somewhere for the install to work, it means the package isn't effectively public I guess. In a sense that an external contributor won't be able to run the site locally.

Just ran into this even though I'm an owner in the @apify-packages org 😅 Plus I had to update the installation guide in Notion, because it was outdated.
Can we pls make sure that we only use publicly available deps in public repos? It's a shame that this is so hard to install. Let's publish the components to NPM or something. Thanks!

Just a reminder I'm about to work on the repo this week and this is kind of a blocker to my contributions (I can contribute 'blindly' of course, but it's not ideal).

@honzajavorek I could add you to the Apify Packages GitHub org. But then this would never get fixed 😅

I understand 😀 and I definitely do prefer a solution for all hypothetical contributors, not a solution for just me. Just sneakily using my special situation as a leverage 😅

Hey guys, we're trying to solve this issue. The package is public and the issue is a feature. We can't easily do anything with it with our current logic of package publication.
A simple solution should be to use your access token for installation.

Could we just inline the necessary components directly to this repository for now, and deal with the publication later? Sounds like an afternoon job but maybe I am missing something.

@honzajavorek can you pls try if it works even when you don't have access to the org?

Create a token:

Log in to NPM:

npm login --scope=@apify-packages --registry=https://npm.pkg.github.com --auth-type=legacy

Maybe it will work even if you're not a member of the org.

@jbartadev Thanks for investigating the issue! Sad to hear that this is how it works.
@mnmkng Will try and report back.

The personal access token works! I got past npm install with success.
There are two types of personal access tokens now, new fine-grained personal access token, and classic token. The screenshot you sent is from a setup of the classic token. I tried to figure out how to do the same with the new kind of token, but I couldn't find anything related to packages on the setup page, so I quickly gave up and created a classic token. Doesn't feel right to jump over ten warnings that it's not recommended anymore, but it works.


Deleting a folder freezes VS Code

Deleting a folder (containing few files inside it) freezes VS Code which results in sudden hike in RAM consumption. It seems like delete action enters to deadlock condition.

VSCode Version: v1.47.0
OS Version: macOS Catalina v10.15.7 (Darwin x64 19.6.0)

Steps to Reproduce:

Open a folder containing subfolder (with some files inside it) in VS Code
Try to delete the subfolder using VS Code editor UI.
And here you go!

Does this issue occur when all extensions are disabled?: Yes

Please update to latest vscode. Your are using a 4 months old version.
If you can still repro double check with VS Code insiders https://code.visualstudio.com/insiders/
Let us know and we can reopen this if needed


fix preflight check responsible for collector enablement

As in subject.
Additionally modified alternative test scenario to modify node_exporter_disabled_collectors.
fixes #80

Thanks for fixing this, I'll test after lunch. Wouldn't the opposite also be worthy of testing?

I don't think molecule allows to test failing scenarios.

Ah, okay!


Setup anvil-portal-content repo

Created the repo (https://github.com/anvilproject/anvil-portal-content) and added @NoopDog as a collaborator; let me know if anyone else needs access.


Document that requires Bower.

:+1:

Suggestion, may want to say it also requires maven to be configured.


Meta: Test all artifacts for release 2.0.0

Part of "Release 2.0.0" milestone.

https://github.com/nahkd123/stonks/commit/4ac7891478d170ab5a8de746f7418f9b60b6c34d: Server crashes because it tries to access Fabric API, but Fabric API is not in fabric.mod.json dependencies list, so server owners won't be informed why it crashed.

https://github.com/nahkd123/stonks/commit/396407145012adc35b739581b919999693555313: Use hash prefixes so that the build is reproducible.

https://github.com/nahkd123/stonks/commit/8b4e191c8f0ed276797b6a6a2057910ec906a6fd: Some messages are not being shown on action bar.

Everything should be fine now. All we need to do is automate releases on GitHub when a tag is created.


patterns with pipe delimiter not working

Hello,
When I tried the following :
goaccess  oneline_access_log.log  --log-format='%^[%d:%t %^]|%h|"%r"|%v' --date-format=%d/%b/%Y --time-format=%T
on the following file :
[04/Sep/2018:18:37:38 +0200]|<IP_ADDRESS>|"GET /api/v3/resource HTTP/1.1"|machin
and I get the following error :
Parsed 1 lines producing the following errors:

Token '' doesn't match specifier '%h'

Format Errors - Verify your log/date/time format

When I change the pipe delimiter and use space delimiter for instance it works fine, is this the nominal behaviour ?

Please try:
goaccess access.log --log-format='[%d:%t %^]||%h|"%r"|%v' --date-format=%d/%b/%Y --time-format=%T

When I try the suggested solution, the report is successfully generated but the 'Virtual Host" is not correct, bellow an image that show the described behaviour:

And when I add the 'HTTP Status' after the 'Virtual Host' I get the same error again. Bellow an example that illustrates the issue:
Log file :
[04/Sep/2018:18:37:38 +0200]|<IP_ADDRESS>|"GET /api/v3/resource HTTP/1.1"|machin|200
Goaccess command:
goaccess oneline_access_log.log --log-format='[%d:%t %^]||%h|"%r"|%v|%s' --date-format=%d/%b/%Y --time-format=%T
Output:
Parsed 1 lines producing the following errors:

Token 'machin|200' doesn't match specifier '%s'

Format Errors - Verify your log/date/time format

I've pushed a fix for this. Please build from development and let me know if that solves the issue for you.
goaccess access.log --log-format='[%d:%t %^]|%h|"%r"|%v|%s' --date-format=%d/%b/%Y --time-format=%T

Hi my name is Leonardo and I'm trying to read a syslog file. I have just one trouble, follow:
Token 'Oct' doesn't match specifier '%h'
The "Oct" represent the month parameter and I don't know how can I setup this and also how parameter to use.

@lgomesrj Please post a few lines from your access log.

@NaitYoussef Closing this. Feel free to reopen it if needed.

@lgomesrj Please post a few lines from your access log.

08/08/2017,15:00:59,1,D,TCP,,<IP_ADDRESS>,35522,<IP_ADDRESS>,35741,SA,bridge1,Filtro de pacote,Alerta,-
08/08/2017,15:00:59,1,D,TCP,,<IP_ADDRESS>,55865,<IP_ADDRESS>,23,S,bridge1,Filtro de pacote,Alerta,21
08/08/2017,15:00:59,1,D,TCP,,<IP_ADDRESS>,40853,<IP_ADDRESS>,3128,S,bridge1,Filtro de pacote,Alerta,-
08/08/2017,15:00:59,1,D,TCP,,<IP_ADDRESS>,43477,<IP_ADDRESS>,23,S,bridge1,Filtro de pacote,Alerta,-
=============================================================
Oct  2 07:35:03 secsystem systemd[1]: Reloaded Anonymizing overlay network for TCP (multi-instance-master).
Oct  2 07:35:03 secsystem systemd[1]: Stopping Zabbix Agent...
Oct  2 07:35:03 secsystem systemd[1]: Stopped Zabbix Agent.
Oct  2 07:35:03 secsystem systemd[1]: Starting Zabbix Agent...
Oct  2 07:35:03 secsystem systemd[1]: Started Zabbix Agent.
Oct  2 07:35:03 secsystem systemd[1]: Reloaded Anonymizing overlay network for TCP.
Oct  2 07:35:10 secsystem anacron[1558]: Job `cron.daily' terminated
Oct  2 07:35:10 secsystem anacron[1558]: Normal exit (1 job run)
Oct  2 07:39:01 secsystem CRON[2107]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)

@lgomesrj goaccess is a log analyzer for web server access logs. You will need to use a different tool to analyze your log.

@lgomesrj goaccess is a log analyzer for web server access logs. You will need to use a different tool to analyze your log.

Ok. Tks for your help.


[RELEASE-1.7] add a version switch to handle HPA API version

JIRA https://issues.redhat.com/browse/SRVCOM-2291 and https://issues.redhat.com/browse/SRVCOM-2301
Changes

Duplicates the hpa package to hpav2beta2
Partially cherry picks: https://github.com/openshift-knative/serving/commit/42d13773f35e4230fdf1cebe8aa6f08720c5cf9d (without the YAML changes, as they are handled in SO)
Adds a wrapper to start the correct controller in autoscaler-hpa
Adds a version switch in autoscale_hpa_test.go
Split in multiple commits for easier review

Note
This change is only relevant for 1.7. The newer versions can use only autoscale/v2.
/hold

/test ?

Also waiting for https://github.com/openshift-knative/serving/pull/177 to run the tests against 4.12 as well.

/cc @skonto, @mgencur

/test 411-e2e-aws-ocp-411

/retest

We need to try this on 4.13 and see if it works as expected.

/lgtm /hold for verifying

/retest

/retest

We need to try this on 4.13 and see if it works as expected. I guess we need to re-run and check when https://github.com/openshift/release/pull/36606 is in.

This only adds 4.12. 4.13 clusters are not available yet. But if it works in 4.8/9 and 4.10 it also should upwards, right?

4.13 is the one that rejects the v2beta2 so it would be nice to test it on it even manually.

@skonto: pretty hacky, but seems to work: https://github.com/openshift-knative/serving/pull/177/commits/a76476c56320cbb462d5ad2653f8bd6225f91cd9
I'll try to test this on OCP 4.13 manually.
With the fixes:
Running init on v2
Running init on v2beta2
2023/02/22 12:44:24 Registering 4 clients
2023/02/22 12:44:24 Registering 4 informer factories
2023/02/22 12:44:24 Registering 5 informers
2023/02/22 12:44:24 Registering 1 controllers
Skipping informer with key: hpaV2Beta2

{"severity":"INFO","timestamp":"2023-02-22T12:44:24.403342188Z","caller":"logging/config.go:80","message":"Unable to read vcs.revision from binary"}
{"severity":"INFO","timestamp":"2023-02-22T12:44:24.40337557Z","logger":"hpaautoscaler","caller":"profiling/server.go:64","message":"Profiling enabled: false"}
{"severity":"INFO","timestamp":"2023-02-22T12:44:24.407357265Z","logger":"hpaautoscaler","caller":"leaderelection/context.go:47","message":"Running with Standard leader election"}

Running hpa.NewContoller

{"severity":"INFO","timestamp":"2023-02-22T12:44:24.40787034Z","logger":"hpaautoscaler","caller":"hpa/controller.go:69","message":"Setting up ConfigMap receivers"}
{"severity":"INFO","timestamp":"2023-02-22T12:44:24.407934687Z","logger":"hpaautoscaler","caller":"hpa/controller.go:82","message":"Setting up hpa-class event handlers"}
{"severity":"INFO","timestamp":"2023-02-22T12:44:24.414609731Z","logger":"hpaautoscaler","caller":"sharedmain/main.go:253","message":"Starting configuration manager..."}
{"level":"info","ts":1677069864.5150228,"logger":"fallback","caller":"injection/injection.go:63","msg":"Starting informers..."}
{"severity":"INFO","timestamp":"2023-02-22T12:44:24.615351895Z","logger":"hpaautoscaler","caller":"sharedmain/main.go:281","message":"Starting controllers..."}
{"severity":"INFO","timestamp":"2023-02-22T12:44:24.615483404Z","logger":"hpaautoscaler","caller":"leaderelection/context.go:149","message":"hpaautoscaler.knative.dev.serving.pkg.reconciler.autoscaling.hpa.reconciler.00-of-01 will run in leader-elected mode with id \"autoscaler-hpa-77c94dc954-lwv8n_7a69c557-a2ee-4e5e-b86e-47eb3fd6c3bd\""}
{"severity":"INFO","timestamp":"2023-02-22T12:44:24.615515427Z","logger":"hpaautoscaler","caller":"controller/controller.go:486","message":"Starting controller and workers","knative.dev/controller":"knative.dev.serving.pkg.reconciler.autoscaling.hpa.Reconciler","knative.dev/kind":"autoscaling.internal.knative.dev.PodAutoscaler"}
{"severity":"INFO","timestamp":"2023-02-22T12:44:24.615528896Z","logger":"hpaautoscaler","caller":"controller/controller.go:496","message":"Started workers","knative.dev/controller":"knative.dev.serving.pkg.reconciler.autoscaling.hpa.Reconciler","knative.dev/kind":"autoscaling.internal.knative.dev.PodAutoscaler"}
I0222 12:44:24.615588       1 leaderelection.go:248] attempting to acquire leader lease knative-serving/hpaautoscaler.knative.dev.serving.pkg.reconciler.autoscaling.hpa.reconciler.00-of-01...
I0222 12:44:24.625651       1 leaderelection.go:258] successfully acquired lease knative-serving/hpaautoscaler.knative.dev.serving.pkg.reconciler.autoscaling.hpa.reconciler.00-of-01
{"severity":"INFO","timestamp":"2023-02-22T12:44:24.625752579Z","logger":"hpaautoscaler","caller":"leaderelection/context.go:158","message":"\"autoscaler-hpa-77c94dc954-lwv8n_7a69c557-a2ee-4e5e-b86e-47eb3fd6c3bd\" has started leading \"hpaautoscaler.knative.dev.serving.pkg.reconciler.autoscaling.hpa.reconciler.00-of-01\""}
{"severity":"INFO","timestamp":"2023-02-22T12:44:24.625847603Z","logger":"hpaautoscaler","caller":"controller/controller.go:550","message":"Reconcile succeeded","knative.dev/controller":"knative.dev.serving.pkg.reconciler.autoscaling.hpa.Reconciler","knative.dev/kind":"autoscaling.internal.knative.dev.PodAutoscaler","knative.dev/traceid":"83f43d16-dc1d-48ef-b280-5e9fda47ec31","knative.dev/key":"demo/test-00001","duration":"29.226µs"}

Without:
Running init on v2
Running init on v2beta2
2023/02/22 12:40:21 Registering 4 clients
2023/02/22 12:40:21 Registering 4 informer factories
2023/02/22 12:40:21 Registering 5 informers
2023/02/22 12:40:21 Registering 1 controllers
Skipping informer with key: hpaV2

{"severity":"INFO","timestamp":"2023-02-22T12:40:21.425535994Z","caller":"logging/config.go:80","message":"Unable to read vcs.revision from binary"}
{"severity":"INFO","timestamp":"2023-02-22T12:40:21.425566633Z","logger":"hpaautoscaler","caller":"profiling/server.go:64","message":"Profiling enabled: false"}
{"severity":"INFO","timestamp":"2023-02-22T12:40:21.432461239Z","logger":"hpaautoscaler","caller":"leaderelection/context.go:47","message":"Running with Standard leader election"}

Running hpav2beta2.NewContoller

{"severity":"INFO","timestamp":"2023-02-22T12:40:21.43391931Z","logger":"hpaautoscaler","caller":"hpav2beta2/controller.go:69","message":"Setting up ConfigMap receivers"}
{"severity":"INFO","timestamp":"2023-02-22T12:40:21.433983272Z","logger":"hpaautoscaler","caller":"hpav2beta2/controller.go:82","message":"Setting up hpa-class event handlers"}
{"severity":"INFO","timestamp":"2023-02-22T12:40:21.442545428Z","logger":"hpaautoscaler","caller":"sharedmain/main.go:253","message":"Starting configuration manager..."}
{"level":"info","ts":1677069621.5428462,"logger":"fallback","caller":"injection/injection.go:63","msg":"Starting informers..."}

{"severity":"WARNING","timestamp":"2023-02-22T12:40:21.546176784Z","logger":"hpaautoscaler","caller":"logging/warning_handler.go:32","message":"API Warning: autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler"}
{"severity":"WARNING","timestamp":"2023-02-22T12:40:21.548301168Z","logger":"hpaautoscaler","caller":"logging/warning_handler.go:32","message":"API Warning: autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler"}

{"severity":"INFO","timestamp":"2023-02-22T12:40:21.643552822Z","logger":"hpaautoscaler","caller":"sharedmain/main.go:281","message":"Starting controllers..."}
{"severity":"INFO","timestamp":"2023-02-22T12:40:21.643664254Z","logger":"hpaautoscaler","caller":"leaderelection/context.go:149","message":"hpaautoscaler.knative.dev.serving.pkg.reconciler.autoscaling.hpav2beta2.reconciler.00-of-01 will run in leader-elected mode with id \"autoscaler-hpa-7cd59bcd84-2g7dh_90e290f3-f8ee-4f2d-9620-0b619071cbab\""}
{"severity":"INFO","timestamp":"2023-02-22T12:40:21.643698674Z","logger":"hpaautoscaler","caller":"controller/controller.go:486","message":"Starting controller and workers","knative.dev/controller":"knative.dev.serving.pkg.reconciler.autoscaling.hpav2beta2.Reconciler","knative.dev/kind":"autoscaling.internal.knative.dev.PodAutoscaler"}
{"severity":"INFO","timestamp":"2023-02-22T12:40:21.643709397Z","logger":"hpaautoscaler","caller":"controller/controller.go:496","message":"Started workers","knative.dev/controller":"knative.dev.serving.pkg.reconciler.autoscaling.hpav2beta2.Reconciler","knative.dev/kind":"autoscaling.internal.knative.dev.PodAutoscaler"}
I0222 12:40:21.643758       1 leaderelection.go:248] attempting to acquire leader lease knative-serving/hpaautoscaler.knative.dev.serving.pkg.reconciler.autoscaling.hpav2beta2.reconciler.00-of-01...
I0222 12:40:21.660560       1 leaderelection.go:258] successfully acquired lease knative-serving/hpaautoscaler.knative.dev.serving.pkg.reconciler.autoscaling.hpav2beta2.reconciler.00-of-01
{"severity":"INFO","timestamp":"2023-02-22T12:40:21.660711267Z","logger":"hpaautoscaler","caller":"leaderelection/context.go:158","message":"\"autoscaler-hpa-7cd59bcd84-2g7dh_90e290f3-f8ee-4f2d-9620-0b619071cbab\" has started leading \"hpaautoscaler.knative.dev.serving.pkg.reconciler.autoscaling.hpav2beta2.reconciler.00-of-01\""}
{"severity":"INFO","timestamp":"2023-02-22T12:40:21.660833149Z","logger":"hpaautoscaler","caller":"controller/controller.go:550","message":"Reconcile succeeded","knative.dev/controller":"knative.dev.serving.pkg.reconciler.autoscaling.hpav2beta2.Reconciler","knative.dev/kind":"autoscaling.internal.knative.dev.PodAutoscaler","knative.dev/traceid":"09bb76f6-5679-49b1-b850-148fa4ae0fa1","knative.dev/key":"demo/test-00001","duration":"35.958µs"}

Looks good on OCP 4.13:
+ go run<EMAIL_ADDRESS>--format testname --junitfile /var/folders/cr/k3mnt3d56_v06ywwstjgkywr0000gn/T/tmp.2CtcLXV8hI/junit_zZJXIUsY.xml --junitfile-testsuite-name relative --junitfile-testcase-classname relative --jsonfile /var/folders/cr/k3mnt3d56_v06ywwstjgkywr0000gn/T/tmp.2CtcLXV8hI/go_test_zZJXIUsY.jsonl -- -race -count=1 -timeout=30m -tags=hpa ./test/e2e --kubeconfig /Users/rlehmann/Downloads/cluster-bot-2023-02-23-125642.kubeconfig.txt --imagetemplate 'quay.io/rlehmann/{{.Name}}' --https --skip-cleanup-on-fail --resolvabledomain
PASS test/e2e.TestHPAAutoscaleUpDownUp (648.61s)
PASS test/e2e

=== Skipped
=== SKIP: test/e2e TestHPAAutoscaleUpDownUpMem (0.00s)
    autoscale_hpa_test.go:65: #11944: Skipped because of excessive flakiness

DONE 2 tests, 1 skipped in 657.247s

/cc @skonto

There's some duplication but generally it looks ok if we're gonna have it just in the upcoming release.

/unhold

/lgtm

/hold for tests

/test 48-e2e-aws-ocp-48

/retest

{  failed to wait for the created cluster claim to become ready: timed out waiting for the condition}

We can merge without 4.8 or run a bit later could be easier to get a claim.

/retest

/unhold


Fix missing uses of transactions

Remaining transactions that were not migrated correctly from the SQL macro refactor
Fixes RVT-3520

Current dependencies on/for this PR:

main

PR #297   👈

This stack of pull requests is managed by Graphite.


Specs should pass on JRuby

The command line part doesn't pass on JRuby. I'll have a look at this.

Up... fail http://travis-ci.org/#!/LTe/iban-check/jobs/630182

I tried to use the command line with JRuby and things work as expected.
I believe this may be an issue at Aruba API + JRuby (I will have a closer look).

$ rvm jruby-head
$ rake
Finished in 36.97 seconds
16 examples, 0 failures

woot!
-- Thibaut
Le 8 févr. 2012 à 17:39, "Piotr Niełacny"
<EMAIL_ADDRESS>a écrit :

$ rvm jruby-head
$ rake
Finished in 36.97 seconds
16 examples, 0 failures

Reply to this email directly or view it on GitHub:
https://github.com/LTe/iban-check/issues/7#issuecomment-3870706

On jruby-1.6.5 tests do not pass.
jruby-head
jruby 1.7.0.dev (ruby-1.8.7-p357) (2012-01-25 dad8fcc) (Java HotSpot(TM) Server VM 1.6.0_26) [linux-i386-java]

If somebody want to use jruby, they must use 1.7.x

Do you mean the gem will not work on jruby 1.6? Or just the specs?

Gem works for me on 1.6.x. Unfortunately, tests do not pass but only those associated with the command line.

Cool thanks! Good to know.
FWIW here it's in production on MRI 1.8.7 on Windows :)
-- Thibaut
Le 14 févr. 2012 à 20:01, "Piotr Niełacny"
<EMAIL_ADDRESS>a écrit :

Gem works for me on 1.6.x. Unfortunately, tests do not pass but only those associated with the command line.

Reply to this email directly or view it on GitHub:
https://github.com/LTe/iban-check/issues/7#issuecomment-3967385


Uncaught TypeError: $(...).datetimepicker is not a function

when use with browserify
Uncaught TypeError: $(...).datetimepicker is not a function

Make sure you include jquery and datetimepicker before the vue component.

You should include JQuery and datetime-picker.  Please refer to the demo page.


-R isn't working for failed uploads

cf. original discussion at https://github.com/aktau/github-release/pull/39

Here's what happens: failed uploads aren't listed in the /releases endpoint (which is what ReleaseOfTag uses), only in the /releases/:release_id/assets endpoint.
The replace logic needs another API call, no big deal :)

I will check this patch out :-)

It seems to work right!
Maybe this patch somebody had made for github-release is also interesting, to at least discover when receiving the 502: https://github.com/kidanekal/github-release/commit/088eb5f2f436db95c4379d417524a705546e33a8

Ah, interesting — so GitHub is falsely returning 502 now and then, even when the upload went fine?
I'd rather have GitHub fix their (long-standing) upload issues than add cruft to work around it, though. (That's a self-serving point of view btw — I mostly run github-release on CI servers with very fast network connections, so I don't really mind having it upload twice! It was the manual intervention part that was annoying).
I'm really disappointed in GitHub on that one though. Network failures happen, but that's clearly a bug on their part 😢

@fasterthanlime it seems that it happens sometimes, but I did run with that fork for a day, but it is not reliable. Sometimes it would not detect that an upload actually did fail... But at least processing the response code from GitHub would be useful, because currently I just wrap the upload-command inside a timeout, and if it takes too long I assume it dies and it will retry.
Also my server's connection is fast, so uploading twice ain't the problem, but reliably spotting a failed upload attempt would speed up the upload process (not having to wait for the timeout).
GitHub should indeed fix this issue, I am in contact with them about this since August last year, with multiple of their staff. But they are not able to reproduce it. I provided them with info from my failed upload attempts, but they are apparently not able to investigate their server's logs.
I doubt it will ever get fixed :-(

because currently I just wrap the upload-command inside a timeout, and if it takes too long I assume it dies and it will retry.

Ohhh since it's a naive golang executable it probably just hangs forever if the connection drops, too! I've had that problem with https://github.com/itchio/butler too, we're now using https://github.com/getlantern/idletiming with reasonable values to detect timeouts.

ok, apparently the -R flag does not work completely for 100% of the cases... :(
Last night this happened:
The original upload attempt:
error: could not upload, status code (502 Bad Gateway), msg: Error uploading asset, errors:
and after that each subsequent retry:
error: could not upload, status code (422 status code 422), msg: Validation Failed, errors: [field: name, code: already_exists]
When I browsed to GitHub manually I could remove that failed upload.
So apparently assets can still block the upload.
If this would happen again in the future, what (e.g. API) command should I run to help with the debugging of this situation?

Speaking of the devil. I just received another blocked upload. I will attach what the API returns in 'assets'; assets.txt
The file we try upload open_gapps-x86-5.1-stock-20160510.zip is not mentioned in the assets.
I will also attach some HTML from GitHub UI where it is actually removable.
brokenupload.txt
I wrote about GitHub too, when I was contacting them, why these half-uploaded files did not show up in the assets, and whether they please could make this possible.
But I understand that in your API asset requests
they are visible ???

I think I got the root cause of the problem found: API pagination!
Just as described on https://github.com/aktau/github-release/issues/45 I have so many assets, that they don't fit on a single API page!
Would you be able to implement pagination? https://developer.github.com/v3/#pagination
I have zero go-knowledge so I wouldn't be able to do so myself :-(

@mfonville ah, I did just set per_page to 100 in order to have a temporary fix :)


A difficult problem that happend to me

The code is like blew:
namespace Test;
if(!defined('CONST_A')){
    defined('CONST_A','test');
}
class A{
    const TEST_V = CONST_A;
}

So when I try to use zephir to translate my PHP code ,I can't find a better way to solve this problem;
The question is that the zephir dosen't support define function.I find a way is that I can use the orignal C programming language.Now the code can compie succefully now,when I try to use it there is a PHP runtime error:bus error
I wonder if someone have a better way to solve this problem.Thanks.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24302293-a-difficult-problem-that-happend-to-me?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

Maybe there is no solution for this.

This is like an exact duplicate of #1026.
Therefor the same answer applies:
You need an entrypoint to run code in zephir,
you cannot run code without a scope.
That means you could for example move that code to an initialize method, which you call at the
start of your application lifetime, which performs
these checks, which relay on code being executed.
According to your problem description the problem lies with the defined function, which does not really match the code you provide, since you do something that's not possible in zephir (running code outside a function)


Packet tracking stats for 3.2

This PR adds additional functionality to the ENet module to enabled packet statistics tracking (packets sent/received, bytes sent/received) useful for debugging multiplayer games.

I don't like the idea of making this ENetPeer-specific. Since we need to track this manually, it would be best to have it in MultiplayerAPI.

Could be moved upper towards the NetworkPeer? I feel like it's very implementation specific (i.e. there are some client/server configuration messages that aren't taken into account on upper layers) and having it on the lowest level allows for real deep optimizations, but that's just my point of view on my specific need. The code isn't really that complex so moving it to somewhere where it makes more sense/is more broad couldn't harm.

Well, it could be peer dependent, but not in the way it's currently implemented. As an example, bytes_sent does not reflect the actual number of payload sent in the network when e.g. compression is enabled, or when the server broadcast a message to all peers,

Gotcha, indeed, i wanted to be able to check how much data is being sent and received on the client side mainly to optimize that side, but indeed this could be an issue if the server isn't calculating correctly the amounts. Will do a fix when i finish my other current module.

@chiguireitor Hi, do you still work on this? It would be useful addition.

@yuraj11 Doesn't https://github.com/godotengine/godot/pull/31870 supersede this?

@Calinou although #31870 looks like this, this is for tracking on-the-go, could be implemented for some sort of packed quota for limited networks and so on.

@yuraj11 i'm using this on a personal fork of mine for development purposes.... doing an mmorpg needs closely monitoring of the usage on mobile..... it works ok for me, lemme know if you use it

@Calinou Well it would be also useful to be available as API for in game debug purposes.


Custom README.md file

Hello,
How can I have my own README.md file for my project (each time I do an update of grav cms, all my edits in this file are lost and overwriting by the grav readme source file) ?
Thank you for advance.
Best regards.

If you locate it within the user folder (like with a Skeleton) it should not be over-written, at least that is how I've been doing it:
https://github.com/hibbitts-design/grav-skeleton-open-publishing-space

Thank you for your response, but in that case it wouldn't be automatically shown in the homepage of the versioning host repository like github, gitlab, ...

It will if you only push the user/ folder into your repo. It is not really a best-practice to push your entire grav site into github as you are storing lots of files that are purely Grav core, and not your custom pages/plugins/themes.
The Grav README.md file is part of the Grav distribution. There might be a way to change this via GitHub, but i don't think so.


Revert "[flutter_tools] let the logger know about machine mode"

Reverts flutter/flutter#86116

TBR @christopherfujino

LGTM


cmd/go: CGO_CFLAGS variable with spaces is parsed incorrectly on windows

What version of Go are you using (go version)?

$ go version
go version go1.16.2 windows/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using?
windows10, amd64, intel
go env Output
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\justin\AppData\Local\go-build
set GOENV=C:\Users\justin\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\justin\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\justin\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.16.2
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\justin\AppData\Local\Temp\go-build995163971=/tmp/go-build -gno-record-gcc-switches

What did you do?

While attempting to build a cgo project on windows, I am finding that the value CGO_CFLAGS is parsed incorrectly if an include path contains spaces.
.
├── go.mod
├── main.c
└── main.go

// main.go
package main

import "C"

func main() {}

// main.c
// <empty>

> set CGO_CFLAGS='-IC:/Program Files/Foo'
> go env CGO_CFLAGS
'-IC:/Program Files/Foo'

> go build -x
WORK=C:\Users\justin\AppData\Local\Temp\go-build1942282733
mkdir -p $WORK\b003\
cd C:\Program Files\Go\src\runtime\cgo
TERM='dumb' CGO_LDFLAGS='"-g" "-O2"' "C:\\Program Files\\Go\\pkg\\tool\\windows_amd64\\cgo.exe" -objdir "$WORK\\b003\\" -importpath runtime/cgo -import_runtime_cgo=false -import_syscall=false -- -I "$WORK\\b003\\" '-IC:/Program Files/Foo' -Wall -Werror "C:\\Program Files\\Go\\src\\runtime\\cgo\\cgo.go"
# runtime/cgo
gcc: error: '-IC:/Program: Invalid argument
gcc: error: Files/Foo': No such file or directory

I've also tried various combinations of quoting and escaping with no change in result:
set CGO_CFLAGS=-I'C:/Program Files/Foo'
set CGO_CFLAGS='-IC:/Program\ Files/Foo'
set CGO_CFLAGS='-IC:/Program\\ Files/Foo'

What did you expect to see?
I would expect the full single string value of "C:/Program Files/Foo" to be passed to the "-I" include flag when compiling.
What did you see instead?
The path is split on spaces, acting like multiple arguments to gcc
# runtime/cgo
gcc: error: '-IC:/Program: Invalid argument
gcc: error: Files/Foo': No such file or directory

cc @alexbrainman @mattn @zx2c4


Option to reposition the subtitles

We have an issue with the position of the subtitles, we want to offer to our users the option to do an aspect-fill in landscape mode, but for iphones like iPhone X, XS, XR, 11 this option would push the subtitles off-screen.
We have this issue only with dash content - subtitle is aligned to the bottom of the screen. Other types of content have the subtitle rendered higher.
To achieve this zoom, we use constraints similar to those in the sample_xcode_project.
Is there an option to set the height? If not, is there a way to set a default height for rendering the subtitles before building the SDK?
HLS:

DASH:

If you want to change the video fill mode, you should use setVideoGravity on ShakaPlayerView.  Changing the constraints on the view will not change the aspect ratio, the video will always maintain ratio and black bars will be inserted to achieve this.  To change this, you need to change the video gravity.
As for the height, there is no such option.  I think it would be better for us to just move the captions above to match the native HLS instead of requiring the app to configure it.


Document Tooling API compatibility matrix

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

I've triggered a build for you.


Use log.cli and fmt.cli

I think this turns off info-level messages by default.

You're right.

the README needs updating to tell people to run with -v,

Done.

and the deployment stack file (not in this repository) needs updating too.

I don't know where it is...

Surprising CI error!:
#=== ERROR while compiling js_of_ocaml-compiler.3.11.0 ========================#


⚠ Bofrost.lu has degraded performance

In e588c48, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1038 ms

Resolved: Bofrost.lu performance has improved in bc000c3 after 21 minutes.


After creating a new parameter in Traffic Portal, redirect to the "link profiles" page

What I want to do:

create a profile parameter and assign it to some existing profiles

What this currently requires in TP:

create the profile parameter (page is then redirected to the parameters table)
search for parameter that I just created
click on parameter that I just created
click "View Profiles"
click "link profiles to parameter"
select profiles that I want to link to

What I think TP should require instead instead:

create the profile parameter (page is then redirected to the "link profiles to parameter" view)
select profiles that I want to link the new parameter to

This would really streamline the process of creating a parameter and assigning it to one or more profiles, which I think is the most common use case of creating a new parameter.

done per #3737


Feature/jenkins

feature: ability to build/deploy/test/report internally leveraging project core [ws]/bin support
dependency: contingent on build green: http://jenkins/jenkins/job/wasabi-feature-jenkins/30
not tested: internal deployment of a versioned feature branch
cc @iizrailevsky @jcwuzoegiver @longdogz
note: if we can get squirrels on this one i will help create a release and config the respective jobs:
wasabi-develop
wasabi-feature-cleanup
wasabi-master

Coverage remained the same at 34.992% when pulling 83551cc6c3a37603c060c389e370b85a6f34b41b on feature/jenkins into b77a2c29987a03ee6d910b74b8433d7a46714551 on develop.

Great job @jwtodd! Thanks for adding the inline comments as well. 👍 :shipit:


Project roles and who's assigned to what

@danielibsen we had a chat about this during a meeting. What is your thoughts on the roles and who is assigned what?

Hi @lwjohnst86. I only have one possible suggestion that I have proposed to @MarioGuCBMR via Discord Chat - It may make more sense for myself and Mario to share the code reviewer role as Mario is already going through and checking code :)


Docs: Adding missing @struct to opaque structs.

Signed-off-by: Guilherme Iscaro<EMAIL_ADDRESS>

@cabelitos it seems ok

merged


Weird noises when playing music from Spotify or YouTube

Problem Description
Hi all,
I just tested the library today in a hurry and I just use a old board that I developped a few years ago.
This board uses a ESP32-WROOM32D module and I soldered a 3.5mm audio jack to the pins 25 and 26 of the module.
The Bluetooth part seems to work as I can connect to the ESP32, but the audio out is not working properly.
I captured what I can hear when plugin some earphones or speaker to the 3.5mm audio jack. Sound
I used the latest release of the library.
Device Description
Custom ESP32 board using an ESP32-WROOM32D (4MB of Flash)

Sketch
Sketch used comes from the examples folder of the Github.

Other Steps to Reproduce
No response
Provide your Version of the EP32 Arduino Core (or the IDF Version)
Arduino ESP32 Core version 2.0.1
I have checked existing issues, discussions and online documentation

[X] I confirm I have checked existing issues, discussions and online documentation

I am hardly hearing anything.
Did you try to increase the volume on the phone or by calling set_volume() ?
Looking at your picture, I can't see the ground connection to the audio jack

@pschatzmann Yeah sorry for that I tried to be as close as possible of the earphones when I recorded the sample.
I set the volume at max level on my phone when I tried but not in the code.
The jack is connected to ground through the PTH at its right. It is connected to ground.
The board you mentionned is the one with Yellow mask and TFT or the one above?

The one with the TFT screen is using the internal DAC of the ESP32 with an amplifier to output audio.
To be honest I tested it with my AudioTools. Maybe it helps if you do some tests

https://github.com/pschatzmann/arduino-audio-tools/blob/main/examples/examples-stream/streams-generator-analog/streams-generator-analog.ino (if you dont get a proper sine signal you have a hardware issue)

What is the phone that you are using?

@mrhempman69
Sorry for the late answer.
I've got an android phone (a Motorola Edge).
I'did not try anything else than these 2 applications.
I put them in the title because they are the 2 applications I used to test the setup.

Maybe is it just noise from your power supply ?
Did you try to power it from an (e.g. laptop) battery

I also tried to power it from 5V coming from USB to UART adapter but it makes no changes.
The sound I add to this topic is the only thing that comes out of the speakers when I play a song on my phone. There is no music just this sound

Did you try another ESP32 to figure out if the issue is your phone or your Processor ?
Did you run the test sketch to figure out if the issue is with the A2DP library ?

I did not tried yet on another ESP32 due to missing components.
I run the test sketch for internalDac and this was not working but I cannot guarantee that this does not have to do with my setup.
I tryied the library with an I2S DAC (PCM5102A) using a custom pin assignement and It worked like a charm.
Once I'll have all the component I'll try again.

This is due to the lack of CPU processing ability or the BREDR signal quality difference leading to the loss of blue sound frequency, different solutions:

Setting CPU speed 80MHz or higher (recommended 240MHz)
Increased DMA Buffer length
3.Increasing firing rate or shooting distance


Remove Kinetic from Dropdown

Description
Removing Kinetic from the dropdown. This will need to be done for Melodic & Noetic versions as well.
Checklist

[ ] Required by CI: Code is auto formatted using clang-format
[ ] While waiting for someone to review your request, please consider reviewing another open pull request to support the maintainers

This PR needs to be backported to galactic and rolling branches.

Is this deployed already? I can still see the link on the website.

This will need to be done for Melodic & Noetic versions as well.

Eventually, yes. But not as long as users are still looking for it there. :)

@v4hn we currently on deploy from Foxy branch until Tyler and I figure out how we should deploy from multiple branches using gh-pages (soon-ish). So until #179 gets merged it will not be deployed to the website.


Added Statik - generic static web site generator

Added the metadata for Statik - a simple, generic, developer-oriented static web site generator.
See the repo here: https://github.com/thanethomson/statik

@biilmann Are there specific criteria, other than those I've met, for Statik to be included on the StaticGen site? Afaik, it meets all the criteria. It even has a proper web site now: https://getstatik.com/

@thanethomson can you update the homepage with the new website. Once updated, I can merge

@bdougie Done! :grin:


Default Horizonal Scrolling for Character Builder Sheet Options

While users can already scroll a webpage element with Shift+Scrolling, this may be unintuitive to users who do not know this is an option. Additionally the primary scrolling axis of the Character Builder Options section is already along the Horizonal Axis. I think this will make for a cleaner user experiencer with a mouse and scroll wheel.
While the users mouse is within the div.info part of the builder, which does have vertical scrolling, the horizonal scrolling event that I used will be returned.
I also hide the scrollbar for the Section.options, as it is unused and looks messy.

Thanks for the UX update! There's a couple minor tweaks that need to be made, such as the CSS tweak needing to be made in the source PostCSS, but nothing that wouldn't be faster for me to just shift myself.


protoc --csharp_out issue

I using IDL def a x.proto file, as following
syntax = "proto2";
package Bumblebee.InteropServices;
message NotifyMessage {
required int32 NotifyId = 1;
enum NotifyType {
Customer = 0;
Manager  = 1;
Excutor  = 2;
}
required NotifyType Type = 2 [default = Manager];
}
message BooleanMessage {
required bool Result = 1;
optional string Message = 2;
}
service AnveServices {
rpc Notify(NotifyMessage) returns (BooleanMessage) {}
}
and then I use protoc tool to generate C# code, I fond the nest type issue(at less could better), as following:
---outer class {--
#region Nested types
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Types {
public enum NotifyType {
Customer = 0,
Manager = 1,
Excutor = 2,
}
}
#endregion
----} outer class------
my question is why not as following?
---outer class {--
#region Nested types
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public enum NotifyType {
Customer = 0,
Manager = 1,
Excutor = 2,
}
#endregion
----} outer class------

See also this
https://github.com/google/protobuf/issues/307


24 | Swap Nodes in Pairs | C++

Title - Swap Nodes in Pairs
What will change - C++ implementation to swap nodes in pairs
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Please assign this issue to me


Version 3.3.0

Track calls to :py:meth:django.core.caches.cache.get_or_set.
Removed support for Django < 3.2.
Updated check W006 to look for
django.template.loaders.app_directories.Loader.
Reset settings when overridden in tests. Packages or projects using
django-debug-toolbar can now use Django’s test settings tools, like
@override_settings, to reconfigure the toolbar during tests.
Optimize rendering of SQL panel, saving about 30% of its run time.
New records in history panel will flash green.
Automatically update History panel on AJAX requests from client.

First time contributors:

bellini666
riwatt

Contributors to the release:

adamchainz
living180
gone
matthiask
francoisfreitag
pauloxnet

Thanks!


Improve claim handling in askPassword and verifyEmail flows in UserEmailVerificationHandler

Is your suggestion related to an experience ? Please describe.
In the UserEmailVerificationHandler.javachecks that identity/verifyEmail claim is present as condition for enabling or not AccountConfirmation notification, regardless of claim's value.
Describe the improvement

Check for the actual claim values
Provide UI level restriction to enable only one feature
Improve the code blockchecks that identity/verifyEmail claim is present as condition for enabling or not AccountConfirmation notification, regardless of claim's value.

Additional context

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Cannot rollback instance when UpdateInstanceCallFailed

If you try to update a serviceinstance parameter to one that is not an AllowedValue it cannot be rolled back and will fail with the following if you try to re-apply the yaml:
invalid: spec: Forbidden: Another update for this service instance is in progress
This seems to be related discussion but there was no resolution:
kubernetes-sigs/service-catalog#1755
How can I manually stop this from trying to continually update?

I found the reason why this is happening and a workaround https://github.com/kubernetes-sigs/service-catalog/issues/2758#issuecomment-561538401. If you are using v0.3.0 it might be helpful.


Support multiple bots

Support both SubsBot and UpdatesBot with the same database and code.

I don't think I'm going to try to do this


Didn't take the payment plan cancelled and now in Infinity load

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[x] This issue affects my Ory Cloud project.
[ ] I have joined the Ory Community Slack.
[ ] I am signed up to the Ory Security Patch Newsletter.

Describe the bug
I initiated payment with stripe, but decided to try free version first. Cancelled, and now stuck in infinite load no matter where I go.

Reproducing the bug

Signup with Github
Connect for the first time
Get the startup option
Cancel
Get stuck in infinite load

Relevant log output
No response
Relevant configuration
No response
Version
alpha
On which operating system are you observing this issue?
Ory Cloud
In which environment are you deploying?
Ory Cloud
Additional Context
No response

Hello, thank you for the report and sorry for the inconvenience! This is currently a known issue and we are working on resolving it.
One solution which might work for you is to go to the project create page and create a new project ( https://console.ory.sh/projects/create ) on the free plan. This should hopefully unblock you, and if not, we should have a fix in the next 48 hours deployed.

Could you maybe share any errors that happen in your console?

@aeneasr
Too late, it seems to have been resolved :/ I will keep in mind to share console errors next time.
Many thanks for the amazing turn around!


AStar2D get_id_path() returns a path when the first point is disabled

Tested versions
v4.2.1.stable.official [b09f793f5]
System information
Godot v4.2.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - integrated Intel(R) UHD Graphics (Intel Corporation; <IP_ADDRESS>15) - Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (8 Threads)
Issue description
AStar2D's get_id_path() function returns a path when the first point is disabled using set_point_disabled(). It shouldn't.
get_path_id() does not return a path when any other point is disabled using set_point_disabled().
Steps to reproduce
See code snippet:
var astar_test = AStar2D.new()
astar_test.add_point(0,Vector2(0,0))
astar_test.add_point(1,Vector2(0,1))
astar_test.add_point(2,Vector2(0,2))
astar_test.add_point(3,Vector2(0,3))

astar_test.connect_points(0,1)
astar_test.connect_points(1,2)
astar_test.connect_points(2,3)

print(astar_test.get_id_path(0,3)) #Finds a path. Expected behaviour.

astar_test.set_point_disabled(0,true) #Disable the first point.

print(astar_test.get_id_path(0,3)) #Finds a path, despite the first point being disabled. Unexpected behaviour.

astar_test.set_point_disabled(0,false) #Re-enable the first point

astar_test.set_point_disabled(3,true) #Disable the last point

print(astar_test.get_id_path(0,3)) #Does not find a path. Expected behaviour.

Minimal reproduction project (MRP)
astar2d_bug.zip

Update to this. It's not in fact a bug (I don't think), but the documentation is at minimum incomplete.
More testing reveals that order matters. This gives the expected behaviour:
var astar_test = AStar2D.new()
astar_test.add_point(0,Vector2(0,0))
astar_test.add_point(1,Vector2(0,1))
astar_test.add_point(2,Vector2(0,2))
astar_test.add_point(3,Vector2(0,3))

astar_test.connect_points(0,1)
astar_test.connect_points(1,2)
astar_test.connect_points(2,3)

#searching for a path in the other direction compared to the last example.

print(astar_test.get_id_path(3,0)) #Finds a path. Expected behaviour.

astar_test.set_point_disabled(0,true) #Disable the first point.

print(astar_test.get_id_path(3,0)) #Doesn't find a path! Expected behaviour.

When finding a path in a particular direction (e.g., 0 -> 3 or 3 -> 0 in my examples), it doesn't matter if the first point is disabled or not for the path finding to proceed. Irrespective of the enabled/disabled status of the FIRST point, if the other points are enabled, a path will be found.
This quirk of the API isn't documented. I think it should be. The description for set_point_disabled() says "Disables or enables the specified point for pathfinding. Useful for making a temporary obstacle." This isn't the full story though. It should also say that the enabled/disabled status of the first point in a requested path is essentially defaulted to enabled.
Do we agree the docs could be enhanced to reflect this?

But what if the user want to simulate the situation that the character stuck in the start point? IMHO it does looks like a bug, if one can't get out of the start point, then it should fail to find the path.
But keeping this behaviour might make sense too.


Update git ignore file.

Take inspiration from https://github.com/nushell/nushell/blob/main/.gitignore

Thanks


US 01.01.01

As an owner, I want to add an item to my items, with a date of purchase or acquisition, brief description, make, model, serial number (if applicable), estimated value, and comment.
Requirements/Prerequisites:

Implementation of "inventory" activity to display added item (just the basics, no need to implement full design)
Implementation of "add/edit" item activity to provide a place to enter details of the item (title must say "Add")
Firebase database must be set up to track items
UI for selecting a date
Appropriate text/numerical fields for other data
Validation checking and feedback on user input
Keep in mind that eventually we will add an option to select tags although this feature is not required to complete this story
Adding an item must add it to the displayed list and the database (preferably as one action)

Only date selection needs implementing

Input validation for value is incorrect, it can not read in a float.

Just needs testing


Fetch upstream

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: bai:x: ricky26You have signed the CLA already but the status is still pending? Let us recheck it.