开mod进游戏直接红字

只额外开了加背包负重的
Mono path[0] = 'F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/The Scroll of Taiwu_Data/Managed'
Mono config path = 'F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/MonoBleedingEdge/etc'
PlayerConnection initialized from F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/The Scroll of Taiwu_Data (debug = 0)
PlayerConnection initialized network socket : <IP_ADDRESS> 55048
Multi-casting "[IP] <IP_ADDRESS> [Port] 55048 [Flags] 2 [Guid] 507420845 [EditorId]<PHONE_NUMBER> [Version] 1048832 [Id] WindowsPlayer(DESKTOP-EQ0UIAV) [Debug] 0 [PackageName] WindowsPlayer" to [<IP_ADDRESS>:54997]...
Started listening to [<IP_ADDRESS>:55048]
PlayerConnection already initialized - listening to [<IP_ADDRESS>:55048]
Initialize engine version: 2018.4.23f1 (c9cf1a90e812)
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 11.0 [level 11.1]
    Renderer: NVIDIA GeForce RTX 3080 Ti (ID=0x2208)
    Vendor:
    VRAM:     12108 MB
    Driver:   <IP_ADDRESS>4
Begin MonoManager ReloadAssembly
- Completed reload, in  0.113 seconds
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

UnloadTime: 0.438300 ms
Game start at 2022/10/5 18:58:56
Game version = V<IP_ADDRESS>
[]Awake Singleton.
Setting breakpad minidump AppID = 838350
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:<PHONE_NUMBER>7156800 [API loaded no]
Verifying steam user successful! steam id<PHONE_NUMBER>7156800
Unloading 5 Unused Serialized files (Serialized files now loaded: 178)
System memory in use before: 200.2 MB.
System memory in use after: 200.5 MB.

Unloading 133 unused Assets to reduce memory usage. Loaded Objects now: 4301.
Total: 32.191300 ms (FindLiveObjects: 0.420600 ms CreateObjectMapping: 0.147900 ms MarkObjects: 31.547000 ms  DeleteObjects: 0.075200 ms)

Total 5 local mods found.
Start loading mod punkc生活质量mod for frontend ...
 - Loading plugin from Frontend.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/The Scroll of Taiwu_Data/Mono/data-0000024E7E9DBDF0.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/The Scroll of Taiwu_Data/Mono/data-0000024E13024170.dll
Start loading mod 快速战斗 for frontend ...
 - Loading plugin from QuickFightForeEnd.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/The Scroll of Taiwu_Data/Mono/data-0000024E1274DA50.dll
Start loading mod ~更多信息 v0.8~ for frontend ...
 - Loading plugin from MynahBaseModBase.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/The Scroll of Taiwu_Data/Mono/data-0000024E2282CDE0.dll
 - Loading plugin from MynahBaseModFrontend.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/The Scroll of Taiwu_Data/Mono/data-0000024E10F288A0.dll
 - Loading plugin from MynahMoreInfo.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/The Scroll of Taiwu_Data/Mono/data-0000024E775E8950.dll
ShowSpecialEffect all patched
Start loading mod 洞察 for frontend ...
 - Loading plugin from EffectInfoFrontend.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/The Scroll of Taiwu_Data/Mono/data-0000024E12DFC030.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/The Scroll Of Taiwu/The Scroll of Taiwu_Data/Mono/data-0000024E779D1F30.dll
Total 4 mods loaded into the game.
ReadInterProcessMessages thread started.
WriteInterProcessMessages thread started.
Outgoing message: Initialize
Incoming message: GameModuleInitialized
Total 5 local mods found.
Start unloading mod 洞察 for frontend ...
 - Unloading plugin EffectInfo
Start unloading mod ~更多信息 v0.8~ for frontend ...
 - Unloading plugin MynahMoreInfo
 - Unloading plugin MynahBaseModFrontend
 - Unloading plugin MynahBaseModBase
Start unloading mod 快速战斗 for frontend ...
 - Unloading plugin 快速战斗
Start unloading mod punkc生活质量mod for frontend ...
 - Unloading plugin QualityOfLife
Start loading mod punkc生活质量mod for frontend ...
 - Loading plugin from Frontend.dll
Start loading mod 洞察 for frontend ...
 - Loading plugin from EffectInfoFrontend.dll
Total 2 mods loaded into the game.
Outgoing message: Initialize
Incoming message: GameModuleInitialized
Unloading 1 Unused Serialized files (Serialized files now loaded: 188)
System memory in use before: 0.57 GB.
System memory in use after: 0.59 GB.

Unloading 153664 unused Assets to reduce memory usage. Loaded Objects now: 171687.
Total: 260.109700 ms (FindLiveObjects: 12.291700 ms CreateObjectMapping: 7.345200 ms MarkObjects: 197.619800 ms  DeleteObjects: 42.852100 ms)

MainStoryLine progress notified:from 0 to 22
太吾ID：5515
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
BasicGameData:UpdateTaiwuDomainData(DataUid, Int32, RawDataPool)
BasicGameData:OnNotifyGameData(List`1)
GameData.GameDataBridge.GameDataBridge:ProcessNotifications()
GameData.GameDataBridge.UnityAdapter.GameDataBridgeUnityAdapter:Update()

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)

同道隐藏状态：False
Incoming message: ErrorMessages
Incoming message: Disconnect
ReadInterProcessMessages thread is about to exit.
Outgoing message: Disconnect
WriteInterProcessMessages thread is about to exit.
2022-10-05 18:59:52.4383|ERROR|Main|GameData.Program|System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.MissingMethodException: Method not found: 'Int16 GameData.Domains.Character.AvatarSystem.AvatarData.GetCharm(Int16, Byte)'.
   at EffectInfo.EffectInfoBackend.GetAttractionInfo(CharacterDomain __instance, Character character)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at EffectInfo.EffectInfoBackend.GetCharacterDisplayDataPrePatch(CharacterDomain __instance, List`1 charIdList)
   at DMD<GameData.Domains.Character.CharacterDomain::GetCharacterDisplayDataList>(CharacterDomain this, List`1 charIdList)
   at GameData.Domains.Character.CharacterDomain.CallMethod(Operation operation, RawDataPool argDataPool, RawDataPool returnDataPool, DataContext context)
   at GameData.GameDataBridge.GameDataBridge.ProcessMethodCall(Operation operation, RawDataPool argDataPool, DataContext context)
   at GameData.GameDataBridge.GameDataBridge.ProcessOperations(DataContext context)
   at GameData.GameDataBridge.GameDataBridge.RunMainLoop()
   at GameData.Program.Main(String[] args)
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
GameData.GameDataBridge.GameDataBridge:CheckErrorMessages()
GameData.GameDataBridge.UnityAdapter.GameDataBridgeUnityAdapter:Update()

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)

刚看到……
没想到会有人提issue,这个已经修了


mitmproxy crashes when entering regex escape character in half-open string

Problem Description
When adding a regex to the replacements option in interactive mode mitmproxy crashes when entering a leading " which is not yet closed followed by an escape character.
Steps to reproduce the behavior:

Start mitmproxy
Type : set replacements "/abc
Now upon entering an escape character \ mitmproxy crashes

It is working if you preemptively close the quotation marks, i.e. : set replacements "" and then continue entering your pattern within.
System Information
Crash Dump:
Traceback (most recent call last):
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/mitmproxy/master.py", line 86, in run_loop
    loop()
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/urwid/main_loop.py", line 286, in run
    self._run()
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/urwid/main_loop.py", line 384, in _run
    self.event_loop.run()
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/urwid/main_loop.py", line 1484, in run
    reraise(*exc_info)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/urwid/compat.py", line 58, in reraise
    raise value
  File "/usr/lib/python3.6/asyncio/events.py", line 145, in _run
    self._callback(*self._args)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/urwid/raw_display.py", line 404, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/urwid/raw_display.py", line 502, in parse_input
    callback(processed, processed_codes)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/urwid/main_loop.py", line 411, in _update
    self.process_input(keys)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/urwid/main_loop.py", line 511, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/mitmproxy/tools/console/window.py", line 310, in keypress
    k = super().keypress(size, k)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/urwid/container.py", line 1119, in keypress
    return self.footer.keypress((maxcol,),key)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/mitmproxy/tools/console/statusbar.py", line 201, in keypress
    return self.ab.keypress(*args, **kwargs)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/mitmproxy/tools/console/statusbar.py", line 152, in keypress
    self._w.keypress(size, k)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/mitmproxy/tools/console/commander/commander.py", line 234, in keypress
    self.update()
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/mitmproxy/tools/console/commander/commander.py", line 237, in update
    self._w.set_text([self.leader, self.cbuf.render()])
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/mitmproxy/tools/console/commander/commander.py", line 74, in render
    parts, remaining = self.master.commands.parse_partial(self.text)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/mitmproxy/command.py", line 176, in parse_partial
    parts: typing.List[str] = command_lexer.expr.parseString(cmdstr, parseAll=True)
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/pyparsing.py", line 1955, in parseString
    raise exc
  File "/home/milk/.local/pipx/venvs/mitmproxy/lib/python3.6/site-packages/pyparsing.py", line 3814, in parseImpl
    raise ParseException(instring, loc, self.errmsg, self)
pyparsing.ParseException: Expected end of text, found '"'  (at char 17), (line:1, col:18)

mitmproxy has crashed!
Please lodge a bug report at:
        https://github.com/mitmproxy/mitmproxy

Version:
Mitmproxy: 5.0.1
Python:    3.6.9
OpenSSL:   OpenSSL 1.1.0j  20 Nov 2018
Platform:  Linux-5.3.0-46-generic-x86_64-with-Ubuntu-18.04-bionic

Hi. I've confirmed I can recreate with mitmproxy 5.0.1 (changeset 2204ee2d55843eff0857e16127a0e07477318df6) on Ubuntu 18.04 based container. i cannot recreate with latest master (changeset 3372b77e93c7adf98f6d067bf7bb01ded42054c0).


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 10:42:29 on 2023.04.13
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 7, errors out: 0
Original problem ID: 16146
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=16146

Problem has been resolved in 21m 0s at 11:03:29 on 2023.04.13
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 16146


[MemoryPlanner] Basic memory planner with unittests

Add support for a basic memory planner along with its unittests:

This patch adds support for the basic memory planner.
The basic memory planner does not provide any memory sharing, and
results in all tensors being allocated in separate memories.
This forms the baseline for memory allocation.
Other memory planners will be enhancement over this.
This patch adds unittests for the memory planner.
The unittests covers some of the extreme scenarios for memory planning
and ensures that the constraints are satisfied.
Note that these tests do not test the efficient of the planning but the
validity of the planned layout.
Corresponding bug fixes are also added.

See Also #1127
Signed-off-by: Parichay Kapoor<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1477. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

I wonder if there is also kind of property for memory planner in network model. If it is not, I recommend to provide such property so that user can set it his own responsibility and preferance.

I wonder if there is also kind of property for memory planner in network model. If it is not, I recommend to provide such property so that user can set it his own responsibility and preferance.

The current plan is to have multiple planners available, and the manager will choose the planner with the max efficiency (note: memory pool returns the efficiency of the planner).
The user will provide option to enable memory optimization and the best optimization will be selected automatically.
As choosing the best planner can consume some time and cost, the best planner for a model (and maybe its layout) can be saved with the model itself.


TeamsGuestMessagingConfiguration

Pull Request (PR) description
New Resource TeamsGuestMessagingConfiguration
This Pull Request (PR) fixes the following issues
N/A

This change is

Codecov Report

:exclamation: No coverage uploaded for pull request base (Dev@47368f7). Click here to learn what that means.
The diff coverage is 98.18%.

@@          Coverage Diff           @@
##             Dev     #317   +/-   ##
======================================
  Coverage       ?   90.15%
======================================
  Files          ?       73
  Lines          ?     7397
  Branches       ?       11
======================================
  Hits           ?     6669
  Misses         ?      717
  Partials       ?       11

Impacted Files
Coverage Δ

...uration/MSFT_TeamsGuestMessagingConfiguration.psm1
98.18% <98.18%> (ø)

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 47368f7...e081350. Read the comment docs.

@ykuijs for your review

@ykuijs ready for second review


[tracking issue] Refactor docbook

A tracking issue for migrating Docbook to by-name.

[ ] https://github.com/NixOS/nixpkgs/pull/351039
[ ] https://github.com/NixOS/nixpkgs/pull/350585
[ ] https://github.com/NixOS/nixpkgs/pull/351036
[ ] https://github.com/NixOS/nixpkgs/pull/351038

Closing in favor of  https://github.com/NixOS/nixpkgs/pull/351706


PR: Add possibility to specify a port for Postgres

Pull Request Test Coverage Report for Build 838989934

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 835836124:
0.0%

Covered Lines:
1700

Relevant Lines:
1700

💛  - Coveralls


Implemented door & open door when the waves finish

The change to the level1 scene is to add the obstacle and the GO reference to the script

Task linked: CU-nbb6pp Add doors logic control


MINOR: Rename property variables to match config

ThrottledLeaderReplicationRate* => LeaderReplicationThrottledRate*
ThrottledFollowerReplicationRate* => FollowerReplicationThrottledRate* LeaderThrottledReplicasList* => LeaderReplicationThrottledReplicas*
FollowerThrottledReplicasList* => FollowerReplicationThrottledReplicas*

Tests passed locally, merged to 0.10.1 and trunk branches.


[Frontend] Rep showoff bar

Describe the bug

shouldn't show rep showoff bar if the user has no positive rep
handle not showing now

Expected behavior

hide the rep bar if user has no rep
black handle with lightening on it

solved in #145


Publishing & aliasing multiple functions

It's a pain to :publish & :alias lot of functions (same for all of them, like build-XX where XX is Travis build number for example) without additional scripting. Is anyone working on this? If not, I need it and I would like to help with this feature if you're interested.

I'm not working on it - one thing I was going to work on was the ability to update an existing alias (like :alias xxx :update).  I explicitly disabled multi-function publish/alias, but I agree it wasn't the best idea - feel free to knock it out.

Great, I'll do it next week after our internal release.


Add install instructions for scoop emacs

I noticed the conversation in Discord. Updated docs for installing emacs via Scoop.
Emacs is in the 'extras' repo/bucket because Scoop only keeps CLI tools in the 'main' bucket.
https://github.com/lukesampson/scoop/wiki/Criteria-for-including-apps-in-the-main-bucket
https://github.com/lukesampson/scoop-extras/blob/master/bucket/emacs.json

Good to know. Thanks for the correction!


Submit page: pre-fill workflow labels with random phrases?

from @codebeaker study
She suggested pre-populating the 2 workflow label (or maybe just 1?) fields with random words
Sean suggested ids::adjective_animal , probably this variant ids::adjective_animal(style = "Pascal") which gives a single string without spaces, which is ideal I think, but easier to read as each word is capitalized, e.g.,
 replicate(10, ids::adjective_animal(style = "Pascal"))
 [1] "EonianNorwayrat"                "VolcanologicalHousefly"
 [3] "FungousAsiandamselfly"          "UnafraidBinturong"
 [5] "PostwarBergerpicard"            "PostdentalGermanspitz"
 [7] "DuckieGermanshorthairedpointer" "SubglacialHummingbird"
 [9] "SubtleAfricanwildcat"           "AbovegroundAmericancrayfish"

work in e1bce98

done, on dev branch now


Support interactive commands

Short description of the problem this fixes or functionality that this introduces. This may be used for the CHANGELOG
This is a proposal for how to partially solve https://github.com/All-Hands-AI/OpenHands/issues/3030

Give a summary of what the PR does, explaining any non-trivial design decisions

Give pexpect a much shorter timeout for agent-run commands (e.g. 5s)
If we hit the timeout, report partial STDOUT to the agent, with exit_code=-1
Tell the agent it that if this happens, it needs to send input to STDIN, or ctrl+c

Link of any specific issues this addresses
Fixes: https://github.com/All-Hands-AI/OpenHands/issues/3030
Fixes: https://github.com/All-Hands-AI/OpenHands/issues/892

@rbren integration tests, at least the test_ipython ones, should work again once #3776 has been merged.

integration tests fixed
removed duplicate exception logging from execute_action


Update the 'long running cluster' tests

Use v2, add more cases and a parmanent load.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: costinm
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/OWNERS [costinm]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@costinm: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
03723e5ff8d0b2c4b075e7306bb869b4649830f0
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
03723e5ff8d0b2c4b075e7306bb869b4649830f0
link
/test istio-unit-tests

prow/istio-presubmit.sh
03723e5ff8d0b2c4b075e7306bb869b4649830f0
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Revert "Document maximum close reason length"

Reverts square/okhttp#5913

Why?

Reopen with discussion, I can't see any reason apart from this being accidental.


Added CCC video to getting started page

Hi all,
Added the Cost of Capitol Calculator youtube video to the Getting Started page.  Separated the videos with a bottom margin. Please let me know if you have any questions!
Thanks,
Jessica

@jessmc This looks great, but there are two things that need to be changed:

The "Cost of Capital" header is missing above the Cost of Capital video.

You added a migrations file.  While that should be added, I think we should do it in a separate PR.

cc @MattHJensen

Hi @hdoupe ,
I have added the title "Cost of Capital Calculator" and removed that migrations file. Thanks for your help!

Looks great. Thanks @jessmc


Normalize YAML in Travis config

Ouch. Ignore this for a sec.

I don't understand what went wrong here :/

Well that's intresting. Curent master still builds fine. Rebuilding this PR still fails. Somehow this change causes CIM/Travis to work differently (and badly).

sbcl32 and ccl32 failed with the error:
E: Unable to locate package libc6
https://travis-ci.org/exercism/xlisp/jobs/95295340#L297-L299
https://travis-ci.org/exercism/xlisp/jobs/95295342#L297-L299
The installs for clisp and clisp32 aborted:
Do you want to continue? [Y/n] Abort.
https://travis-ci.org/exercism/xlisp/jobs/95295344#L306
https://travis-ci.org/exercism/xlisp/jobs/95295345#L300
There's a message at the top of each build job stating:
This job ran on our new platform for Legacy Precise builds. Please read our blog post for more information.
https://blog.travis-ci.com/2015-11-27-moving-to-a-more-elastic-future
That likely broke the builds.
It's interesting that the build dist is precise, but it actually seems to be using trusty:
https://travis-ci.org/exercism/xlisp/jobs/95295340#L8-L15
Anyway, adding the -y flag to the apt-get commands in https://github.com/luismbo/cl-travis/blob/master/install.sh should resolve the clisp issues... and might resolve the sbcl32 and ccl32 issues.

Ah, right. They must have changed that very recently! I'll try switching to the containerized build in a branch to see if that works.

Well, I feel a bit embarrassed. Apparently the only thing wrong is that we needed to normalize the rest of travis.yml: https://github.com/wobh/xlisp/tree/xlisp-91-normalize-YAML-in-Travis-config


Excess old spec computer

[ ] upload data from old spec computer to google drive
[ ] Excess old spec computer

done


Adding OpaqueCOM structs

Summary of the PR
This PR will include the following:
-Opaque COM struct mod

Modifies COM interface structs to act as ComPtrs behind the scenes

To be redone with new roslyn


pythonPackages.fastcache: init at 1.0.2

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Attempted: python2Packages.fastcache, python3Packages.fastcache
Partial log (click to expand)
test_lru_with_maxsize_none (fastcache.tests.test_functools.TestLRU) ... ok
test_lru_with_types (fastcache.tests.test_functools.TestLRU) ... ok
test_need_for_rlock (fastcache.tests.test_functools.TestLRU) ... ok

----------------------------------------------------------------------
Ran 9 tests in 48.242s

OK
/nix/store/j9zm00dka6x858bxdksqz1j56k5klvka-python2.7-fastcache-1.0.2
/nix/store/gb314saypk40708d9cmpsngd8j7az83a-python3.6-fastcache-1.0.2

Success on x86_64-linux (full log)
Attempted: python2Packages.fastcache, python3Packages.fastcache
Partial log (click to expand)
test_lru_with_maxsize_none (fastcache.tests.test_functools.TestLRU) ... ok
test_lru_with_types (fastcache.tests.test_functools.TestLRU) ... ok
test_need_for_rlock (fastcache.tests.test_functools.TestLRU) ... ok

----------------------------------------------------------------------
Ran 9 tests in 6.710s

OK
/nix/store/jln6lcajvqn0s2ksdwjsg491y0z1mblh-python2.7-fastcache-1.0.2
/nix/store/7b7zbc3yxxkmrpdaxnky4zbays2cx3pi-python3.6-fastcache-1.0.2

Retriggering eval due to master failure
@GrahamcOfBorg eval


King's movement - castling

The castling is rather a complex topic, therefore I introduce a separate sub-issue of #65
(0) This is a move of the king and either rook of the same colour along the player’s first rank, counting as a single move of the king and executed as follows: the king is transferred from its original square two squares towards the rook on its original square, then that rook is transferred to the square the king has just crossed.
(1) The right to castle has been lost:
if the king has already moved, or
with a rook that has already moved.
(2) Castling is prevented temporarily:
if the square on which the king stands, or the square which it must cross, or the square which it is to occupy, is attacked by one or more of the opponent's pieces, or
if there is any piece between the king and the rook with which castling is to be effected.

#91 reference added


(Hopefully) Complete PWA support (fixes #769, #771)

Building off work done earlier by @morigs and @JLHwung, this PR includes:

mobile icons
offline first, with a service worker that caches all pages and internal/CDN resources
new menu page, for quick access to resources on mobile

@morigs and @JLHwung, I'd love a review to confirm that this looks good to you.

👍 Looks good to me.
By the way, I found some compatibility issues between hexo-offline (https://github.com/JLHwung/hexo-offline/issues/21) and hexo 3.3. I would investigate later and likely do a fix release in couple days.
It is not a big deal as this project is fixing hexo version to 3.2. The hexo-offline 0.2.2 works well with hexo 3.2.
Thank you @morigs @chrisvfritz for your great effort on PWA support.

@JLHwung Thanks for the review and the warning. We'd like to get back to latest eventually, but 3.2 is the last version that doesn't seem to produce an error for anyone in the community.


Actual Meter Reads?

I’m not sure if I’m missing this or not, but i would love to see an actual meter reading. - is that a possibility, or does it already happen and I’ve missed it?
Thank you.

Agree - reads would be a great idea for self-checking.

Understood - thanks for the info.


Move freeing of an old record layer to dtls1_clear_sent_buffer

When we are clearing the sent messages queue we should ensure we free any
old write record layers that are no longer in use. Previously this logic
was in dtls1_hm_fragment_free() - but this can end up freeing the current
record layer under certain error conditions.
Fixes https://github.com/openssl/openssl/issues/22664
We also fix an issue during allocation of a new hm_fragment to ensure the data is initialised (commit from @nhorman originall in PR #22677)

#22681 for a very similar patch for 3.1/3.0

Just pushed a trivial fixup to address the alignment issue. I will assume that all approvals still hold.

Another fixup pushed as a result of the issue identified in #22681. I think a similar issue is possible here - hence the fixup.
@t8m, @t-j-h - please reconfirm

CI failure is unrelated:
1 Added function symbol not referenced by debug info:

  [A] EVP_DigestSqueeze@@OPENSSL_3.2.0

@slontis

CI failure is unrelated:

Ah this is #22688

Ping @t-j-h for reconfirmation after the fixups. Or anybody else please provide the second review.

Still needs a second approval or reconfirmation from @t-j-h.

Ping for second approval @openssl/committers!

This pull request is ready to merge


Using wrong python

On pip-compile-multi==2.2.2 when I run pip-compile-multi I get this error. The issue does not seem to be present on 2.2.1
I believe the issue is in part that /usr/bin/python points to python2.7 whereas pip-compille-multi is installed for python3.6. If I change the symlink for /usr/bin/python to python3.6 the issue goes away.
Exit code: 1

/usr/bin/python: No module named piptools

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pipcompilemulti/cli_v1.py", line 26, in cli
    recompile()
  File "/usr/local/lib/python3.6/dist-packages/pipcompilemulti/actions.py", line 30, in recompile
    compile_topologically(env_confs, deduplicator)
  File "/usr/local/lib/python3.6/dist-packages/pipcompilemulti/actions.py", line 39, in compile_topologically
    if env.maybe_create_lockfile():
  File "/usr/local/lib/python3.6/dist-packages/pipcompilemulti/environment.py", line 50, in maybe_create_lockfile
    self.create_lockfile()
  File "/usr/local/lib/python3.6/dist-packages/pipcompilemulti/environment.py", line 81, in create_lockfile
    raise RuntimeError("Failed to pip-compile {0}".format(self.infile))

Interesting, I changed it to use python -m piptools compile exactly to make it more robust to environment setup.
Are you using virtualenv? Looks like you install pip-compile-multi system-wide. Is it inside of Docker?

Please upgrade to 2.3.1

It is inside a docker. I will try 2.3.1 and see if the error persists.


hspec 2.3.2

Also blocked by #1902
hspec-2.3.2 (Simon Hengel<EMAIL_ADDRESS>@sol) is out of bounds for:

[ ] clay-0.11 (>=2.2.0 && < 2.3). Sebastiaan Visser<EMAIL_ADDRESS>@sebastiaanvisser. @sebastiaanvisser
[ ] drawille-<IP_ADDRESS> (>=1.11 && < 2.3). Pedro Tacla Yamada<EMAIL_ADDRESS>@yamadapc. @yamadapc
[ ] fgl-<IP_ADDRESS> (>=2.1 && < 2.3). Ivan Miljenovic<EMAIL_ADDRESS>@ivan-m. @haskell
[ ] fgl-arbitrary-<IP_ADDRESS> (>=2.1 && < 2.3). Ivan Miljenovic<EMAIL_ADDRESS>@ivan-m. @haskell
[ ] hackernews-<IP_ADDRESS> (==2.2.*). David Johnson<EMAIL_ADDRESS>@dmjio. @dmjio
[ ] hjsonpointer-<IP_ADDRESS> (==2.2.*). Ian Grant Jeffries<EMAIL_ADDRESS>@seagreen. @seagreen
[ ] hjsonschema-<IP_ADDRESS> (==2.2.*). Ian Grant Jeffries<EMAIL_ADDRESS>@seagreen. @seagreen
[ ] hpio-<IP_ADDRESS> (>=2.1.7 && < 2.3). Drew Hess<EMAIL_ADDRESS>@dhess. @dhess
[ ] map-syntax-<IP_ADDRESS> (>=2.2.3 && < 2.3). No maintainer. @mightybyte
[ ] multistate-<IP_ADDRESS> (< 2.3). Lennart Spitzner<EMAIL_ADDRESS>@lspitzner. @lspitzner
[ ] newtype-generics-0.4.1 (>=2.1 && < 2.3). No maintainer. @jcristovao
[ ] next-ref-<IP_ADDRESS> (>=2 && < 2.3). Jonathan Fischoff<EMAIL_ADDRESS>@skedgeme
[ ] point-octree-<IP_ADDRESS> (==2.2.3). Michael Litchard<EMAIL_ADDRESS>@mlitchard. @mgajda @mlitchard
[ ] tasty-hspec-1.1.3 (>=2 && < 2.3). Mitchell Rosen<EMAIL_ADDRESS>@mitchellwrosen. @mitchellwrosen
[ ] web-routes-th-0.22.5 (==2.2.*). Jeremy Shaw<EMAIL_ADDRESS>@stepcut. @stepcut

FYI:
[~] hackage-diff --mode=parsehs hspec ./hspec-2.2.4 ./hspec-2.3.2
Processing ./hspec-2.2.4...
  Parsing Test.Hspec
  Parsing Test.Hspec.Core
  Parsing Test.Hspec.Discover
  Parsing Test.Hspec.Formatters
  Parsing Test.Hspec.HUnit
  Parsing Test.Hspec.QuickCheck
  Parsing Test.Hspec.Runner
Processing ./hspec-2.3.2...
  Parsing Test.Hspec
  Parsing Test.Hspec.Core
  Parsing Test.Hspec.Discover
  Parsing Test.Hspec.Formatters
  Parsing Test.Hspec.HUnit
  Parsing Test.Hspec.QuickCheck
  Parsing Test.Hspec.Runner

--- Diff for | ./hspec-2.2.4 → ./hspec-2.3.2 | ---

· Test.Hspec
· Test.Hspec.Core
· Test.Hspec.Discover
· Test.Hspec.Formatters
· Test.Hspec.HUnit
· Test.Hspec.QuickCheck
· Test.Hspec.Runner

[+ Added] [- Removed] [× Modified] [· Unmodified]

But... no diff between 2.2.4 and 2.3.2? I wonder if hackage-diff is wrong?

updated metadata for tasty-hspec-1.1.3

updated metadata for multistate-<IP_ADDRESS>

The diff between 2.3.2 and 2.2.4 can be seen here http://hdiff.luite.com/cgit/hspec/diff?id=2.3.2&id2=2.2.4

I've released newtype-generics 0.4.2 & 0.5, both with updated dependencies (which I hope are ok!)

FIxed in hpio-<IP_ADDRESS>.

fgl and fgl-arbitrary now work with hspec-2.3.*, but no release have been made as yet (as I'd like to merge some more changes in first).

Stackage nightly builds will soon move to hspec-2.3.2.
The following test suites will be skipped until they are updated to hspec-2.3.*:
hspec-2.3.2 (Simon Hengel<EMAIL_ADDRESS>@sol) is out of bounds for:

avers-<IP_ADDRESS> (>=2.2.3 && < 2.3). Tomas Carnecky @wereHamster. @wereHamster. Used by: test-suite
clay-0.12 (>=2.2.0 && < 2.3). Sebastiaan Visser<EMAIL_ADDRESS>@sebastiaanvisser. @sebastiaanvisser. Used by: test-suite
drawille-<IP_ADDRESS> (>=1.11 && < 2.3). Pedro Tacla Yamada<EMAIL_ADDRESS>@yamadapc. @yamadapc. Used by: test-suite
fgl-<IP_ADDRESS> (>=2.1 && < 2.3). Ivan Miljenovic<EMAIL_ADDRESS>@ivan-m. @haskell. Used by: test-suite
fgl-arbitrary-<IP_ADDRESS> (>=2.1 && < 2.3). Ivan Miljenovic<EMAIL_ADDRESS>@ivan-m. @haskell. Used by: test-suite
next-ref-<IP_ADDRESS> (>=2 && < 2.3). Jonathan Fischoff<EMAIL_ADDRESS>@skedgeme. Used by: test-suite

Would it be possible to notify me sooner that there is a compatibility problem with one of my packages? This issue has been open for more than a month, but you only notified me yesterday that you're going to disable the tests. And just four hours later you actually did the commit. That's not enough time for me to react.

Sorry about that, @wereHamster. It's a rare circumstance when a package doesn't get the original notification, and I neglected to notice that such was the case here.

We have #1104 filed for this, but I don't think it has gotten further than the wishing stage yet.


Regular file verification - index out of bounds error

When file's size attribute is smaller than 50 bytes and the file contents are different, the verification method crashes with "index out of bounds" error.

Caused by a piece of code assuming minimum regular file size for test.
Fixed by 0d7e325b89db9d3f9a7f3bcfeef3d1db5e1c9b23


The div of the class 'tns-controls' makes the previous and next buttons less flexible

Issue description:
The previous and next buttons should be more flexible for CSS manipulation, this would be solved if these buttons were outside the div of the class 'tns-controls'
Tiny-slider version:   v2.6.0
Browser name && version:  All
OS name && version:   All

Hey, you could use controlsContainer to customize the prev/next buttons.

Thank you very much, I did not see that option, with the creation of the nodes it is resolved :)


return NaN solution on solver error

I think this is preferable to returning a vector of length 0 for getsolutuion in the :Error case, which can cause JuMP to crash.

Thanks!


prevent users from updating unrelated database fields, e.g. unbanning…

… themselves
apply same channel sanitization as for non-registered users

Landed as https://github.com/ILiedAboutCake/Rustla2/commit/d557e0144b7c75662de4e68a2297ccf4236ea0c3 and https://github.com/ILiedAboutCake/Rustla2/commit/bcd6af6212d4953a73bdae2ea0f28e410c693ea2.


Scroll doesn't work in Dialog

When there are enough items to overflow the container's height, scrolling doesn't work in a Dialog.

Scrolling does work if you're using the component in the document, outside of a dialog

There's a modalPopover prop that you can set to true to enable it to work. Not sure if that is its intended use, but nothing breaks and the scroll works. :)

There's a modalPopover prop that you can set to true to enable it to work. Not sure if that is its intended use, but nothing breaks and the scroll works. :)

Awesome, that works perfectly, thanks!
I think it may actually be the intended use to make it work in dialogs.


table view unhappy with updating offscreen cells

FetchControllerDelegate - didChangeObject - onUpdate calls in case .Update/.Move
"fatal error: unexpectedly found nil while unwrapping an Optional value"
Steps to reproduce:

create enough cells to extend past the bottom of the screen
crash on app restart (seems tableView.cellForRowAtIndexPath is returning nil)

Just fixed. Thanks for pointing the issue out!


Rename packages and repository

Closes #113.

We'll also need to rename the repository, someone with more permissions than me will need to do that :)
Also can't forget to edit the repo description.


Identify what versions of Jackson work with out current implementations and if any changes can be made to support more versions

Jackson 2.1.x through to the latest version of 2.13.4 all passed unit tests without any condition logic regarding the version.
2.0.x failed with a NoSuchMethodException as it couldn't find the createGenerator from the JsonFactory class reflectively.
JacksonJsonWriter test results are attached.
JacksonJsonWriter test results.docx

For JacksonReader. The current implementation works for 2.8.0 onwards.
2.7.9 throws a NoSuchMethodException - the method CurrentToken does not exist.
I tested back to 2.6.7
2.6.7 - 2.7.9 all throw the error above.
2.3.1 also throws the same error.
I've attached the results below
JacksonJsonReader test results.docx

It looks like it is just a naming change.
CurrentToken is GetCurrentToken in 2.7
https://github.com/FasterXML/jackson-core/blob/6ea4f42550a1f19f4ded2629a909747cb90423c0/src/main/java/com/fasterxml/jackson/core/JsonParser.java#L840
https://github.com/FasterXML/jackson-core/blob/b8563da2b5d4259379b957cda7544da968be84db/src/main/java/com/fasterxml/jackson/core/JsonParser.java#L767

Currently both JacksonJsonReader and JacksonJsonWriter support Jackson versions 2.9.4 and upwards


Fix test_QUIC unit test builds. (#8678)

The test_QUIC unit tests were failing to build because they didn't link
against a file with the TLSKeyLogger definition. This fixes the
undefined references by breaking out TLSKeyLogger into a separate object
that the unit tests can link with.
(cherry picked from commit 2d70a007933176c80b09ddeaf164206794671442)

[approve ci fedora rocky autest]


Error when running mlp_predict_test.py

Hi @hamuchiwa
I've adapted the project to use RaspberryPi/PCA9685/Websocket instead of RCCar/Arduino/Serial and it's working great. I've just trained the model with mlp_training.py, but when I try mlp_predict_test.py it produces the following error:
...I don't see a reason for the error (same dimension arrays and float numbers...)

$python mlp_predict_test.py
(0, 38400)
(0, 4)
OpenCV Error: Bad argument (Both input and output must be floating-point matrices of the same type and have the same number of rows) in predict, file /tmp/opencv-20170224-1869-10nlf6f/opencv-<IP_ADDRESS>/modules/ml/src/ann_mlp.cpp, line 279
Traceback (most recent call last):
File "mlp_predict_test.py", line 36, in
ret, resp = model.predict(test)
cv2.error: /tmp/opencv-20170224-1869-10nlf6f/opencv-<IP_ADDRESS>/modules/ml/src/ann_mlp.cpp:279: error: (-5) Both input and output must be floating-point matrices of the same type and have the same number of rows in function predict
The training results follow:
$ python mlp_training.py
Loading training data...
['train_labels', 'train']
(26, 38400)
(26, 4)
(26, 38400)
(26, 4)
Loading image duration: 0.034844063
Training MLP ...
Training duration: 28.552917344
Ran for 249 iterations
Prediction: [2 2 2 0 0 0 0 0 2 0 0 2 0 2 1 2 2 2 2 2 2 2 2 2 2 2]
True labels: [2 0 2 0 0 0 0 2 2 0 0 2 0 2 0 2 2 2 2 2 2 2 2 2 2 2]
Testing...
Train rate: 88.461538:

Had left directory testing_data empty... Sorry :)


Reporting Services mobile report samples

Step #2 says "Tap Reporting Services samples". However, this option does not appear to be available in the current version of the Android app. Can you please investigate?

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

ID: 1f16a650-3781-bafb-88da-25ee12d688a1
Version Independent ID: 4fc5c657-cbae-d49c-ce67-e8ae8b503164
Content: Get started with the Power BI mobile app on Android devices - Power BI
Content Source: powerbi-docs/consumer/mobile/mobile-android-app-get-started.md
Service: powerbi
GitHub Login: @mshenhav
Microsoft Alias: mshenhav

Thanks for your comment, @vitaly-livshits. We’ve forwarded your feedback to the writer, who should respond to this thread.

We are looking into this. Thank  you your report.

Thanks for reporting this, @vitaly-livshits! We've fixed the app as a result of your report.


Options not applied to profile

Describe the bug
The options StripHTML and ConvertToMarkdown, with a different value than for the default profile, are not applied correctly.
To Reproduce

Expected behavior
I'm expecting the messages not to be transformed to markdown in this profile/channel, but they are.
Release version
Using the latest docker image
Architecture
Linux, using the docker image virtomize/mail2most:latest

thanks @Philmod for opening your issue I'll take a look at this.

Hey @c-seeger, any update on this issue?


Relax pgrx requirements

As discussed in https://github.com/pksunkara/pgx_ulid/pull/34#issuecomment-2119023072

Can you please test this locally? Something seems to be failing.

Please rebase on master.

done


Actual Variance Not Saved, Showing as 0 During Re-Count of Rejected Inventory Items

Current behavior
The variance shows as 0 during the re-count of the rejected inventory items.
Expected behavior
The actual variance should be saved correctly and reflect the accurate count difference for the item, not 0.
Steps to reproduce the issue
Open the inventory count app and navigate to store view screens.
Navigate to the assigned section of selected facility and open a count in which rejected item is present.
Select the rejected item and perform a re-count for the rejected item.
Observe that the actual variance is not saved and appears as 0.
Environment details
App version : INVENTORY-COUNT-2.0-E02AD11
App environment : DEV
Additional information
https://jam.dev/c/bf81b27e-1239-4a69-b280-afba766dad9b

Verified and working fine in DEV environment of App. This issue got fixed in impact of https://github.com/hotwax/inventory-count/issues/421 issue fix.
Hence, closing this ticket.


[BUG] Non-working checkbox when updating compute offering access

Describe the bug
When updating compute offering access, there is a 'Public' checkbox that doesn't change anything in Primate UI. It doesn't even load the current state of the parameter - just always opens as 'disabled'.
To Reproduce
Steps to reproduce the behavior:

Go to 'Offerings > Compute offerings', click on an offering.
Now click on the 'Update offering access' icon and look at the 'Public' checkbox - it is always unchecked, even if you have checked it in the old UI. It doesn't change anything either.

Expected behavior
The 'Public' checkbox should work as in the old UI.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 18.04 LTS
Browser: Chrome
Version: 81.0.4044.92 (Official Build) (64-bit)

Additional context
None.

ping @shwstppr

@vladimirpetrov please test against latest master and close.

Fix confirmed, closing the bug.


How do I initialize a user?

I've tried multiple different things, like:
	$user = new User($client, $data['user']);
but I can't get them to work.
EDIT: the error I receive:
Slack\ClientObject::__construct() must be of the type array, string given

How do you mean, initialize user? The constructor for most of the data classes like User aren't meant to be used directly. For example, if you want to get an existing user with the username slackbot, you could do something like this:
$client->getUserByName("slackbot")->then(function (User $user) {
    // do something with $user
});

@coderstephen what about a lookup from ID?

By ID is quite similar:
$client->getUserById("U1234567890")->then(function (User $user) {
    // do something with $user
});

See the API documentation for more available methods. The ApiClient class is the most interesting one.


"Unsafe App Blocked" dialog from Google Play Protect during installation.

Hi, this dialog is shown everytime you install or update MicroG. I just click on "Install anyway".

Can you make some changes in the app so that this does not show during installing/updating?
This dialog doesn't show during installation of other MicroGs.
Thanks!

It's because of the target SDK level, just ignore it.
I currently don't plan on touching this because of multiple changes needed, and it's somewhat redundant.


Keyword limitations are not apparent

There is no information in cargo's manifest information about the limitations on keywords.
I tried to add keyword "object distribution" and "blue noise" to my crate and when I tried to publish it, it complained:
api errors: invalid upload request: ApplicationError("invalid keyword specified: object distribution")

With no information what was wrong (though I was able to guess that it was the space in the keyword).
There seems to be #1736 that touches on the problem, but from different angle.
There should be clearer indication on what is and what is not valid for Cargo.toml to contain.
And the limitation of not having space on keyword seems overly restrictive: While using separate tags for "object" and "distribution" seem fine, using separate tags for "blue" and "noise" seems silly and bad.

Similarly, cargo should warn about having too many keywords; crates.io has a maximum of 5.

Triage: This looks like an duplicate of #4300, and #4377 tracks some more validation people are interested in. Closing in favor of those.


close_connection doesn't seem to work

I'm using em-hiredis v0.1.0 with cramp 0.15.1 and after I call close_connection on @pub and @sub the redis server still says says there are two connections.
  def close_redis
    @subscriptions.each do |sub|
      @sub.unsubscribe(sub)
    end

    @pub.close_connection
    @sub.close_connection
  end

Sorry for never replying to this. I suspect that what was happening was that the connection was immediately reconnecting.
Regardless, there is now a close_connection method on Client (version 0.1.1) which cancels the reconnect before closing the underlying connection, so if you're still interested, use that :)

Thanks for the update!


Repository Cleanup

  Please Check The Preview

Add Tag

smartwatch

Choose A License
⤷ https://choosealicense.com/licenses/

Disable Unused Widgets:

Packages

Releases

Disable Unused Tabs:

Projects

Actions

Wiki

Added README stump

Basic code refactoring

Added editorconfig

If you have any questions.

In case you do not agree with some of the changes made in this PR,
please first let me know about them, before disregarding it entirely so
we can possibly find a middle ground and have it not go to waste.

Thank you for cleaning up my repository

Have you considered following the above Repository Suggestions?
The license would be quite important to add~


cannot complete npm install on ubuntu

$ npm install --no-optional                                                                                [17:12:05]
npm ERR! Linux 3.16.0-77-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--no-optional"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code EBADPLATFORM

npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

npm ERR! Please include the following file with any support request:
npm ERR!     /home/wingston/scrap/saleor/npm-debug.log
[npm-debug.txt](https://github.com/mirumee/saleor/files/422645/npm-debug.txt)

Can you try after removing npm-shrinkwrap.json? I think it accidentally includes an OSX-specific package.

Should be fixed now on master and v2016.07 branches.

Thank you. Yes deleting the file fixes the issue.
On Wed, Aug 17, 2016, 5:27 PM Patryk Zawadzki<EMAIL_ADDRESS>wrote:

Closed #545 https://github.com/mirumee/saleor/issues/545.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mirumee/saleor/issues/545#event-758478610, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIj5OyrhZCnIahPTqUqXesJHdRw4Pxnks5qgwwtgaJpZM4JmbqM
.


CLOUDSTACK-8609. [VMware] VM is not accessible after a migration acro…

…ss clusters.
Once a VM is successfully started, don't delete the files associated with the unregistered VM, if the files are in a storage that is being used by the new VM.
Attempt to unregister a VM in another DC, only if there is a host associated with a VM.

Who wants to step in and finish this work? It seems the original author is not able to finish it. If no one steps in, we'll have to close the PR without merging it so please help :-).

Could someone put this PR to test again? If it fails, it could be closed since the author seems to be inactive on github since September of the last year and the PR is very old.
If someone shows up some interest in continuing it, then it could be opened again.
PS: This is just a suggestion.

tag:vmware-pickup

ACS CI BVT Run
Sumarry:
Build Number 137
Hypervisor xenserver
NetworkType Advanced
Passed=73
Failed=0
Skipped=3
Link to logs Folder (search by build_no): https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0
Failed tests:
Skipped tests:
test_vm_nic_adapter_vmxnet3
test_static_role_account_acls
test_deploy_vgpu_enabled_vm
Passed test suits:
test_deploy_vm_with_userdata.py
test_affinity_groups_projects.py
test_portable_publicip.py
test_vpc_vpn.py
test_over_provisioning.py
test_global_settings.py
test_scale_vm.py
test_service_offerings.py
test_routers_iptables_default_policy.py
test_routers.py
test_reset_vm_on_reboot.py
test_snapshots.py
test_deploy_vms_with_varied_deploymentplanners.py
test_login.py
test_list_ids_parameter.py
test_public_ip_range.py
test_multipleips_per_nic.py
test_regions.py
test_affinity_groups.py
test_network_acl.py
test_pvlan.py
test_volumes.py
test_nic.py
test_deploy_vm_root_resize.py
test_resource_detail.py
test_secondary_storage.py
test_vm_life_cycle.py
test_disk_offerings.py

Continued with the code changes here in a new PR #2091.

closing as @sureshanaparti tookk this to #2091


Upgrade tarpaulin for new features

Want to use a less ancient version of tarpaulin and get new features.

[ ] Bump to latest (currently 0.25.0) from our pin at 0.18.5 from Nov 2021
[ ] Find a better GH Action approach (see below for the issues with actions-rs/tarpaulin)
[ ] Try the proc macro coverage so that we can get credit for tests in kube-derive (currently it looks bad but it is tested)
[ ] Do an all-features build in coverage (to ensure numbers are the most accurate and the most tests run)
[ ] Try to include one or two examples if it can be done quickly (like we do for unit tests atm)

A lot of this can be attempted locally by simply running cargo install cargo-tarpaulin then running just coverage inside the root of this repo (with a local k3d / non-important kubernetes cluster at your context).
Some of this has been attempted before. #1143 most recently.  But it's annoying because: a) changes have surprising results, b) iteration cycles are slow, and c) we never got around many of the problems.
Problems encountered

Upgrade from 0.18.5 to two tested versions (0.22 and 0.25 locally) both drops 13% code coverage because it fails to include everything and it seems to fail to exclude tests (ignore_tests = true). This needs to be fixed / worked around.
actions-rs/tarpaulin will be deprecated and is otherwise not well maintained (breaks after 0.22.0 after which their asset resolution fails => we can only bump up to 0.22.0 from Oct 2022 using this action)
Tarpaulin's GHA recommendation is to run their image in docker which seems to clash with the k3d action (a no-go because we rely on integration tests being run with tarpaulin) so we probably need a bin install (there's probably a good example available in GH search)
The runtime-macros lib that can give us macro-expansion coverage had maintenance issues and as a result has an unmergeable fork

It is possible that there is a lot more work to be done upstream before we need to really do anything here - in particular, see the master issue about Misses in coverage. So in the interest of having a place to resume from down the line, I am stashing knowledge here for a potentially ambitious future me, or anyone who wants to play with this.
It's a minor nice-to-have CI issue (tarpaulin and the actions are already great helpers!) and it's not really costing us anything real by lagging behind for another year or three. At least as long as the nodejs 12 deprecation issue on CI from the action becomes breaking.

I'm currently giving this a stab and here's some of the things that I've found so far. 🐱
It looks like ignore-tests is working properly now and is the default behavior. I upgraded the coverage workflow to the new tarpaulin and I'm also getting the 13% difference on my codecov. From a couple side-by-side comparisons with your codecov and mine, I only difference I see is my tests are ignored in the coverage statistic.

drops 13% code coverage because it fails to include everything and it seems to fail to exclude tests (ignore_tests = true).

Do you recall which parts were not included?

Hey thanks! Quick check now with new tarpaulin and i am getting data that excludes the test data, and as a result our coverage drops:
Locally with just coverage with latest tarpaulin installed:
kube		0/0 (100%)
kube-client	1038 / 1850 (56.11%)
kube-core	745 / 1009 (73.84%)
kube-derive	18 / 159 (11.32%)
kube-runtime	595 / 1076 (55.30%)

compared to live
kube		175 / 192 (91.15%)
kube-client	1651 / 2550 (64.75%)
kube-core	1398 / 1670 (83.71%)
kube-derive	68 / 210 (32.38%)
kube-runtime	1455 / 1970 (73.86%)

scanned like 3-4 files and all were due to the live count including the tests and local does not.

Ah, have found a way to make it work locally in an acceptable way by moving the ignore-tests flag from the config to the cli:
diff --git a/justfile b/justfile
index eba15879..a73aa98e 100644
--- a/justfile
+++ b/justfile
@@ -46,7 +46,7 @@ test-integration:
   cargo run -p kube-examples --example crd_api

 coverage:
-  cargo tarpaulin --out=Html --output-dir=.
+  cargo tarpaulin --out=Html --output-dir=. --include-tests
   {{open}} tarpaulin-report.html

 readme:
diff --git a/tarpaulin.toml b/tarpaulin.toml
index 30bf94c4..638c9385 100644
--- a/tarpaulin.toml
+++ b/tarpaulin.toml
@@ -7,16 +7,15 @@

 [one_pass_coverage]
 workspace = true
-features = "kube/derive kube/runtime kube/ws"
+features = "kube/derive kube/runtime kube/ws kube/jsonpatch kube/admission kube/gzip"
 color = "Always"
 ignored = true
 timeout = "600s"
 exclude = ["e2e"]
 # NB: proc macro code is not picked up by tarpaulin - so could maybe skip kube-derive completely
-excluded_files = ["kube-derive/tests"]
+exclude-files = ["kube-derive/tests"]
 # NB: skipping Doctests because they are slow to build and generally marked no_run
 run-types = ["Tests"]
-ignore_tests = true

 # We could potentially pass in examples here
 # but: they don't help in covering kube-derive, and they force a full recompile

(also added some features because all-features
and we get this coverage:
kube	33 / 34 (97.06%)
kube-client	1238 / 2056 (60.21%) (+4.11%)
kube-core	1399 / 1670 (83.77%) (+9.94%)
kube-derive	68 / 210 (32.38%) (+21.06%)
kube-runtime	684 / 1194 (57.29%) (+2.08%)

so maybe that makes it easier. i otherwise like your new workflow setup with taiki-e/install-action! so thanks for looking into this. is it slower / faster?

took some of your changes for a quick test to see what we get and the results are a bit strange (via #1460)
the coverage run produces -5% (which is not too bad all things considering), but it's just very strange what is and isn't covered.
link to files with changed coverage
..maybe it's just the consequence of going onto all-features :thinking:

Originally, I was only using GHA's host runners to run the tests since I was encountering some issues setting up the k3d cluster locally. 😅  But I was able to get that resolved (I needed to add @server:* to the last --k3s-arg).
I looked through upstream and #1460 codecovs, and it looks like upstream covers #[tokio::test] while  does not (upstream vs code-tweak), which is weird considering that include-tests = true and #[test] are both being picked up fine. This is might be a bug? and it might be were the 5% is missing.


Fail to install using Poetry

I'm trying to install this lib using poetry.
My pyproject.yml has two direct dependencies:
numpy = "1.18.4"
lap = "0.4.0"

But since lap also needs numpy, there's no way to poetry to resolve dependencies without the lap mentioning that numpy is a install dependency.
I've found that this custom setup instructions is probably the issue, not compatible with the way poetry tries to install:
https://github.com/gatagat/lap/blob/ece5ee9d9876edfdcc770032fbdce66458c6b6a9/setup.py#L204-L222
Error:
❯ poetry add "lap[alldeps]"
Using version ^0.4.0 for lap

Updating dependencies
Resolving dependencies... (0.5s)

Package operations: 5 installs, 0 updates, 0 removals

  - Installing lap (0.4.0)

[EnvCommandError]
Command ['/home/fernando/.cache/pypoetry/virtualenvs/sM4e1v81-py3.7/bin/pip', 'install', '--no-deps', 'lap==0.4.0'] errored with the following return code 1, and output:
Collecting lap==0.4.0
  Using cached https://files.pythonhosted.org/packages/bf/64/d9fb6a75b15e783952b2fec6970f033462e67db32dc43dfbb404c14e91c2/lap-0.4.0.tar.gz
Installing collected packages: lap
  Running setup.py install for lap: started
    Running setup.py install for lap: finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /home/fernando/.cache/pypoetry/virtualenvs/sM4e1v81-py3.7/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h0wwep35/lap/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h0wwep35/lap/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-fls2s3js/install-record.txt --single-version-externally-managed --compile --install-headers /home/fernando/.cache/pypoetry/virtualenvs/sM4e1v81-py3.7/include/site/python3.7/lap
         cwd: /tmp/pip-install-h0wwep35/lap/
    Complete output (12 lines):
    Partial import of lap during the build process.
    Traceback (most recent call last):
      File "/tmp/pip-install-h0wwep35/lap/setup.py", line 127, in get_numpy_status
        import numpy
    ModuleNotFoundError: No module named 'numpy'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-h0wwep35/lap/setup.py", line 236, in <module>
        setup_package()
      File "/tmp/pip-install-h0wwep35/lap/setup.py", line 220, in setup_package
        raise ImportError('lap requires numpy, '
    ImportError: lap requires numpy, please "pip install numpy".
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/fernando/.cache/pypoetry/virtualenvs/sM4e1v81-py3.7/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h0wwep35/lap/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h0wwep35/lap/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-fls2s3js/install-record.txt --single-version-externally-managed --compile --install-headers /home/fernando/.cache/pypoetry/virtualenvs/sM4e1v81-py3.7/include/site/python3.7/lap Check the logs for full command output.

First, thanks for reporting.
I don't know much about poetry yet, but I was thinking about giving it a try. Unfortunately I will not have enough time to devote to this soon. In case you would, I am happy to discuss the details.

Thanks @gatagat. I think that a quickly approach is to declare cython and numpy as explicit requirements using install_requires, I've forked the repo to not be blocked by this and it indeed solved the install issue. If you're ok with this I'll be glad to send a PR.
Let me know if you have any other suggestion.
Best regards!

@fgmacedo do it :)

For people who are struggling to install lap with docker, you can try to use the other fork of the same project called lap05.
Just make sure, you also install the python3-dev lib in the section of your docker file where you install system deps.
Example:
# install system dependencies
RUN apt-get update && \
    apt-get install -y build-essential && \
    apt-get install -y python3-dev && \
    apt-get install -y telnet netcat && \
    apt-get install -y --no-install-recommends gcc && \
    apt-get install -y locales wkhtmltopdf jq && \
    apt-get install -y curl

@Almorisson if numpy is a dependency it should be defined as such in lap05, isn't it?
#41 solved the installation problem for me without the need to add numpy explicitly.
Unfortunately, there is no word from @gatagat regarding the PR.

For anyone coming accross this. You can use lapx instead which will resolve to lap when importing.
It worked for me when lauching the test scripts of mmdet
pip install lapx

import lap

Its working for lap error fixing. Thanks

@fgmacedo Poetry installation has been patched.
@AlanBlanchet & @itmerk Same goes for pip, you should be able to install lap using pip install lap without issues now.
Thanks to @rathaROG who provided the necessary changes, there's support for Python up to version 3.13.


added pihole-unbound setup

Added setup for pihole and unbound containers.

@ygalblum PTAL

@Nitrousoxide thanks for the sample.
I haven't reviewed the code yet. But, please add a README file.
Also please make sure to amend you commit with --signoff to pass the DCO check

@Nitrousoxide still working on this?


No policy for a master password

Describe the task
The Subwallet should require users to create a strong password when they create a new account or change their password. This will help prevent weak passwords that are easy to guess or crack, and increase the overall security of the platform.

Some policies we should follow:

[x] Passwords should be at least 8 characters in length. (require)
[ ] Including letters and numbers (require)
[ ] Including special characters (warning)
[ ] Including uppercase (warning)

Update message:
Password must be at least 8 characters long with at least 1 uppercase letter, 1 number, and 1 special character

Update message:
Password must be at least 8 characters long. There should be at least 1 uppercase letter, 1 number, and 1 special character

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1377-build-1.0.5-1-2023-05-18T05-36-27UTC.zip
Validation passed!


upgrade arc_ec to v0.4

Description
Bring the crate to use ark_ec v0.4
closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (master)
[ ] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[] Wrote unit tests
[] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

BTW we also have a preliminary branch to do PST on the other base - commit in G2 opening in G1 - if you are interested

had a look at the multilinear PST, lgtm

I moved the commits to #112, which is merged now; thanks everyone for the work!


[NO MERGE] Add urijs types in the distribution

This feels really hacky.

It also does not work. Is there a different approach we can take?

Ok, I'll see what happens if I just put the @types directory into a repo with a package.json.

This is not it.


Drupal 6 + Drush 6 support

Hi, everything seems to work fine with D8 and D7, but I run into errors when installing D6.
It seems that at some point the /var/www/drupal directory is not being created.
This is the last part of the Ansible output:
TASK: [Remove default virtualhost file.] **************************************
changed: [drupaldev]

TASK: [Check if Drupal is already set up.] ************************************
ok: [drupaldev]

TASK: [Generate Drupal site with drush makefile.] *****************************
changed: [drupaldev]

TASK: [Install Drupal (standard profile) with drush.] *************************
failed: [drupaldev] => {"failed": true, "rc": 258}
msg: cannot change to directory '/var/www/drupal': path does not exist

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/home/mikechelen/playbook.retry

drupaldev                  : ok=121  changed=56   unreachable=0    failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

These are the relevant lines from:
config.yml:
drupal_major_version: 6
drush_version: master

Also tried drush_version: 6.x
drupal.make.yml:
core: 6.x

projects:

  drupal:
    type: core
    version: 6.x

  devel: 1.x

Also tried with core: 6.34 and version: 6.34

I did some more checking and noticed there are actually different errors depending on the version of Drush.
The error about /var/www/drupal not being created occurs with drush_version: 6.x. I tried running this command manually:
drush make -y /vagrant/drupal.make.yml /var/www/drupal/

The weird thing is it does not create /var/www/drupal nor does it show any errors.
drush --version shoes 6.6-dev

It looks like the problem is that Drush 6.x cannot read the YAML formatted make file. It works fine if I change the makefile to this format:
api = 2
core = 6.x
projects[drupal][version] = 6.x

I checked the Drush 6.x docs and don't see the other makefile format mentioned: https://github.com/drush-ops/drush/blob/6.x/docs/make.txt

The other issue is that for Drush 7 the basic install profile is named standard whereas in Drush 6 the install profile is called default.

@mchelen - Thanks for the tips! I didn't get around to working on this today, but I've documented your fixes in the README.md file, under the heading "Drupal 6 Notes". Please let me know if that's adequate, or if you find any other interesting fixes you need to apply.
Thanks!

@geerlingguy Yup I think that covers it, with those 2 modifications it seems to be working now. If I get a chance I'll add some logic to change the commands based on the selected Drush version.
Thanks!
For reference, here is the error that shows up when trying to install standard profile using Drush 6
TASK: [Install Drupal (standard profile) with drush.] *************************
<<IP_ADDRESS>> --account-pass=admin --site-name=Drupal Test Site --account-name=admin --db-url=mysql://root:********@localhost/drupal chdir=/var/www/drupal
failed: [drupaldev] => {"changed": true, "cmd": ["drush", "si", "standard", "-y", "--site-name=Drupal Test Site", "--account-name=admin", "--account-pass=admin", "--db-url=mysql://root:root@localhost/drupal"], "delta": "0:00:01.359208", "end": "2015-03-01 22:16:28.795022", "rc": 1, "start": "2015-03-01 22:16:27.435814", "warnings": []}
stderr: Starting Drupal installation. This takes a few seconds ...           [ok]
Table 'drupal.variable' doesn't exist                 [warning]
query: SELECT value FROM variable WHERE name =
'install_task' database.mysql.inc:135
Table 'drupal.variable' doesn't exist                 [warning]
query: SELECT value FROM variable WHERE name =
'install_task' database.mysql.inc:135
The site install task '' failed.                                     [error]


fix: avoid global variable usage

fixes #425

Thank

Hmm, this is a breaking change.

Hmm, I thought I checked everything. From what I've found, all uses were withing the plugin internals. That shouldn't affect the user because they don't have direct access (or at least, I believe, have no reason to use it directly). Is there something I can help with?

Well, I used v:lua.MPairs directly in my mappings. Replacing them with v:lua.require'nvim-autopairs' will work, although I just discovered a bug in Nvim that causes it to error sometimes.

You can call it the same way I made the changes in the plugin - as a <Cmd> or a function callback. Though it is something that users using the global directly do have to change.

These changes seems to make neovim freeze when the plugin's behavior is triggered, see comments on 2e8a10c5fc0dcaf8296a5f1a7077efcd37065cc8


Pop-ups of "About" and "Check for updates" don't match the theme on VS Code/ VS Code Insiders.

Whether I use VS Code or VS Code Insiders, the "About" or "Check for updates" popups do not match the theme. The background is always white and does not match the theme colors.

VS Code Insiders:

VS Code:

https://tb0513.github.io/jump

"window.dialogStyle": "custom" will resolve the second case but not the first one.

Yes, these are system dialogs, controlled by the OS.

No changes planned. OS dialogs will be themed by the OS color settings


Add option for user to allow for persistent sessions (secure cookies).

Currently persistent sessions are enabled by default, with the user not given the option of choosing. This would allow for the user to select whether or not they want to make use of persistent sessions during log in.

Close 142

commit/pull request https://github.com/CharlesMilam/tatalog/commit/833d43f3f3c717c7288ee35effc1ab7f0618b903
closes 142


SSZ encoding/decoding for bit lists, bit vectors, recursive types.

I have tried to understand how bit vectors and bit lists (and other vectors and lists) are serialised but I am afraid I am missing a few steps.
Forgive me if these are silly questions and feel free to ignore and close if not relevant.
First, I had a look at "the implementations" py-ssz and cava and found a few differences compared to the simple-serialize-md guidelines:

for bit vectors, the py-ssz tests seem to consider bitvectors of size which are multiple of 8, which makes the deserialisation easier. The cava implementation does not seem to deal with bit vectors (and not any vectors).
How is the actual length of a bit vector encoded so that we can deserialise correctly?
For instance, bit vector(true, true) is encoded into 0x03 in py-ssz and we probably want to decode it as (true, true) but the length is missing in the encoding.

what is the status of lists? According to issue #1160, there was a discussion about removing lists from the SSZ legal types.

lists should have homogeneous types.  It does not seem to rule out lists of containers, and containers can have fields that are containers.  simple-serialise.md refers to a recursive encoding but I could not find any example in py-ssz nor cava.

fourth, Cava provides encoding for String but it does not seem to a type defined in simple-serialise.md. Is String a legal (basic) SSZ type?

it is unclear to me why we need is_fixed_size (or not) and also get_size is not defined for variable sized types. When serialising, every list or vector has a given size. What is the purpose of is_fixed_size?

Where can we get more details about the efficient algorithms to encode these datatypes as sequences of bytes?
Thanks
Franck

How is the actual length of a bit vector encoded so that we can deserialise correctly?

The length of the given ssz object is known from the type definition. Refer to definitions in the phase 0 spec for examples of ssz objects. If you expect a bit vector, you also know its length so that you can determine which bits are {un,}set in the encoded data.

what is the status of lists?

we still have lists, the linked issue was resolved by adding a notion of "max length" which helps w/ stable merkelization.

lists should have homogeneous types.

they do; in general you have a List[T] where T is your "homogenous" type. T can be a container w/ different types of fields but at the level of the List type constructor, you have fields of all one type (namely T).

simple-serialise.md refers to a recursive encoding but I could not find any example in py-ssz nor cava.
are you looking for something like this? https://github.com/ethereum/py-ssz/blob/master/ssz/tools/dump.py

Is String a legal (basic) SSZ type?

no String type in the spec; I'm not familiar enough with cava to speak to what they are doing...

What is the purpose of is_fixed_size?

These functions are part of the offset encoding where we first encode fixed parts, then the offsets of the variable parts in the remainder of the encoding and then the actual data of the variable parts themselves. this allows for efficient retrieval of various parts of the encoding w/o having to decode the entire blob of ssz data.

Thanks a lot @ralexstokes for the detailed explanation.
I have just checked in more details some of "the implementations".
Py-ssz seems to follow the spec top encode bitList, but I am a bit concerned that Cava/Tuweni does not. They seem to encode a bitList as the length of the list as an Int32, followed by one Byte per Boolean value in the list.
Isn't the purpose of the SSZ spec to make sure clients can talk to each other?
[irrespective of whether they are written in python or java).
Regarding the fixed_size part, do I understand correctly:

the fixed parts and the variable size parts are encoded separately?
where is the actual algorithm in the spec that provides a clear description and examples of how that works?

the fixed parts and the variable size parts are encoded separately?

a given ssz object is encoded as a single binary blob, the important bit is just their relative ordering so that it can be efficient to find variable size (sub)elements of some object

where is the actual algorithm in the spec that provides a clear description and examples of how that works?

the serialization is here: https://github.com/ethereum/eth2.0-specs/blob/dev/ssz/simple-serialize.md#vectors-containers-lists-unions
re: cava -- i'd open an issue w/ that repo if something seems off. that discussion does not belong in this repo which should contain client-agnostic concerns.

thanks @ralexstokes.

a given ssz object is encoded as a single binary blob, the important bit is just their relative ordering so that it can be efficient to find variable size (sub)elements of some object

where is the actual algorithm in the spec that provides a clear description and examples of how that works?

the serialization is here: https://github.com/ethereum/eth2.0-specs/blob/dev/ssz/simple-serialize.md#vectors-containers-lists-unions

yes I had a look at that, but I must admit it is not crystal clear.
First it seems to generate a list of (list of bytes) rather than a list of bytes.
Second, fixed_parts and variable_parts do not seem to be defined anywhere.
As a matter of fact, I am unable to "interpolate" from that description how to encode a recursive type.
It is also unclear to me what the deserialiser is supposed to do.
Does it take as input a seq<bytes> AND a target type to deserialise into or just just a seq<bytes>?

re: cava -- i'd open an issue w/ that repo if something seems off. that discussion does not belong in this repo which should contain client-agnostic concerns.

sure. But the simple-serialise.md references "the implementations" (including Cava) to find efficient algorithms that can serialise. And as not much information is available in the simple-serialise.md file, "the implemenations" are the next port of call to help.
I have reported the issue to the Tuweni repo (Cava now seems to be included in Tuweni).
The specs may benefit from clearer definitions for the recursive types to make sure that every client implements the proper spec.

@ralexstokes @MrChico
Found a bit more information on SSZ at
https://github.com/protolambda/eth2-docs/blob/master/eth2-ssz.png
It is still a bit dry. I am trying to write a formal specification (by formal I mean formal methods) of the specs and I'd like to capture the actual specification properly.

@ralexstokes @protolambda
I am trying to understand how to encode say List[T] but I must admit all the information I have managed to access did not help me to understand how it works (and this includes the implementations like py-ssz).
First, is there a proper definition (e.g. an algebraic datatype) of what a fixed-size type is?
Is it a type built from basic types and nesting vectors/containers with only fixed-size type?
Second, is there any example how the encoding works for say List[uint8]?
I have used protolambda diagrams as a starting point, but I am unable to understand how it works.
How is a List[uint8] encoded? For instance List[8, 111]?
How is a list of list encoded? For instance List[List[1],List[0,45.  It seems from the py-ssz implementations that the hash/merkelisation of the elements in the top-level list are used.
Some real simple examples would help to understand how the SSZ machinery works.
Again I have tried to follow some links to get a better understanding but to avail.
For instance the  go-ssz references seem to provide encodings for "slice, array, struct and pointer data types." This datatypes are not in the SSZ legal types.
Any help would be music appreciated.

@franck44, hey, just got a notification, sorry I missed this issue earlier.
For some more reference on SSZ, check my repo (draft, but mostly complete): https://github.com/protolambda/eth2.0-ssz/
Regarding encoding of lists: SSZ is a combination of 2 things to derive lengths: type information and scope in bytes. With scope I mean total byte count that is deserialized, or produced by serializing. And you can recurse deeper; the difference between offsets (or last offset and end of parent scope) is a scope.
Also, List[8, 111] is confusing: we use List[E, N] as notation for a list of E element type, and limit N.
 Or 6 for E = uint16, etc.
Then simply divide byte length by element type length, and you get the element count. This works for every fixed-size element type list.
For dynamic elements, such as a list of lists, offsets are used: [[1, 2, 3], [4, 5]]

List[List[uint8, M], N] as type: 0000 0008  0000 000b  0102 0304  05

0000 0008: first offset, 4 bytes, a uint32, pointing to the first element ([1, 2, 3]). Note that the offset includes the byte count used for offsets themselves.

from the first offset, the length of the list is derived: offsets themselves are fixed length. So element_count = first_offset // 4

0000 000b: second offset, 4 bytes, a uint32, pointing to the second element ([4, 5])
0102 0304  05: the contents

010203 is sliced by the two offsets
0405 is sliced by second offset + end of scope.
Note that the inner lists don't have offsets: their element type is fixed size (uint8), so the scope is sufficient information to determine the length, and elements are just located at element_size * i

Hope that explains the type info + offsets. Generally we do not nest small dynamic items much, so the offsets are fine and speed up lookups by a lot. Other than offsets (and selects for Union type), SSZ is completely free of runtime information, and everything can be derived from the types.
If you need more practical examples, there are some human readable test vectors here: https://github.com/protolambda/remerkleable/blob/master/remerkleable/test_impl.py
And then a whole much bigger generated set in the Eth2 tests vectors repo.
For more low level code, you can also look at my ZSSZ library: github.com/protolambda/zssz
Or if you prefer safety and more type elegance, the nim and rust (of respectively lighthouse and nimbus) are good resources.

Also, regarding Cava, I think it is outdated. We did not have offsets until some time in April 2019 or so.
Here's a more complete table with SSZ implementations: https://github.com/protolambda/eth2.0-ssz/#implementations
And missing there is github.com/protolambda/remerkleable
And note that the JS and Java (of Artemis, or now "Teku") have been changing a lot recently to move to an approach similar to remerkleable.

@protolambda Thanks a lot for your quick reply. Very much appreciated.
Just to provide you with some context, we are trying to write a formal specification of SSZ/Merkleisation,  some implementation of it and prove that it is correct (wrt spec).
At the moment, we have the basic types and bitlist specified and proved, and also have discovered a few bugs in the spec and the implementations.
I'll try to extend our current spec to Lists using your explanations.
The main problem we are facing is navigating the information ... there is a lot out there and sometimes not consistent (for instance the specs refers to the implementations for "efficient algorithms" but the implementations do not seem to agree on how to serialise/deserialise).
And most of the implementations are incomplete (they partially implement the spec).
To write a formal spec, we really need precise description of what a function should do (e.g. deserialise) rather than how it does it.
I have been trying to find out what deserialise should take as input but it is still unclear to me.
Is is a sequence of Bytes AND a target type (to deserialise into) or just a sequence of bytes (and the target type has to be inferred?).
There are quite a lot of very basic similar questions that do not seem to have obvious answers in the specs (I am not an Eth2 expert, so I may be incorrect).

but the implementations do not seem to agree on how to serialise/deserialise

They definitely should, but on the surface of serialize/deserialize/hash-tree-root outputs. Internally they can organize however suites them best. There's no such thing as a "canonical representation" of data in memory. Only a local understanding of the type structure that it expresses. The type is the API and usage contract, not implementation. (the spec sets a bad example here, implementation is assumed to be done by clients their way, meeting the same outputs)
A client can choose how to deserialize, e.g. directly into a binary tree structure (see remerkleable) or into native data-types of the given language (e.g. Prysm has methods to deserialize into Go structs that also conform to protobuf). And the implementations are out of sync for different use-cases and niches, e.g. fast read/writes of small objects (e.g. ZSSZ and lighthouse SSZ are very fast here), or re-use of earlier computed merkle work when the state only changes slightly (e.g. remerkleable).
Most implementations (except the archived/outdated ones) specify what is necessary to stay in consensus with the eth2 beacon chain spec. Union for example is not implemented anywhere yet, since it's merely there, unused.
The current spec should be deterministic and unambiguous, although understandably hard to read and understand the finer details from. If you are looking for more description, the diagrams on that eth2-docs repo, and the eth2.0-ssz draft repo I linked should help.

I have been trying to find out what deserialise should take as input

The SSZ type is assumed, i.e. it's compile-time, something the reader of the data provides, not the data.
The byte-length (also described as scope) of the bytes to deserialize.
The actual bytes themselves.

Regard usage of these primitives:

If you know the byte length, you can even stream-decode the bytes into the in-memory structure. E.g. in the RPC the length of the SSZ bytes is encoded separately.
And encoding can be streamed too, since the length can be derived first, and very efficiently so from all the compile-time information (we have lots of fixed-length types, and the dynamic ones are not deep, so they are easily computed by multiplying run-time length with compile-time fixed element size). And as soon as that total byte length number is available, the data can be traversed in one go to write to some output. (See ZSSZ for an example)
Unlike JSON, SSZ is very static and can be optimized for during compile-time, and expected input sizes etc. can be computed in advance with exact bounds (dynamic length objects have limits). This is great for optimizing functions, and baking in protections against invalid inputs before actually reading any of the data.

do not seem to have obvious answers in the specs

Unfortunately the specs are more focused on being non-ambiguous yet practical, than explanatory. If you want to read background on choices in the eth2-specs in general I recommend https://notes.ethereum.org/@djrtwo/Bkn3zpwxB and https://benjaminion.xyz/eth2-annotated-spec/
Also, if you have any link of your work-in-progress (if open source?) please share :)

@franck44 any questions left? Can I close this issue?

@protolambda
yes thanks again, you may close this one.
I'll try to use the info to work out how to specify and implement serialise/deserialise lists of fixed size and variable size.


Update sample apps to match current API

Coverage decreased (-0.5%) to 99.101% when pulling 019bed82aa1fd52d692ec7279b6756d68e6efe56 on mgurreta:update_sample into 93b1ab41ebfb76a615364c0c64a49fa553524a68 on nakiostudio:master.


Vulnerability roundup 93: a2ps-4.14: 1 advisory [7.8]

search, files

[ ] CVE-2015-8107 CVSSv3=7.8 (nixos-unstable)

Scanned versions: nixos-unstable: 84d74ae9c9c.
Cc @bennofs

See also: #90751

Already patched: https://github.com/NixOS/nixpkgs/blob/f26d6639f278bb03bf8dcde3b8fccc855f313154/pkgs/tools/text/a2ps/default.nix#L19

I wonder why vulnix missed this one.. investigating

Found a bug in vulnix. Sorry for the noise.


⚠ Cioos National CKAN has degraded performance

In 0ca0e89, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 13094 ms

Resolved: Cioos National CKAN performance has improved in 7fdba90 after 8 minutes.


As a Kukuza member, I want to be asked for my PIN when opening my account key, so that only I can access my key.

Acceptance Criteria:

Ask for PIN when members clicks on "Account Key" in the menu.
Text: "Enter PIN"
Text when I entered a wrong pin: "Incorrect PIN"
There is no limit for the unlock attemps (member can try as often as he wants).
Back arrow gets user go back to the menu.

Wireframe:
Compare Valora:

Design:

@Chegemartinx please add wireframes, then reassign.
Replace the Valora with your wireframes, please. delete valora.


PostProcessManager: repair Vulkan by re-ordering commands.

The suzanne Vulkan demo was asserting because setViewportScissor can
only be called within a render pass, which means that
MaterialInstance::use can only be called within a render pass.
We probably need a better way to enforce these rules...

it's kind of weird that use() sets the scissor. I think that the scissor should be a piece of state of beginRenderPass instead.

Yeah, I think we added a scissor rectangle to MaterialInstance for the imgui use case, which wants to change the scissor rectangle many many times within the same view.


Including from bower guidance...

Hello again, I know you're probably tired of fielding questions like this, but I just can't wrap my head around how to consume this component via bower. Yes, I know Bower is on the decline, but I'm working on an Ember project and switching to npm or yarn is out of scope for the feature I'm developing.
So, how do you do it?
If I do something like
// bower.json
{
"dependencies": {
  "popper.js":"1.10.1"
}

Then I wind up with the direct source from git, and there is no /dist folder (I know you don't want to have a dist folder).
If I follow the recommendation in your documentation and point to the unpkg CDN, like this:
// bower.json
{
"dependencies": {
  "popper.js":"https://unpkg.com/popper.js"
}

Then everything works, but then I don't seem to have the ability to do any kind of semver limiting.
If I try appending a version number, like this:
// bower.json
{
"dependencies": {
<EMAIL_ADDRESS>}

Then I wind up with this in bower_components:
/bower_components
    /popper.js
       .bower.json
       index.1

I wouldn't mind, but for some reason I can't convince Ember to consume the oddly-named index.1 file.
Any advice? Thanks much!

I don't think there's a way to achieve what you are looking for, sorry.
Anyways, Bower is not deterministic so specifying a version doesn't help that much.

I don't think there's a way to achieve what you are looking for, sorry.

You make it sound like I'm trying something exotic, but your approach is the one I haven't seen before. Every entry in my bower.json file has a version number next to it; only yours doesn't. Are people really expected to roll the dice with that unpkg endpoint and just trust that the version that comes out the other end doesn't break anything? What am I not understanding, here?

I don't plan to support Bower because it's a deprecated technology and, generally, it's a bad practice to use it to manage your dependencies.
Bower could support version numbers in URLs, but it doesn't. And they can't pretend that I'm willing to put a bunch of compiled files in the place where the source is meant to be stored.

Okay, fair enough. I spent the day learning about npm and bower, and I think your position is this (correct me if I'm wrong):

Bower doesn't actually host anything, so if you wanted to have something like a /dist folder it would have to exist in your repo
You don't want to have a /dist folder in your repo because you only want your repo to contain source, not knowledge of how to consume it
you don't mind providing /dist via npm because it can be prepared in a CI step before deploying to npm.

Do I have all that right? If so, then I agree with you. I was able to successfully include popper via ember-browserify (with some difficulty).
I guess my suggestion for you would to either be a little more explicit about the limitations of the bower approach you are using (it doesn't handle semver) you have on your main README, or drop references to it altogether. Also, I don't know if I would endorse the usage of ember-popper; nobody seems to be maintaining it, and it hasn't reached a 1.0 release yet.
Finally, since you have integration help for various frameworks, here's how I was able to add it to Ember:
step 1: install ember-browserify
npm install --save-dev ember-browserify

step 2: install popper.js
npm install popper.js --save

At this point there are a few tricky bits. I'll finish this comment up once I get to the office and can refer to my code...

Why is ember-browserify needed? I do provide bundles in umd, esm and even in full es2015... What format expects ember?

ember-browserify is needed because it's not currently possible to directly include packages from node_modules into an Ember application. There are a variety of different methodologies for shoehorning that kind of functionality into the pipeline, but they all require external packages (ember-cli-node-assets is another one I tried), and not all of them can cope with the extra intricacies involved with developing an add-on. I don't know exactly how ember-browserify works, but evidently it is smart enough to traverse the directory structure for a package and identify a file in the right format with the right amd/umd/es6 hooks. Judging by what I see happening with the sourcemaps in the debugger, in the case of popper.js it finds its way into the "dist/umd" folder, and extracts popper.js. This is all without any configuration or prompting from me of any kind, which is nice.
To answer your question, you typically write your conventional Ember code in es6.

@shmax have you taken a look at https://github.com/kybishop/ember-popper
Even you can't npm install that, it may be able to provide guidance

More inspiration: https://github.com/kybishop/ember-popper/pull/15/files
Shows how to import popperjs without ember-cli-node-assets

@kybishop Yes, I examined your project closely. It has a dependency on ember-cli-node-assets, which didn't seem to work well in an add-on context, And thanks for the broccoli-stew idea; if I hadn't already gotten this all working well with ember-browserify I might have given it a look, but from what I see in the code you posted it doesn't really look any simpler, and I don't know that it works with add-ons. I'm all set with ember-browserify, but thanks for the advice.

https://github.com/FezVrasta/popper.js/issues/390


[hw,socdbg_ctrl,rtl] Initial SocDbgCtrl implementation

@andreaskurth Thanks for the review. I think I addressed your questions and comments. Can you take another look?

CHANGE AUTHORIZED: hw/ip/lc_ctrl/data/lc_ctrl.hjson
CHANGE AUTHORIZED: hw/ip/lc_ctrl/rtl/lc_ctrl.sv
CHANGE AUTHORIZED: hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
This adds the lc_raw_test_rma_o output to lc_ctrl, which is connected to the existing internal lc_raw_test_rma signal. The functionality is not changed, and the new output is unconnected in top_earlgrey. So no functional change for Earlgrey.

CHANGE AUTHORIZED: hw/ip/lc_ctrl/data/lc_ctrl.hjson
CHANGE AUTHORIZED: hw/ip/lc_ctrl/rtl/lc_ctrl.sv
CHANGE AUTHORIZED: hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
This adds the lc_raw_test_rma_o output to lc_ctrl, which is connected to the existing internal lc_raw_test_rma signal. The functionality is not changed, and the new output is unconnected in top_earlgrey. So no functional change for Earlgrey.