feat: add random string function for upcoming secret generator refact

What type of PR is this?
/kind feature

What this PR does / why we need it:
add random string function for upcoming secret generator refact
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., design docs, usage docs, etc.:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

17 of 17 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 75.549%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
6952

Relevant Lines:
9202

💛  - Coveralls

Where will this method be used? If a randomly generated string based on the current time is added to the rendering logic of application resources, it may potentially cause changes in the generated Spec or Intent with every build/preview/apply operation, which might have an impact on the 3-way diff process.

Is this only used for non-terraform resources? For terraform resources we should just use the random provider - provides same functionality and handles diff already.

Is this only used for non-terraform resources? To generate secrets in terraform resources we should just use the random provider - provides same functionality and handles diff already.

This is only used for secret generator, so we put this package under secret.

Where will this method be used? If a randomly generated string based on the current time is added to the rendering logic of application resources, it may potentially cause changes in the generated Spec or Intent with every build/preview/apply operation, which might have an impact on the 3-way diff process.

This method will be used to generate random token string if and only if developers don't provide one in configuration als the impact on diff logic is as expected.


Added guestRequired() User method.

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Tests pass?
✔

Fixed issues
I added a method to redirect away from guest pages for authenticated users.

While working on a login template on CraftCMS I noticed that there is a method for loginRequired() but not guestRequired(). This is useful to redirect away from login/registration pages.

Thanks for contribution but pull request won't be merged:

Usually it's checked via access control in controller.
It's not common to do it other way.
Yii 2.0 (framework itself) is generally not accepting enhancements (except very important ones such as security-related). We're currently focused on Yii 3 and Yii 2 bugfixing.


Getting an error when updating my PCs.

error parsing character type error cannot read properties of undefined (reading 'proficiencygroups')

Please answer the following questions:

What Foundry Version?
What D&D 5e module version?
What DDB Importer version?
Have you tried with other modules disabled? (If not, please try disabling them - the "Find the culprit" module can help turn these on and off for you)
A character URL please!

No response, closing.


Incorrect device instructions after device init.

The physical instructions shown to the user after burning process are incorrect as they are the same instructions from the dashboard, talking about using dd etc.  This needs to be fixed in the device-type spec

I confirm that this needs to be addressed within device specs, so we can't take action for now.

Instructions are not being shown anymore, so this issue is now irrelevant.


Disable collector in phoebe.spec

This is based on top of @asmorodskyi work in #45.
I removed Python-related dependencies and disabled the collector in phoebe.spec. Hopefully this is all that's left to do to get the CI happy.

Hmm...I think build_rpm failure on Leap 15.2 may be due to the use of disabler.
DEBUG: Program python3 found: NO (disabled by: collector )
DEBUG: scripts/meson.build:1:0: ERROR: Module returned a value of unknown type.
DEBUG: A full log can be found at /builddir/build/BUILD/phoebe-0.1.1/build/meson-logs/meson-log.txt
DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.ywxUuq (%build)
DEBUG:     Bad exit status from /var/tmp/rpm-tmp.ywxUuq (%build)
DEBUG: RPM build errors:
DEBUG: Child return code was: 1
INFO: EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)

Let me look into that.

Hmm...I think build_rpm failure on Leap 15.2 may be due to the use of disabler?
DEBUG: Program python3 found: NO (disabled by: collector )
DEBUG: scripts/meson.build:1:0: ERROR: Module returned a value of unknown type.
DEBUG: A full log can be found at /builddir/build/BUILD/phoebe-0.1.1/build/meson-logs/meson-log.txt
DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.ywxUuq (%build)
DEBUG:     Bad exit status from /var/tmp/rpm-tmp.ywxUuq (%build)
DEBUG: RPM build errors:
DEBUG: Child return code was: 1
INFO: EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)

Let me look into that.

@shunghsiyu do you want to first look at the leap15.2 failure or are you happy to have your patch merged nonetheless?

With workaround in d52f48232ea81f2fbeb08dd0fc14b51140d20a36 the failure on Leap 15.2 does not show up anymore :smile:
Let me go ahead and merge this PR


Blog: create post for yaml2text #247

This powerful functionality must be documented in some blog post with examples!
@ribose-jeffreylau can you do it? Can copy the examples from #247.
Or better yet -- use ISO 24229 as a sample! (@w00lf did you push the changes?)
Thanks!

24229

Or better yet -- use ISO 24229 as a sample! (@w00lf did you push the changes?)

@ronaldtse  What change is it?

@w00lf the change is now tracked here: https://gitlab.com/calconnect/tc-localization/csd-transcription-systems/-/merge_requests/28

Fixed by https://github.com/metanorma/metanorma.com/commit/51a9ae0d0a77d0e33ef2a8d02fbe0fcea952334e


not closing window, the compare tab is not closed.

When the time machine is opened, and a commit is selected, the compare tab is opened. But when it goes closed, the compare tab remains open.
time-machine: 1.5.3
Atom    : 1.10.0

yeah, I guess if you're closing the time machine, we can also close the compare.


Remove ui.indeterminate and angular-ui-utils. Fixes #602.

Coverage remained the same at 41.98% when pulling ef9994f6983fa65f8b7212ad0b8475644a3048bc on remove-ui.indeterminate into dcec64ab331b6ad67568507eec318071ec2b38f4 on master.


Create menus for organization pages

Gitea Theme Screenshots:
1 Organization Home

2 Members

3 Teams

4 Settings

Arc-green Theme Screenshots:
1 Organization Home

2 Members

3 Teams

4 Settings

lgtm
In a follow up PR we may allow users to see member/teams of an org like Github does.

The org avatar for org home is larger than other pages.
Can org/home also use the org/header?

Details

Take a look at github's org home and other page. :)

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@71ed96b). Click here to learn what that means.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main   #17802   +/-   ##
=======================================
  Coverage        ?   45.55%
=======================================
  Files           ?      808
  Lines           ?    90010
  Branches        ?        0
=======================================
  Hits            ?    41006
  Misses          ?    42455
  Partials        ?     6549

Impacted Files
Coverage Δ

routers/web/org/home.go
60.78% <100.00%> (ø)

Continue to review full report at Codecov.

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

I just wanted to comment late here, that the redundancy of the peoples / teams parts (top menu and side menu, both include a link) looks a bit off at first glance. The details of the side-menu are handy, and the top menu a nice navigation feature, but still ... it feels a little weird to me.

I just wanted to comment late here, that the redundancy of the peoples / teams parts (top menu and side menu, both include a link) looks a bit off at first glance. The details of the side-menu are handy, and the top menu a nice navigation feature, but still ... it feels a little weird to me.

Please file another issue, we can send other PR to improve it.


New state in production (Texas) - Update Application and Static Site

Background
The state listing and map displayed on the SimpleReport.gov static site need to be updated to reflect the the changes to Texas status to "Available." (in production)
Action requested
Updates are needed in the following areas:

Update SVG map on the static site home page
Update the “Where does SimpleReport work” page on the static site (removing from “coming soon” and moving to “live”, or just adding to “coming soon” if brand new.)
Updating the internal “Source of Truth” Google Doc
Updating the live Jurisdictions list in the GitHub repo: https://github.com/CDCgov/prime-simplereport/blob/main/frontend/src/config/constants.ts

Acceptance Criteria
STATIC SITE | MAP
The map image (sr-map.svg) appearing on the SimpleReport.gov home page should display the Texas in the darker blue color to indicate that is is now "Available." (officially in production)
STATIC SITE | STATE LISTING
The "Where does SimpleReport work" page should now include Texas in the list of states where SimpleReport is live.
SOURCE OF TRUTH (Internal) | GOOGLE DOC
Update the Google Doc https://docs.google.com/document/d/1U_ksGy8q7x_gihlECNecCr3yNKdwGKFeu2OP-qGxaQo/edit#heading=h.6tlu9zg4isot
GITHUB REPO
Update the liveJurisdictions list in the GitHub repo: https://github.com/CDCgov/prime-simplereport/blob/main/frontend/src/config/constants.ts
Additional context
You can view the current map here: https://www.simplereport.gov/assets/img/sr-map.svg

Migration only, not a new STLT. Ticket no longer needed.


[bzip2:x64-windows] build failure with "Could not find PKGCONFIG using the following names: pkg-config"

Host Environment

OS: Microsoft Windows [Version 10.0.19041.388]
Compiler:

Visual Studio 2017 Version: 15.9.25  VS Tools Version: 14.16.27023
Visual Studio 2019 Version: 16.6.5  VS Tools Version: 14.26.28801

To Reproduce
Steps to reproduce the behavior:
After latest update to vcpkg #11550 Commit https://github.com/microsoft/vcpkg/commit/458c20e94b9f558b523f187ce403bd062e131cdb
set VCPKG_DEFAULT_TRIPLET=x64-windows

./vcpkg upgrade --no-dry-run

./vcpkg install bzip2

Failure logs

Cut and past the appropriate build messages from the console output.

vcpkg upgrade console log
The following packages will be rebuilt:
  * bzip2[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/2: bzip2:x64-windows
Removing package bzip2:x64-windows...
Removing package bzip2:x64-windows... done
Elapsed time for package bzip2:x64-windows: 6.266 ms
-- Using cached D:/Git/vcpkg.downloads/bzip2-1.0.6.tar.gz
-- Cleaning sources at D:/Git/vs2019.test/buildtrees/bzip2/src/1.0.6-8838f21f8e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/Git/vcpkg.downloads/bzip2-1.0.6.tar.gz
-- Applying patch fix-import-export-macros.patch
-- Applying patch fix-windows-include.patch
-- Using source at D:/Git/vs2019.test/buildtrees/bzip2/src/1.0.6-8838f21f8e.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig
CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:279 (find_program):
  Could not find PKGCONFIG using the following names: pkg-config
Call Stack (most recent call first):
  ports/bzip2/portfile.cmake:51 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:79 (include)

Error: Building package bzip2:x64-windows failed with: BUILD_FAILED
Elapsed time for package bzip2:x64-windows: 2.98 s
Total elapsed time: 4.544 s
RESULTS
    bzip2:x64-windows: vcpkg::Commands::Build::BuildResult_NULLVALUE: 6.266 ms
    bzip2:x64-windows: BUILD_FAILED: 2.98 s
SUMMARY
    vcpkg::Commands::Build::BuildResult_NULLVALUE: 1
    SUCCEEDED: 0
    BUILD_FAILED: 1
    POST_BUILD_CHECKS_FAILED: 0
    FILE_CONFLICTS: 0
    CASCADED_DUE_TO_MISSING_DEPENDENCIES: 0
    EXCLUDED: 0

vcpkg instal bzip2:x64-windows
Computing installation plan...
The following packages will be built and installed:
    bzip2[core]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: bzip2:x64-windows
Building package bzip2[core]:x64-windows...
-- Using cached D:/Git/vcpkg.downloads/bzip2-1.0.6.tar.gz
-- Extracting source D:/Git/vcpkg.downloads/bzip2-1.0.6.tar.gz
-- Applying patch fix-import-export-macros.patch
-- Applying patch fix-windows-include.patch
-- Using source at D:/Git/vs2017.test/buildtrees/bzip2/src/1.0.6-8838f21f8e.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig
CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:279 (find_program):
  Could not find PKGCONFIG using the following names: pkg-config
Call Stack (most recent call first):
  ports/bzip2/portfile.cmake:51 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:79 (include)

Error: Building package bzip2:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: bzip2:x64-windows
  Vcpkg version: 2020.06.15-nohash
Additionally, attach any relevant sections from the log files above.

Please attach any additional failure logs mentioned in the console output.
No failure in logs, appears to compile/link properly, just fails to install due to error listed.

Additional context

@BillyONeal @JackBoosY @Neumann-A
I am trying to figure out the changes in [vcpkg/scripts/pkgconfig] rewrite pkg-config check for libraries (#11550) and how to fix for port bzip2 (my most important port) as it fails now after applying latest:

git pull - upgrades vcpkg to PR #11550

bootstrap-vcpkg.bat -verbose -disableMetrics -win64 -withVSPATH %VCPKG_VISUAL_STUDIO_PATH% did this because some vcpkg source files changed.

vcpkg upgrade --no-dry-run fails with Could not find PKGCONFIG using the following names: pkg-config
vcpkg install bzip2 fails with Could not find PKGCONFIG using the following names: pkg-config

Then I tried by delete/recreate vcpkg instance:

Delete vcpkg instance
Clone new vcpkg instance
bootstrap as mentioned above
vcpkg install bzip2 still fails with Could not find PKGCONFIG using the following names: pkg-config

Any assistance would be greatly appreciated.

I get exactly the same message when installing zlib with vcpkg!
After latest update to vcpkg #11550 Commit 458c20e
I use VCPKG_DEFAULT_TRIPLET=x64-windows-static

Looks like they've started using MSYS for configuration and have broken vcpkg completely for now.

@BillyONeal @JackBoosY @Neumann-A
cc: @jmelas @ImmaturityRules

I found the cmake find_program "required" option was added between 3.17.3 and 3.18.0, at least it is stated on the 3.18.0 doc page: https://cmake.org/cmake/help/latest/command/find_program.html where the 3.17.3 does not mention the required parameter: https://cmake.org/cmake/help/v3.17/command/find_program.html?highlight=find_program

The "required" option has this definition in cmake 3.18.0 documentation
REQUIRED
Stop processing with an error message if nothing is found.

Line 279 of script vcpkg_fixup_pkgconfig.cmake is only checking the locations bin, /usr/bin or /usr/local/Cellar/pkg-config/0.29.2_3 for the pkg-config executable

This why it works on all platforms using an *NIX OS works, but for windows, it uses MSYS found in the <vcpkg-root>\downloads\toos\MSYS\msys<bitness> aka MSYS_ROOT.

I figure out if I make the function evaluate for CMAKE_HOST_WIN32 first with the following changes starting at line 278 to script vcpkg_fixup_pkgconfig.cmake it works as follows:

Original: Evaluates non-windows hosts first

Modified: Evaluates windows hosts first

This keeps the non-windows host find_program from executing/failing and stopping an otherwise successful build on windows but still allows the non-windows host to run the find_program for the pkg-config executable.

Also discovered by testing, on a windows host, with VS2017/VS2019 installed with MS version of CMake (C:\Program Files (x86)\Microsoft Visual Studio\<vs_version>\<vs_type>\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe) and/or the vcpkg downloaded/installed cmake (3.17.20032601-MSVC_2) the script in the current state works, as versions of CMake prior to 3.18.0 does not stop the find_program for executing and failing with the REQUIRED parameter.

This fix also works on the vcpkg upgrade --no-dry-run with the same failure message.

I did not see any *NIX issues building the same ports using this change/fix - openSUSE Leap 15.2 on WSL2 and Hyper-V.

I do not know how this will affect the CI pipeline builds as I do not have access/account for those.

Let me know if this would be an OK change and if you want me to submit a PR to make this change?
Thank you and have a wonderful week!!!

The above bugfix plus replacing the file <vcpkg-root>\scripts\cmake\vcpkg_acquire_msys.cmake with this version:
vcpkg_acquire_msys.cmake
fixed my vcpkg and I can update bzip2 and zlib.

@BillyONeal @JackBoosY @Neumann-A
cc: @jmelas @ImmaturityRules

I found the cmake find_program "required" option was added between 3.17.3 and 3.18.0, at least it is stated on the 3.18.0 doc page: https://cmake.org/cmake/help/latest/command/find_program.html where the 3.17.3 does not mention the required parameter: https://cmake.org/cmake/help/v3.17/command/find_program.html?highlight=find_program

The "required" option has this definition in cmake 3.18.0 documentation
REQUIRED
Stop processing with an error message if nothing is found.

Line 279 of script vcpkg_fixup_pkgconfig.cmake is only checking the locations bin, /usr/bin or /usr/local/Cellar/pkg-config/0.29.2_3 for the pkg-config executable

This why it works on all platforms using an *NIX OS works, but for windows, it uses MSYS found in the <vcpkg-root>\downloads\toos\MSYS\msys<bitness> aka MSYS_ROOT.

I figure out if I make the function evaluate for CMAKE_HOST_WIN32 first with the following changes starting at line 278 to script vcpkg_fixup_pkgconfig.cmake it works as follows:

Original: Evaluates non-windows hosts first

Modified: Evaluates windows hosts first

This keeps the non-windows host find_program from executing/failing and stopping an otherwise successful build on windows but still allows the non-windows host to run the find_program for the pkg-config executable.

Also discovered by testing, on a windows host, with VS2017/VS2019 installed with MS version of CMake (C:\Program Files (x86)\Microsoft Visual Studio\<vs_version>\<vs_type>\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe) and/or the vcpkg downloaded/installed cmake (3.17.20032601-MSVC_2) the script in the current state works, as versions of CMake prior to 3.18.0 does not stop the find_program for executing and failing with the REQUIRED parameter.

This fix also works on the vcpkg upgrade --no-dry-run with the same failure message.

I did not see any *NIX issues building the same ports using this change/fix - openSUSE Leap 15.2 on WSL2 and Hyper-V.

I do not know how this will affect the CI pipeline builds as I do not have access/account for those.

Let me know if this would be an OK change and if you want me to submit a PR to make this change?
Thank you and have a wonderful week!!!

This fix is working, many thanks.

See #12565 - There are 2 issues:

vcpkg_fixup_pkconfig.cmake needs to be reworked - PR #12569 is in the works but in the mean time you can make the changes shown by myself @StarGate-One to the script found in <vcpkg-root>\scripts\cmake to temporarily fix this issue.
vcpkg_fixup_pkgconfig.cmake.txt

vcpkg_acquire_msys.cmake needs to have the MSYS/mingw crypto keyrings added, @ImmaturityRules has attached a copy to this same issue which fix this issue, but a PR needs to be done with those changes. You can download dthe file and put it in the same location <vcpkg-root>\scripts\cmake to temporarily fix this issue.
vcpkg_acquire_msys.cmake.txt

I have attached a copy of both, download, remove the .txt extension and copy to <vcpkg-root>\scripts\cmake folder and it should work.

I tried applying both fixes. The first fix regarding vcpkg_fixup_pkconfig.cmake worked for me, but apparently the second one didn't.
Error description:
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: C:/dev/vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc -c "pacman -S --noconfirm --needed pkg-config"
    Working Directory: C:/dev/vcpkg/downloads/tools/msys2
    Error code: 1
    See logs for more information:
      C:\dev\vcpkg\buildtrees\bzip2\msys-pacman-x86-windows-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_acquire_msys.cmake:149 (vcpkg_execute_required_process)
  scripts/cmake/vcpkg_fixup_pkgconfig.cmake:280 (vcpkg_acquire_msys)
  ports/bzip2/portfile.cmake:51 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:79 (include)

Error: Building package bzip2:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: bzip2:x86-windows
  Vcpkg version: 2020.06.15-nohash

And the other error log, made by pacman (msys-pacman-x86-windows-err.log):
error: mingw32: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: mingw64: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: msys: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" is unknown
error: key "4A6129F4E4B84AE46ED7F635628F528CF3053E04" could not be looked up remotely
error: database 'mingw32' is not valid (invalid or corrupted database (PGP signature))
error: database 'mingw64' is not valid (invalid or corrupted database (PGP signature))
error: database 'msys' is not valid (invalid or corrupted database (PGP signature))

@TheReclif Have you tried removing the <vcpkg-root>\downloads\tools\msys2 folder and then trying to upgrade bzip2 again?

I tried with a clean install of vcpkg and it worked. Thanks!

@Neumann-A Could you please take a look?
Thanks.

It might be nice to add some minimal integration testing to your CI recipe (eg, install zlib after vcpkg build) so that regressions like this show up obviously and early.

@rivy, good point! thanks for the suggestion!
@strega-nil @BillyONeal, what do you think about installing zlib before test each PR in CI pipeline?

For this regression to show up in CI cmake 3.18 would have been necessary. Vcpkg is still testing against 3.17 in Ci. Furthermore the script change nowadays reruns all ports depending on it in CI since the internal logic was recently changed.
(So zlib was already rebuild in the PR before the merge)

This is now a problem with the windows image windows2016.
https://github.com/actions/virtual-environments/blob/main/images/win/Windows2016-Readme.md
As its been updated to CMake 18, with a VCPKG that fails installing.
Causing pipeline errors like this:
https://dev.azure.com/PointCloudLibrary/pcl/_build/results?buildId=17096&view=logs&j=b2e91478-826b-5668-35a1-2ffb6cc2ce81&t=7e072d12-9c35-5a96-2043-81e7c05cb12e
Also posted similar info in https://github.com/actions/virtual-environments/issues/1332.


prometheus-alertmanager and prometheus-server at constant pending on Nvidia Jetson Nano

Looks like NVIDIA Jetson Nano doesn't digest the Docker image at this point it hangs on constant pending, unfortunately. Is there any chance to fix it out or it's only compatible with the RPI4 for now? :)
prometheus-alertmanager-68b54d8dc7-dnjw4 0/2 Pending 0 3d8h
prometheus-server-5975958bf5-467d6 0/2 Pending 0 3d8h

Hardware: NVIDIA Jetson Nano
OS: Ubuntu 18.04.5 LTS (GNU/Linux 4.9.140-tegra aarch64)

It should be compatible with any ARM64 board.
Check more details (kubectl describe and logs) on the pods to understand why it's pending.

Thanks, mate, I'm gonna investigate it for more details :)

Thanks, mate, I'm gonna investigate it for more details :)


Does this work on Linux(e.g: ubuntu14.04)?

Hi,
Just wondering whether the project works on linux? or appreciated you can point out what operating system can run this sample up?

I suppose it does. The 'publicserver'-part runs on linux.

works for me


Add new model MoleRec

Add the official implementation of Nianzu Yang et al. MoleRec: Combinatorial Drug Recommendation with Substructure-Aware Molecular Representation Learning. WWW 2023.

Moved to a new base, so I can test locally.


Code generate finite state diagrams for UPPAAL from xText lang

IMO this is a nice-to-have

Examples for file types (xta and xml) we can generate. Both file types can be opened with the UPAAL GUI. The examples are based on a very early version of assignment 01 in SAAV
The xta file type is a lot more condensed, and as such does not require as much code to be generated.
The XML file type is well.. XML. The plus is we know the syntax for XML, and as such it should also be a very viable option for code generation.
example-file-types.zip
PS. it was mentioned that it is not a requirement to code generate all parts of a UPAAL system, but that code-generating some is still acceptable


[WIP] Run readme!

Success!
https://travis-ci.com/github/decodelabs/fluidity/jobs/395892703#L322


;unadmin now works on offline players

Probably solves https://discord.com/channels/81902207070380032/1070790821613420575/1070790821613420575
Might not solve it, I have not tested it yet. I'm tired.

@Expertcoderz

10/10 cat

0/10 cat

0/10 cat

kys (keep yourself safe)

no u 🤗


Add Dockerfile

Not sure if there is an interest here, but here is a Dockerfile I used to create https://registry.hub.docker.com/u/flet/signalhub/
It may be worth setting up a hook to have something like mafintosh/signalhub built automatically on commit :)
If not thats OK too! :sparkles:
With a docker repo it makes setting up a signalhub as easy as
docker pull flet/signalhub:latest
docker run -p 8080:8080 flet/signalhub:latest

I only did this because I'm playing with CoreOS and I set up a little signalhub for fun :grinning:

Sounds good. How do I set up the hook?

https://docs.docker.com/docker-hub/builds/


CreateProcess works in console mode but not as service

Hi, does CreateProcess work with running topshelf as a service?  I could spawn a process when in console mode, but when I deploy as a service, it doesn't work.
Here's a test. The notepad opens when in console mode, but not when running as a service.
            HostFactory.Run (configure =>
            {
                configure.Service<MyService> (service =>
                {
                    service.ConstructUsing (s => new MyService ());
                    service.WhenStarted (s => s.Start ());
                    service.WhenStopped (s => s.Stop ());
                });
                configure.RunAsLocalSystem ();
                configure.SetServiceName ("MyWindowServiceWithTopshelf");
                configure.SetDisplayName ("MyWindowServiceWithTopshelf");

});

    public class MyService
    {
         public void Start()
        {
            Process.Start ("notepad.exe"); // This works in console but not as as as service
        }
        public void Stop()
        {
            // write code here that runs when the Windows Service stops.
        }
    }

It all depends upon your service permissions, and would be the same as creating a service with or without Topshelf. I'd suggest asking elsewhere about service permissions as this isn't a Topshelf issue.


Add samhwangg to Contributors list

@samhwangg, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I accepted it?


Add SSH server to devcontainer image

SSH server (sshd) feature is currently limited to Debian/Ubuntu-based distributions; pending pull request to be raised to introduced support for RHEL-based distributions.


Step 10 - cleanup the tokens (Cloud Functions for Firebase): collection name wrong.

the collection name in tutorial is messages:
cleanupTokens function in functions/index.js
     // Cleanup the tokens who are not registered anymore.
     if (error.code === 'messaging/invalid-registration-token' ||
         error.code === 'messaging/registration-token-not-registered') {
       const deleteTask = admin.firestore().collection('messages').doc(tokens[index]).delete();
       tokensDelete.push(deleteTask);
     }

messages should be fcmTokens?
     // Cleanup the tokens who are not registered anymore.
     if (error.code === 'messaging/invalid-registration-token' ||
         error.code === 'messaging/registration-token-not-registered') {
       const deleteTask = admin.firestore().collection('fcmTokens').doc(tokens[index]).delete();
       tokensDelete.push(deleteTask);
     }

Thanks for the tutorial!

Hmm, yeah this looks like a bug in the sample code.

Confirmed, the web app writes to the fcmTokens collection:
https://github.com/firebase/friendlychat-web/blob/a3d21675fcbf5e4c56eb67257658348484bcbf82/cloud-functions/public/scripts/main.js#L117

yes, the app writes device token to the fcmTokens collection.
but cleanupFunction try to remove from messages collection.
https://github.com/firebase/friendlychat-web/blob/a3d21675fcbf5e4c56eb67257658348484bcbf82/cloud-functions/functions/index.js#L127

The code snippet in the tutorial step itself still uses the wrong collection name: https://codelabs.developers.google.com/codelabs/firebase-cloud-functions/#9


esbuild not re-building css

Hi Nick,
Really great setup you have here. I've followed through your readme. In fact, I simply cloned and set up a sample project using your starter kit.
All the services are up and running as expected. The only issue is 'css' esbuild doesn't re-build when I make an update in the views folder or appplication.css file, as expected.
The 'js' watcher works as expected.
I'm sure it might be an issue with my setup.
I'm using a Mac Book Pro M1, with docker; Docker version 20.10.17, build 100c701
This may have nothing to do with your starter kit, and may be an issue with my setup, so I will appreciate any pointers on what to look at.
I did a fresh install using rails new myapp -j esbuild -c tailwind and run it without docker, and both watchers worked as expected, so I'm thinking this could be something related to Docker.
Anyway, thanks and hope you have some ideas

Hi,
When I do the same thing and run it, both js and css do update on changes. Modifying the application.css as well as adding new tailwind classes into any erb template results in a new css file being generated.
Do you have both NODE_ENV and RAILS_ENV set to development and you've built your images with them set?
I don't have a mac to test this on but I would start by running ./run shell to connect to the container after you've upped the project and see if the app/assets/builds/ directory has the new file. You can cat it out or open it up in vi to check if the new class exists. If it's not there then I'd check the app/assets/stylesheets/application.tailwind.css file within the container to make sure the changes are making their way into the container.

By the way, a temporary (and not ideal) solution would be to run docker compose restart css from in a second terminal to manually generate a new css file. This should finish in about 2 seconds and doesn't involve downing and upping the whole app. At the very least you'll be able to see the changes then until we find the root cause here.

Hi,
sorry for the radio silence.
Yes, I have both NODE_ENV and RAILS_ENV set to development.

Did you try the debugging steps from my previous comment?

Yes I did.
changes I make to app/assets/stylesheets/application.tailwind.css or new tailwind css classes added in a views file are indeed making their way into the container, but are not re-built into app/assets/builds/application.css.

Hmm, I wonder what's up with that. I can't reproduce that in this example project, although I haven't build it in a while with --no-cache, maybe something in the base Ruby image changed.
What if inside of the Dockerfile you add inotify-tools to the list of apt packages that get installed in the assets build stage?

I'm going to close this one out, I think this was a bug with TailwindCSS and I was able to reproduce it.
This project is using TailwindCSS 3.2.4 where file watch changes are working without having to do anything extra.
It it possible that you're using an earlier version of TailwindCSS 3.2.X? I did notice in a project using TailwindCSS 3.2.1 CSS changes weren't being picked up. I see this also referenced in https://github.com/tailwindlabs/tailwindcss/issues/7759 and 3.2.4 has that fix applied.


Include boomerang-opentelemetry-plugin to distribution

Include the boomerang-opentelemetry-plugin ( https://github.com/NovatecConsulting/boomerang-opentelemetry-plugin ) to the distribution von inspect-IT EUM.

Hi @mariusoe , is this not implemented?
Regards, Sascha

@mariusoe : PING
I think, this is implemented. Right?
Regards, Sascha

Hi @mc-chaos
sorry for the delay. I hadn't seen your comment.
You are right. This is already closed by #1224


StemElement cannot be a "term" since it is not a TextElement -- is it correct?

Is this correct?

No, stem is a text element.
TextElement =
  text | em | eref | strong | stem | sub | sup | tt |
  strike | smallcap | xref | br | hyperlink | hr | pagebreak | bookmark

In the UML, stemelement inherits from BasicElement: https://github.com/riboseinc/isodoc-models/blob/master/images/text.png
And terms can be mathematical expressions: t_90_ is an alternate term in the Rice document.

Right -- so the UML diagram is wrong and I need to update it, correct?

But xref, hyperlink, hr, br, pagebreak, bookmark -- cannot be a Term, right?

Right on both.

Thanks!


RO-4193 Update master dependencies

Automated dependency update pull request, see individual commits for details.
Issue: RO-4193

recheck_xenial_no_artifacts_swift_deploy

recheck_cit_xenial_no_artifacts_swift_deploy


feat: run migrations on start

closes #1154
TODO:

[ ] update guide on website / docs

It's already merged into dev, meaning it will go out in the next release. I just need to make a few adjustments because we can't have the migrate run every time on start.

Thanks for the explanation


ThingSpeak code not iterating

Hello,
The code works when first uploaded but then does not seem to iterate. This is what the Serial monitor shows and then nothing else:
Connecting to ThingSpeak...
HTTP/1.1 200 OK
Server: nginx/1.5.7
Date: Thu, 31 Jul 2014 15:19:20 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Status: 200 OK
X-Frame-Options: ALLOWALL
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS, DELETE, PATCH
Access-Control-Allow-Headers: origin, content-type, X-Requested-With
Access-Control-Max-Age: 1800
ETag: "6364d3f0f495b6ab9dcf8d3b5c6e0b01"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: request_method=POST; path=/
X-Request-Id: f091b127-1764-4691-8af5-1b09cf7c1afd
2
32
0
I am using this code on an Intel Galileo.
Is there a fix to this issue?
Thanks

I'm using an Intel Edison and had the same issue.
I fixed it by changing this line:
if (!client.connected() && lastConnected)
to this: (no more '!')
if (client.connected() && lastConnected)

also include this step
instead of if(client.available())
it should be while(client.available())


lv_txt.c long word text wrapping initial commit (refactor).

I fixed all the merge conflicts and squashed all my commits into a single one for the long word text refactor. The diff is a bit ugly, just interpret it as lv_txt_get_next_line has been completely rewritten with an additional helper function lv_txt_get_next_word.

Hi,
It stepped into an infinite loop when I closed the message box in the demo.
max_width was -10 therefore lv_txt_get_next_line always returned 0. I've fixed in the same way as in the original version. See 5a9904f
It looks good anyway, thank you!


CONSOLE-4073,CONSOLE-4074: Final adjustments

Adjustment the serialization/deserialization logic for pull secret form content, and move shared types to their own file.

I'll do that, thank you!


fix: update sep link on csv page

Closes #
Describe your proposed changes here.

[ ] Signed the InfluxData CLA
(if necessary)
[ ] Tests pass (no build errors)
[ ] Rebased/mergeable

Thanks, @russorat !


Bundling?

I get that this is a minimal build intended for local dev, but there will be a point when users want to deploy something, and there's no built-in 'graduation' if they start building on this repo.
It'd be nice to have an npm run build or equivalent to bundle, minify and tree-shake into a single bundle.js for convenience, to let users quickly upload something and see it working live.
That's a surprisingly difficult step for an Angular newbie, when the CLI abstracts away the webpack details and many generators are out of date or no longer maintained.

Grumpiness ahead.
Not to mention the nightmare of 'just as I've built something that works with systemjs, the story for 'deploy into live' seems to be angular-cli, which doesn't seem to use systemjs, and requires an utterly different directory layout', and looks like it's much, much slower for refreshing when in development.
Oh and of course it's permanently in beta.
Or use some 500-line gulp file (what that?) "found on the interwebs".
I liked that ng2 was opinionated. E.g: we're using typescript. You don't have to, but that's what the default is.
I wish the project(ecosystem) would just pick something and document it (e.g: example repo) rather than assuming everyone fully understands the clown-car engineering that seems to be the JS build chain.

No worries my friend, we are making a lot of changes right now in those aspects.
We have a deploy guide and we will update the quickstart as well.

I encountered pretty much everything @magnayn discovered in my first few days of using Angular, and wound up writing my own Webpack config.
It was a giant PITA that took:

3 different TypeScript loaders to find one that actually works (hint: awesome-typescript-loader)
Trawling through SO and issue boards to figure to figure out why I was getting cyclic dependency issues in the build (hint: /angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/ - yeah, WTF)
Separate loaders for routine stuff like templateUrl to resolve actual files, and not just throw cryptic console 404s
Proper handling of HTML and CSS processing/minification (including postcss)
Swapping out the 90% of starter kits that use Webpack 1, and miss out on tree-shaking of v2 and es6 modules
Separate builders for universal Angular, so initial page dumps/SSR was possible
Proper hot reloading -- not full refreshes like with browsersync

I'm a new ng user transitioning from React, so luckily I had some experience with wrestling webpack. For someone that's completely new to this, I have no idea how anyone, anywhere, has actually managed to build anything with ng2 so far. I spent 5 mins on the official docs before submitting a PR for a pretty obvious error. It's a minefield.
I'm still working on it, but I'm gonna finish my webpack config and post it as an alternative to the starter kits currently out there.
 Anyone coming from a 'magic' framework like Meteor will know exactly what I'm talking about.

And, I'm sure I speak for others @Foxandxss, I certainly appreciate all efforts to build something like this quickstart guide. My main peev as a new user is lack of 'official' consistency. A user is either faced with going it alone or trusting everything to the CLI. Neither is ideal.
A simple, solid webpack starter that works in browsers - and is kept up to date - would be awesome.
I'll post my attempt at that here when it's finished, hopefully in the next couple of days.

The webpack guide is getting better and better and it comes with fully development, test and production. Will bring AOT soon.

My angular project is calling more than 100 dependency files.
Can you add bundle of just dependency files for starter.(one which are called from node_modules).

Any progress?

I was hoping this thread will yield some code I can use to bundle.
If anyone has a link to a good post please let me know.
here's the situation I'm struggling with:
I downloaded the quick start project and wanted to bundle it. no code changes.
I'm using gulp and so I added a gulp file:
var gulp = require('gulp');
var Builder = require('systemjs-builder');

gulp.task('bundle', function () {
    var builder = new Builder("./", "./systemjs.config.js");
    builder.bundle("app/*.js", "./app.bundled.js");
});

This fails with the following error message:
application.module.js document is not defined] originalErr: [ReferenceError: document is not defined] }

apparently this is due to the following line in systemjs.config:
loader: "systemjs-angular-loader.js". Commenting out this line fixes the above error and a file is created.
Does this mean the quickstart example should be altered? I'm new to bundling etc, am I doing something wrong? should I not be using systemjs although the quickstart references it (which I assume is best known method according to angular team...?)

The official recommendation to build and bundle projects is the CLI.
This project was created to be used with the documentation, not to create projects really.

Thanks for the quick response, however, I'm using VS to build my backend and I'm used to it, so I'm using it for angular and typescript development as well, I hope I can make VS use angular-cli, this is not an easy task I think.

This repository is now deprecated. The Angular Quickstart project was a nice starting point for creating Angular applications. Now we recommend using the Angular CLI to create new Angular projects.
Starting from 1 November 2017, all the Angular documentation, at angular.io, is based on the Angular CLI.
Let's get started


Bug: IndexError: list index out of range

Describe the Bug
I wanted to create a collection in my Anime Library with a plex_search for titles.
That collection is not being created because of an error in the conver.py file, IndexError: list index out of range (see log below).
Relevant Collection Config
the config for the collection that should be created.
collections:
  Accel_World_Collection:
   plex_search:
     title: Accel World
   build_collection: true

Plex Meta Manager Info

Version: 1.12.1

Link to logs (required)
https://gist.github.com/Fribb/2efaac0556aa664374abfbbabc672494
As a further note, I think the creation of the mapping is only necessary when integrations for MyAnimeList, AniDB etc are actually used and that maybe those mappings should only be run if the configuration actually contains those configurations.
Additionally, it would be good if critical errors or errors in general, would be "posted" while running python plex_meta_manager.py -r so that errors like this are noticed sooner.

Start of the Discord Discussion:
https://discord.com/channels/822460010649878528/822460350610800660/884679488955351091

develop should support your mal agent better now


[WebView] postUrl not working anymore

Description
Since 0.29.1-alpha update the postUrl() function is not working anymore
Steps to reproduce
I used to be able to use the old postUrl function the following way:
val state = rememberWebViewState("")
WebView(
    state = state,
    factory = {
        android.webkit.WebView(it).apply {
            postUrl(
                "https://google.com",
                "my_by_array_string".toByteArray()
            )
        }
    }
)

I am not sure if this was the correct way to post data but it was the only way I could get it working. Unfortunately, with the 0.29.1-alpha release it broke.
Expected behavior
I am able to do a postUrl call that also has a parameter called byte[] postData

The issue is still there and I am waiting for a solution.


Ensure form is always dirty after doing edits when forceValue is true

Follow up to #12311.
I completely missed that the check() method is called on change and keyup events. The method relies on this.initialFormData which is set in watchEdits – if it's unset, the method always sets hasEditsValue to false.
Since we no longer call watchEdits when forceValue is true, hasEditsValue always gets set to false when you do an edit after an invalid form submission.
This PR fixes it by making the check() method bails out when this.initialFormData is unset, instead of always forcing hasEditsValue to false.
To test:

Open the page editor.
Empty out a required field and save (to make an invalid submission so that forceValue is set to true on initial load).
Check that the form immediately gets marked as dirty.
Make some changes to the form.
The form gets unmarked as dirty, and there's no way to make it dirty again.

With this fix, step 5 doesn't happen, i.e. the form stays dirty.
P.s. I don't think this needs a release note.

Thanks, sorry I missed that one also. I'll try to do a review this week.


Error while calling Nodejs-demo.js

Hello,
I am getting error on below line
const express = require('express');
app.get('/', function(req, res) {
res.writeHead(200, { 'Content-disposition':'attachment;filename='+strFilename, 'Content-Length':data.length });
res.end(new Buffer(data, 'binary'));
});
I am also getting an error on "app.get"  is that
Uncaught (in promise) ReferenceError: app is not defined
Thanks,
Shrikant

Hello,
One more question is regarding saveCallback(filename, data) is that which data, I will need to pass in the second variable. Please confirm.

@shrikantbhongade ,
You're missing express.  Install it using NPM.
saveCallback() data is the data returned - its using for streaming.
See the nodejs-demo.js STEP 3 for many examples of saving files.


Better support for sending APNS binary pushes immediately (ttl=0)

Current:
        if ttlstr, ok := notif.Data["ttl"]; ok {
                ttl, err := strconv.ParseUint(ttlstr, 10, 32)
                if err == nil {
                        expiry = unixNow + uint32(ttl)
                }
        }

What it should be (After doing this, need to test and add unit tests):
        if ttlstr, ok := notif.Data["ttl"]; ok {
                ttl, err := strconv.ParseUint(ttlstr, 10, 32)
                if err == nil {
                        if ttl > 0 {
                                expiry = unixNow + uint32(ttl)
                        } else {
                                expiry = 0
                        }
                }
        }

Requires finishing https://github.com/uniqush/uniqush-push/issues/151
See https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/BinaryProviderAPI.html#//apple_ref/doc/uid/TP40008194-CH13-SW1

A UNIX epoch date expressed in seconds (UTC) that identifies when the notification is no longer valid and can be discarded.

If this value is non-zero, APNs stores the notification tries to deliver the notification at least once. Specify zero to indicate that the notification expires immediately and that APNs should not store the notification at all.

This was implemented as part of https://github.com/uniqush/uniqush-push/pull/154/files#diff-dfc0df3a089029b52803ad977877ef62


fixed login page allignment issue

Describe your changes
fixed login page alignment issue.
Solved issue #623
Screenshots

Link to issue

Closes #623
Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] Followed the repository's Contributing Guidelines.
[x] I ran the app and tested it locally to verify that it works as expected.
[x] I have checked my code with an automatic accessibility tool and it shows no errors.

Hey @Susmita-Dey
I've observed that the login page is functioning on various devices, not just iPhones. However, I've identified CSS conflicts affecting responsiveness on certain screen resolutions. I'll work on these issues and will provide an update shortly..


RNA modbams?

I have RNA modbams with m6A (in DRACH motifs) and everything runs without error but wgmeth/differential methylation results are sort of confusing - are there going to be RNA-specific additions to methylartist now that ONT has RNA mod models out? Thanks!

I haven't worked with modified bases in ONT RNA-seq yet, what enhancements would be useful for this?

@adamewing I think it would be nice to have a way to look at total m6A/total modifications per molecule, regardless of position. This probably isn't hard to do just by counting SAM tags, but I'm not really a coder. Also a feature to deal with the spliced alignments.


BeamNGpy and BeamNG.research version mismatch

BeamNGpy is the latest from PyPI (1.14.1) and BeamNG.research is the latest one from subversion.  However, this is the warning message I get:
BeamNGpy and BeamNG.* version mismatch: BeamNGpy v1.12, BeamNG.* v1.9
Make sure both this library and BeamNG.* are up to date.
Operation will proceed, but some features might not work.
<beamngpy.beamng.BeamNGpy object at 0x000002B1B6F94048>
Is there a newer version of BeamNG.research somewhere else?

Given that the issue is one year old, I hope that you managed to resolve it.
Please comment if the issue persists and I will provide a more timely support.


Support JSON Web Key (JWK) Thumbprint in JsonWebKey

See https://www.rfc-editor.org/rfc/rfc7638

already implemented in #83


Migrate VMSS from azurerm_virtual_machine_scaleset

PR Focuses on migration of older / legacy virtual machine scale set module for Linux. Also updated custom_data value to match linux virtual machine. Required to support Palo Alto NVA scale sets

Could be duplicate / related to #1109


"Prompt is required Extend Node"

The extend node doesn't work for me I get a prompt required error, otherwise all work perfect thanks

Are you sending a prompt when using this node?


xSQLServerSetup: Fails to start Database Engine service for SQL Server 2008 R2

Details of the scenario you try and problem that is occurring:
In rare occasions when installing SQL Server 2008 R2 (or first instance) the Database Engine service are not started, so Set-method fails when it cannot verify with Test-method.
First it installs SQL2008R2 which fails, next it installs SQL2012 and that instance is started without problems.
LCM verbose log:
VERBOSE: [SQLTEST]: LCM:  [ Start  Resource ]  [[xSQLServerSetup]InstallSql2008R2Instance]
VERBOSE: [SQLTEST]: LCM:  [ Start  Test     ]  [[xSQLServerSetup]InstallSql2008R2Instance]
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-28-38: Using path: \\file.company.local\images\SQL2008R2SP3-ENT\setup.exe
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-28-39: Features found: ''
VERBOSE: [SQLTEST]: LCM:  [ End    Test     ]  [[xSQLServerSetup]InstallSql2008R2Instance]  in 1.1950 seconds.
VERBOSE: [SQLTEST]: LCM:  [ Start  Set      ]  [[xSQLServerSetup]InstallSql2008R2Instance]
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-28-39: Using path: \\file.company.local\images\SQL2008R2SP3-ENT\setup.exe
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-28-39: Robocopy is copying media from source '\\file.company.local\images\SQL2008R2SP3-ENT' to destination 'C:\Windows\TEMP\SQL2008R2SP3-ENT'
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-28-50: Using path: C:\Windows\TEMP\SQL2008R2SP3-ENT\setup.exe
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-28-50: Starting setup using arguments: /Quiet="True" /IAcceptSQLServerLicenseTerms="True" /Action="Install" /SQLSVCACCOUNT="COMPANY\svcSql" /SQLSVC
PASSWORD="********" /AGTSVCACCOUNT="COMPANY\svcSql" /AGTSVCPASSWORD="********" /AGTSVCSTARTUPTYPE=Automatic /InstanceName="SQL2008R2" /Features="SQLENGINE,SSMS,ADV_SSMS" /BrowserSvcStartupType="Automatic" /SQLCollation="Finnish_Swedish_CI_AS" /SQLSysAd
minAccounts="COMPANY\sqladm" "COMPANY\SQL Admins" "COMPANY\sqladm"
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-28-51: Process matching path 'C:\Windows\TEMP\SQL2008R2SP3-ENT\setup.exe' started in process ID 628
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-33-42: Using path: \\file.company.local\images\SQL2008R2SP3-ENT\setup.exe
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-33-45: Detecting replication feature (HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.SQL2008R2\ConfigurationState)
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-33-46: Replication feature not detected
VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-33-46: Connected to SQL localhost\SQL2008R2
The following exception occurred while trying to enumerate the collection: "Failed to connect to server localhost\SQL2008R2.".
    + CategoryInfo          : NotSpecified: (:) [], CimException
    + FullyQualifiedErrorId : ExceptionInGetEnumerator
    + PSComputerName        : sqltest.company.local

VERBOSE: [SQLTEST]:                            [[xSQLServerSetup]InstallSql2008R2Instance] 2016-12-28_14-34-02: Features found: 'SQLENGINE,SSMS,ADV_SSMS'
VERBOSE: [SQLTEST]: LCM:  [ End    Set      ]  [[xSQLServerSetup]InstallSql2008R2Instance]  in 323.8860 seconds.
The PowerShell DSC resource '[xSQLServerSetup]InstallSql2008R2Instance' with SourceInfo 'E:\DSC\DSC-SQLTestConfig.ps1::174::13::xSQLServerSetup' threw one or more non-terminating errors while running the Set-TargetResource functionality. These errors are lo
gged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
    + CategoryInfo          : InvalidOperation: (:) [], CimException
    + FullyQualifiedErrorId : NonTerminatingErrorFromProvider
    + PSComputerName        : sqltest.company.local

Event log:
Log Name:      System
Source:        Service Control Manager
Date:          2016-12-28 14:33:05
Event ID:      7045
Task Category: None
Level:         Information
Keywords:      Classic
User:          SYSTEM
Computer:      SQLTEST.company.local
Description:
A service was installed in the system.

Service Name:  SQL Server (SQL2008R2)
Service File Name:  "C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQL2008R2\MSSQL\Binn\sqlservr.exe" -sSQL2008R2
Service Type:  user mode service
Service Start Type:  auto start
Service Account:  COMPANY\svcSql

Log Name:      System
Source:        Service Control Manager
Date:          2016-12-28 14:33:20
Event ID:      7036
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      SQLTEST.company.local
Description:
The SQL Server (SQL2008R2) service entered the stopped state.

Log Name:      System
Source:        Service Control Manager
Date:          2016-12-28 14:33:20
Event ID:      7024
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SQLTEST.company.local
Description:
The SQL Server (SQL2008R2) service terminated with the following service-specific error:
There was an error installing NETWKSTA.SYS.  Press ENTER to continue.

The DSC configuration that is using the resource (as detailed as possible):
xSQLServerSetup InstallSql2008R2Instance
{
    InstanceName = $Node.Sql2008R2InstanceName
    Features = $Node.Sql2008R2InstallFeatures
    BrowserSvcStartupType = 'Automatic'
    SQLCollation = 'Finnish_Swedish_CI_AS'
    SQLSvcAccount = $SqlServiceCredential
    AgtSvcAccount = $SqlAgentServiceCredential
    ASSvcAccount = $SqlServiceCredential
    RSSvcAccount = $SqlServiceCredential
    SQLSysAdminAccounts = 'COMPANY\SQL Admins', $SqlAdministratorCredential.UserName
    SetupCredential = $SqlInstallCredential

    SourcePath = $Node.SourcePath
    SourceFolder = $Node.SourceFolderSql2008R2
    SourceCredential = $SqlInstallCredential

    SuppressReboot = $False
    ForceReboot = $False

    DependsOn = '[WindowsFeature]NetFramework35','[WindowsFeature]NetFramework45'
}

Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
Windows Server 2012 R2, SQL Server 2008 R2, PS 5.0
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev

Okey, so this one is strange. I get this each time installing SQL Server 2008 R2 all of the sudden, on two different servers. Can't install it manually either. My guess is that the media has been corrupted in some way. It is the only common thing among all tests.
So I'm closing this issue since it has nothing to do with the resource.

Hi,
I'm having the same issue and found out that the error disappears when creating a sysadmin login for 'NT AUTHORITY\SYSTEM' in the sql servers login.
I guess this comes from the fact that we both use the 'SQLSysAdminAccounts' parameter
As long as the DSC resource runs as 'NT AUTHORITY\SYSTEM', if there is no login for the account, DSC will fail to connect to the server.
I think this is a bug.
In my opinion the fix should be to add the 'NT AUTHORITY\SYSTEM' account as admin when the SQLSysAdminAccounts is set.

I actually found out that our DBA intentionally removed that account for security reasons.
Trying to use the PsDscRunAsCredential didn't work as expected (the account used to login during the Test-TargetResource is still the SYSTEM account).
So, it's not a bug in the resource itself. Anyway any idea on how to work around it would be really appreciated.


drivers: dac: stm32: add dac value range check

Compare value and DAC resolution in dac_write_value and return -ERANGE if the value is above supported resolution.

Thanks @jeppenodgaard.
Looks good to me. However, there is a typo in the commit message (adc instead of dac).

Thanks! Fixed in PR title and commit message.

Thanks. Looks good.
May I ask you to add this return value also to the Doxygen comment for dac_write_value in include/zephyr/drivers/dac.h in an additional commit as part of this PR?

The other drivers return EINVAL and it seems be the right thing to return. Are you OK with that change instead?

The other drivers return EINVAL and it seems be the right thing to return. Are you OK with that change instead?

Oh yes, definitely. I was too quick and just had a look whether the -ERANGE is documented. Let's go with -EINVAL for consistency.

The other drivers return EINVAL and it seems be the right thing to return. Are you OK with that change instead?

Oh yes, definitely. I was too quick and just had a look whether the -ERANGE is documented. Let's go with -EINVAL for consistency.

Fixed and updated commit message.


Shared mailbox help

Many thanks for your work on this great app, I am looking to get the shared mailbox on my account, I can get my emails etc but having an issue with setting up the shared email sensor
o365:
  accounts:
    - account_name: DailyReports
      client_id: ""
      client_secret: ""
      alt_auth_method: False
      enable_update: False
 email_sensor:
        - name: daily_reports_inbox
          folder: "Inbox"
          max_items: 20
          is_unread: False
          download_attachments: False
      shared_mailbox<EMAIL_ADDRESS>
not sure what I am doing wrong.

I'm sorry, but I think you need to describe what issue you are having

Apart from that your formatting is wrong, yaml structured and indenting is important.

Sorry thank you for coming back to me I am trying to pull in the emails from the shared email box. I can get my main emails no problems and I just wanted check it was correct what I was doing. I want to pull the shred mailbox.

Sorry thank you for coming back to me I am trying to pull in the emails from the shared email box. I can get my main emails no problems and I just wanted check it was correct what I was doing. I want to pull the shred mailbox.

Well, the yaml you posted is incorrect. But you haven't said what error you are getting, so no idea what isn't working. If you get the yaml right, then it doesn't work, please post the error your are getting.

Many thanks I got it fixed. Re looking at the yaml. Many thanks for your help.


Error in debug mod

Describe your bug here.
every time i run the game it gives me this error costantly. What can i do about it?

Command Prompt/Terminal logs (if existing)
[WARNING] Could not parse frame number of " instance 10000" in frame named "k bold instance 10000"

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

can someone give a fix to this pls?
i know its not an error and more like a warning but its really annoying

This happens in newest versions of flixel, go back to version 5.6.1 and it should stop


(macOs Catalina only) Cannot compress a folder containing a fileName.realm file and a few auto-generated realm files

Goals
Be able to compress a folder including a fileName.realm file and a few auto-generated realm files. (macOS Catalina only issue)
Expected Results
The folder should be compressed as normal and a zip file should be generated in the file system.
Actual Results
macOS displays an error message “The operation couldn’t be completed. Invalid argument”
Steps to Reproduce

Create a sample CSV file has the following content and save as sample.csv

T1,T2,T3
one,two,three

Create a new folder “test” in your document foler.  Use Realm Studio (Version 3.11.0 (<IP_ADDRESS>9)) -> Create Realm from -> CSV and select 'sample.csv' and save as default.realm in the test folder.

If you go to the test folder now in Finder, you will see three items:
default.realm
default.realm.lock
default.realm.management (this folder includes two access_control files)
Close Realm Studio.

In Finder, right-click on the test folder,  select Compress ‘test’ from the context menu

macOS displays an error message “The operation couldn’t be completed. Invalid argument”

Additional notes:

It only occurs on the macOS Catalina.  it works well on macOS Mojave.
If you duplicate the ‘test’ folder or copy-paste it to a different location, then try to compress it, it will work.

Code Sample
No need to use code to reproduce this issue. Follow the steps above and we can reproduce it with Ream Studio.
It is the same behavior if we create a realm file with our own code.
Version of Realm and Tooling
Realm framework version: 4.4.1
Realm Object Server version: N/A
Xcode version: 11.3.1
iOS/OSX version: macOS Catalina 10.15.5 (19F96)
Dependency manager + version: ?

@SimonZhang2012
Thanks for the instructions. I'm seeing the same thing.
I've labelled this a bug. It's still unclear if this is just Apple or Studio, though. For the time being try running zip -r test.zip test. This worked for me.

@ericjordanmossman
Thanks, the workaround works. Also, I have another workaround, which is to duplicate the folder and then compress the duplicated folder, which will generate the zip file correctly.
However, I still think this bug should be fixed, if possible. Since we use Realm to support our document format, so our document will look like:
abc.extension (package)
-- xxx.jason
-- video (a folder contains some video)
-- database
-- including a realm database file, and auto-generated realm related files (.lock, .management)
Our users might want to exchange documents and since it is big, they want to zip them first by using default system zip tools.  Since they are not so tech-heavy, so these two workarounds might confuse them or cause lots of trouble for them.
Thanks for your analysis and any forthcoming efforts in advance !!

There isn't really anything for us to fix. We can't safely delete the named pipes when the Realm file is closed (it would result in very broken behavior if this overlapped with the Realm being reopened). I would recommend filing a bug report with Apple asking for it to skip named pipes rather than failing when trying to compress a folder.


1.1.0 index error panic: runtime error: slice bounds out of range

Please speak English, this is the language all of us can speak and write.
Please ask questions or configuration/deploy problems on our Gitter channel: https://gitter.im/go-gitea/gitea
Please take a moment to search check that your issue doesn't already exist.
Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report.

You MUST delete the content above including this line before posting, otherwise your issue will be invalid.

Gitea version (or commit ref): 1.1.0
Git version:
Operating system: Linux (docker image 1.1)
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
web_1       | 2017/03/10 02:34:43 [T] Custom path: /data/gitea
web_1       | 2017/03/10 02:34:43 [T] Log path: /app/gitea/log
web_1       | error: patch failed: src/filmow/bluke/signals.py:1
web_1       | error: src/filmow/bluke/signals.py: patch does not apply
web_1       | error: patch failed: src/filmow/commenting/signals.py:45
web_1       | error: src/filmow/commenting/signals.py: patch does not apply
web_1       | error: patch failed: src/filmow/commenting/templatetags/commenting.py:1
web_1       | error: src/filmow/commenting/templatetags/commenting.py: patch does not apply
web_1       | error: patch failed: src/filmow/commenting/views.py:16
web_1       | error: src/filmow/commenting/views.py: patch does not apply
web_1       | error: patch failed: src/templates/commenting/_comment.html:6
web_1       | error: src/templates/commenting/_comment.html: patch does not apply
web_1       | error: patch failed: src/templates/commenting/_comment_base.html:1
web_1       | error: src/templates/commenting/_comment_base.html: patch does not apply
web_1       | error: patch failed: src/templates/commenting/comments.html:1
web_1       | error: src/templates/commenting/comments.html: patch does not apply
web_1       | error: patch failed: src/templates/commenting/comments_page_movie.html:13
web_1       | error: src/templates/commenting/comments_page_movie.html: patch does not apply
web_1       |
web_1       | error: patch failed: compose-backend.yml:17
web_1       | error: compose-backend.yml: patch does not apply
web_1       | error: patch failed: compose-thumbor.yml:1
web_1       | error: compose-thumbor.yml: patch does not apply
web_1       | error: src/filmow/settings/defaults/base.py: does not exist in index
web_1       | error: src/filmow/settings/defaults/elasticsearch.py: does not exist in index
web_1       | error: patch failed: src/filmow/settings/production.py:61
web_1       | error: src/filmow/settings/production.py: patch does not apply
web_1       |
web_1       | error: patch failed: src/filmow/artists/models.py:79
web_1       | error: src/filmow/artists/models.py: patch does not apply
web_1       |
web_1       | panic: runtime error: slice bounds out of range
web_1       |
web_1       | goroutine 53 [running]:

In 1.0 of the error and UP the gitea and 1.1 won't go up
Screenshots
If this issue involves the Web Interface, please include a screenshot

Maybe because we import github.com/facebookgo/grace/gracehttp?

cannot find anything from the log.

There's nothing else in the log, he is in infinite loop

I got similar error such as below:
[Macaron] 2017-03-15 20:16:09: Started POST /ninja/RPG/pulls/16/merge for <IP_ADDRESS>
[Macaron] 2017-03-15 20:16:10: Completed /ninja/RPG/pulls/16/merge 302 Found in 1.730748095s
error: patch failed: .gitignore:7
error: .gitignore: patch does not apply
error: Disastoria/Assets/Battle.meta: already exists in index
error: Disastoria/Assets/Battle/Prefabs.meta: already exists in index
error: Disastoria/Assets/Battle/Prefabs/Enemy.prefab: already exists in index
error: Disastoria/Assets/Battle/Prefabs/Enemy.prefab.meta: already exists in index
error: Disastoria/Assets/Battle/Scripts.meta: already exists in index
error: Disastoria/Assets/Battle/Scripts/BattleManager.cs: already exists in index
error: Disastoria/Assets/Battle/Scripts/BattleManager.cs.meta: already exists in index
error: Disastoria/Assets/Battle/Scripts/Enemy.cs: already exists in index
error: Disastoria/Assets/Battle/Scripts/Enemy.cs.meta: already exists in index
error: Disastoria/Assets/Battle/Scripts/Fighter.cs: already exists in index
error: Disastoria/Assets/Battle/Scripts/Fighter.cs.meta: already exists in index
error: Disastoria/Assets/Battle/Scripts/FightingHeroine.cs: already exists in index
error: Disastoria/Assets/Battle/Scripts/FightingHeroine.cs.meta: already exists in index
error: Disastoria/Assets/Battle/Scripts/FightingPlayer.cs: already exists in index
error: Disastoria/Assets/Battle/Scripts/FightingPlayer.cs.meta: already exists in index
error: Disastoria/Assets/Battle/Scripts/SkillBase.cs: already exists in index
error: Disastoria/Assets/Battle/Scripts/SkillBase.cs.meta: already exists in index
error: Disastoria/Assets/Battle/Scripts/Skills.cs: already exists in index
error: Disastoria/Assets/Battle/Scripts/Skills.cs.meta: already exists in index
error: patch failed: Disastoria/ProjectSettings/EditorBuildSettings.asset:7
error: Disastoria/ProjectSettings/EditorBuildSettings.asset: patch does not apply
error: patch failed: Disastoria/ProjectSettings/ProjectSettings.asset:415
error: Disastoria/ProjectSettings/ProjectSettings.asset: patch does not apply
error: patch failed: Disastoria/ProjectSettings/TagManager.asset:3
error: Disastoria/ProjectSettings/TagManager.asset: patch does not apply
panic: runtime error: slice bounds out of range

After that, launching gitea results in errors:
(won't up)
panic: runtime error: slice bounds out of range
goroutine 136 [running]:
code.gitea.io/gitea/models.(*PullRequest).getMergeCommit(0xc4201682a0, 0x0, 0x0, 0x0)
        /root/go/src/code.gitea.io/gitea/models/pull.go:504 +0xfea
code.gitea.io/gitea/models.(*PullRequest).manuallyMerged(0xc4201682a0, 0x0)
        /root/go/src/code.gitea.io/gitea/models/pull.go:439 +0x43
code.gitea.io/gitea/models.TestPullRequests.func1(0x0, 0x116db40, 0xc4201682a0, 0x0, 0x0)
        /root/go/src/code.gitea.io/gitea/models/pull.go:1067 +0xf9
code.gitea.io/gitea/vendor/github.com/go-xorm/xorm.(*Session).Iterate(0xc420240780, 0x1178220, 0xc4201681c0, 0xc4200ebe00, 0x0, 0x0)
        /root/go/src/code.gitea.io/gitea/vendor/github.com/go-xorm/xorm/session_iterate.go:35 +0x182
code.gitea.io/gitea/vendor/github.com/go-xorm/xorm.(*Engine).Iterate(0xc42025b180, 0x1178220, 0xc4201681c0, 0xc4201bde00, 0x0, 0x0)
        /root/go/src/code.gitea.io/gitea/vendor/github.com/go-xorm/xorm/engine.go:1484 +0x98
code.gitea.io/gitea/models.TestPullRequests()
        /root/go/src/code.gitea.io/gitea/models/pull.go:1076 +0x12c
created by code.gitea.io/gitea/models.InitTestPullRequests
        /root/go/src/code.gitea.io/gitea/models/pull.go:1105 +0x35

I removed this row on table pull_request, then gitea was up.

Changing status from 1 to 0 is also OK.
Gitea 1.1.0 with MySQL

Any news about this error?

It seems nobody are working on this issue. Maybe @geek1011 could see this one.

Just had the same issue on 1.1.1 with MSSQL backend. Removing a 'corrupt' pull request as @kaz suggested fixed the issue. Not sure if it's relevant, but the pull request was for a branch starting with origin/... (user error), for which an open pull request already existed.

@avelino @kaz @FireEater64 Could one of you try to reproduce the problem using the changes from #1843? I've added some extra checks which should help in diagnosing the problem.

Just had the same issue today, and changing the status to 0 resolved it. Here is how we produced the error:

Let's assume you have origin/master branch on commit n
Create a branch and make a commit (I'll call it n+1)
Create a pull request from the new branch to master
(imagine another person doing this) checkout master, fast-forward it to the tip of new branch
make a new commit (n+2) and push it to origin
So this puts commit n+1 into the master branch without using the pull request, leaving it active. The Gitea service crashed as soon as the push was done, and would display said error and not start until I closed the pull request in the database,

@Avalancs Thank you for your detailed report on how to reproduce the bug! Looking into it now


[V2] Address stale browser caching between projects/templates

Description
Ticket W-11087303
This PR attempts to minimize the issue with browser caching localhost (during development). Recently, the homepage for Retail React App has a cache-control header of 1 year. When you run npm start on a different template/project, you'd notice that the browser would use its caching of the homepage from previous template, because after all, it's still the same url of localhost:3000. In other words, during development, it's possible that this cache header "leaks" onto other templates.
Initially, we suspect that the root cause might be the service worker (SW). But...

with SW removed and homepage's cache header set: the issue was still there
with SW installed and homepage's cache header not set: the issue was gone

So I concluded that it's the cache header (and browser caching) that is the root cause.
Strategy to minimize the issue
Given these criteria:

minimal, non-intrusive: developers still have control
visible: developers notice it and know what’s causing it

...this PR proposes doing 2 things to minimize the caching issue:

Setting a shorter caching time for the Retail React App's homepage ← 15 mins is a good start IMO.. users can choose to replace it with something longer for their own business use case
Setting the Clear-Site-Data header to tell browsers to clear their cache. And it's set on the loading page, before landing on the template's homepage. The browser support for this header is good enough, especially for development purpose. It'll be like a nice enhancement for those browsers that do support it. For clearing cache, FYI Firefox and Safari do not support it.
The loading page would redirect to homepage's url that's appended with the project name as cache breaker

Alternatives
Ben has mentioned here in an old PR about overriding/ignoring cache header during development. I think it's still nice to be able to see this header in action when in development.
Another option would be: developers can turn on the "disable cache" option in Chrome's inspector on their end. This is typically suggested online by other folks.
Also, another option is we open the project under Chrome's incognito window, which is possible given the open library we use. However, open supports only Chrome version of incognito window and not other browsers, which IMO very intrusive for those developers who prefer another browser like Firefox, for example. Also, incognito window has some limitations (e.g. storage limitation) that developers may not like. In other words, I think the decision of whether to use incognito window should be left up to the developers.
Types of Changes

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[x] Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

How to Test-Drive This PR

Clear your browser cache
Run npm ci at the monorepo root
npm start in the template-retail-react-app folder
Wait for the homepage to appear
Kill your local dev server
npm start in the template-typescript-minimal folder
Wait for the homepage to appear
Verify that this time it's a different homepage that is loaded

Checklists
General

[ ] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[ ] There are no changes to UI

or...

[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[ ] Changes comply with WCAG 2.0 guidelines levels A and AA
[ ] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

is it possible to have a test case for this scenario? to verify that the cache is cleared out 🤔

@vmarta Have you thought about using a cache breaker? I think adding one to the below line would also be a valid solution:
https://github.com/SalesforceCommerceCloud/pwa-kit/blob/e674ce06c0c5936b23c48a614c22956c1444169c/packages/pwa-kit-dev/src/ssr/server/loading-screen/index.html#L90

Another crazy idea. Is we open an incognito window.

Another crazy idea. Is we open an incognito window.

I've updated the PR description to include this bit:

Also, another option is we open the project under Chrome's incognito window, which is possible given the open library we use. However, open supports only Chrome version of incognito window and not other browsers, which IMO very intrusive for those developers who prefer another browser like Firefox, for example. Also, incognito window has some limitations (e.g. storage limitation) that developers may not like. In other words, I think the decision of whether to use incognito window should be left up to the developers.

@bendvc @alexvuong please review this PR again, thanks.

While we're considering the cache-breaker method, one small diff we can do now is to merge the code that reduces the homepage caching down to 15 mins as a starting point. I think it's a smaller and less controversial change, and it'd be great to merge that soon.

I've split this PR into smaller ones. Please see #607, #616. Note that I've gone back to using Clear-Site-Data header (rather than the cache-breaker method). Let's discuss these PRs during our tech discussion meeting.


Tasks do not rollover more than once from previous day

Hello,
Thanks for the plugin, it has helped me stay on top of my work tasks. I would like to report a bug - tasks rollover only once from the previous day. If they remain unfinished, they stay in that daily document instead of rolling over to the new daily document. So it is easy to miss older incomplete tasks.
[enhancement] Similar to the to-dos that are created during the day in other documents are added into the daily document in real-time, it would be great, if the previous day or unfinished tasks rollover in addition to the set 24-hr. time window to sync-up. Love the feature where tasks get added into the daily document portal as soon as they are added to other rems.

Hi there! @anumeha-in  I'm so glad this plugin helps your workflow! :)

I believe the bug you found might be a feature, and I'd like to know a little bit more about the issue.

I was not able to reproduce this error; please supply the following information for troubleshooting.

plugin version
app version
What is your settings for Date Formatting and Time Formatting in the RemNote settings?

You can find this by searching "date" in the RN settings

RDT by default only checks the past 7 daily documents for unfinished todos. This is to help mitigate stale todos, but I see your point in them being easily forgotten.
Was the daily document that was ignored from the day before? How long ago was it?

I love your enhancement idea! I have some questions to clarify:

Are you saying that tasks created anywhere can also be portaled in?

if the previous day or unfinished tasks rollover in addition to the set 24-hr. time window to sync-up.

that is supposed to happen 😅. That might be a bug. Could you provide an example or some explanation as to what you expect? If an unfinished todo is detected from the previous day, it is supposed to rollover.

Thanks!

In summary, if it has rolled over a task for seven days in a row, the source document is past the threshold. Is this your case? If the portals lead to a daily document that's date is more than seven days ago, RTD will not rollover that task unless you modify the settings.
So if you want to break the seven days requirement, you can do the following:

Manually move the todos from the daily document to the recent document
Increase the threshold in the plugin settings
Switch from portal mode to non-portal-mode. This makes the plugin do option 1 for you.

I'll close this for now as based on my understanding of the issue this is a feature, but I may be missing something in your issue description.

Hi Nathan,
Sorry, I was out so couldn't respond earlier. I am using Remnote version 1.12.4, and plugin version 1.3.0. Below are the settings I use for the plugin and Remnote date/time.

The stale documents are from the previous day and days before that. My setting is to look back 60 days, the current daily doc still doesn't show them rolled over.

Previous ToDos:
Snapshot of the tasks rolled over from Aug 31st to Sep 1. But it did not rollover to Sep 2 or beyond even though it was not complete.

Reg. "if the previous day or unfinished tasks rollover in addition to the set 24-hr. time window to sync-up." My apologies if I wasn't clear. I meant here that the tasks roll over should happen as soon as I open daily document, rather than waiting for the fixed daily sync up time. This is similar to how the tasks created elsewhere get portaled into the daily document in real-time.

No problem! Thank you for responding. I'm assuming you meant Version 1.12.40 and not Version 1.12.4...? If you are on ..4, I would really suggest updating RemNote to the latest version. 😅
I'm wondering if the plugin has messed up storing the last autoRollover time in your account. I've just pushed an update that introduces a Debug mode. Head to settings, check Debug Mode, and restart the app.

Then run the following commands:

/log values (then send screenshot of the toast, and the console output)
Set the time to rollover to the next 2 minutes
/Debug Auto Rollover
/log values (then send screenshot of the toast, and the console output)

I'm wondering if there is something stuck in the session storage... 🤔

Reg. "if the previous day or unfinished tasks rollover in addition to the set 24-hr. time window to sync-up." My apologies if I wasn't clear. I meant here that the tasks roll over should happen as soon as I open daily document, rather than waiting for the fixed daily sync up time. This is similar to how the tasks created elsewhere get portaled into the daily document in real-time.

Got it. I like the idea! Like a "if Daily Doc is opened", "run the rollover".

Hi Nathan,
I am not sure where to run the commands you mentioned above. Any pointers would be helpful :-)
Also, the full version is 1.12.42-beta

@anumeha-in My apologies! You can run those commands anywhere in RemNote. You can run them in the Omnibus, or you can run them in any rem editor.

Thanks! It rolled over the pending tasks from past To-Dos. Here are the screenshots as requested.

I then created a new to-do task with past due date of Sep 20th and re-ran the sync-up. The task did not move to today's doc. I tried the above-mentioned steps couple times, incl. changing the sync-up time to 2 min. However, it did not work.

Did you make the this is a new to do to test the daily doc portal • September 20th, 2023 not in a daily document? If so, that will make it not rollover. I actually have that as a feature coming out in 1.5.0 where you can rollover from anywhere, but I haven't published it yet. 😅 (4e44f1c2b924034007d853309954e95ab0b6dd07)

go to the rem
run /move and type in September 20th in the modal
Rerun /rollover

As for the Auto Rollover Syncups, I'm so glad it worked! :)
I think our suspicions were right. Given that it said null at first, the syncedStorage was broken and caused an error. I'll keep this issue open so I can remember to make a fix for that.
Let's double check and work through the reference thingy.
Thanks so much for responding and helping out! I really appreciate the responses. please feel free to open issues for anything else in the future!

Thanks so much Nate. The RDT has worked, except the todos from elsewhere as you mentioned. I will wait for that enhancement :-)

Nice!! No problem!


Feature Request: Add option to pretty print / format Json output

It would be really nice if we had the option to pretty print (indent) the json serialised output - especially when using SerializeJsonToFile.
Use Case - I am using Cake.Json to update the version number of a DotNetCore application and it would nice if after running the build did not have to manually pretty print my project.json.
This could be achieved by adding an optional parameter to SerializeJsonToFile and calling JsonConvert.SerializeObject with Indent.

Theres a PR available here: #7

This has already been implemented 😄
Here are the aliases:
SerializeJsonPretty
SerializeJsonPrettyFile

Agreed, looks like this has already shipped.


Hack Session 474 ✼ Remotely

• ‹Bouboucle› generative art with Javascript — @andreaskundig and @david-hodgetts
• ‹Distributed Arcade› Game World & Boards with H3 & hex-coordinate systems — @olange and @rudifa

https://observablehq.com/@rudifa/hexagonal-game-board-with-hex-grid-cells


Fix read node crash when table is synced for the first time

What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tiflash/issues/6827
Problem Summary:
What is changed and how it works?
Keep dm_context in the ReadTask alive, to avoid accessing NULL pointer when reading from the stream.
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/merge


v0.2.24 build failing (on MacOS)

Hello! I'm writing to report that v0.2.24 is failing to build (failed on MacOS, have not tried the other platforms yet). Builds v0.1 just fine. Please let me know if there's any other info I can help provide.
rustc 1.49.0 (e1884a8e3 2020-12-29)
error[E0624]: associated function `to_mmp` is private
  --> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.2.24/build.rs:30:69
   |
30 |         Some((version, channel, _)) if channel.is_dev() => (version.to_mmp().1 - 2, channel),
   |                                                                     ^^^^^^ private associated function

error[E0624]: associated function `to_mmp` is private
  --> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.2.24/build.rs:31:73
   |
31 |         Some((version, channel, _)) if channel.is_nightly() => (version.to_mmp().1 - 1, channel),
   |                                                                         ^^^^^^ private associated function

error[E0624]: associated function `to_mmp` is private
  --> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.2.24/build.rs:32:49
   |
32 |         Some((version, channel, _)) => (version.to_mmp().1, channel),
   |                                                 ^^^^^^ private associated function

Please search before creating an issue. This is a duplicate of #295 and #300.

Please search before creating an issue. This is a duplicate of #295 and #300.

Ah sorry about that.

Ah sorry about that.


Provide helpers to bridge Windows.Foundation.Collections and Swift collections

Started in https://github.com/tristanlabelle/swift-winrt/pull/99

It turns out supporting a conversion from Swift.Array<Element> to IVector<Element> in the support module might not be feasible. Trying to summarize:

IVector<T> virtual tables rely on T-specific code generation because the ABI for things like the IndexOf(T) function pointer is incompatible between a struct and a reference type, for example. C++ can generalize this because of its templates, but Swift cannot.
The object generated needs to have a QueryInterface implementation that knows about both IVector and IIterable as to be able to synthesize both virtual tables.

Maybe this is implementable with a class ArrayVector<IVectorProjection, IIterableProjection>: WinRTExport<IInspectableProjection>


Prevent flipped facets and extraneous edges in some geometry constructions

Addresses iTwin/itwinjs-backlog#1237:
Some geometry constructions were creating closed Polyfaces with flipped (inward-facing) normals. There were several causes:

PolygonOps.orientLoopsCCWForOutwardNormalInPlace was always reversing a facet orientation perpendicular to the input outwardNormal.
PolyfaceBuilder.addLinearSweep created a capped solid with inward-facing cap facet normals when the input geometry's contour's normal did not align with its sweep direction.
PolyfaceClip.clipPolyfaceInsideOutside generated flipped facets in each clip plane.
SweepContour.createForPolygon was always flipping the frame returned by FrameBuilder when the polygon normal wasn't perpendicular to the input defaultNormal.

PolyfaceQuery.cloneWithMaximalPlanarFacets was also flipping facets, and also failing to remove some extraneous edges:

Non-convex facets could be flipped by this method's reliance on FrameBuilder to reconstitute the normal of each maximized facet for the purposes of rotating to xy for topological computations (see next bullet). FrameBuilder's greedy algorithm can produce a frame with reversed z-column if it starts accumulating cross products within a concave portion of the input polygon. Now we keep track of each maximally planar partition's average normal to avoid this quirk of FrameBuilder.
A topological "regularization" operation is employed by this method as part of computing the boundary of a maximally planar partition of the mesh, each of which becomes a facet in the resulting Polyface. Regularization is essential for adding "bridge edges" from the partition outer boundary to holes in its interior, but this operation also prepares a polygon for future triangulation by adding additional interior edges. These redundant edges were surviving in the output. Now, if a partition has no holes, regularization is skipped since we expect neither to have bridge edges nor to triangulate. If a planar partition does have holes, regularization is still necessary to create bridge edges, but this means these partitions may still be split with additional non-bridge edges added by regularization. See iTwin/itwinjs-backlog#1088.

Also addresses #6782:
The APIs for CurveOps.collectChains and CurveOps.collectChainsAsLineString3d were confusing, and did not agree with output.

Removing the default value to planeTolerance fixes this discrepancy.
Callers that were passing in undefined were sometimes erroneously getting Loops returned; these callers will now only get Paths, as per documentation.

Additional changes:

Tightened some unnecessarily broad input/return type unions.
FrameBuilder.createRightHandedFrame did not return a frame aligned to the input defaultUpVector when the input data is linear (as it does in the nonlinear case).
PolyfaceQuery.announceBoundaryEdges is more efficient.

@dassaf4 I ran ImageTests and it did not show any differences.


org-static-blog.el: list-length -> cl-list-length

Closes: https://github.com/bastibe/org-static-blog/issues/88
Signed-off-by: Maciej Barć<EMAIL_ADDRESS>

Please bump the git tag after his is merged in.

Thank you for the bug fix!

ping
On April 28, 2022 11:24:58 AM GMT+02:00, Bastian Bechtold @.***> wrote:

Feel free to bump this thread should I forget to push a release before the end of the week!

--
Have a great day!
~ Maciej XGQT Barć

Done. Thank you for the ping!


font face and font size features are not working in setting option for epub3 books

Hi,
Currently am working on epub3 books.There we have setting features like font-size,font-face,navigation and themes.Navigation and themes features are working fine but font-size and font-face are not working for epub3 books .
(Note:  But these  all features are  working  for epub2 books.)
Can anyone suggest me how to resolve  this issue:
We are using  these following readium functions for font-size and font-face :
For Settings >>>   ReadiumSDK.reader.updateSettings(readerSettings);
updateFontFace() , updateFontSize()

I would suggest opening the "web inspector" (i.e. browser engine debugger) when one of the publication's HTML documents is rendered, and I would look for style elements inside the DOM, and I would check the CSS cascade to see why the Readium-injected styles are not taking precedence over the authored styles (something to look out for: the specificity of CSS Selector).

Hi Danielweck,
I checked in readium library for pre-paginated epub content applyBookStyles method is not calling.In case of epub2 it is adding a style tag in iframe head  which is applying these settings.That's why font face is not changing in case of ebub3.
Same content I have checked in readium chrome extension too, there also it is not working.

That is the correct behaviour. Authored styles are untouched in "pre-paginated" EPUBs (aka Fixed Layout / FXL publication), due to their graphical / visual nature.
In you application, you are of course free to customize the Readium code, in order to remove this design restriction. But bear in mind that normally reading systems preserve publisher styles in FXL EPUBs.


Fix reply message timestamp and user_id extraction

These changes fix this error:

The error was caused by the timestamp not being converted into the correct unit, like what happens in extract_direct_message. I also added a line that coerces the user_id into a string, which is also done in extract_direct_message.

I believe this fixes #1736


FreeIPAAuthenticationResponseHandler overwrites accountState

If I want to use ActiveDirectoryAuthenticationResponseHandler I have to set warningDays property. However, it entails adding FreeIPAAuthenticationResponseHandler in LdapAuthenticationConfiguration-> https://github.com/apereo/cas/blob/master/support/cas-server-support-ldap/src/main/java/org/apereo/cas/config/LdapAuthenticationConfiguration.java#L192
FreeIPAAuthenticationResponseHandler is added after ActiveDirectoryAuthenticationResponseHandler, so when LDAP returns error 49 / 773, first ActiveDirectoryAuthenticationResponseHandler sets account state to PASSWORD_MUST_CHANGE, but FreeIPAAuthenticationResponseHandler overwrites it to CREDENTIAL_NOT_FOUND later.

Fixed in RC2


To be able to display POI's infos in popup, modal, column or fullscreen

Done without fullscreen, in a way it was a duplicate of big modals.


Fix issue for update column to user table or any existing table

I think we don’t need to edit 'ID' column because if its have any relationship with other table. so if we update id table its not work.

So I skip edit command where column is  'ID' .
You can also check to add or update your user table its show an error like below:
QueryException in Connection.php line 769: SQLSTATE[HY000]: General error: 1833 Cannot change column 'id': used in a foreign key constraint 'user_roles_user_id_foreign' of table 'test-app.user_roles' (SQL: ALTER TABLE users MODIFY COLUMN id int(10) unsigned NOT NULL FIRST)

This may also fix issue #9, because right now 'id' field loses auto_increment attribute on table update.
I think 'ID' field shouldn't be displayed in panel at all. This can be done by adding condition to foreach loop in src > views > tools > database > edit-add.blade.php
    @foreach($rows as $row)          @if($row->Field !== 'id')               newRow('', '{{ $row->Field }}', '{{ $row->Type }}', '{{ $row->Null }}', '{{ $row->Key }}', '{{ $row->Default }}');           @endif       @endforeach
This alone fixed issue #9 for me.

Thanks man! This is great. Going to run a few tests on this 👍

This works really well, and it would be great if we can refactor to controller. Anyway, for now it's good enough. Thanks man.


[API] Make BERT a hybrid block

Description
This PR makes use of the contrib.arange_like operator (thanks to @TaoLv) in MXNet nightly to fully hybridize the BERT model. In case the operator doesn't exist, we fallback to the previous implementation.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments
The change is backward compatible. Added tests for model forward with and without optional inputs.

Job PR-877/13 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-877/13/index.html

@leezu the contrib.arange_like operator is not available in mxnet 1.5, which gluonnlp depends on

Right, but there seems to be the workaround based on infer_range which you are using in this PR. That works on mxnet 1.5. Where does the workaround fall short?

Job PR-877/14 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-877/14/index.html

Job PR-877/15 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-877/15/index.html

Job PR-877/16 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-877/16/index.html

Job PR-877/17 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-877/17/index.html

Job PR-877/18 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-877/18/index.html

Job PR-877/19 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-877/19/index.html

@leezu good point. I removed the legacy bert model definition. please review again