Bump dependancies on base and deepseq

This is needed to fix compilation with the latest GHC <IP_ADDRESS>11215
snapshot build.

...when are you planning to upload a new version to hackage? I assume now that deepseq was updated to 1.3 the versions should have stabilized w.r.t. the GHC-7.4 release ...

Did you delete this repo? I still need to bump the deepseq dep right?

@tibbe yeah, I was a bit too eager -- but the  86dcb35 commit is still reachable... :-)
and yes, just extend the deps to allow deepseq-1.3  and base-4.5

Applied. Thanks for the patch!


TCH false positive to generic runtime base classes

My branch with a broken example: https://github.com/astral-sh/ruff/compare/main...iurisilvio:test-7945
from __future__ import annotations

from pathlib import Path
from collections import Sequence

class A(Sequence[int]):
    path: Path

# This works as expected
# class A(Sequence):
#     path: Path

[tool.ruff.flake8-type-checking]
runtime-evaluated-base-classes = ["collections.Sequence"]

Running master ruff with ruff check --select TCH file.py give me a TCH003:
file.py:3:21: TCH003 Move standard library import `pathlib.Path` into a type-checking block

It is a false positive because ruff don't understand the base class is collections.Sequence. Removing the generics part [int] works.

I did some investigation but was unable to fix for now. The semantic.resolve_call_path(...) for the Sequence node returns None instead of collections.Sequence and this is probably the reason it doesn't work.
https://github.com/astral-sh/ruff/blob/8255e4ed6c6dbd2eefb14160ef88fc7753649866/crates/ruff_linter/src/rules/flake8_type_checking/helpers.rs#L43

Ah yup, makes sense -- thank you!


Hi！ The refiner network initialization has some fault which will set some weights always be zeros.

No it doesn't.

No, it doesn't.


Documentation defect: json_load

https://github.com/Alphish/gm-community-toolbox/blob/main/Docs/Reference/Functions/json_load.md
json_load claims that it returns "N/A". This should be corrected to the correct return value and type for the function.

Fixed for release 24.6.1!


Tests don't show Suite/Full Description

In the wiki doc there is an image showing the tests looking like "Test Suite 1: Test 1"

But I can't seem to see the describe elements of my tests to show in the list. I've tried using the various group-by options in the exporer...

also - is there another forum/place to get general support on this tool, or to discuss with other users?

Have you tried the latest dev build? We've fixed #334 in that build, which seems similar to the issue you're running into.
This is our primary feedback channel, and the quickest way to get a response. But bear in mind that the core team is pretty small, and we can't investigate every issue immediately. Our external contributors have also been super helpful in answering Qs (especially when they're running into the same issue), and we'll throw a discuss tag or a question tag on issues that lend themselves to it.

yes, i see the describe(s) above the it's in the test listing now

i have tests passing on the mocha commandline that are not passing in the vs runner - not sure what is up with that

Have you tried right clicking the failing test and debugging? Do you have any specific settings for mocha outside of VS?

yea... i am working it out - the first issue i hit was i run mocha from the commandline at the project dir level and the VS test seems to have the working directory in the ./test folder...  i used a package called app-root-path to resolve that.
I don't think i have any specific settings for mocha or the testing - both are just default settings afaik.

the last issue i was having was an async issue - the vs test was having a timing issue where the expect/assert was happening before the promises inside my UUT had completed.  I am guessing that mocha without visualstudio running it and inspecting it was fast enough that it got through the promises first, where the visual studio ones ran the stuff in a different order.
i resolved it so that the call back i was passing in to my UUT has the expects in it.

I am seeing the original symptom.  I have setup blank node js console project and tried to setup unit tests using default settings and am not able to get the test explorer to show the suite/describe text as a node in the tests tree.  I see my project and all tests.  The display is the same if I remove all suite/describe calls from my tests js.  I have tried setting different UI and different combinations of describe/it or suite/test but to no avail.  also applied the fix from other bug where I switched t.title to t.fullTitle() and now I can get all of my tests in the project root but now with names that are prefixed with the suite text but no structure still.


DisplayLine: breaking run's to apply's and draw() parameter renaming

How would a user unregister any of these now?

Using the unregister methods provided

Using the unregister methods provided

Ah didn't see that


Is D6 Pro supported?

I have some confusion on whether the D6 Pro is supported? I see a thread in ‘Closed Issues’ where it appears support was added, but I don’t see it in the compatible devices list or any mention anywhere other than that thread.
If I had one I’d just give it a try, but I’m thinking of buying one depending on whether it is supported or not, so I can’t.
Thanks!

I am pretty sure it is supported but you could reach out to the user that requested support and see if is working. Than let me know and I can updated document.

Thanks!
Not quite sure I can figure out how to send them a message to them, so I may just buy a D6 Pro anyway, since it looks promising, and I'll let you know!
If there are any issues, I'll be happy to help out if I can once I have it!


Change to use v1 API to create Ingress

What changes were proposed in this pull request
Issue Number: close #2662

Verifying this change
Verify that starting Ingress is normal in v1.24 and v1.20 K8S clusters

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): (no)

@Al-assad @MonsterChenzhuo PTAL

cc @Al-assad PTAL, thx


ASSERTTION_FAILED in METHOD process_stage_list

File not found, value from lt_fields is zfoobar s.tobj.xml, however the filename in ms_files-local is
zfoobar   s.tobj.xml

, somehow the extra spaces are lost.
Dumps at last line:
    LOOP AT lt_fields ASSIGNING <ls_item>.

      lcl_path=>split_file_location( EXPORTING iv_fullpath = <ls_item>-name
                                     IMPORTING ev_path     = ls_file-path
                                               ev_filename = ls_file-filename ).
      CASE <ls_item>-value.
        WHEN lcl_stage=>c_method-add.
          READ TABLE ms_files-local ASSIGNING <ls_file>
            WITH KEY file-path     = ls_file-path
                     file-filename = ls_file-filename.
          ASSERT sy-subrc = 0.


paket pack does not work with .net core

Description
This issue has been reported once and then seemed to be fixed, but it still does not work for me. Or maybe I missed something. So, this might be a duplicate or not.
Repro steps
Create a project:
mkdir xxx && cd xxx && dotnet new console

Get paket:
curl -L -o paket.cmd http://bit.ly/2ooaInt

Initialize project:
paket init && touch paket.references && paket install && dotnet restore

Test if it runs:
dotnet run

Create paket.template:
echo type project > paket.template

Pack time!
paket pack output .

Expected behavior
Nuget package is created.
Actual behavior
Paket fails with:
Paket failed with:
        Unable to find Release output path node in file C:\dev\xxx\xxx.csproj for any known platforms

Known workarounds
Use dotnet pack, although there are problems with that as well (see: #2323)

If you guys want to help out to release Expecto v5 here https://github.com/dotnet/cli/issues/6593 as a means for testing the alpha/beta of Paket, I'd be delighted.


Unsupported external-body access-types now result in 415 Unsupported …

…Media Type.
Resolves: https://jira.duraspace.org/browse/FCREPO-2586
JIRA Ticket: (link)

Other Relevant Links (Mailing list discussion, related pull requests, etc.)

What does this Pull Request do?
It ensures that unsupported external-body access-types now result in 415 Unsupported Media Type.
How should this be tested?

build and fire up fedora.
run curl -XPUT -H"Content-Type: message/external-body; access-type=ftp; NAME=\"/some/file\"; site=\"example.com\"" -i localhost:8080/rest/external
Verify that 415 http is returned.

Additional Notes:
If a fedora binary has an invalid external-body content type associated with it,  a GET request for that resource will fail with a 415.  Previously GET requests would not fail.
Interested parties
@escowles

Once this one is in,  https://jira.duraspace.org/browse/FCREPO-2585 is ready to go (but based on this PR).

@awoods :  all good feedback. I'll make the mods shortly.

@awoods :  I think this one is finally ready - would you mind merging this one when you get a chance?  fcrepo-2585 is more or less ready once this once goes in.

All previous comments seem to have been addressed. This works as described.


Is this just a Frustration for Linux users from Microsoft?

🚨 The issue tracker is not for questions 🚨
If you have a question, please ask it on https://stackoverflow.com/questions/tagged/visual-studio-code.

Ok I came to see where I could post issues with Visual Studio Code they say I can ask questions here but apparently github says differently Yet anotrher frustration with this product!
I honestly wonder if this is released as a snake in the grass by Microsoft at least the Linux version. Such strange things happen it is IMPOSSIBLE to use I selet text to copy and get different text pasted, sometimes text I never even selected. It is as if it is undermining everything I do. As I worked with it again all day today I kept having to undo what I had done because very strange things were pasted where I did not paste them!
Is this just Microsoft's way of saying 'get WIndows'?
I will go back to nano , I do not need this it is not that helpful for PHP and has done nothing for javascript.
I also want to mention the Black background makes things very hard to read under some conditions, and causes eye strain. Not saying it should be white either, something more neutral would be best .
good luck with the effort but I really think this should be "beta" as it is just too buggy to really use.

Please post actual reproducible steps or screenshots helping us understanding your problem. Otherwise no one can help you.

@markosjal It has been working perfectly for me on Fedora for years, never crashed once, there is no conspiracy going on! There are themes to change the colours.


api: Fix network_nat_address extension

Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

@freeekanayaka @brauner looks good to go


When changing from a tab page to a new window, it will return to the home page instead of the original page.

Describe the bug
When changing from a tab page to a new window, it will return to the home page instead of the original page.
To Reproduce and Screenshots

Desktop (please complete the following information):
OS Version: 20H2 Pro
App version: <IP_ADDRESS>

@XUANJI233 This issue should be resolved in main.


Docs failing for <IP_ADDRESS>

https://hackage.haskell.org/package/composite-aeson-<IP_ADDRESS>/reports/3

this seems to be due to hackage building with a combination of versions that is more like stackage nightly than LTS 16, so the 8.10 version should fix this up. working on fixing a bunch of -Werror things there then will do

<IP_ADDRESS> tagged and uploaded, which hopefully will fix this. @locallycompact please close this if it does


Permit building python bindings separately from gz-math library

🎉 New feature
Part of https://github.com/osrf/homebrew-simulation/issues/2834
Summary
This allows the src/python_pybind11/CMakeLists.txt file to be built as a top-level cmake project against an external gz-math library. The first commit (https://github.com/gazebosim/gz-math/commit/646de60598cb728b1f8df1ab1ba9394bbd8b8879) is a patch from @traversaro used in conda, and the second commit (https://github.com/gazebosim/gz-math/commit/d2bae803353fb929dbbc279fe003da77dfef000b) replaces the GZ_LIB_INSTALL_DIR cmake variable with CMAKE_INSTALL_LIBDIR (see GzPackaging.cmake:111) since GZ_LIB_INSTALL_DIR is not defined with the minimal cmake project added in https://github.com/gazebosim/gz-math/commit/646de60598cb728b1f8df1ab1ba9394bbd8b8879.
Test it

Invoke cmake on the root CMakeLists.txt with using -DSKIP_PYBIND11=ON to build and install the gz-math library without python bindings.
Invoke cmake on src/python_pybind11/CMakeLists.txt with -DPython_EXECUTABLE=/path/to/python to build and install python bindings for a given python version
Repeat 2 with for each desired version of python

I have a draft of an updated homebrew formula using this branch in https://github.com/osrf/homebrew-simulation/pull/2836

Checklist

[X] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Do you mind to add some instructions in the source compilation ?

I added some in https://github.com/gazebosim/gz-math/pull/636/commits/54978b92b2209d665fd6961f7e5f03fe846a44ca; let me know if there is more that I should add

https://github.com/Mergifyio backport gz-math7


Fixing 6.0.400 issues

For some reason in 6.0.400, CoreCompile was not getting executed and theerfore we couldn't read the FscCommandLineArgs.  This adds Clean to the designTimeBuildTargets.
Hopefully addresses https://github.com/ionide/ionide-vscode-fsharp/issues/1748

You know how fantasy books often depict a wizard, tapping into a source of unknown power, and barely, just barely being able to make it bend to his will but he knows it could kill him at any moment?
That's what working with MSBuild is like.

Brilliant! That solution makes sense to me, too. I'll merge this and then look into if this solves the 7.0.100 issues as well.


[WIP] Feature/blockstack optimizations

This reduces dependency size by doing better code splitting of blockstack.js imports.
It is dependent on https://github.com/blockstack/blockstack.js/pull/614 getting merged.

I think this can be merged - would like to see a code review / quick test first

Just kidding - needs to be converted to TypeScript. See a15fd3c for the relevant code changes.

Merging these. More optimizations will go in a new PR


A problem about nms

Hi Rowan, thanks for your codes sharing. However, I find nms.nms_apply(keep, boxes_sorted, nms_thresh)  in lib/fpn/nms/functions/nms.py would make pytorch break up. Before I execute that line, the operation of Tensor.cuda()+int() is legal, but after I execute that line this operation will raise error: RuntimeError: cuda runtime error (48) : no kernel image is available for execution on the device at /pytorch/torch/lib/THC/generic/THCTensorMathPairwise.cu:21 when it goes on keep_im + s at line 24. Could you please help me? Thanks!

what GPU do you have? I think you might have to change the compilation flags; I hardcoded them for my Titan X setup.

Thanks for your kind answering.
My GPU is Tesla P100, so I tried to make the cuda file with /usr/local/cuda/bin/nvcc -c -o file.cu.o file.cu --compiler-options -fPIC -gencode arch=compute_60,code=sm_60, but it still fails with error cudaCheckError() failed : no kernel image is available for execution on the device. I think it might be compilation problem. Except for changing all sm_61 and compute_60 to *_61, do I need to change other places? I've replaced nms and roi_align with other's codes and it works.
BTW, could you please tell me your mAP value of your detector and mAP refined by BiLSTM?  Thank you a lot!

Yeah, you'll need to change the LSTM compilation: https://github.com/rowanz/neural-motifs/blob/master/lib/lstm/highway_lstm_cuda/make.sh
I believe that should be everything. Also, have you verified that pytorch usually runs on your machine?

I use pytorch 0.3.1. Now I can run your code, thank you!

Hi, I've met the same problem using Tesla P100. So did you solve your problem only changing from _61 to _60 in 3 files (nms, roi_align and highway_lstm_cuda)?

For those who are still solving this issues, here are the steps you should consider follow:

Change SM_# (at places listed below) that suits your current GPU cards (see this  for your reference)

lib/lstm/highway_lstm_cuda/make.sh (line #15)
lib/fpn/roi_align/src/cuda/Makefile (line #2)
lib/fpn/nms/src/cuda/Makefile (line #2)

Afterwards, you should also delete *.o files (at places listed below) before you try recompiling nms, roi_align and highway_lstm)

lib/lstm/highway_lstm_cuda/src/highway_lstm_kernel.cu.o
lib/fpn/roi_align/src/cuda/roi_align.cu.o
lib/fpn/nms/src/cuda/nms.cu.o

Run 'make' in your home directory.

That's all you need to do to change your faulty SM setup to the correct one.


Test built-in loaded scripts explorer

Refs: #37767

[ ] macOS: @isidorn

Complexity: 4
Authors: @weinand
We have started to move the LoadedScripts view from node-debug into VS Code core.
In addition we have improved the way how the tree of loaded scripts is built by hiding all intermediate folder nodes if they only have one child.
The new LoadedScripts view is only available in the aweinand/loadedscripts branch of VS Code.
Verify that:

loaded scripts are shown correctly for node-debug, node-debug2, chrome
multiple root folders are shown as an additional tree level if there are more than one
multiple debug sessions add an additional level to the tree (which is not removed if the number of sessions drops to one again)
the new algorithm for minimising the number of folders with one child works and is useful.
find everything that is missing from the new implementation that make the LoadedScripts view behave differently than the VS Code explorer. E.g. accessibility, etc.

As a starter test you can use the attached zip: loadedScripts.zip

unzip archive
open the "test" folder in VS Code and run the "Hello" launch config.
stepping through the program should make scripts appear in different sections of the tree
run the compound launch config to see multiple sessions in the tree
open the "scripts.code-workspace" file for a VS Code multi-root setup
another level of root folders should show up in the tree

@isidorn I've noticed that the loaded scripts view does no longer show up in the Insiders build. But my implementation only lives in the branch. Could it be that your initial implementation of the loaded scripts view broke the existing extension based implementation?

@weinand loaded scripts shows up for me in the latest vscode insiders properly both for os x and linux. Can you verify if you are still seeing this with latest vscode insiders? I think I was also seeing this issue with insiders from last week - but seems to be fixed now.


Custom background images (task #6614)

By default we use img/login/qobrix path to load random background images for dark skin.
In case you want to use your own background images, please add them into img/login/custom directory, and specify its name in config/admin_lte.php in backgroundImages

Codecov Report

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

@@            Coverage Diff            @@
##             master     #570   +/-   ##
=========================================
  Coverage     26.39%   26.39%
  Complexity      987      987
=========================================
  Files            88       88
  Lines          3289     3289
=========================================
  Hits            868      868
  Misses         2421     2421

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 ddf0805...0fe73d5. Read the comment docs.


it does not reconnect after failure

it is easily reproducible.
Just shut down  QuestDB for few minutes, and start again. Then QSS component will not attempt reconnects anymore and will not send data, until one restarts home assistant.
Looks like tenacity tries to reconnect for some time and then fails with unhandled exception and then component is dead.
Ideally, I'd assume that it is necessary to handle exception in _retry_data_insertion , and then either skip this attempt to inject data, or keep accumulating data for later send.
Oct 25 16:10:25 hass hass[1814227]: 2024-10-25 16:10:25.141 ERROR (QSS) [root] Uncaught thread exception
Oct 25 16:10:25 hass hass[1814227]: Traceback (most recent call last):
Oct 25 16:10:25 hass hass[1814227]:   File "/opt/homeassistant/current/lib/python3.12/site-packages/tenacity/__init__.py", line 478, in __call__
Oct 25 16:10:25 hass hass[1814227]:     result = fn(*args, **kwargs)
Oct 25 16:10:25 hass hass[1814227]:              ^^^^^^^^^^^^^^^^^^^
Oct 25 16:10:25 hass hass[1814227]:   File "/home/homeassistant/.homeassistant/custom_components/qss/io.py", line 65, in _retry_data_insertion
Oct 25 16:10:25 hass hass[1814227]:     _insert_row_without_auth(host, port, event)
Oct 25 16:10:25 hass hass[1814227]:   File "/home/homeassistant/.homeassistant/custom_components/qss/io.py", line 36, in _insert_row_without_auth
Oct 25 16:10:25 hass hass[1814227]:     with Sender(host, port) as sender:
Oct 25 16:10:25 hass hass[1814227]:   File "src/questdb/ingress.pyx", line 1530, in questdb.ingress.Sender.__enter__
Oct 25 16:10:25 hass hass[1814227]:   File "src/questdb/ingress.pyx", line 1520, in questdb.ingress.Sender.connect
Oct 25 16:10:25 hass hass[1814227]: questdb.ingress.IngressError: Could not connect to "<IP_ADDRESS>:9009": No route to host (os error 113)
Oct 25 16:10:25 hass hass[1814227]: The above exception was the direct cause of the following exception:
Oct 25 16:10:25 hass hass[1814227]: Traceback (most recent call last):
Oct 25 16:10:25 hass hass[1814227]:   File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
Oct 25 16:10:25 hass hass[1814227]:     self.run()
Oct 25 16:10:25 hass hass[1814227]:   File "/home/homeassistant/.homeassistant/custom_components/qss/__init__.py", line 156, in run
Oct 25 16:10:25 hass hass[1814227]:     insert_event_data_into_questdb(self.host, self.port, self.auth, event, self.queue)
Oct 25 16:10:25 hass hass[1814227]:   File "/home/homeassistant/.homeassistant/custom_components/qss/io.py", line 70, in insert_event_data_into_questdb
Oct 25 16:10:25 hass hass[1814227]:     _retry_data_insertion(host, port, auth, event)
Oct 25 16:10:25 hass hass[1814227]:   File "/opt/homeassistant/current/lib/python3.12/site-packages/tenacity/__init__.py", line 336, in wrapped_f
Oct 25 16:10:25 hass hass[1814227]:     return copy(f, *args, **kw)
Oct 25 16:10:25 hass hass[1814227]:            ^^^^^^^^^^^^^^^^^^^^
Oct 25 16:10:25 hass hass[1814227]:   File "/opt/homeassistant/current/lib/python3.12/site-packages/tenacity/__init__.py", line 475, in __call__
Oct 25 16:10:25 hass hass[1814227]:     do = self.iter(retry_state=retry_state)
Oct 25 16:10:25 hass hass[1814227]:          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 25 16:10:25 hass hass[1814227]:   File "/opt/homeassistant/current/lib/python3.12/site-packages/tenacity/__init__.py", line 376, in iter
Oct 25 16:10:25 hass hass[1814227]:     result = action(retry_state)
Oct 25 16:10:25 hass hass[1814227]:              ^^^^^^^^^^^^^^^^^^^
Oct 25 16:10:25 hass hass[1814227]:   File "/opt/homeassistant/current/lib/python3.12/site-packages/tenacity/__init__.py", line 419, in exc_check
Oct 25 16:10:25 hass hass[1814227]:     raise retry_exc from fut.exception()
Oct 25 16:10:25 hass hass[1814227]: tenacity.RetryError: RetryError[<Future at 0x7ab2dca52840 state=finished raised IngressError>]

Thank you very much @antst. I will have a look at it when I get the chance.
However, I don't have much time at the moment. So any support is very welcome. Feel free to create a PR if you have a direct implementation idea.

Actually, I checked, you have already variable RETRY_ATTEMPTS in const.py , which cotrols number of retries. So, for quick fix for me I just set it to very large number ) But, ideally, this needs to be part of config. I will make patch, eventually.


feat(api): [DO NOT MERGE] enable cors on codegen asset bucket

Description of changes
Enable CORS on the codegen assets bucket. This is required for console team to access the objects from user context.
CDK / CloudFormation Parameters Changed
No.
Issue #, if available
NA.

Description of how you validated changes

Local Testing
Added E2E tests

Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Converting this to draft pending further review


Minimum data source version for PostgreSQL

On this doc, it says PostgreSQL aim to be compatible with all currently supported PostgreSQL versions, which means 5 years back. Earlier versions may still work but we don't perform continuous testing on them or commit to resolving issues on them.
https://www.npgsql.org/doc/compatibility.html
7.4 is not supported since 2010.10.1. I think you should change the version to 9.4 which is the oldest support version.
Version 	Current minor 	Supported 	First Release     	Final Release
9.4 	               9.4.24   	             Yes 	December 18, 2014 	February 13, 2020
We need to change this because it is bringing unnecessary troubleshooting work for CSS.

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

ID: 75d081a0-4c4b-f756-eaf7-1e98d583ecf8
Version Independent ID: 0b694de6-df10-daca-888c-1062dd3299db
Content: Power BI data source prerequisites - Power BI
Content Source: powerbi-docs/desktop-data-source-prerequisites.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @AldrinL . We’ve forwarded your feedback to the writer, who should respond to this thread shortly. Thanks!


[lc_ctrl/otp_ctrl] Check whether a token is valid before performing a transition

This adds an additional check in the life cycle controller that checks whether the tokens have actually been provisioned and may be used. If a token is not valid, the corresponding state transitions guarded by that token will not be allowed.
This also slightly reworks how the ID state of the device is decoded.
I.e., the ID state is not something that is directly provisioned into OTP, but rather it is a condition that is inferred from the provisioning status of the secrets (creator root key).

@cindychip, please pull this PR locally and run full otp ctrl nightly to assess V2 readiness. If our coverage drops below V2 level, we will need to revert the D/V stage and do a version bump. @msfschaffner, i suppose you need to check the same for D2 readiness.
Also, please assess the amount of work to account for this change and lets have the smartsheet updated to reflect that.
@msfschaffner, are there any more changes anticipated in otp ctrl? We really ought to start freezing blocks so that we can make progress on other things in our (huge) list of pending items. Though i do understand it may be hard to foresee it.
@dsandrs, do you agree?

Thanks Sri for tagging me. I do need to add more checkings for this new valid output ports.
As for DV impact: I ran the DV nightly with this new change. The V1 and V2 tests are all passing. Only failing test is otp_ctrl_tl_intg_err.
Not much coverage impact for V2 either:

SCORE
LINE
COND
TOGGLE
FSM
BRANCH
ASSERT
GROUP

96.11 %
99.24 %
91.16 %
97.73 %
100.00 %
95.40 %
92.81 %
96.44 %

Sorry I should have communicated this better.
This is fixes a security bug.
For context:
The life cycle controller did not check the provisioning status of SECRET2 upon life cycle transitions from PROD*/DEV into RMA, which opens up an undesirable loop hole. In particular:

The HW currently does not  It is not enforced that SECRET2 becomes unreadable by SW when moving through PROD*/DEV into RMA.
Further, a life cycle transition to RMA can be initiated with an all-zero token in certain cases when the SECRET2 partition is not locked right away, e.g.:

when only the root key is provisioned, but not the RMA_UNLOCK_TOKEN token.
when the RMA_UNLOCK_TOKEN is provisioned, but the chip is has not yet been reset.

There are provisioning flow workarounds for this, but it would be good to enforce this check directly in hardware. The SECRET2 partition holds the root key which should not remain readable by SW when transitioning into RMA. Also, there should not exist another way to move from PROD*/DEV into RMA without providing a valid, non-zero RMA token.
Although the change does not look trivial in the diff, it is actually rather localized.
I.e., this change updates the OTP->LC_CTRL connection such that the (readily available) "digest locked status" is output alongside each life cycle token as a redundantly encoded "token valid" signal.
This "token valid" signal is then used as an additional condition when the token comparison is made in the life cycle controller. If a token is not valid / has not been provisioned, this check would fail and abort the life cycle transition.
That way it becomes impossible to move from PROD*/DEV -> RMA without provisioning and locking the SECRET2 partition.
This change does not really add a new feature, but rather fixes existing mechanisms.
As @cindychip confirmed, this change does not impact coverage adversely and can be tested with existing test sequences.

There are currently three other pending changes to OTP in addition to this PR:

Bus integrity alert hookup https://github.com/lowRISC/opentitan/pull/7151
Width alignment of OTBN scrambling nonce https://github.com/lowRISC/opentitan/pull/7144
Increase of background check timer reseed period https://github.com/lowRISC/opentitan/pull/7152

I'll comment more on the corresponding PRs, but 1. is a known enhancement that we have to add to all IPs, and 2./3. are minor adjustments that should not have an adverse impact on DV (these are not new features).
If nothing changes in the provisioning and production test flows, I do not expect additional changes at the moment.


Support --preferred-chain certbot option

Let's Encrypt is changing the default chain of trust (details), which has wide implications for backwards compatibility for clients with old CA root stores. Certbot now supports specifying --preferred-chain so that we can manage this transition (details).
The first part of this transition is going to occur in less than a week, or as soon as they receive their cross-signature from IdentTrust for the new "R3" Intermediate. So this is very time sensitive.

Is it possible to specify --preferred-chain in letsencrypt-nginx-proxy-companion currently? Is there a way to override the certbot parameters that are used in order to include this?

Can we add a LETSENCRYPT_PREFERRED_CHAIN environment variable so that this can be selected on a per-container basis?

Hi.
First thing first, thanks for warning us about this change.
As mentioned in the certbot issue you linked to, the first change that'll have a real life impact have been postponed to January 11, 2021. The intermediate certificate change that will happen next week won't impact site visitors :

We will still be making a smaller change to our issuing intermediate this fall. We’ll switch to using our just-issued R3 intermediate. However, that intermediate will be cross-signed by IdenTrust (just like our “Let’s Encrypt Authority X3” intermediate is), so compatibility with your site visitors will not change. Your ACME client should automatically download and configure the correct certificate chain with the next issuance after we make the change.

As you're aware of, this project does not use certbot but simp_le, so support for --preferred-chain will have to be added to simp_le before we can support it in letsencrypt-nginx-proxy-companion.
kuba/simp_le has been abandoned by its creator for years, the currently maintained fork (and the one used by letsencrypt-nginx-proxy-companion) is zenhack/simp_le, so you should re-open you issue on this repo.

Thanks for the response. I've opened an issue on zenhack's repo.
Regarding the urgency:
January 11th is when they will switch the default Intermediate to E1 which is no longer signed by Identrust. This will be a big deal for many people, but they say that the R3 Intermediate will still be an option (via --preferred-chain) for those of us requiring this backwards compatibility a bit longer.
In the coming week they are switching from X3 to R3. The latter is still signed by both Identrust and ISRG so in theory it has the same backwards compatibility. What they have not stated is which of those two trust chains will be used by default and end up in our fullchain.pem. For most modern browsers it doesn't matter too much, as the browser will be able to follow either chain by requesting additional intermediates as required. However for embedded devices this is not necessarily the case. Only the chain that we supply in fullchain.pem is viable.

@lukecyca the featured has been added to the acme.sh branch.
acme.sh appears to be correctly called with the --preferred-cert flag but I'm unable to verify if this actually work or not.
The acme.sh based Docker image can be pulled at jrcs/letsencrypt-nginx-proxy-companion:acmesh if you want to check it out.

I pulled the acme.sh image and tested it out. I can see with DEBUG=1 that it correctly calls acme.sh with --preferred-chain "ISRG Root X1" however the certificate that ends up in chain.pem and fullchain.pem is still signed using the default DST Root CA X3 chain. So it appears to be an acme.sh problem I guess?
...
Indeed, acme.sh#3252 describes what I'm seeing. It fetches both chains, but puts the ISRG one in<EMAIL_ADDRESS>Connecting to the host with a browser shows exactly the same cert chain as before: Let’s Encrypt Authority X3 → DST Root CA X3. I'm actually a bit confused about what I even expect to be seeing here.
In any case it looks like this repo is doing the right thing now, so this issue can probably be closed.

Looks like you experienced the same results as me and were equally confused. 😅

@lukecyca I pushed another version of jrcs/letsencrypt-nginx-proxy-companion:acmesh to Dockerhub, built with the master branch of acme.sh instead of a tagged release (2.8.7), if you want to try again. If this still does not work, we should probably mention in the acme.sh issue that we're experiencing it too.

I updated the image, and verified that the /app/acme.sh inside it is version 2.8.8 (same as what it says in their master branch currently).
Forced renewal. Verified the acme.sh parameters in the debug output:
Calling acme.sh --issue with the following parameters : --log /dev/null --debug 2 --server https://acme-v02.api.letsencrypt.org/directory --config-home<EMAIL_ADDRESS>--webroot /usr/share/nginx/html --keylength 4096 --cert-file /etc/nginx/certs/[example.com]/cert.pem --key-file /etc/nginx/certs/[example.com]/key.pem --ca-file /etc/nginx/certs/[example.com]/chain.pem --fullchain-file /etc/nginx/certs/[example.com]/fullchain.pem --preferred-chain "ISRG Root X1" --force --domain [example.com]

The result was exactly the same as before. The intermediate cert that gets included in /etc/nginx/certs/[example.com]/fullchain.pem is Let's Encrypt Authority X3 signed by DST Root CA X3, rather than Let's Encrypt Authority X3 signed by ISRG Root X1.

The issue is supposed to be fixed in the dev branch of acme.sh, so I built and pushed another acmesh image built with this one.

I'm hitting API limits from all this testing, so I'll try again in a day or two.

I pulled the latest image and did force_renew and unfortunately the behaviour is exactly the same.
Their fix was in this commit so I manually went into my container and verified that it does indeed have that change. So I can be sure I was testing with this fix.

I'm not sure where to go from here. :(
I guess just trace through what's different between proxy-companion and using acme.sh natively.
@Neilpang are you able to offer any suggestions? Can you see our problem from the log file I emailed you?

From what I recall from my tests two weeks ago I'm starting to doubt that the --preferred-chain flag is correctly passed to or accepted by acme.sh: the --preferred-chain flag should add some additional outputs (at the very least "Try rel: $rel" with info level) but I don't recall finding them in the logs. Do you have those outputs in your logs ?
The flag parameter is the only one to be passed to acme.sh --issue with escaped double quotes, because that's the only parameter we're using that can include whitespace. I wonder if that might be causing the issue.
if [[ "$acme_preferred_chain" != "<no value>" ]]; then
    # Using amce.sh --preferred-chain to select alternate chain.
    params_issue_arr+=(--preferred-chain "\"$acme_preferred_chain\"")
fi

I pushed yet another version of the acmesh image without those escaped quotes.

I just emailed you my logs of my last couple attempts earlier today. I tried both ACME_PREFERRED_CHAIN: "ISRG Root X1" as well as ACME_PREFERRED_CHAIN: "ISRG" because it occurred to me that the spaces might be an issue.
I will try your latest image next.

It works! 🎉
Your latest image works for me with with ACME_PREFERRED_CHAIN: "ISRG"
Thanks for all of your help with this. Let me know if there's anything I can do to help get the acmesh branch tested and ready for release.

@lukecyca just to be sure : do you confirm that the feature work correctly with jrcs/letsencrypt-nginx-proxy-companion:2.0.0 (or :2.0) ?

I ran the following three tests over the last hour:

On my test server that was used for testing the acmesh branch previously in this thread above, I updated the container to 2.0 and did force_renew and verified that the new certs were as expected.

On another server that was still running 1.x, I pulled the latest docker image (and added a volume for /etc/acme.sh, and allowed it to regenerate a bunch of certificates as it started up. That all seemed to work fine.

On that new server, I changed one of my sites to ACME_PREFERRED_CHAIN: "ISRG" and then did force_renew, and verified that its certificate was successfully changed over to the other chain.

👍  Everything looks good to me. Thank you for all your effort on this.

Works fine on my side too.
I tried to set ACME_PREFERRED_CHAIN="ISRG Root X1" on a backend container and then did a force renew, and it worked perfectly the certificate was changed to the new chain.
Many thanks for this feature 🙏


Service Links removed automatically, without notification

I had a mongodb container, which was not reachable/stoppable/restartable/killable anymore.
So I hat to remove it ( with "docker rm --force") and create it new. As I have a lot of other containers, which have a service link to that I chose the same name.
BUT:
In all stacks/services the service link was removed!
On the one hand, I understand, because the IP of the container changes and the destination of the link just vanished.
On the other hand I had the problem, that I had to search through all stacks and remember, if there was a link, and which name it had. And I had to restart all that containers.
If it is really necessary to remove the service link, it would have been nice to be notified in which stack which changes were made!
(great tool nevertheless!!)

Useful
Info

Versions
Rancher v1.6.5 Cattle: v0.182.1 UI: v1.6.9

Access
localauth

Orchestration
Cattle

Route
stacks.index

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Update to<EMAIL_ADDRESS>and update buttons and pagination, etc

Changes

Update buttons and pagination to use new flex-based layouts and remove button icon-related class names.
Use u-small-text--subtle from the DS.
Migrate attach to behaviorAttach.

How to test this PR

Check prepaid products agreements db and check that the pagination looks fine.
Check the disclosures tool and see that the button group for navigating steps has the buttons properly spaced apart and that the step 2 loading icon is on the right.
Check the gradpath tool and see that the navigation buttons have centered text and are unchanged to prod.
Check the Before You Claim tool and enter dob and income amounts and see that the loading icon on the submit button works.
Check http://localhost:8000/privacy/disclosure-consent/ and http://localhost:8000/privacy/records-access/ form and edit the submit button (or submit test data) to see that loading icon appears when the a-btn--hide-icon class is removed.
Check video close button after playing a video, such as http://localhost:8000/about-us/blog/addressing-racial-inequities-consumer-finance-markets/

Screenshots
Before:

After:

@anselmbradford - checked all the file updates and none of them affect our GTM triggers. For buttons, we only look for the classes a-btn and btn (the latter used by Mosaic).
So I approve from my end, but since I don't know if one of the other reviewers needs to run the tests under "How to test this PR", I'm not approving/triggering the merge.

Reviewers, the SonarCloud failure is for the heavy amount of duplication between https://www.consumerfinance.gov/privacy/disclosure-consent/ and https://www.consumerfinance.gov/privacy/records-access/, which predates this PR.

The video button looks weird to me, see:

Seems like the icon should be to the right of the vertical line or the vertical line should not exist.

The video button looks weird to me, see:

Fixed!

FYI I force pushed


MaxPooling3D problem:  miopen requires pooling dimensions be 2.

Describe the current behavior
Running a simple 3D CNN on a toy example, I get the following running error: 2019-08-01 14:17:00.451253: F tensorflow/stream_executor/rocm/rocm_dnn.cc:759] miopen requires pooling dimensions be 2.

Have I written custom code in keras:

x = Conv3D(16, (2, 2, 2), activation='relu', padding='same')(inputs)
x = MaxPooling3D((2, 2, 2), padding='same')(x)
x = Dropout(0.25)(x)
System information

My system is Ubuntu 18.04 with kernel 4.18.0-25-generic, ROCM 2.6-22 and Tensorflow-rocm 1.14 bare metal
Python version: 3.6:
ROCm/MIOpen version: 2.6-22
GPU model and memory: AMD Vega 56, 8G

@jerryyin , can you take a look at this issue?
@kk325ic , it would be helpful if you can provide the steps/scripts to reproduce your issue.

@sunway513 We don't support 3d pooling for now, and only support 3d convolution. I don't know what miopen plan is on implementing 3d pooling. The complaint on pooling dimension is right.

@daniellowell , can you update on the MIOpen plan for 3d pooling?

@jerryyin Could you please elaborate your suggested GPU work around? My understanding is that you suggested to reshape the 3D image to 2D, then 2D pooling on it. It seems your suggestion missing the pooling on the first dimension.
Let us say that I have a 3D images of shape (nZ, nX, nY, channels). After flatten to 2D image, I get (nBatch, nX * nZ, nY, channels).  2D pooling will make the shape to be (nX*nZ / 2, nY/2, channels), which is not equivalent to (nZ/2, nX/2, nY/2).
An extra 1D pooling might be needed. Please let me know if I missed anything.

@jerryin , your suggestion of 2D pooling workaround sounds interesting. Let us say that I have the image shape of (nx, ny, nz, channel), then it can reshaped to (ny*nx, nz, channel). Are you suggested to run pooling2D on it?
If so, it seems need a 1D pooling to make it equivalent to 3D pooling.

@kk325ic On a second thought, I think doing 2D pooling on each axis is a mistake. Because each pooling on the single axis is only picking local results in the single dimension. Whereas 3D pooling works on "global" 3 dimensions. The correct way to do is instead is to concatenate from (x, y, z, channel) to (xyz, channel), then apply 1D pooling on size of y*z (Any other size will make pooling based on local results thus incorrect). When this is done, reshape it back to (x, y, z, Channel). The downside of this approach is that you cannot have flexible choices on pooling size. Considering this, doing pooling3D on CPU is probably a more convenient approach.

@kk325ic On a second thought, I think doing 2D pooling on each axis is a mistake. Because each pooling on the single axis is only picking local results in the single dimension. Whereas 3D pooling works on "global" 3 dimensions. The correct way to do is instead is to concatenate from (x, y, z, channel) to (xyz, channel), then apply 1D pooling on size of y*z (Any other size will make pooling based on local results thus incorrect). When this is done, reshape it back to (x, y, z, Channel). The downside of this approach is that you cannot have flexible choices on pooling size. Considering this, doing pooling3D on CPU is probably a more convenient approach.

Yes, you were right. The GPU work around need to be  reshape to 1D image and reshape back after Pooling1D.
Is switching between CPU implementation and GPU fast enough? Any suggestion on how to switch MaxPooling3D to CPU?

@kk325ic Try with tf.device to create a device context for GPU. Details refer to here.

Thanks for the helps @jerryyin
For the benefits of those who needs MaxPooling3D before MIOpen adds support to it, I implemented a version of workaround by using MaxPooling2D twice. This implementation doesn't support strides not equal to pool_size.
The code is in here.

MaxPooling3D is supported API now. Closing the issue as solved. Feel free to comment/re-open if this does not solve your question.


Keybindings: Add All triggers inadvertently

Latest atom, git-plus and MacOs 10.12 Sierra.
When adding a second file, using cmd+shift+a, add all will execute. Quite frustrating as I need to go back to shell and to git reset.
Also not sure if it's just my machine, but add key binding is generally slow / unresponsive :|
Steps to reproduce:

cmd+shift+a on a file open (sometimes notification appears, sometimes - doesn't)
Select next file, cmd+shift+a - Added all files notification appears.

I think your problem might be related to #415.
I think I'm going to remove the keybindings from this package, except for the menu toggle so users can create their own keybindings selectively and avoid the clashing.


Update AccountInfo#code documentation

Hey @rakita 👋
I guess this is a question and PR at the same time.
If I understand AccountInfo correctly, the code being None doesn't mean that the account doesn't have any code, but that you should load it from a Database. Is that right? If so, maybe you want to merge this PR that documents it.

I don't think this is correct - AccountInfo::code can be None in the DB even if the account has code, e.g. if the code was set in SubRoutine but that info has not been commited yet. Conversely, code may also be None in SubRoutine but Some in DB if the contract was self-destructed but the results were not committed yet

@alcuadrado @onbjerg AccountInfo::code None means it is not loaded from db. This is part of code that handles that:
https://github.com/bluealloy/revm/blob/211c83ba85518d82a1674eb6e5520cf3efbc617a/crates/revm/src/subroutine.rs#L518-L525

@alcuadrado @onbjerg AccountInfo::code None means it is not loaded from db. This is part of code that handles that:
https://github.com/bluealloy/revm/blob/211c83ba85518d82a1674eb6e5520cf3efbc617a/crates/revm/src/subroutine.rs#L518-L525

Yeah but this is only the case if you load it from the SubRoutine, not the case for AccountInfo as a whole is my point. So maybe these docs should be in SubRoutine?

Yeah but this is only the case if you load it from the SubRoutine, not the case for AccountInfo as a whole is my point. So maybe these docs should be in SubRoutine?

Yea, you are looking at AccountInfo as something external, in that sense original statement is missleading. I changes meaning of it now.

Thanks for your explanations, @rakita @onbjerg !


iverilog Verification Task Fails with Module Not Found error

I am encountering an error while running the iverilog verification task for my adder design in the OpenFPGA flow. Although the relevant Verilog files are present in the specified SRC directory, I am receiving an error indicating that the root module adder_8_top_formal_verification_random_tb cannot be found.
ERROR OUTPUT
INFO (00_adder_8_MIN_ROUTE_CHAN_WIDTH) - Launching iverilog_verification
ERROR (00_adder_8_MIN_ROUTE_CHAN_WIDTH) - iverilog_verification run failed with returncode 1
ERROR (00_adder_8_MIN_ROUTE_CHAN_WIDTH) - command iverilog -o compiled_adder_8 ./SRC/adder_8_include_netlists.v -s adder_8_top_formal_verification_random_tb -I ./SRC
ERROR (00_adder_8_MIN_ROUTE_CHAN_WIDTH) - -->>error: Unable to find the root module "adder_8_top_formal_verification_random_tb" in the Verilog source.
ERROR (00_adder_8_MIN_ROUTE_CHAN_WIDTH) - -->>1 error(s) during elaboration.
ERROR (00_adder_8_MIN_ROUTE_CHAN_WIDTH) - Current working directory : /fpga/OpenFPGA/openfpga_flow/tasks/fpga_verilog/adder/hard_adder/run021/k6_frac_N10_tileable_adder_chain_40nm/adder_8/MIN_ROUTE_CHAN_WIDTH
ERROR (00_adder_8_MIN_ROUTE_CHAN_WIDTH) - Failed to run iverilog_verification task
ERROR (00_adder_8_MIN_ROUTE_CHAN_WIDTH) - Exiting . . . . . .
ERROR (00_adder_8_MIN_ROUTE_CHAN_WIDTH) - Failed to execute openfpga flow - 00_adder_8_MIN_ROUTE_CHAN_WIDTH
Here is the list of files in the SRC directory where the error occurs
/fpga/OpenFPGA/openfpga_flow/tasks/fpga_verilog/adder/hard_adder/run021/k6_frac_N10_tileable_adder_chain_40nm/adder_8/MIN_ROUTE_CHAN_WIDTH/SRC
adder_8_autocheck_top_tb.v
adder_8_include_netlists.v
fabric_netlists.v
fpga_top.v
routing
adder_8_formal_random_top_tb.v
adder_8_top_formal_verification.v
fpga_defines.v
lb
sub_module

@tangxifan Thank you for your response and guidance!
I've attached the adder_8_include_netlists.v file below.
//-------------------------------------------
//      FPGA Synthesizable Verilog Netlist
//      Description: Netlist Summary
//      Author: Xifan TANG
//      Organization: University of Utah
//      Date: Tue Nov  5 13:00:49 2024
//-------------------------------------------
//----- Time scale -----
`timescale 1ns / 1ps
// ------ Include fabric top-level netlists -----
`include "./SRC/fabric_netlists.v"
`include "adder_8_output_verilog.v"
include "./SRC/adder_8_top_formal_verification.v" include "./SRC/adder_8_formal_random_top_tb.v"
Please let me know if there’s anything else I should check or if additional files would be helpful.

@V-Geetha It looks like a mismatch in the top-level module name. Can you check if adder_8_top_formal_verification_random_tb is the module name defined in your /SRC/adder_8_formal_random_top_tb.v?

//----- Default net type -----
`default_nettype none
module adder_8_top_formal_verification_random_tb;
// ----- Default clock port is added here since benchmark does >        reg [0:0] clk;
// ----- Shared inputs -------
reg [0:0] a_0_;
reg [0:0] a_1_;
reg [0:0] a_2_;
reg [0:0] a_3_;
reg [0:0] a_4_;
reg [0:0] a_5_;
    The top module name in the file /SRC/adder_8_formal_random_top_tb.v is indeed adder_8_top_formal_verification_random_tb. I’ve reviewed the the code and attested partial code above, and the top module name matches what’s declared in the file, so it’s correctly referenced. Is there any other files that has to be verified??

@V-Geetha I think the Verilog netlists are clean. You may need to run iVerilog yourself and see what happened. It could be some syntax issue. Since you are not trying any testcase provided by OpenFPGA, it is difficult to debug from my side.

Thank you for your feedback . I will run iVerilog on my end to check for any syntax issues.


[Feature Request] / [Bug] : Improve Link to Editor Function with view

Currently the Link to Editor is working quite fine with all archimate concept.
There is an enhancement : if you click inside your view, the link will select the very same view in the model tree.
However, I needed a bit more, which I share here :
When you add Views inside a Diagram (for instance for a 'Welcome' View), you don't have any sync. between the Model and the View inside your diagram.
This is the meaning of this Pull Request

To follow the #477

Thanks! Will get back to this when I have had a think about the best API to combine two things into one thing!

This turned out to be more complicated than it seems.

I firstly had to fix an issue with selecting objects asynchronously (see 099c7bc451c489e28a7df4a28aa2eaa1f9d85c61).
I deprecated IArchimateDiagramEditor#selectArchimateConcepts()
I refactored ArchimateDiagramEditor#selectObjects() so it can handle any type of object
I changed TreeSelectionSynchroniser to handle this use case

I've created a branch, "selection-sync" with these changes if you'd like to test this.

Seems good for me
I notice a good point in the new behavior (not sure it was before) : when many diagrams are opened, the selection is made in all diagrams, not only the active one

It might be easier if I just merge the "selection-sync" branch into master?

Would it be best if I just merge the "selection-sync" branch into master branch and we can close this? I know it's nice to accept PRs but in this case I had to make several more changes in order to implement this.

I've added some more changes to support this feature as it wasn't working with Canvas and Sketch Views. So, I'll close this one.


Ruby executable is nowhere to be found

Ruby install worked, and local/global switching return success,
but ruby executable is not in rbenv bin folder
``
[~] ➔ ls ~/.rbenv/versions/1.9.3-rc1/bin/r
rake  rdoc  ri    ruby
[~] ➔ rbenv local 1.9.3-rc1
[~] ➔ ruby -v
The program 'ruby' can be found in the following packages:

ruby1.8
ruby1.9.1
Try: sudo apt-get install
[~] ➔ ls -al ~/.rbenv/bin/
total 24
drwxrwxr-x 2 micha micha 4096 2011-10-17 15:39 .
drwxr-xr-x 9 micha micha 4096 2011-10-17 16:32 ..
lrwxrwxrwx 1 micha micha   16 2011-10-17 15:39 rbenv -> ../libexec/rbenv
-rwxrwxr-x 1 micha micha  495 2011-10-17 15:39 ruby-local-exec

Have you run rbenv rehash? What is the output of ls ~/.rbenv/shims? Also, what is your $PATH (echo $PATH)?

rbenv rehash: nothing changes
➔ ls ~/.rbenv/shims
coderay             erb  irb               plist2syntax  pry   rdoc  ruby        ruco
coderay_stylesheet  gem  language_sniffer  plist2yaml    rake  ri    ruby_parse  testrb
[~] ➔ echo $PATH
/home/micha/.rbenv/bin:~/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

Ok, the problem is that you don't have ~/.rbenv/shims in your PATH.
You probably want to put this into your .bashrc or .bash_profile (depending on how your machine is set up):
# Load rbenv automatically by adding
# the following to ~/.bash_profile:
eval "$(rbenv init -)"

damn, sorry for the issue, somehow lost the eval line while copying my profile stuff around :(

It is my understanding that rbenv init is supposed to add ~/.rbenv/shims to my $PATH variable, but it was not doing so on my Ubuntu 14.04 server.  Instead it was adding ~/.rbenv/bin and thus ruby --version was not working until I manually added the shims to my path.  Is this a bug?


Improve workflows for building and installing PHP extensions from source

Tool information

Tool name: php-dev and php-pear
Tool license:

php-dev: The PHP License, version 3.01
php-pear: 2-Clause BSD License

Add or update? Add
Desired version: latest
Approximate size: around 500kb for php-dev for each PHP version and around 280kb for php-pear
If this is an add request:

Brief description of tool: Both php-dev and php-pear contain scripts to build PHP extensions.
URL for tool's homepage:

php-dev: https://github.com/php/php-src/tree/master/scripts
php-pear: https://github.com/pear/pear-core

Provide a basic test case to validate the tool's functionality:

php-dev: phpize --version or php-config --version
php-pear: pecl -V

Area for Triage: PHP
Question, Bug, or Feature?: Feature
Virtual environments affected

[X] Ubuntu 16.04
[X] Ubuntu 18.04
[X] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Can this tool be installed during the build?
Yes,
apt-get install -y php$version-dev
apt-get install -y php-pear

Tool installation time in runtime: less than a minute
Are you willing to submit a PR? Yes
**Notes: **

Currently PHP 7.3 and PHP 7.4 have php-dev installed, while lower PHP versions do not. It should be uniformly installed along with PHP versions.
Because of the current setup when php-dev is updated on ppa:ondrej/php. For PHP 7.2 and lower, installing php-dev takes 2 to 3 minutes long as all the PHP packages are updated along with it. Installing it on the runner for a minimal 2 to 3 mb space would save 2 to 3 minutes per workflow run for people building and installing PHP extensions from source.

php-pear package adds pecl which is used to install php extensions from source.

No objections for these changes. Thank you for submitting PR. We will review it soon


built out timer function, removed drop down button from navbar, fixed…

… quiz route, finalized styling

closing request, found a bug and fixed it.  going to push a new request

nevermind, will just make new request once everything has been merged


Use SnapKit for AutoLayout

Current Implementation
The current implementation produces a large amount of code by just setting some AutoLayout Contraint (e.g https://github.com/corona-warn-app/cwa-app-ios/blob/05bd329bd79de50b4d6a7f59c72f741f70a88b3b/src/xcode/ENA/ENA/Source/Scenes/ExposureSubmission/ExposureSubmissionNavigationController.swift#L258-L305)
Suggested Enhancement
The use of SnapKit to set the constraints.
Expected Benefits
SnapKit will make the work with constraints much easier and will lead to a heavily reduced codesize. And as we all know, less code == less bugs. On the other side there could be some internal policies to reduce the number of used dependencies as much as possible, which would be totally acceptable.

Hi there,
Thanks for your suggestion.
UI code refactoring, especially, (storyboard -> code) will be discussed after the app released. I put it on hold.

storyboard -> code is generally a good idea and sounds awesome!

storyboard -> code is generally a good idea and sounds awesome!

Cool! Thanks. cc @ChristianKienle

Why did you use storyboards at the beginning anyway

I would suggest to remove all Storyboards as soon as possible (and would love to help do this). Storyboards make projects way harder to test.
But I would stick to pure Auto Layout to reduce the amount of 3rd party code as much as possible. Auto Layout is easy and the anchor based API is easy to read and works with. In case abstractions are needed, I would implement them in the code without the use of a 3rd party lib.

I‘d agree with @dasdom in terms of not introducing another dependency for using Autolayout.
Those APIs are much better these days and for the sake of reusability a few extensions should be enough.

Hi guys,
Thanks for your discussions. We have our plan to rewrite UI code once we release our app.
After some internal discussion, we won't use any 3rd party lib to do it. Because the Autolayout API is much more better than first version. Please stay tuned, once we start our plan, we will let the community to know it. Thank you very much. cc @ChristianKienle


Why are MRET and SRET being extended to add memory fences?

In order to eliminate the need to execute an SFENCE.VMA when enabling a page table entry, we are modifying the semantics of MRET and SRET to include fencing functionality for implicit memory accesses similar to that of the SFENCE.VMA. Not only have we not eliminated such fencing, but we are now requiring it for all MRETs and SRETs, even when not needed.
The original idea of Svvptc was to "simply" disallow holding invalid PTEs in the address-translation cache.  Now there seems to be no such requirement. In its absence, it seems that the new fencing functionality of MRET/SRET would also need to invalidate entries in the address-translation cache to cover this case. If so, how does the MRET/SRET know what to invalidate?
Taking a step back, it seems like we are trying to accomplish two things:

Prevent invalid PTEs from being held in the address-translation cache (ATC). Or take a trap on encountering such an entry in a PTW so that it can be flushed with an appropriate SFENCE that targets the invalid entry.
Allow a speculative page table walk for a storage instruction that reads an invalid PTE to retry once this storage instruction is the oldest uncommitted. This could be done by HW or by taking a trap (which executes an SFENCE).
It seems like we can come up with a viable architectural solution with these two components that doesn't involve placing an undue burden on the *RET instructions.

The specification is not described in form of address translation caches is because ATC are not an architectural construct. The specification is not adding additional semantics for SRET or MRET architecturally. The specification is stating the boundary where software can expect a store to make a PTE valid can be observed. This is to avoid placing requirement on implementations to need to observe a store to a PTE by the very next instruction that performs the store. The boundary is defined as a naturally synchronizing point such as an SRET, MRET, or a memory management fence.

Thanks for your detailed reply, Ved.
I believe that this specification is changing the semantics of *RET instructions in that it is requiring a *RET instruction to act as an effective memory-management fence. Either the *RET would need to be involved in the fencing behavior itself, or there would need to be another means to independently provide this fencing behavior quickly enough that it would give the same effect as if it were produced by the *RET.
In any case, I think the wording of the specification can be a little hard to parse. How about something a little more concise such as:
When the Svvptc extension is implemented, the execution of an SRET or an MRET instruction ensures that any previous store in a hart that updates the Valid bit of a PTE from 0 to 1 is ordered before implicit references by subsequent instructions in that hart to the memory-management data structures.

Since the purpose of this extension is to allow SW to elide the use of an SFENCE after making a PTE valid, it is necessary that this extension prohibits non-valid PTEs from being cached in the Address Translation Cache (ATC). If the non-valid PTE is cached in the ATC, it will be necessary to invalidate the TLB entry.
While ATCs are neither mandated nor fully specified by the architecture, the Privileged Architecture does define the architectural behavior of ATCs including its behavior in the Virtual Address Translation Process. Therefore it is perfectly valid --- indeed, it is essential --- for the Svvptc extension to explicitly state any requirements that it imposes on the ATC.
That said, no such change needs to be made to the normative text if the intention is for implementations of Svvptc to be able elide SFENCEs even if the ATC caches non-valid PTEs. If that is the case, this should at least be made clear in the non-normative text as it might not be obvious to implementers.

@kdockser thanks. I am in process of incorporating your suggestions and a few other updates in the document. I will provide an update here shortly.

@kdockser - Please take a look at the updated text. I hope this addresses these questions.

Thanks @ved-rivos, that is lot clearer and a lot less onerous.

Thanks.


Make fullscreen iframe to fit on code-check page

          looks like its working, just my full-screen mode is not really fullscreen:

Originally posted by @JustLuuuu in https://github.com/kodadot/nft-gallery/issues/10092#issuecomment-2072095910
path: /code-check
code of art: https://github.com/kodadot/nft-gallery/files/14994217/Unfoldings.v1_9.zip
It should be a similar solution as we have on the gallery item page. ref: #9951  #10084

👋


Retrieve the population of speakers for Chinese, English, Hindi, Spanish, and Arabic languages with percentages, ordered from greatest to smallest

SELECT
Language,
TotalLanguage AS "Total Number of People",
TotalLanguage / World.Population AS Percentage
FROM
(SELECT
Language,
SUM(countrylanguage.Percentage * country.Population) AS TotalLanguage
FROM
countrylanguage
JOIN
country ON country.Code = countrylanguage.CountryCode
WHERE
countrylanguage.Language IN ('Chinese', 'English', 'Hindi', 'Spanish', 'Arabic')
GROUP BY
Language) AS languagepopulation
JOIN
(SELECT
SUM(Population) AS Population
FROM
country) AS World
ORDER BY
TotalLanguage DESC;


How to create model without primaryKey

Hi,
I have a table named 'LogItem' with fields userid, action, content, logtime. I don't want to set a primaryKey to this table.
How can I map this table to a model in Sails ^1.0.0?
Thanks,

Hi @daoanhvu,
We are consolidating all open Sails issues into one repo.
Cheers!

Hi @daoanhvu I hope you were able to work through the issue! In order to tidy-up the Sails issues we are closing older or resolved issues. Please feel free to open a new issue if the need arises.


WiP: Upgrade to Ubuntu 18.04

Closing, this was superseded by the great work from @pfisterer in https://github.com/infraly/k8s-on-openstack/pull/50.


Update README.md > tigerbeetle setup steps

Update README.md steps to setup the tigerbeetle for testing. The updated steps are based on https://docs.tigerbeetle.com/quick-start/
$ git clone --recurse-submodules https://github.com/rbino/tigerbeetlex.git
$ cd tigerbeetlex/src/tigerbeetle
$ scripts/install_zig.sh
$ zig/zig build
$ ./tigerbeetle version
$ ./tigerbeetle format --cluster=0 --replica=0 --replica-count=1 --development 0_0.tigerbeetle
$ ./tigerbeetle start --addresses=3000 --development 0_0.tigerbeetle

I tried to file a PR but I cannot create a branch yet so I'm filing an issue instead. 😅

I've updated the README with the steps to download a prebuilt version of TigerBeetle, closing this


Update terminal-images.md

Konsole 22.04 now supports viewing images in the terminal via the Sixel protocol

Konsole is very cool. It also, for example, the only one from all existing terminals supports complex scripts like Devanagari properly


perf: skipping gitignore files when traverse workspace.

This is my computer info
  System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 315.63 MB / 32.00 GB
    Shell: 3.6.1 - /opt/homebrew/bin/fish

for project https://github.com/web-infra-dev/rspack
If I run  time TARGET_PKG=@rspack/core FEATURE=scripts pnpm-shell-completion, this is the result:
prepare
build
dev
test
precompile-schema

________________________________________________________
Executed in  909.71 millis    fish           external
   usr time  157.10 millis  128.00 micros  156.97 millis
   sys time  762.42 millis  933.00 micros  761.49 millis

here is the profile

performance:
before
prepare
build
dev
test
precompile-schema

________________________________________________________
Executed in  909.71 millis    fish           external
   usr time  157.10 millis  128.00 micros  156.97 millis
   sys time  762.42 millis  933.00 micros  761.49 millis

after
precompile-schema
build
prepare
test
dev

________________________________________________________
Executed in  164.30 millis    fish           external
   usr time   39.68 millis  101.00 micros   39.58 millis
   sys time  130.44 millis  689.00 micros  129.75 millis

huge win

Another reason we could do this is: almost no one has a scenario like having a package belonging to a workspace but being ignored by .gitignore

I have tested it locally, the function works fine with this modification.


Add missing title from ToDoList example

I see that this is the last instruction on step 4. Not terribly clear as is... I'd either remove it or make it clearer.

@kohei-takata I see that this is the last instruction on step 4. Not terribly clear as is... I'd either remove it or make it clearer.

@jvivs Thanks for your PR!
You're right. It is an instruction.
So I close this PR.


[4.1.x][Bug] InlineCreate - Submit with Enter without button focus results in 405 error

Bug report
What I did
When using the inline create operation to add a new entity (a tag), I hit enter with the text input field focused.
What I expected to happen
The same behavior when clicking "Save":  The modal would close, and the new tag would be selected for the relationship field.
What happened
I received a 405 error, stating that the post method was not allowed (see below).

I reproduced this in the Backpack Demo with the following steps:

Under Demo Entities, select Monster.
Edit the first item.
Navigate to the Relationships tab of the item in question.
For the field labeled "Relationship (no AJAX; also uses InlineCreate) ", click the + Add button.
Enter anything into the text input.
Hit enter.

You then get the 405 page, with the URL below:
https://demo.backpackforlaravel.com/admin/monster/140/edit#
What I've already tried to fix it
I checked the steps in the Inline Creation documentation to make sure I was following them appropriately.  No other modifications at this time.
(In the short term I'll be looking to just disable the default behavior here so that doesn't submit, but the ideal case would be maintaining the user of enter to submit for quick creation.)
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
PHP VERSION:
PHP 7.3.14 (cli) (built: Jan 24 2020 03:06:50) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.14, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.14, Copyright (c) 1999-2018, by Zend Technologies
LARAVEL VERSION:
v7.11.0@f4563bd2e0875c59a1f7967abdbe5cef7f240117
BACKPACK VERSION:
4.1.5@e2c166b065f6b405747db5a5f4d36a2a88f8dc22

Hello @GenericHero01
Thanks for spotting this. I could confirm this is happening, but stange, only happen if you don't have the button focused.
If you "TAB" until you reach the save button and hit enter, everything works as expected.
Also in "Inline Create" for product Relationship (also uses InlineCreate; Fetch using AJAX) if you hit enter nothing will happen.
My guess is that the problem relies on having the button for the icon in the inline create modal.
I will give it a go let you guys know my findings.

I've just merged and tagged @pxpm 's PR #2855 which fixes this. Thanks a lot guys!


Architecture/visibility

visibility update and delomboked models.

Typo in package name Trilaterion, should be Trilateration. Otherwise great and ready to merge.

Codecov Report

Merging #19 into master will decrease coverage by 7.86%.
The diff coverage is 74%.

@@             Coverage Diff              @@
##             master      #19      +/-   ##
============================================
- Coverage     89.76%   81.89%   -7.87%
- Complexity       93      132      +39
============================================
  Files            12       12
  Lines           254      464     +210
  Branches         19       56      +37
============================================
+ Hits            228      380     +152
- Misses           17       51      +34
- Partials          9       33      +24

Impacted Files
Coverage Δ
Complexity Δ

...n/java/fi/helsinki/btls/utils/ObserverService.java
100% <ø> (ø)
10 <0> (?)

...helsinki/btls/trilateration/LocationService3D.java
94.44% <ø> (ø)
5 <0> (?)

...helsinki/btls/trilateration/LocationService2D.java
86.66% <ø> (ø)
6 <0> (?)

...i/helsinki/btls/trilateration/LocationService.java
100% <ø> (ø)
5 <0> (?)

...a/fi/helsinki/btls/utils/ObservationGenerator.java
94.44% <ø> (ø)
11 <0> (?)

...c/main/java/fi/helsinki/btls/mqtt/MqttService.java
82% <ø> (ø)
10 <0> (?)

.../main/java/fi/helsinki/btls/datamodels/Beacon.java
74.02% <66.1%> (-19.08%)
19 <14> (+7)

...ain/java/fi/helsinki/btls/datamodels/Observer.java
73.68% <74.07%> (+2.25%)
11 <9> (+6)
:arrow_up:

...ain/java/fi/helsinki/btls/datamodels/Location.java
74.57% <74.57%> (-12.93%)
16 <16> (+8)

...n/java/fi/helsinki/btls/datamodels/Location3D.java
78.78% <75.86%> (-11.22%)
12 <11> (+5)

... and 3 more

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 c7d0228...b2f4d1d. Read the comment docs.


Not working in Firefox or IE 11

The directive doesn't appear to work in Firefox or IE for me, but does in Chrome. Try the following in Chrome, then in Firefox: http://plnkr.co/edit/fMGyl0a7xyMSR8doZASO?p=preview
(The above Plunker is really broken in IE 11, though I'm not seeing that particular error in my actual app; it simply doesn't scroll, similar to what you see here in Firefox)
I'm using RC1.
I tried verifying this with the provided example app, but I can't get it to run. It's giving me errors regarding the typings command. I'll see if I can figure out what the problem is.

Hi,
thanks for the plunker. I'm getting similar results to your observation: works fine in Chrome (50.0.2661.102) and Safari (9.1.1) but fails in Firefox (45.0.2).
Regarding the demo application: make sure you've npm installed to root project before starting inside the example folder. I just added a new npm script npm run example to simplify that and clarified the documentation.

The issue should be fixed now. Problem was a wrong parameter name, which caused the global window.event object to be used in the "onscroll" listener. As some browser implement this non-standard, old-IE behavior to work correctly with old websites, it worked with some browsers.

Hm, it still seems to be not working in Firefox (46.0.1). I forked my original Plunker and just changed the ng2-page-scroll version: http://plnkr.co/edit/7mTE6FoHHqNWp5qPS6vW?p=preview

The problem seems to be due to the fact that body.scrollTop is non-standard and is only supported in Blink: https://dev.opera.com/articles/fixing-the-scrolltop-bug/
Using document.documentElement.scrollTop in addition to body.scrollTop will ensure the scrolling happens in Chrome, IE, & Firefox.
I can submit a PR if you'd like.


Dark mode for documentation

Dark modes are—and this is beyond dispute—cool. We should have a dark mode toggle in the documentation, similar to Docusaurus and Docker.
Original issue here: https://github.com/opendistro/for-elasticsearch-docs/issues/383

The just-the-docs theme supports the ability to customize or switch the color scheme

This will be done by the overall changes to the website. Closing this issue since it is in the project-website repo: https://github.com/opensearch-project/project-website/issues/541


Extract-replicate our AWS cluster creation workflow into the mybinder.org-deploy repo

Ref: https://github.com/2i2c-org/infrastructure/issues/919
Upstream issue where the discussion is going to happen: https://github.com/jupyterhub/team-compass/issues/501.
@sgibson91, feel free to add any further details on this one.

The repo already has a workflow for deploying Binder - we need to extract our workflow for creating a cluster in AWS, i.e., eksctl and terraform.

we need to extract our workflow for creating a cluster in AWS, i.e., eksctl and terraform.

@sgibson91, it is not clear to me if you intend to work on this one in this sprint or if you were just talking about referencing the upstream issue and having the discussion over there. Let me know what you think and I will update the sprint board accordingly. Thanks!

I can't really work on this one until #1823 is done, so maybe for the next sprint

@yuvipanda will reply with more context on this one.

However, for mybinder.org we'll only have one nodegroup, and it's ok if it scales down to 1 not 0. I think it's fine to just use the available eks_node_group resource for mybinder

Thanks Yuvi! I will ping you for review on the appropriate terraform config to extract :)

@sgibson91 yay great! With a super quick look, I think there is not much (perhaps the CI/CD stuff) as most of the rest (scratch buckets, EFS, etc) aren't going to be needed on mybinder.org. I'd suggest looking at starting from scratch as a possibility too. Happy to help in whatever form!

I provided more info in https://github.com/jupyterhub/mybinder.org-deploy/issues/2449#issuecomment-1329980627.

Do not use AWS ECR.
AWS cluster autoscaler behaving weird.

Erik and Sarah made progress. We need to define the next steps.

Yuvi helpfully reviewed the upstream PR for AWS-terraform config and merged it. I think others in the mybinder community will be pushing forward other pieces of technical work (such as actually deploying the BinderHub) as we increasingly see a need for an AWS-based federation member, and there looks to be a couple of other folk who wish to contribute AWS credits.
I'm closing this one.


add MIT License

It's mentioned in the README that it's published under MIT license, but not the whole license is not explicitly written...

@MaxHillebrand Oh yes! Thank you for the pull request. 😄


Can I hide a route?

I have some routes that aren't API endpoints; some are pages that generate HTML etc; I don't want them to be a part of the swagger docs.  Is there a way to mark a particular route as hidden so it doesn't show up in the UI?
I could also see this as something that would be useful for endpoints that aren't yet public.

Looks like one approach would be to mark it deprecated:
            get("/", {
                description = "Web path, don't use this"
                this.deprecated = true
            })

Not the best, but better than nothing

Hi,
this is possible in the configuration via the pathFilter.

Filter to apply to all routes. Return 'false' for routes to not include them in the OpenApi-Spec and Swagger-UI.
The url of the paths are already split at '/'.

example:
install(SwaggerUI) {
    pathFilter = {_, url -> !url.contains("hidden")} // should filter out all routes which contain the part "hidden"
}

That's perfect thanks @SMILEY4 , here's what I ended up using just in case it's useful to anyone else:
install(SwaggerUI) {
    pathFilter = {_, urlList -> urlList.getOrNull(0) == "api"  }
}

since all my API URLs start with /api.


[FLINK-21986][State Backends] fix native memory used by RocksDB not be released timely after job restart

fix native memory used by RocksDB not be released timely after job restart
What is the purpose of the change
This pull request fix the problem described in FLINK-21986.
Concisely, RocksDBOperationUtils#addColumnFamilyOptionsToCloseLater() invoke ColumnFamilyHandle#getDescriptor() twice just for get ColumnFamilyOptions used by ColumnFamilyHandle. Every invocation create a new ColumnFamilyOptions instance, but only one added to "to close later list".
That resulted in some ColumnFamilyOptions was not closed and task manager native memory used by RocksDB can't be released timely. This situation often leads to task manager OOM killed by container manager such as Yarn and Kubernetes.
Brief change log

RocksDBOperationUtils#addColumnFamilyOptionsToCloseLater() only invoke ColumnFamilyHandle#getDescriptor() once to get ColumnFamilyOptions instance.

Verifying this change
This change can be verified as follows:

Run a test job use RocksDBStateBackend and store a mass of state data (such as regular join job flink-21986-regular-join-test-case )
Manually trigger restart (such as kill a task manager manually) and verifying that other task manager process RSS memory decrease after restart. As shown in the picture below :

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@flinkbot run travis
@flinkbot run azure

@flinkbot run azure

@flinkbot run azure


[BugFix] Fix grouping set with aggregate/window bug

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Grouping set can't reslove repeat-null
MySQL w1>
select GROUPING_ID(v0, v1, v2) groupId, v0, v1, v2, count(distinct v3) cnt, sum(sm) sm
from
  (select v1, v0, v2, v3, sum(1) over(PARTITION by v1, v0 order by v2) sm from t1) te
group by
  GROUPING SETS((v0, v1, v2), (v1, v2))
having groupId = 4
order by v1 asc, v2 asc
limit 10;

+---------+---------+---------------------+------------+----------+----------------+
| groupId | v0      | v1                  |   v2       | cnt      | sm             |
+---------+---------+---------------------+------------+----------+----------------+
| 4       | <null>  | 2022-01-01 00:00:00 | 0          | 46       | 4430           |
| 4       | <null>  | 2022-01-01 00:00:00 | 0          | 39       | 4498           |
| 4       | <null>  | 2022-01-01 00:00:00 | 0          | 96       | 126760         |
| 4       | <null>  | 2022-01-01 00:00:00 | 0          | 17       | 1296           |
| 4       | <null>  | 2022-01-02 00:00:00 | -1         | 42       | 5650           |
| 4       | <null>  | 2022-01-02 00:00:00 | -1         | 59       | 7121           |
| 4       | <null>  | 2022-01-02 00:00:00 | -1         | 87       | 266603         |
| 4       | <null>  | 2022-01-02 00:00:00 | -1         | 66       | 8623           |
| 4       | <null>  | 2022-01-03 00:00:00 | -2         | 28       | 3637           |
| 4       | <null>  | 2022-01-03 00:00:00 | -2         | 112      | 302462         |
+---------+---------+---------------------+------------+----------+----------------+
10 rows in set
Time: 0.042s

Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

@mergify backport branch-2.4 branch-2.3 branch-2.2

[FE PR Coverage Check]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/base/HashDistributionSpec.java
1
1
100.00%
[]

run starrocks_admit_test


release tasks

[ ] snapshot
[ ] fill first week of ubi
[ ] staking 1M
[ ] bridge ownership
[ ] bridge limites

how much did we say we need for the first week of UBI?

bridge ownership should be by the dao

bridge limits
Daily limit
200M G$
Single transfer max 30M
Minimum is determined by fuse

1M is scheduled for first of September


Documentation toggle doesn't work

The documentation toggle doesn't work for me and show below for any functions.

This is fixed in the new version.

@pfitzseb Hi I still see the same issue after updating just now.

Did you Pkg.update()?

Yes, I'm currently reinstalling juno & Julia to see if it will be fixed.

A clean install of juno & julia solved this problem. Thx.


refactor: usage example of pug-plugin

Hello Pedro,
I am author of pug-plugin and @webdiscus/pug-loader.
I see, you use the @webdiscus/pug-loader and has in dependencies the pug-plugin.
I will show you how to correct and easy to use the pug-plugin instead of html-webpack-plugin and mini-css-extract-plugin.
The pug-plugin renders Pug files defined in Webpack entry, extracts CSS and JS from sources defined directly in Pug.
No longer need to import styles in JavaScript to inject them into HTML via html-webpack-plugin.
All source styles and scripts can be loaded with require() directly in the Pug template:
link(href=require('./styles.scss') rel='stylesheet')
script(src=require('./main.js'))

Generated HTML contains hashed CSS and JS output filenames:
<link href="/assets/css/styles.05e4dd86.css" rel="stylesheet">
<script src="/assets/js/main.f4b855d8.js"></script>

The Pug plugin is designed to make Pug easy to use and replaces the functionality of html-webpack-plugin and mini-css-extract-plugin.
Sea please my comments in the commit.
Bests,
Dimitri

Hello @webdiscus, thank you so much!


fix: update the ansiblels settings

close #2282

If I understand Ansible language server docs correctly, all settings should stay inside ansible.* context: https://github.com/ansible/ansible-language-server/blob/main/docs/settings.md

you can create a pr. I just copy theme from your issue. you give me a wrong example :)

Ok, I'll create a PR later today or tomorrow :)

Done: https://github.com/neovim/nvim-lspconfig/pull/2286


Error: Cannot find module 'source-map-support/register'

Not sure what to add here but that's the error I get. Here's the entirety of the code:
process.loadEnvFile();

import { Table } from 'voici.js';

const API_KEY = process.env.GOOGLE_AI_KEY;

(async () => {
	let modelReq = await fetch(`https://generativelanguage.googleapis.com/v1beta/models?key=${API_KEY}`);
	let models = await modelReq.json();
	const table = new Table(models);
	table.print();
})();

Full stacktrace:
node:internal/modules/cjs/loader:1142
  const err = new Error(message);
              ^

Error: Cannot find module 'source-map-support/register'
Require stack:
- /home/ray/projects/ai-testingzone/get_google_models/node_modules/voici.js/dist/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1142:15)
    at Module._load (node:internal/modules/cjs/loader:983:27)
    at Module.require (node:internal/modules/cjs/loader:1230:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/home/ray/projects/ai-testingzone/get_google_models/node_modules/voici.js/dist/index.js:4:1)
    at Module._compile (node:internal/modules/cjs/loader:1368:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
    at Module.load (node:internal/modules/cjs/loader:1205:32)
    at Module._load (node:internal/modules/cjs/loader:1021:12)
    at cjsLoader (node:internal/modules/esm/translators:366:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/ray/projects/ai-testingzone/get_google_models/node_modules/voici.js/dist/index.js'
  ]
}

Getting the same error - source-map-support is declared a dev dependency but is used in the dist files

Thanks for your feedback! I'll fix it at the end of next week when I'm back from vacation


Game is gone when i do this

if i connect a cable to Transmutation Interface its starting putting items to chest or drawer its doing the job but when i open the Transmutation Tablet game become frozen and not responding i waited like 30 min. and nothing happened so i closed the game, i think if i use over 2 billion emc this happens i don't know maybe it can be a unfixable issue

I need more info than "it doesn't work fix it"
What version, are you using any other mods, what's happening in the world, etc
You also need to reproduce it without any extra mods in a world that doesn't have anything major happening in the background before I'll look into this

version is ProjectExpansion-1.18.2-1.0.11 and ProjectE-1.18.2-PE1.0.1
https://imgur.com/a/RVkbKpH this is the system i use and pipe transports this much item https://imgur.com/a/lf5MUe2
and thats is my mod list: https://pastebin.com/7sLw3bHL
forge version: 40.1.74
and im using atm 7 modpack atm7 0.4.30 version, i just added some mods to pack if u need more information i can upload save and the pack gdrive

I saw the RFTools Builder on your mod list, were you by any chance using the Builder at the time? I've noticed this bug while using an EMC Link to output items directly into the Builder while it performs a task. The game will be perfectly normal unless you open the tablet, at which point there is a massive FPS drop, aggravated further if you type anything into the search bar, and can even freeze completely and force a reset
If that's what you're experiencing, try turning the builder off before opening the tablet. That should circumvent the problem until a fix comes out

uh thank u i'll try that

I need either a step-by-step reproduction list, or a world download with exact instructions on what to do
I would also love a minimal reproduction environment as I cannot realistically test with that many mods in a development environment


catalogue.wl.org redirected for external users

Link to feature: https://wellcomecollection.productboard.com/feature-board/planning/features/6699469

Include redirect from https://catalogue.wellcomelibrary.org/selfreg to https://wellcomecollection.org/signup


Question: latest vs. latest

Noticed on https://www.npmjs.com/package/vue-tsc that the version is 1.2.0 but this repo is 1.3.19.
Is the lag intentional? Should we view 1.3.19 as a beta?

Yes, v1.3 is a pre-relesae version of v1.4, which still has some unresolved edge cases.


bug: relist unsold items doesnt work properly

Prerequisites

[X] I have searched for existing issues that already report this problem, without success.

Script Version
1.18
Platform
Webapp
Current Behavior
running the script with "relist unsold items" option ticked doesn't properly relist the unsold items
Expected Behavior
if ticked, should relist all the unsold items
Steps to Reproduce
ticked relist unsold items, start the script
Additional Information

option ticked

but unsold items still remains

Items are relisted at intervals, wait for some time , items would be listed eventually


Notice: Undefined index: path

Steps to reproduce and a minimal demo of the problem
Add the vendor/autoload.php  before any other option to load the classes automatically.
Current behavior
Notice: Undefined index: path in /srv/www/bk-skaled/htdocs/wp-content/plugins/skaled/vendor/moxie-lean/wp-endpoints-admin-bar/src/AdminBarApi.php on line 48

Expected/desired behavior
No notice

Dupe!


Cant export mnemonic of more than one account/address

If you have sollet set up with more than one wallet, the UI only lets you export the mnemonic of the first account added.
We should let you individually export mnemonics for each account/address.

The one mnemonic is the mnemonic used to derive all the accounts not just the first. You can't have more than one mnemonic in sollet. Closing.

You can't have more than one mnemonic in sollet.

@armaniferrante  I think that it is possible if you had imported a private key that you got from somewhere else e.g. accounts created on the solana cli.  In such a case you won't be able to export one of those accounts (assuming you had two) out of sollet.  But maybe that's not a problem because we assume the user has their private key elsewhere?


Generalizing transmute.R to other columns that contain matrices

At the moment, transmute.hyperSpec uses eval to handle arithmetic operations on$spc, but other columns in the @data slot with full matrices in the column/row not so much. Initially, the solution for dealing with $spc came out of observing:
dplyr::transmute(.data@data, spc = spc*2) # throws an error
.data@data$spc <- .data@data$spc*2 # works as expected!

However, I am a) not sure how one even gets a matrix in a column or b) how to deal with non-spc columns that contain matrices...please help

This may also be noteworthy, within the dplyr package transmute is called from within mutate.  So, maybe it makes sense to have transmute.R and mutate.R...or perhaps we just have mutate.R where transmute is also defined.

This diagram helps me a lot (from hyperSpec.pdf vignette).  It’s not done too often but yes, R allows a matrix or a lot of things for a “column”.  hyperSpec allows any number of additional columns (x and y in the diagram, there can be other columns which give per sample (row) info).

On May 13, 2020, at 6:49 PM, Erick Oduniyi<EMAIL_ADDRESS>wrote:
At the moment, transmute.hyperSpec uses eval to handle arithmetic operations on$spc, but other columns in the @data slot with full matrices in the column/row not so much. Initially, the solution for dealing with $spc came out of observing:
dplyr::transmute(.data@data, spc = spc2) # throws an error
.data@data$spc <- .data@data$spc2 # works as expected
However, I am a) not sure how one even gets a matrix in a column or b) how to deal with non-spc columns that contain matrices...please help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/cbeleites/hyperSpec.tidyverse/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABCIPUJHLSRSYKDS46CO23RRMPYJANCNFSM4NAFS6WQ.

Okay!
According to our conversation, the generalized mutate/transmute allows and disallows the following:
# Is allowed:
hyperSpec.obj %>%
    mutate (x = y, x2 = y2) # allowed
hyperSpec.obj %>%
    mutate (c = c*2, c = c*0) # allowed
hyperSpec.obj %>%
    mutate (y, x, filename, spc2 = spc*2) # allowed
hyperSpec.obj %>%
    mutate(spc2 = spc*2) %>%
    mutate(spc2) %>%
    mutate(spc2*2) # allowed

# Let a and b be columns with row matrices, then
hyperSpec.obj %>%
    mutate (a = a*0, a = a*2, a = a*3, b) # allowed
hyperSpec.obj %>%
    mutate (a*0, a*2, a*3, b) # allowed

# Is not allowed:
hyperSpec.obj %>%
    mutate (y, x, filename, spc = spc*2) # not allowed
hyperSpec.obj %>%
    mutate (spc*2) # not allowed
hyperSpec.obj %>%
    mutate(spc2 = spc*2) %>%
    mutate(spc) # not allowed

Note: transmute works in these cases as well except if $spc is not present in transmutation a data frame is returned (i.e., transmute (x, y) # => df )

Sorry for the delay.
I don't understand why the "not allowed" examples should not be allowed?   After all, mutate() will not drop an existing $spc column in these cases.
mutate(-spc) would be different, and I think we may treat that consistently with transmute() i.e. returning a data frame in that case.

From my understanding, you should not be able to modify the original $spc, but I see what you're saying: mutate (-spc) or mutate (spc*2) would just add another column.

yes, mutate (-spc) or mutate (spc*2) add new columns, so no problem at all.
mutate (spc = -spc) is also fine,  it does a calculation on $spc. One textbook example would be:
spc %>%
   mutate(spc = -log10(spc)) %>%
   setLabels(spc = "A")

for transforming transmission spectra into absorbance.
That's a transformation that is very often needed.

This issue has just become almost a non-issue since dplyr 1.0.0 got published and it natively works with columns containing matrices! :tada:

This issue has just become almost a non-issue since dplyr 1.0.0 got published and it natively works with columns containing matrices! 🎉

Going to close this then.


Typo: section <IP_ADDRESS> version:5-18-2022

In page 480 line 46, a right parenthesis of Jacobian matrix determinant is lost.

fixed, thanks