line number error with code-block:: python

I don't understand this one, with python code-block I get a line number error (using pre-commit) but if I remove the language the error goes away but I get no syntax highlighting?  Example is here: https://github.com/sarnold/python-daemonizer
This generates an error:
.. code-block:: python

  from daemon import Daemon

  class pantalaimon(Daemon):
      def run(self):
          # Do stuff

but the same thing without the language does not:
.. code-block::

  from daemon import Daemon

  class pantalaimon(Daemon):
      def run(self):
          # Do stuff

The latter one highlights in sphinx docs but not on Github :(

blacken-docs will only attempt to format python blocks -- your code as written is a syntax error (the tool is not wrong!):
$ python3 t.py

  File "/tmp/t.py", line 5

    # Do stuff

IndentationError: expected an indented block after function definition on line 4

Thanks, but that's not the error I'm getting:
Format docs (blacken-docs)...............................................Failed
- hook id: blacken-docs
- exit code: 1

README.rst:29: code block parse error Cannot parse: 8:0: <line number missing in source>

Anyway, thanks for the quick response - I got rid of the comment and now it's happy :beers:

yeah lib2to3 (and thus black) have some pretty unfortunate error messages -- everything after "code block parse error" I have no control over
if you make that code block valid syntax it will fix that error (often by adding ... below your comment)


Replace all Module's with ModuleScope

Changes

Closes #460.
Replaces (almost) all Module's with ModuleScope's.
Adds PackageImport["GeneralUtilities`"] where ModuleScope was used.

Comments

Work in progress

Need to update documentation.

Places where ModuleScope isn't expanding and I don't know why (maybe Catch has something to do?):

Kernel/SetReplace.m line 297.
Kernel/setSubstitutionSystem$wl.m line 111.
Kernel/setSubstitutionSystem$wl.m line 254.
Kernel/testUtilities.m line 39 (UsingFrontEnd @ Module[{...).

Examples

Add explicit inputs and outputs (as screenshots in case of graphics) showcasing new functionality.

This change is

As far as I understand, ModuleScope has to be directly after SetDelayed because of how it's defined:
In[] := UpValues[ModuleScope][[2]]
Out[] = HoldPattern[
  HoldPattern[
   GeneralUtilities`Control`PackagePrivate`sd : (_ := _ModuleScope)]] \
:> MacroEvaluate[GeneralUtilities`Control`PackagePrivate`sd]

However, there is MacroEvaluate that can find ModuleScope anywhere inside a function:
In[] := MacroEvaluate[f[x_] := Sqrt[ModuleScope[e = z; 2 z]]]
In[] := DownValues[f]
Out[] = {HoldPattern[f[x_]] :> Sqrt[Module[{e}, e = z; 2 z]]}

Ah, I saw that too, but RuleDelayed and ModuleScope being inside a function also works...
MacroExpand[f[] :> Function[x,
   ModuleScope[y = 0; y/x]]
 ]

MacroExpand is misleading: it always finds macros no matter how deep, so this doesn't tell you whether this macro will be evaluated during package loading.
In fact, Max is right, macros have to appear as the outermost head inside the := (SetDelayed) for them to trigger during package loading.
If you want to 'bury' a macro deeper into a function definition, you can use the 'no-op' UseMacros function to force the body to be macro-evaluated at load time:
foo[...] := UseMacros[
	...
	...
]

On Oct 15, 2020, at 4:31 AM, Daniel Sanchez<EMAIL_ADDRESS>wrote:
Ah, I saw that too, but RuleDelayed and ModuleScope being inside a function also works...
MacroExpand[f[] :> Function[x,
ModuleScope[y = 0; y/x]]
]
https://user-images.githubusercontent.com/40190339/96069782-87098a80-0e64-11eb-8f91-3eb2171f16f6.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/maxitg/SetReplace/pull/461#issuecomment-708855520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACZEZPWVZYUDOUGYEC6CXLSKZNG3ANCNFSM4SQAZA6Q.

Just to clarify: MacroExpand always finds macros no matter how deep, so this doesn't tell you whether this macro will be evaluated during package loading if you do not use MacroExpand.
In other words, Max is right, macros have to appear as the outermost head inside the := (SetDelayed) for them to trigger during package loading.
If you want to 'bury' a macro deeper into a function definition, you can use the 'no-op' UseMacros function to force the body to be macro-evaluated at load time:
foo[...] := UseMacros[
	...
	...
]

Is it worth replacing ModuleScope with Module in those cases?
Are the benefits of using these macros greater than "always" using UseMacros at the beginning?
I'm thinking about how the guidelines should be updated, which should not confuse the developer/reviewer.

@daneelsan I'm not sure I understand what you're proposing with respect to UseMacros. Which "beginning" are you referring to? Just to recap: UseMacros does not localize variables. It just forces macro evaluation to happen to any other macros when they are deeper than the RHS of the SetDelayed.
But to go back to the original point: you shouldn't be assigning global variables unless it is for a very good reason (the only reasons I've ever seen are caching or debugging), and it'll be obvious that you "need to do something special" (namely ^= instead of =) for them to not be localized -- ?ModuleScope explains this carefully.

@maxitg L`G`T`M


Fix kafka version number from mistaken merge

@davidkarlsen Fixes bad version merge from https://github.com/helm/charts/pull/7233/files -- I mistakenly thought I had already tested the branch, and added the LGTM label. I then added the /ok-to-test label thinking it would automatically test before merging the code. Unfortunately, that is not the case and it merged the code before the tests returned. Meaning the version broke. This PR simply bumps the version up to 0.9.9.

/assign @davidkarlsen


Enable ARMv8.2 accelerated SHA3 on compatible Apple CPUs

The hardware-assisted ARMv8.2 implementation is already in keccak1600-armv8.pl. It is not called because the author mentioned that it's not actually obvious that it will provide performance improvements. The test on Apple M1 Firestorm shows that the ARMv8.2 implementation could improve about 36% for large blocks. So let's enable ARMv8.2 accelerated SHA3 on Apple CPU family.
M1 Firestorm master
$ DYLD_LIBRARY_PATH=. apps/openssl speed -evp sha3-256
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
sha3-256         48099.35k   192855.72k   479891.18k   566828.18k   643850.10k   651480.44k

M1 Firestorm ARM SHA3 extension enabled
$ DYLD_LIBRARY_PATH=. apps/openssl speed -evp sha3-256
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
sha3-256         47984.92k   192821.83k   527154.17k   738713.60k   874018.13k   890705.24k

M1 Icestorm master
$ taskpolicy -c background bash -c "DYLD_LIBRARY_PATH=. apps/openssl speed -evp sha3-256"
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
sha3-256         11461.94k    47571.66k   121608.50k   144754.32k   126859.74k   164252.42k

M1 Icestorm ARM SHA3 extension enabled
$ taskpolicy -c background bash -c "DYLD_LIBRARY_PATH=. apps/openssl speed -evp sha3-256"
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
sha3-256          8561.96k    34054.53k    93464.84k   133518.93k   159627.74k   164587.15k

The ARM SHA3 extension version does not work well on M1 Icestorm, so only
enable the code on Apple's big cores, i.e. Firestorm and Avalanche.
Fixes #21380
~Is it OK without a CLA?~
~CLA: trivial~

Sorry I didn't explain it clearly. It seems crypto/armcap.c provides ARMV8_SHA3 bit in OPENSSL_armcap_P across all the systems. But ARMV8_SHA3 bit is not enough because the author of keccak1600-armv8.pl said it won't be an improvement for all CPUs. We have to restrict the CPU models.On Apple systems this will be easy, because if ARMV8_SHA3 bit is defined, it must be an A13 or later (LLVM llvm/lib/Target/AArch64/AArch64.td). But on other systems it could be any CPU... The method here is similar to line 417 in crypto/armcap.c.On Jul 8, 2023, at 00:11, Tom Cosgrove @.***> wrote:
@tom-cosgrove-arm commented on this pull request.
In providers/implementations/digests/sha3_prov.c:

}
+#  define KMAC_SET_MD(bitlen)                                                  \

if (ARM_SHA3_CAPABLE) {                                                    \

   ctx->meth = sha3_ARMSHA3_md;                                           \

} else {                                                                   \

   ctx->meth = sha3_generic_md;                                           \

}
+/* Detection on other operating systems */
+# else
+#  define ARM_HAS_FASTER_SHA3                                                                  \
(MIDR_IS_CPU_MODEL(OPENSSL_arm_midr, ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M1_FIRESTORM)     ||\

MIDR_IS_CPU_MODEL(OPENSSL_arm_midr, ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M1_FIRESTORM_PRO) ||\

MIDR_IS_CPU_MODEL(OPENSSL_arm_midr, ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M1_FIRESTORM_MAX) ||\

MIDR_IS_CPU_MODEL(OPENSSL_arm_midr, ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M2_AVALANCHE)     ||\

MIDR_IS_CPU_MODEL(OPENSSL_arm_midr, ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M2_AVALANCHE_PRO) ||\

MIDR_IS_CPU_MODEL(OPENSSL_arm_midr, ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M2_AVALANCHE_MAX))

Look at how it's done in crypto/armcap.c, which abstracts all this away - and yes, it is done differently on Linux, macOS, Windows, etc
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Look at how it's done for other optimisations, such as ARMV8_UNROLL8_EOR3: the decision is taken in armcap.c, and the implementation only looks at OPENSSL_armcap_P to know whether it can use a particular optimisation or not.
This makes it simple to test optimisations on new hardware: just set OPENSSL_armcap_P in the process environment and run openssl speed.
It also means that when new CPU microarchitectures are released, with different MIDR values, there's only one place in the code to change, instead of having to grep throughout all the algorithms to see which ones might need tweaking.
And also note that MIDR, unless Intel's CPUID, is not readable by user code (the official name is MIDR_EL1, which means it can only be read at `EL1 or above, which is the kernel). This allows the kernel to handle differences in CPUs on heterogenous systems (e.g. big.LITTLE where the different CPU types aren't compatible).
So armcap.c abstracts away all the different ways of reading the CPU type/microarchitecture/capabilities.

Please note that this is definitely outside of what would be acceptable with CLA: trivial. Could you please sign a regular CLA and remove the CLA: trivial annotation from the commit?

OK, CLA sent and a new commit pushed.

only enable the code on Apple's big cores, i.e. Firestorm and Avalanche

What happens if the process is migrated from a big to a little core?

Message ID: @.***>During the test, I found that except when explicitly binding the process to a big core using taskset, the MIDR was always for the Icestorm core. I'm not sure what the Linux kernel is doing here on heterogeneous CPUs. If the kernel consistently behaves this way, and if a process can be migrated from a big to a little core, the MIDR returned will be for the little core and the generic code path will always be executed.

Thinking further about this, there's no guarantee in the general case that a process won't be migrated from big to little or vice versa, on either Linux or macOS.
If there's a significant amount of work to be done, I would expect that a reasonable O/S would migrate the process to a big core to get the work done faster. In this case, if we've determined to use the generic code, we won't do as well as we could.
If there's not much hashing to be done, and we chose the accelerated code rather than the generic code, where the generic code would be faster, we haven't lost much.
So it actually seems that it would be better to always just use the SHA-3 accelerated cores on systems where it would be faster on the performance cores, even if it wouldn't be faster on the efficiency cores.
And I would still rather see this decision taken in armcap.c communicating with sha3_prov.c via either (preferred) a bit in OPENSSL_armcap_P or a separate variable. And yes, something like ARMV8_WORTH_USING_SHA3

Wouldn't always using the performance core path cause problems?
Or are the efficiency cores able to emulate instructions they don't support?

Sorry, I wasn't clear: this is only going to be enabled for Apple Silicon, under macOS and Linux. And under macOS, ARMV8_WORTH_USING_SHA3 should be set under the exact same conditions that ARMV8_UNROLL8_EOR3 is set.
On Linux, ARMV8_WORTH_USING_SHA3 will have to be set based on MIDR identifying the Apple Silicon cores together with ARMV8_SHA3 being set.
Those tests should be done in armcap.c, and prov_sha3.c should just use that result to choose the code path.
It's not worth distinguishing between big and little cores, since processes can be migrated between them.
And it's strongly recommended against building systems where big and little cores support different sets of features, precisely because of process migration.
(And we know that Apple Silicon doesn't do that, and this is purely an optimisation for Apple Silicon so far)

Thanks for the instructions! I pushed a new commit :)

This pull request is ready to merge

Merged, thanks for the contribution.


It was expected the IR would show at least some changes when NUMBA_OPT is changed from 0 to 3.

Numba-dppy fails when changing to the "-O0" spirv generation
Numba-dppy ("-O0") and dpcpp generated LLVM IRs
numba_dppy_llvm_O0.log
dpcpp_kernel_sum_llvm.log

Numba-dppy fails when changing to the "-O0" spirv generation
Numba-dppy ("-O0") and dpcpp generated LLVM IRs
numba_dppy_llvm_O0.log
dpcpp_kernel_sum_llvm.log


Use MLKit for Linux CI.

MLKit is a pretty good compiler and you can install it even on the latest Ubuntu.

Now actually works.


File Upload Functionality

nlu.md
stories.md
domain.yml
config.yml

changes are commit against 0418b6ea2fb0fe814c353446a88e3e456528ee88

done some minor code changes 09186c739c9c2d84d1052b0d3526a9815e219b4b


Heroku Issue when using Deploy to Salesforce button

I am experiencing a Heroku issue when using the button:
https://githubsfdeploy.herokuapp.com/app/githubdeploy/financialforcedev/apex-mdapi

Please see original issue posted at - https://github.com/mitchspano/apex-trigger-actions-framework/issues/44

this is now working


Replace class native

TITLE
Description
Description of the pull request changes and motivation.
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report

Merging #1105 (ef24fed) into main (152a3e4) will decrease coverage by 0.28%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1105      +/-   ##
==========================================
- Coverage   89.31%   89.03%   -0.28%
==========================================
  Files          50       50
  Lines       13419    13434      +15
==========================================
- Hits        11985    11961      -24
- Misses       1434     1473      +39

Files
Coverage Δ

src/execution/execution_entry_point.rs
88.21% <ø> (ø)

src/syscalls/business_logic_syscall_handler.rs
76.82% <ø> (ø)

... and 4 files with indirect coverage changes


fix: browser shim

Fixes the browser shim which broke during recent IO upgrades. Resolves https://github.com/bytecodealliance/jco/issues/246.

I'm going to fast-track and release this shortly.


Add desktop notifications to the app

The app should throw desktop notifications when the track changes and should display the track name.

Hello, I'll help you with this.

Sure @SoldierCorp, go for it. 👍

Thanks @anshumanv but I just realised that you are using a webview and is not possible to detect any event as far as I know, or is it possible?
Because I was trying with jquery but is not getting the children elements of the webview.

You need to use webview api for this https://electron.atom.io/docs/api/webview-tag/
I think it should be possible.

Perhaps I found a repo that does this - https://github.com/JavaScriptDude/Electron-Webview-Host-to-Guest-RPC-Sample

@anshumanv @SoldierCorp - I found a way to do this with a preload script and opened a PR. Let me know if you have any questions!


fix temporary partition is selected only if user manually specified

Proposed changes
q1: "select * from ut_p temporary partitions(tp1) where val > 0"
in q1, temporary partition tp1 is scaned
q2: "select * from ut_p where val > 0"
in q2, temporary partition tp1 is not scaned.
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


New version: Boltzmann v0.7.1

Registering package: Boltzmann
Repository: https://github.com/dfdx/Boltzmann.jl
Created by: @dfdx
Version: v0.7.1
Commit: 0a1848a190c4cd7aa2ae3c0f6b6fa83ceac1613e
Git reference: master

Not sure why GH Actions was not triggered here 🤔 [noblock]


Fixed Solution in ES6 class constructor guide (Fixes #35036)

Fixed the solution of Guide: Use class Syntax to Define a Constructor Function
2nd Solution provided was wrong and has been removed while the first one has been completed and checked with testing in the challenge itself.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #35036

This is a duplicate, closed in favor of #35037 :)


cozydrive: 3.32.0 -> 3.38.0

Description of changes
change log: https://github.com/cozy-labs/cozy-desktop/releases/tag/v3.38.0
diff: https://github.com/cozy-labs/cozy-desktop/compare/v3.32.0...v3.38.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 248268 run on x86_64-linux 1

1 package built:

cozy-drive


Artifact, function, and resource update

Through this pull request the artifacts, functions, and supporting resources are being updated.

Closing this pull request because the purposed changes are included in #8


"Reopen editor with..." on untitled custom editor does not work

Steps:

start with an untitled custom editor (or notebook)
select "Reopen editor with..." and pick text editor (or any other custom editor)

=> 🐛 an untitled text editor opens but empty
I think this needs a more general solution for how to transport untitled data across editors. I see the following one-off solutions for notebooks and custom editors:
https://github.com/microsoft/vscode/blob/703ca68ea6bee996ffc3d646da843bcb085cce3c/src/vs/workbench/contrib/notebook/common/notebookEditorModel.ts#L216-L221
https://github.com/microsoft/vscode/blob/721cdd6472b25ae5fd70a36f485bcb26beb0c96e/src/vs/workbench/contrib/customEditor/browser/customEditorInput.ts#L42-L42
But I do not think this solution scales because it only considers the contents of an untitled text editor for the new editor, not if you start from a custom editor.

Even worse, when this happens I cannot quit anymore:

Related (in notebooks): https://github.com/microsoft/vscode/issues/101360

I wonder if we could use backups to transfer the contents around

Yes, I would think that working copy backups are the lowest common layer for transferring data around 👍

I think this is too difficult to tackle to be worth the effort. I've went with a simpler solution to just disable Reopen Editor With.. and Toggle Editor Type when you're in a custom untitled file.
Verifiers:
0. Have the hex editor extension installed

Open an untitled file
Reopen with Text -> Hex Editor
Ensure you cannot reopen with again from untitled Hex to anything else


⚠ Bofrost.be has degraded performance

In 7a8baab, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2228 ms

Resolved: Bofrost.be performance has improved in 1bf1bf6.


Azure Functions isolated process

Summary of the changes (Less than 80 chars)

Implemented support for Azure Functions Isolated process model
Expanded and added Unit Test coverage for both In-process & Isolated process models

I moved it to the main branch ... we cherry-pick the change to version 12 once we have merged it.

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

@michaelstaib someone on slack asked a good question this evening about HttpContext support via IHttpContextAccessor... I used one of my local demo projects to quickly test that it works as expected.
But I didn't add support for that in the new Isolated process model since we control the HttpContext creation, so I'm adding that and will push an update soon!  It should work just like the existing Documentation shows 👍.


[BR] unable to use NFS mount as per read me

when adding NFS details to my-values.yaml the installation breaks
helm install -f my-values.yaml k8s-mediaserver ./helm-charts/k8s-mediaserver/
Error: INSTALLATION FAILED: YAML parse error on k8s-mediaserver/templates/jackett-resources.yml: error converting YAML to JSON: yaml: line 59: did not find expected key
my-values.yaml
general:
  storage:
    customVolume: true
  volumes:
    nfs:
      server: <IP_ADDRESS>
      path: /opt/plexmedia/
plex:
  enabled: false

pods launch fine if overrides are omitted

might be worth noting this is on a fresh k3s pi cluster

hi @anothersmith thank you for reporting this.
The README was not coherent, the indentation of the 'volumes' node was wrong, it should be stored under general.storage.
By the way, there's also no need to use any my-values file, as the operator uses the CR while you are installing it via helm.
Can you please try just working on the k8s-mediaserver.yml CR? Thank you!

error converting YAML to JSON: yaml: line 59: did not find expected key.
Usually when this happens, it is a error in indentation somewhere below that line. not necessarily in the line value specified.
I have had luck passing the whole values into ChatGPT to check for indentation errors! 👍


There is no implementation of writing the part number on the item in example 6

please read README about How to use.
you must set write_num=True
for b in packer :     painter = Painter(b)     fig = painter.plotBoxAndItems(         title=b.partno,         alpha=0.2,         # set item alpha         write_num=True,    # open/close write part number          fontsize=10        # control write_num fontsize     ) fig.show()

The problem has been solved, thank you very much!
At 2023-06-29 15:03:25, "Shiu Ruei-Chang" @.***> wrote:
please read README about How to use.
you must set write_num=True
for b in packer : painter = Painter(b) fig = painter.plotBoxAndItems( title=b.partno, alpha=0.2, # set item alpha write_num=True, # open/close write part number fontsize=10 # control write_num fontsize ) fig.show()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

This issue has been resolved, please reopen if you have other questions.


Can't update submodule commit using Github API

I'm using octopilot to update the commit that a submodule is at in the parent repo. This is done by using an exec updater and just running git commands manually to update the submodule commit, and then letting octopilot do the rest to create the commit. I know it's hacky, but it was working before #326.
The easiest fix for me would be to introduce a flag to force the commit to happen via pushChangesWithGit, but if you have better ideas, I'd be happy to implement that too.

if you have better ideas, I'd be happy to implement that too.

this solution sounds good to me. thanks for fixing it!

I added another PR to try to fix it using the API


Adjust lifecycle of function deployer configuration to ensure deployment happens early

Currently deployment of artifact happens in lifecycle's start method. That is a little to late when deployment artifact needs to be wired by another framework such as s-c-stream, since at the time when such framework interrogates function catalog the functions are not there yet . There is really no reason to wait for the the start method to deploy artifacts.

See https://github.com/spring-cloud/spring-cloud-stream/issues/2080 for further discussions and motivation


Update debconf prefs for grub to install to /dev/sda

Going to open this as a draft for conversation, then probably torch it and merge it with the rest of tricia if we agree. Somewhere along the way, I noticed that grub-pc package updates will now prompt a user for which disk/partition to install to, which is a terrifying question for a first-time linux user. It seems the Mint setup configures grub to use the SATA serial number of the disk, not the path, and the VBox import/export resets that. This patch would set debconf during OEM to install to /dev/sda for any future grub updates.
The part I'm not sure about is if we should reset it to the current UUID/serial during user stages after import. I suspect we could guard the debconf pref with a if(hardware == virtualbox && currentsetting == /dev/sda), so it would be unlikely to apply on a machine not built by us. I'm also willing to accept the balance of likelihood of us getting that wrong vs a student accidentally attaching a different /dev/sda during a grub update.
Thoughts, @kylelaker, @Advill, or anyone else listening?

Give me a day to not be traveling and I’ll take a look at what we do at
$dayjob to handle this. I remember doing some trick for something similar
to this.
On Sat, Dec 14, 2019 at 9:53 AM Kyle Laker<EMAIL_ADDRESS>wrote:

@kylelaker approved this pull request.
Using /dev/sda should be safe enough. I really tried to break /dev/sda
always being == to the main VM disk but regardless of what I did it was
always /dev/sda. Maybe I am just (un)lucky? Doing this in OEM should be
plenty sufficient. I don't see any need to run this in user.
The only things we could set it to other than /dev/sda would be:

/dev/disk/by-id/X which changes on import/export
/dev/disk/by-path/X which for /dev/sdX is probably going to always
match

Devices don't get a UUID, only partitions and FSes do. I don't think you
can label the device itself either.
A different fix would be to switch to using VirtualBox's EFI (
https://www.virtualbox.org/manual/UserManual.html#efi) so we didn't have
to worry about predicting where our MBR is. They still consider EFI to be
experimental; however, they go on to list that modern Linux works fine.
This would probably be a Fall 2020 rather than a Spring 2020 thing though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jmunixusers/cs-vm-build/pull/358?email_source=notifications&email_token=AAL3UH2C3M3HK7LAKNDWSGLQYT6PDA5CNFSM4J223L62YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCPGUL7Q#pullrequestreview-332219902,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAL3UH5NEFSQBEKPBNN5QDDQYT6PDANCNFSM4J223L6Q
.

--
Seth

tl;dr: hard-coding /dev/sda is probably a really safe bet.
Not so tl;dr: we used lsblk -nlo pkname $(findmnt -nlo source /boot) to get the full path to the disk where we needed to write out the MBR, which assumes that wherever /boot is mounted is the correct disk.
(Whew, I feel better about closing the loop on my previous comment, even if I have nothing to add.)


Error in physics2ddevice.ts

Look for the code applying : Event listeners on shapeB
line 11210 : cb.thisObject = shapeA;
need to be replaced by cb.thisObject = shapeB;
Otherwise the shape A will register callback to itself many times.

can you pls check this out, Thank you!!
https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/


overriding gives TypeError in PyCharm

Using the example from the overriding API reference I get the following on BaseImpl in @implements(Base).overriding(BaseImpl):
Expected type 'Type[Itf]', got 'Type[BaseImpl]' instead

Indeed, thanks!
Somehow pyright didn't catch it


Provide an HTML output option

This would be valuable for exploring large files, as well as regression testing.

Hey! Anyway I can help out with this issue?

Is the commit f442efa adding the ability to output html? Or is it a typo in the commit message?

See: https://github.com/Wilfred/difftastic/pull/158
The JSON output can be used to generate a HTML page.

Argh, commits from git subtrees are closing issues in this repo. This isn't done yet.

Haha, are there any updates on this? I see you can generate HTML from the JSON, but is there a guide on it or something?

@Milo123459 see my example in Python

workaround:

save stdout with ansi colors difft …… | tee colored_diff_with_ansi_codes
use ansi2html cat colored_diff_with_ansi_codes | ansi2html > diff.html

I think providing an extension that could utilise difftastic on GitHub would be useful. I'm not sure if your workaround would work for that though


Automate Changelog generation on monorepo.

Should create a new package in @siteed/universe as @siteed/autochangelog.

Look through commit history and filter by feat(package-name) .
Propose automatic changelog respecting https://keepachangelog.com/en/1.1.0/
Let user overwrite any of the field
Establish changelog linting / validation
Append to publishing process

Create


Cleanup git Commit History

Remove all unnecessary git commits in the history for the master branch. All new commits will be done through the PR process.

Commits squashed and build tested.


create-hostprocess-pod.md contains double-pasted content

Doc Link: https://github.com/ppbits/website/blob/main/content/en/docs/tasks/configure-pod-container/create-hostprocess-pod.md
The following section contains double pasted content: "passwords for local user accounts.".

This provides a number a benefits including eliminating the need to manage passwords for local user accounts. passwords for local user accounts. An initial HostProcess container running as a service account can be used to prepare the user groups for later HostProcess containers.

/language en
/kind bug

Page: https://kubernetes.io/docs/tasks/configure-pod-container/create-hostprocess-pod/
/triage accepted

/assign

@akash-mohanto please note that @ppbits already opened the PR #38610 to fix this issue.
/assign @ppbits

Resolved in #38610
/close


Publish to Test Flight Error

I'm using the Azure CI along with self hosted mac agent. I got rid of the 2FA problem by using the userId and password in the authentication method. Earlier I used fastlane token and app specific password, logging into Test Flight was resolved. Still the below error is haunting me. I even updated my self hosted mac agent.
Starting: Publish to the App Store TestFlight track
Task         : Apple App Store Release
Description  : Release an app to TestFlight or the Apple App Store
Version      : 1.178.4
Author       : Microsoft Corporation
Help         : More Information
/usr/local/bin/fastlane pilot upload -u *** -i /Users/sudhersonv/macagent/_work/1/s/src/ExchangeBooks.iOS/bin/iPhone/Release/ExchangeBooks.iOS.ipa -a com.sudhersonv.exchangebooksapp
[20:01:32]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[20:01:33]: Login to App Store Connect (***)
[20:01:34]: Login successful
[20:01:37]: Ready to upload new build to TestFlight (App:<PHONE_NUMBER>)...
Looking for related GitHub issues on fastlane/fastlane...
➡  Pilot - undefined method `strip' for nil:NilClass
https://github.com/fastlane/fastlane/issues/15204 [closed] 12 💬
26 Nov 2019
➡  some wrong happen when I use fastlane to upload an ipa file
https://github.com/fastlane/fastlane/issues/14272 [closed] 6 💬
11 Jun 2019
➡  Pilot fails to upload ipa: itunes_transporter can't initialise
https://github.com/fastlane/fastlane/issues/11605 [closed] 5 💬
22 Mar 2018
and 1 more at: https://github.com/fastlane/fastlane/search?q=undefined method `start_with%3F' for nil&type=Issues&utf8=✓
🔗  You can ⌘ + double-click on links to open them directly in your browser.
/Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/itunes_transporter.rb:419:in initialize': [!] undefined method start_with?' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:366:in new' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:366:in transporter_for_selected_team'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:33:in upload' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:66:in block (2 levels) in run'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'

/Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/itunes_transporter.rb:419:in initialize': [!] undefined method start_with?' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:366:in new' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:366:in transporter_for_selected_team'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:33:in upload' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:66:in block (2 levels) in run'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:166:in run'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:18:in start' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/cli_tools_distributor.rb:114:in take_off'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/bin/fastlane:23:in <top (required)>' 	from /usr/local/bin/fastlane:23:in load'
from /usr/local/bin/fastlane:23:in <main>' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/itunes_transporter.rb:419:in initialize': undefined method start_with?' for nil:NilClass (NoMethodError) 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:366:in new'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:366:in transporter_for_selected_team' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:33:in upload'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:66:in block (2 levels) in run' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:166:in run' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:18:in start'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/cli_tools_distributor.rb:114:in take_off' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/bin/fastlane:23:in <top (required)>'
from /usr/local/bin/fastlane:23:in load' 	from /usr/local/bin/fastlane:23:in '
##[error]Error: The process '/usr/local/bin/fastlane' failed with exit code 1
✅ fastlane environment ✅
Stack

Key
Value

OS
11.1

Ruby
2.6.3

Bundler?
false

Git
git version 2.24.3 (Apple Git-128)

Installation Source
/usr/local/bin/fastlane

Host
macOS 11.1 (20C69)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Library/Developer/CommandLineTools/

Xcode Version

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.172.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
2.3.6

claide
1.0.3

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.19.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.6.0

public_suffix
4.0.6

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.78.1

faraday-net_http
1.0.1

ruby2_keywords
0.0.4

faraday
1.3.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.1

gh_inspector
1.1.3

json
2.1.0

mini_magick
4.11.0

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

bundler
1.17.2

naturally
2.2.1

simctl
1.6.8

jwt
2.2.2

uber
0.1.0

declarative
0.0.20

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.15.0

signet
0.14.0

memoist
0.16.2

os
1.1.1

googleauth
0.15.0

httpclient
2.8.3

google-api-client
0.38.0

google-cloud-env
1.4.0

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

rexml
3.1.9

webrick
1.4.2

google-apis-core
0.2.1

google-apis-iamcredentials_v1
0.1.0

google-apis-storage_v1
0.1.0

rake
12.3.2

digest-crc
0.6.3

google-cloud-storage
1.30.0

emoji_regex
3.2.1

jmespath
1.4.0

aws-partitions
1.420.0

aws-eventstream
1.1.0

aws-sigv4
1.2.2

aws-sdk-core
3.111.2

aws-sdk-kms
1.41.0

aws-sdk-s3
1.87.0

forwardable
1.2.0

logger
1.3.0

date
2.0.0

stringio
0.0.2

zlib
1.0.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

strscan
1.0.0

fileutils
1.1.0

etc
1.0.1

io-console
0.4.7

libxml-ruby
3.1.0

psych
3.1.0

mutex_m
0.1.0

generated on: 2021-01-27

/Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/itunes_transporter.rb:419:in initialize': [!] undefined method start_with?' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:366:in new' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:366:in transporter_for_selected_team'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:33:in upload' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:66:in block (2 levels) in run'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:166:in run'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:18:in start' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/cli_tools_distributor.rb:114:in take_off'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/bin/fastlane:23:in <top (required)>' 	from /usr/local/bin/fastlane:23:in load'
from /usr/local/bin/fastlane:23:in <main>' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/itunes_transporter.rb:419:in initialize': undefined method start_with?' for nil:NilClass (NoMethodError) 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:366:in new'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:366:in transporter_for_selected_team' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/build_manager.rb:33:in upload'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:66:in block (2 levels) in run' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:166:in run' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/pilot/lib/pilot/commands_generator.rb:18:in start'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/cli_tools_distributor.rb:114:in take_off' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.172.0/bin/fastlane:23:in <top (required)>'
from /usr/local/bin/fastlane:23:in load' 	from /usr/local/bin/fastlane:23:in '
##[error]Error: The process '/usr/local/bin/fastlane' failed with exit code 1
✅ fastlane environment ✅
Stack

Key
Value

OS
11.1

Ruby
2.6.3

Bundler?
false

Git
git version 2.24.3 (Apple Git-128)

Installation Source
/usr/local/bin/fastlane

Host
macOS 11.1 (20C69)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Library/Developer/CommandLineTools/

Xcode Version

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.172.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
2.3.6

claide
1.0.3

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.19.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.6.0

public_suffix
4.0.6

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.78.1

faraday-net_http
1.0.1

ruby2_keywords
0.0.4

faraday
1.3.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.1

gh_inspector
1.1.3

json
2.1.0

mini_magick
4.11.0

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

bundler
1.17.2

naturally
2.2.1

simctl
1.6.8

jwt
2.2.2

uber
0.1.0

declarative
0.0.20

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.15.0

signet
0.14.0

memoist
0.16.2

os
1.1.1

googleauth
0.15.0

httpclient
2.8.3

google-api-client
0.38.0

google-cloud-env
1.4.0

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

rexml
3.1.9

webrick
1.4.2

google-apis-core
0.2.1

google-apis-iamcredentials_v1
0.1.0

google-apis-storage_v1
0.1.0

rake
12.3.2

digest-crc
0.6.3

google-cloud-storage
1.30.0

emoji_regex
3.2.1

jmespath
1.4.0

aws-partitions
1.420.0

aws-eventstream
1.1.0

aws-sigv4
1.2.2

aws-sdk-core
3.111.2

aws-sdk-kms
1.41.0

aws-sdk-s3
1.87.0

forwardable
1.2.0

logger
1.3.0

date
2.0.0

stringio
0.0.2

zlib
1.0.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

strscan
1.0.0

fileutils
1.1.0

etc
1.0.1

io-console
0.4.7

libxml-ruby
3.1.0

psych
3.1.0

mutex_m
0.1.0

generated on: 2021-01-27

Upgraded to fastlane 2.173.0 same error, please see below.
/Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/fastlane_core/lib/fastlane_core/itunes_transporter.rb:419:in initialize': [!] undefined method start_with?' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/pilot/lib/pilot/build_manager.rb:366:in new' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/pilot/lib/pilot/build_manager.rb:366:in transporter_for_selected_team'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/pilot/lib/pilot/build_manager.rb:33:in upload' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/pilot/lib/pilot/commands_generator.rb:66:in block (2 levels) in run'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/pilot/lib/pilot/commands_generator.rb:166:in run'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/pilot/lib/pilot/commands_generator.rb:18:in start' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/fastlane/lib/fastlane/cli_tools_distributor.rb:114:in take_off'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/bin/fastlane:23:in <top (required)>' 	from /usr/local/bin/fastlane:23:in load'
from /usr/local/bin/fastlane:23:in <main>' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/fastlane_core/lib/fastlane_core/itunes_transporter.rb:419:in initialize': undefined method start_with?' for nil:NilClass (NoMethodError) 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/pilot/lib/pilot/build_manager.rb:366:in new'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/pilot/lib/pilot/build_manager.rb:366:in transporter_for_selected_team' 	from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/pilot/lib/pilot/build_manager.rb:33:in upload'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/pilot/lib/pilot/commands_generator.rb:66:in block (2 levels) in run' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'
from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run' 	from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'
from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.173.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'

Not sure if it would help to run with --verbose to get to the bottom of this, but I had a similar error from fastlane - 'undefined method `start_with?' for nil:NilClass' and the actual issue had to do with fastlane not finding xcodebuild.

@cpk1 , thank you very much. My XCode was in a different path. Once I corrected it, this issue disappeared.
Change the path if you installed Xcode somewhere else.
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer


feat: add ability to pass more arguments through the toggle script

Thank you sincerely for this, I am trying to build a neovim plugin out of this.

Adds the ability to pass more arguments to toggle script which will be able to change the socket path and the id format on the fly.

Wow, I was just drafting the idea and you seem to be already on board :D, Thanks @loichyan, I will look at your comments.

Thank you for your amazing work on this!
I have also drafted my neovim plugin out of this, albeit it still needs some work.
One caveat is I could not make it so for the neovim and toggling to disable to popup in popup behavior. I clearly understand that you like this behavior and it is your plugin, so I added something undestructive where if you pass --single-instance flag it always closes whatever open first. So it is like a real toggle.
The other caveat is I know that while creating a tmux popup, I know that I can pass an -e to pass a new set of environment variables, where I want to pass the neovim socket path so that flatten.nvim plugin works. However for the life of me I can not get this working, I am thinking that this is related to always creating a new tmux session with tmux -L new ... it just not behave as described in the documentation.
You can find the draft of the plugin if you are interested in here, it currently has no proper readme but it should be easy to follow through since it basically wraps the tmux commands.

So it is like a real toggle.

Certainly ! :) I was thinking about some ideas like this.

The other caveat is I know that while creating a tmux popup, I know that I can pass an -e to pass a new set of environment variables, where I want to pass the neovim socket path so that flatten.nvim plugin works.

That's intriguing. I will try to work on this later.

You can find the draft of the plugin if you are interested in here

I've had a quick look into your repo, and I am thinking it may not work as you expected (I may not have correctly understood how to use this plugin):

The user bound key <C-T> to require("tmux-toggle-popup").toggle().
They were working in tmux session A, and they pressed <C-T> to a new popup session B.
After some work, they were going to close the popup by pressing <C-T> again.
Popup session B received the key <C-T>, while nvim was running in session A and it would not receive <C-T>, so popup B would never be closed!

Popups in tmux are little tricky, whenever you open a new one, and move your focus into it, any further input events are sent to the popup instead of your original session. When handling the toggleable popup (let's say C), we actually attach a tmux session C in the popup, and when #{popup-toggle} is called again inside C, we simply detach the session C, in order to persist your work in the popup.
Therefore, if the user want to use <C-T> to close B, they have to create a temporary keybinding inside B. That's why I recommend the user to use a primary toggle key.
=====

So it is like a real toggle.

Certainly! :) I was thinking about some ideas like that.

The other caveat is that while creating a tmux popup, I know that I can pass an -e to provide a new set of environment variables, where I want to pass the neovim socket path so that the flatten.nvim plugin works.

That's intriguing. I will try to work on this later.

You can find the draft of the plugin if you are interested in here

I've had a quick look at your repo, and I am thinking it may not work as you expected (I may not have correctly understood how to use your plugin):

The user bound the key <C-T> to require("tmux-toggle-popup").toggle().
They were working in tmux session A, and they pressed <C-T> to open a new popup session B.
After some work, they intended to close the popup by pressing <C-T> again.
Popup session B received the key <C-T>, while nvim was running in session A and did not receive <C-T>, so popup B would never close!

 Whenever you open a new one and move your focus into it, any further input events are sent to the popup instead of your original session. When handling the toggleable popup (let's say C), we actually attach tmux session C in the popup, and when #{popup-toggle} is called again inside C, we simply detach session C to persist your work in the popup and allow you to attach to it again.
Therefore, if the user wants to use <C-T> to close B, they must create a temporary keybinding inside B (this can be accomplished through --on-init, but this means they must pass their desired key to require("tmux-toggle-popup").toggle()). That's why I recommend that users utilize a primary toggle key.

One caveat is I could not make it so for the neovim and toggling to disable to popup in popup behavior. I clearly understand that you like this behavior and it is your plugin, so I added something undestructive where if you pass --single-instance flag it always closes whatever open first. So it is like a real toggle.

This should be fixed in #6. This issue is basically caused by the same reason as the aforementioned toggle key issue.

Oh yeah, it is a little bit tricky as you imagined, so it is not a real toggle in this case.
So let us imagine that I have a global toggle key for having a scratch terminal at C-a C-a. That uses the tmux flow and creates a scratch terminal for me that is shared accross since I have a simpler configuration.
set -g @popup-socket-name 'default'
set -g @popup-id-format '#{session_name}/#{@popup_name}'

Inside the neovim, it is exactly like you said, I can toggle with a neovim specific keybind like <F1>, however as you said it catches the focus, so the closing is only possible through my global keymap <C-a><C-a>. In the sense, it is not a real toggle, but on <C-a><C-a> I can access my general scratch buffer and inside the neovim, I now have a separate session, specific to neovim. The idea is to add more toggles like <Space>tg to trigger lazygit to mostly mimic what I already have.
The config for neovim is here for the plugin albeit it is a bit more abstracted.

The idea is to add more toggles like <Space>tg to trigger lazygit to mostly mimic what I already have.

The only solution in my mind is to set temporary keybindings as mentioned in https://github.com/loichyan/tmux-toggle-popup/pull/5#issuecomment-2415373776. It seems there aren't any better options :(
AFAIK, tmux doesn't allow binding multiple key sequences, which is unfortunate but simplifies the transpilation from NeoVim keys to tmux keys [^1]. Therefore, you may provide an API like create_toggle({ key = "<F1>", command = "..." }), which requires the binding key.
BTW, I would like to change --single-instance to --toggle, and also document this argument in the README. I'm going to do this later.
[^1]: tmux and NeoVim has different key representions, e.g. F1 in tmux and <F1> in NeoVim. I believe, typically, removing surrounding angle brackets is enough to do so.

I have finished the readme on my neovim plugin and other than the short coming you are already aware of with the focus it really works like charm in my eyes. Let me see about that whenever the honeymoon phase ends.
But honestly, I can not thank you enough for implementing these features.

I have finished the readme on my neovim plugin

Ohhh, awesome! But I’ve just changed the argument name. You may update the documentation and the corresponding Lua code later. Sorry for the extra work.


no infinite property in multiselect element

Environment
latest vite, vue 3
Reproduction
need reproduction
Describe the bug
in your multiselect package has a infinite property but in vueform docs, i cant see
and when add infinite prop it does not work
Additional context
No response
Logs
No response

You can use the extend-options prop to add any option which has not been ported to Vueform yet (true for select, multiselect, tags, slider & toggle):
https://vueform.com/reference/multiselect-element#option-extend-options


Consider logstash configuration useability

I don't know the right answer. But using CLI parameters to alter the logstash config seems clunky. It's not immediately obvious to users who are used/have read that you use a configuration file.
Consider allowing the use of a configuration file (like ES) that is the same as a logstash configuration file. Parse and alter if you must, but it may be more simple (and reduce lines of code) to not parse the file at all. I.e. the user is responsible for passing the correct ES endpoint, etc.

We've discussed this here before. I agree with your suggested approach. Users want to interact with mesos-logstash in a similar way to Logstash.
However we wouldn't be able to just pass through a Logstash config file without alteration. Some current features are more dynamic, e.g. adding the Mesos slave ID to each log event.

What about having the config file generated by the scheduler and available on an endpoint? On task launch it can be downloaded by the Mesos fetcher just like the executor Jar and the logstash distribution.

Another thing… So I was thinking about using a template engine like Freemarker to generate Logstash configuration. Which is fairly easy. But then comes the resources, mainly ports.
If we give users the freedom to put whatever they want into the configuration, they will end up writing the same things in more places.
I see two solutions to giving users total freedom with a template logstash configuration:

Parse up the generated Logstash configuration and guess what resources are needed
Take all resources allocated to role that are offered by Mesos.

I vote for 2nd.

Quite a few things happened here.

The framework was migrated to Mesos-Starter
Spring Boot got upgraded to 1.3.2
Implemented external configuration

That looks great Martin. Ready.

Make sure you do some manual testing before you release, though.


[5.3] Added support for PhpRedis

Followup from https://github.com/laravel/docs/pull/2500 to add PhpRedis support to Laravel, because it's significatly faster than Predis.
This is a proof of concept. Feedback/suggestions are greatly appreciated.

Illuminate\Redis\Database is now an abstract class.
PredisDatabase and PhpRedisDatabase were introduced, extending Illuminate\Redis\Database
Laravel uses Illuminate\Contracts\Redis\Database instead of  Illuminate\Redis\Database in most places.
Illuminate/Cache/RedisStore and Illuminate/Cache/Repository now check key existence using null or false.
Laravel will use Predis as default unless the config value database.redis.client is set to phpredis.
Predis connection parameters are mapped to the slightly different Redis and RedisCluster parameters.

A few things are still unfinished:

New tests for PhpRedis
Redis Facade when using PhpRedis
Alias for redis in src/Illuminate/Foundation/Application.php

Doesn't the redis php library already use that extention if it's present?

Predis doesn't fallback to PhpRedis.

Oh. This was a lot more involved than I thought.

Redis Facade when using PhpRedis

Why do we need two facades?

What I meant by that is, that we need to make sure that Redis facade is working when using PhpRedis.

Looks like a decent start and the performance gains would probably be nice for people who use Redis heavily.

Why not contribute this driver to the other project so everyone benefits?

@taylorotwell Great, I'll test, improve and finish this up today.
@GrahamCampbell: Other project?

The PHP library we're using which already supports one of the native redis extensions.

@GrahamCampbell Do you have a link for more information on that?

https://github.com/nrk/predis/tree/v1.1/src/Connection

Also, right at the start of their readme:

Predis does not require any additional C extension by default, but it can be optionally paired with phpiredis to lower the overhead of the serialization and parsing of the Redis RESP Protocol.

:P

@taylorotwell
I've added separate subscribe() and psubscribe() methods for Predis and PhpRedis.
The client key is now pulled from the config in the RedisServiceProvider.
I've pointed the core alias for redis to the abstract Illuminate\Redis\Database class. I'm not sure if that's correct, or if we need a Redis Database Manager or similar.
Tests are all green locally, not sure what's happening with Memcached on Travis.

To test/use this:

Rename (or uncomment) Redis facade in config/app.php.
Add 'client' => 'phpredis', to redis array in config/database.php.

Please rebase. :)

Without merge commits please.

@GrahamCampbell I messed up the branch and reopened another PR.


fileupload not working in IE, not hitting the backend

Hi
I am using angular-file-upload for my app, everything working fine in chrome and firefox, but I am getting the problem with IE,
Its not even hitting the server at all, Can u help me to find out the bug

Working fine in Chrome

Any update on this issue? Having the same problem.

@stephendiadamo angular-file-upload doesn't support custom headers, so its not sending any provision headers,
I made lot of changes to backend according to it, but still facing the issue, its working absolutely fine in Non IE browsers


Add Visual C++ 2010 runtime dlls to release package

The HEKA stuff requires Visual C++ 2010 runtime. Instead of requiring thats users install it on there own, see if we can include it in the release package (if it's not too large).
Probably located in: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\redist\x64\Microsoft.VC100.CRT

Visual C++ 2010 runtime libraries are now included with Symphony 2.2+


use weak encryption in tests for speed

Time to run Safe tests before: 2.940s
Time to run Safe tests after: 0.012s

👍

To even more speed up the tests, consider replacing the test safes, too, e.g. https://github.com/bndw/pick/blob/8ef1d582d3bec1aeb240c03e0b0177df0dfd78da/safe/utils_test.go#L18
OpenPGP automatically encodes its crypto settings in the PGP MESSAGE.
The current test safe uses the default value of S2KCount: 65536 — This is why it's still a bit slow.


Column descriptions are missing

Based on feedback from @FilK78 in issue #22, It turns out that descriptions for Columns are missing.

Fixed with release of version v2.1.0 and merge #48


I want to use L0G-101086 with non-CM fractals

Is your feature request related to a problem? Please describe.
The problem is that I want to use L0G-101086 with non-CM fractals
Describe the solution you'd like
I'd like L0G-101086 to support non-CM fractals the way it parses/uploads/announces raids and CM-fractals.
Describe alternatives you've considered
I hacked together support for some non-CM fractals in my fork by using the slightly-outdated boss ids from this wiki page. It is working but it is an incomplete list and I know the hack does not match the architecture of this project.
Additional context
I'm pretty sure that the correct way to handle support for this is in updating the boss id tables in simpleArcParse/main.cpp (perhaps around line 444 and 629) plus putting the wing identification in L0G-101086.psm1's Convert-Boss-To-Wing function. But I just hacked together a temporary solution that worked in my fork and thought I'd post it in case anyone wants to take the support further.

Yea, this would just be a matter of adding the necessary info, as well as modifying your arcdps config to enable these IDs.
I believe if you've enabled the IDs, it will function without names, but we need to add the names to the list for that to function properly.

Yeah, the behavior I was seeing previously was that since the ids were not included for the non-CM fights, the scripts would classify everything as raids but also not know the wings. And the fights would be titled "Unknown encounter "+ bossId. Thanks for being so responsive and updating the code!!

Is it possible to confirm whether the pull request i made is working for you? :)

https://github.com/jacob-keller/L0G-101086/pull/30

Sorry for the delay in response - my static group has been on break the last two weeks :)
I'll plan to test the PR version tomorrow and let you know. Thanks again!

If you need an updated copy of the simpleArcParse binary let me know
On Sun, Dec 8, 2019, 6:21 PM David Pickett<EMAIL_ADDRESS>wrote:

Sorry for the delay in response - my static group has been on break the
last two weeks :)
I'll plan to test the PR version tomorrow and let you know. Thanks again!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/jacob-keller/L0G-101086/issues/29?email_source=notifications&email_token=AAGVRXYB2BSTUYDP2FEUSUDQXWTSJA5CNFSM4JR6MAPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGHTRDA#issuecomment-563034252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGVRX7CXZKBPUMIOR5BFNDQXWTSJANCNFSM4JR6MAPA
.

Ah yes - an updated binary of simpleArcParse for the PR would be great. I haven't tried building the simpleArcParse solution

Or is there a set of instructions for building simpleArcParse (I'm assuming with Visual Studio 2017 since that is what the solution file is for)? I tried opening the included solution file but it gave me an error that there wasn't a project file. So I tried opening the folder and having it create a project but then there were other errors that came up. Sorry most of my development is in Linux these days so I'm not super familiar with standard practices in Visual Studio. Thanks again!

I normally use code blocks. I apologize for not having made the build for
you yet :(
I think it doesn't build in visual studio due to some issues with depending
on gcc compiler builtins...
On Mon, Dec 16, 2019, 12:41 PM David Pickett<EMAIL_ADDRESS>wrote:

Or is there a set of instructions for building simpleArcParse (I'm
assuming with Visual Studio 2017 since that is what the solution file is
for)? I tried opening the included solution file but it gave me an error
that there wasn't a project file. So I tried opening the folder and having
it create a project but then there were other errors that came up. Sorry
most of my development is in Linux these days so I'm not super familiar
with standard practices in Visual Studio. Thanks again!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/jacob-keller/L0G-101086/issues/29?email_source=notifications&email_token=AAGVRX5T67FZZI4P6GFQBFDQY7RYJA5CNFSM4JR6MAPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHAAYGA#issuecomment-566234136,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGVRXZOTDTFRX3YA6ZJDJ3QY7RYJANCNFSM4JR6MAPA
.

I installed CodeBlocks with the MinGW compiler suite. I created a new project for simpleArcParse and added the main.cpp file, json.hpp, and the single_include json header (making sure to get the file from the git submodule). It also looks like I needed to enable the c++1 compiler setting. And now it looks the build worked for simpleArcParse.exe (just writing notes in case anyone else is looking for instructions on building it or for my future reference heh).
I'll try running the PR code with my static fractal group tomorrow. Thanks!

I tried the PR version with my latest logs and the changes look like they worked.
For a separate issue though, I noticed that simpleArcDps is not detecting fight success the same way that EliteInsights is detecting success though. Which is why in my branch I used the success field that was returned in the upload result. I'll attach screenshots of what my discord posts look like using my master branch versus using the PR build. Thanks again for all your work!
PR build report:

pickettd master branch report:

Yea, that's a known problem with simpleArcParse. To be honest I am thinking
of switching to linking to the elite insights as the proper parser instead.
On Wed, Dec 18, 2019, 6:54 PM David Pickett<EMAIL_ADDRESS>wrote:

I tried the PR version with my latest logs and the changes look like they
worked.
For a separate issue though, I noticed that simpleArcDps is not detecting
fight success the same way that EliteInsights is detecting success though.
Which is why in my branch I used the success field that was returned in the
upload result. I'll attach screenshots of what my discord posts look like
using my master branch versus using the PR build. Thanks again for all your
work!
PR build report:
[image: image]
https://user-images.githubusercontent.com/410782/71140919-b99c1580-21b6-11ea-84d0-54e6a541d183.png
pickettd master branch report:
[image: image]
https://user-images.githubusercontent.com/410782/71140950-d1739980-21b6-11ea-8a5f-99afe5e869a3.png
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/jacob-keller/L0G-101086/issues/29?email_source=notifications&email_token=AAGVRX2UH54SFECSLBBFWEDQZLO5TA5CNFSM4JR6MAPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHIG5TY#issuecomment-567307983,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGVRX5T7LBNMDJQUG4JUBTQZLO5TANCNFSM4JR6MAPA
.

For the encounters that failed, is it possible if you could send me a copy of them so I can investigate exactly why the encounter doesn't detect end state properly? I'm going to merge these changes for now.


TypeScript failed to compile this.$cookie

Hi guys,
I'm using Vue3 and vue-cookie-next's this.$cookie in mounted() as the README says. But typescript throws me Failed to compile error. But the console prints everything just fine.
I tried to set "strict": false in the tsconfig.json and then everything works fine. Anyone knows what's happening here?
TS2339: Property '$cookie' does not exist on type '{ name: string; setup(): { authors: { data: never[]; }; }; mounted(): void; }'.
    28 |   },
    29 |   mounted() {
  > 30 |     this.$cookie.setCookie("username", "user1");
       |          ^^^^^^^
    31 |     console.log(this.$cookie.getCookie("username"));
    32 |   },
    33 | };

I'm having the same issue :(

I'm having the same issue :(

Try to use this, it works
import { VueCookieNext as $cookie } from 'vue-cookie-next'
$cookie.setCookie('frontend', 'lalala')
<script lang="ts">
import { defineComponent, reactive, onMounted } from 'vue'
import { VueCookieNext as $cookie } from 'vue-cookie-next'

export default defineComponent({
  name: 'develope',
  setup() {
    onMounted(() => {
      $cookie.setCookie('frontend', 'lalala')
    })
  }
})
</script>

this should be fixed in (https://github.com/anish2690/vue-cookie-next/pull/5)


Deleting multiple files is slow

Hello, when I delete 2500 files in one folder, on some devices, it takes more than 30 minutes. In my opinion it is caused by calling write() on each delete(). I' ve already tried to call only removeEntry() on each file and then call write(), but it corrupts my drive somehow and deletes more files than should delete. Is there any solution?

In theory this should be possible. Can you show some code?

In FatDirectory:
  fun deleteFiles(files: List<FatFile>) {
        files.forEach {
            it.initChain()
            removeEntry(it.entry)
        }
        write()
        files.forEach {
            it.chain.length = 0
        }
    }

Usage:
val files = folder.listFiles().toList()
folder.deleteFiles(files.filter { /* Some filtration by name */ })

Does it work if you do not set the chain to 0?

No, it still deletes more files than it should.

@magnusja I've noticed that FatFile.delete() doesn't work for me too. But only for 400+ files in a folder.
My usage

Create a folder with 400 files on a PC
In my app, I list the folder and delete 200 files (like the previous usage)

But when I open USB drive on a PC whole folder disappear and remaining files are in LOST.DIR folder.


"ses-lite" missing permit for %InertStaticModuleRecord%

Using<EMAIL_ADDRESS>I call require('ses/dist/lockdown.cjs') and then lockdown(). The following error is thrown:
Uncaught Error: Expected permit object at whitelist.%InertStaticModuleRecord%
  at Object.completePrototypes (...)
  at repairIntrinsics (...)
  at assign.lockdown (...)

If I remove the line     '%InertStaticModuleRecord%': InertStaticModuleRecord, from the intrinsics object inside ses/dist/lockdown.cjs, the error no longer occurs and everything appears to work, although the following messages appear in the console:

Toggle console message visibility

Removing intrinsics.Promise.any
Removing intrinsics.%InertFunction%.arguments
Removing intrinsics.%InertFunction%.caller
Removing intrinsics.%InertGeneratorFunction%.arguments
Removing intrinsics.%InertGeneratorFunction%.caller
Removing intrinsics.%InertAsyncFunction%.arguments
Removing intrinsics.%InertAsyncFunction%.caller
Removing intrinsics.%InertAsyncGeneratorFunction%.arguments
Removing intrinsics.%InertAsyncGeneratorFunction%.caller
Removing intrinsics.%InitialDate%.arguments
Removing intrinsics.%InitialDate%.caller
Removing intrinsics.%SharedDate%.arguments
Removing intrinsics.%SharedDate%.caller
Removing intrinsics.%InitialError%.arguments
Removing intrinsics.%InitialError%.caller
Removing intrinsics.%SharedError%.arguments
Removing intrinsics.%SharedError%.caller
Removing intrinsics.%InitialRegExp%.arguments
Removing intrinsics.%InitialRegExp%.caller
Removing intrinsics.%SharedRegExp%.arguments
Removing intrinsics.%SharedRegExp%.caller
Removing intrinsics.%InertCompartment%.arguments
Removing intrinsics.%InertCompartment%.caller
Removing intrinsics.%StringPrototype%.replaceAll

My execution environment is a Web Worker using the latest version of Google Chrome. The error is not thrown if I require('ses') using<EMAIL_ADDRESS>or<EMAIL_ADDRESS>

Only sloppy functions have caller and arguments properties. Is ses/dist/lockdown.cjs sloppy?

Nevermind my question. Doesn't fit the symptoms. Will investigate tomorrow.

I’ve been able to reproduce this error with this script in Chrome 85.
<!doctype html>
<script src="dist/lockdown.umd.js"></script>
<script>
  lockdown({
    errorTaming: "unsafe"
  });
</script>

I’ve also reproduced it separately in a web worker, but that appears to not be germane.

Core problem diagnosed, but with some remaining mysteries.
We recently divided the whitelist into whitelist which applies to ses-without modules, and moduleWhitelist with the additional elements to be added to whitelist when doing ses-with-modules. Loading just lockdown runs ses-without-modules. The non-module whitelist doesn't have %InertStaticModuleRecord%. But the intrinsics do. completePrototypes goes through the intrinsics, looking up their entry in the whitelist, to figure out how to do its thing (add in the appropriate prototype objects). %InertStaticModuleRecord% is in the intrinsics it starts with.
No idea yet why this fails on the web but works on Node. So far, the bug seems like it should be host-independent.

Reproduced on Node.js with:
// node index.cjs
require("./dist/lockdown.cjs");
lockdown({
  errorTaming: "unsafe"
});

And with Node.js targetting ESM:
// node index.js
import "./lockdown.js";
lockdown({
  errorTaming: "unsafe"
});

It looks like all of the tests that import SES-lite are failing to actually call lockdown(). They did not call lockdown() before splitting the lite layer, at least in the immediate prior version.


blobs -- are they ok?

They may not be ok, a blob in @boreq's profile view is not loading:
<EMAIL_ADDRESS>

[x] blobs in replies are showing now

https://github.com/planetary-social/viewer-frontend/pull/73


Product view UI improvements

Description
Major product UI improvements, including:

new "empty" buttons, replacing the default buttons
deletion of many non-essential information on the summary tab
merge of card views in all tabs
normalization of padding/margin values

Fixes #2408, #2317 issues

@raphael0202 Can you add a couple of screenshots to the PR ?

Weird line around the button

Ok, going to merge that one


Nio byte channel

Resolves #18043
@pditommaso FYI

Check recording file sizes to remove any that are too large

Check recording file sizes to remove any that are too large


Admin Language Pt_BR

Hello, I am helping to translate the BoxBilling in transifex, but when I updated the .po file in the folder bb-locale the language continued in english. How do I change the admin panel? Thanks.

hello, thank you for your contribution. You should be able to see selectbox in upper left corner of admin area if there are several languages in bb-locale folder.


Update Orion to 3.10.1

Proposed changes
This PR updates Orion to 3.10.1.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update docker image version of FIWARE GE.
[X] Update only documentation, not any source code.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

[X] I have read the CONTRIBUTING doc
[ ] I have signed the CLA
[X] I have updated the change log (CHANGELOG.md)
[X] I send this pull request to the v0.28.0-next branch.
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
N/A

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (7c9a622) 100.00% compared to head (59220d1) 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@              Coverage Diff               @@
##           v0.28.0-next      #283   +/-   ##
==============================================
  Coverage        100.00%   100.00%
==============================================
  Files                 2         2
  Lines              1779      1779
==============================================
  Hits               1779      1779

Impacted Files
Coverage Δ

config.sh
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove the nixpkgs module

It violates the architecture and should be replaced by a NixOS/nixpkgs default flakeModule.

Arguably the nixos* options should move there as well, although those have the bad excuse of nix flake check comitting the same layering violation.

It depends where you set the needle between convenience and purity. All the flake-parts users would most likely end up re-adding it. Nixpkgs has a special place in the ecosystem and is a dependency of flake-parts itself.


Bug fixes

Very minor bug fixes:

Make all paths absolutes and save them back as strings in the output config file.
Fixes some discrepancies of typing for the 'rescale' variable.
Making sure the output config file reflect the logic applied on the visualisation settings (freq_* and vis_*).

Fixes #308
Fixes #273
Fixes #307

@jolaem should we merge this?


cannot read property 'getGroup' of undefined.

When initializing the app with express-stormpath, it immediately fails with this error:
.../node_modules/express-stormpath/node_modules/stormpath-config/lib/strategy/EnrichIntegrationFromRemoteConfigStrategy.js:155
          outerScope.client.getGroup(href, function(err, group) {
                           ^

TypeError: Cannot read property 'getGroup' of undefined

Upon looking into it, it appears outerScope.client is never set in EnrichIntegrationFromRemoteConfigStrategy.js. In this context, outerScope is an alias for the Enrich instance. So by changing line 240 from
var client = this.clientFactory(config);

to
var client = this.client = this.clientFactory(config);

I was able to overcome the error. Is this a reasonable alteration? Or are we expecting that there is a client already on the Enrich... instance at that point?

@epferrari For what it's worth, I found that I could hit this error consistently if I set the default account store of my Stormpath application as any Group resource. When I changed this to an Organization, I do not get this error

Thanks @epferrari and @jibiabraham for the report!  I can confirm that error when a group is mapped as the default account store, and taht @epferrari 's fix works.  I've issued a PR for this, stay tuned for a new release.
@epferrari are you using this library with express-stormpath?

@robertjd Thanks for fixing. Yes, I'm using with express-stormpath.

Hi @epferrari , thanks for the ping.  This is now released, you may need to upgrade your stormpath dependency to 0.19.1, please let me know if you run into any issues.

Will do, thanks for the update!
On Mon, Jan 16, 2017 at 3:53 PM robertjd<EMAIL_ADDRESS>wrote:

Hi @epferrari https://github.com/epferrari , thanks for the ping. This
is now released, you may need to upgrade your stormpath dependency to
0.19.1, please let me know if you run into any issues.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stormpath/stormpath-node-config/issues/65#issuecomment-272970428,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGvKVm-Rkmf0fFwi68SuUSbBkGs4A2QFks5rS-a8gaJpZM4K3ebR
.


Add Paypal option removed if Paypal already exists

Details
If the Paypal option has already been added by the user, will not show add PayPal option now.
Fixed Issues

$ https://github.com/Expensify/App/issues/5418
Tests & QA Steps

Go to Settings -> Payments
If PayPal username is not added already, add now.
Now Payments page, click Add Payment Method option
Should not see Paypal.Me in options.

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

🚀 Deployed to production by @roryabraham in version: 1.1.11-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


fix: panning in a by CSS rotated plot doesn't work correctly

In Firefox and Safari, panning doesn't work correctly when a plot's parent is rotated by CSS.
The panning issue is caused by getScreenCTM() in https://github.com/d3/d3-selection/blob/679346930e41a4037ef72d937b425bbe4d865ab1/src/point.js#L7, which doesn't take the viewport transforms into account in Firefox (https://stackoverflow.com/questions/71368779/svg-getscreenctm-does-not-account-for-css-transforms-in-firefox) and Safari
As seen here: https://github.com/spacetelescope/jdaviz/pull/1384#issuecomment-1386107387
To reproduce, run the following code in Firefox or Safari:
from bqplot.interacts import PanZoom
import ipywidgets as widgets
import bqplot as bq
from traitlets import link
from collections import OrderedDict
import ipyvue

import numpy as np

x_sc = bq.LinearScale()
y_sc = bq.LinearScale()

x_data = np.arange(500)
y_data = np.random.randn(3, 500)

line_chart = bq.Lines(x=x_data, y=y_data, scales= {'x': x_sc, 'y': y_sc},
                       display_legend=True, labels=["line 1", "line 2", "line 3"] )

ax_x = bq.Axis(scale=x_sc)
ax_y = bq.Axis(scale=y_sc, orientation='vertical', tick_format='0.2f')

fig = bq.Figure(marks=[line_chart], axes=[ax_x, ax_y])
fig.layout.width = '95%'

pz = PanZoom(scales={'x': [x_sc], 'y': [y_sc]})
pzx = PanZoom(scales={'x': [x_sc]})
pzy = PanZoom(scales={'y': [y_sc], })

zoom_interacts = widgets.ToggleButtons(
                                        options=OrderedDict([
                                            ('xy ', pz),
                                            ('x ', pzx),
                                            ('y ', pzy),
                                            (' ', None)]),
                                        )

link((zoom_interacts, 'value'), (fig, 'interaction'))
ipyvue.Html(
    tag="div",
    style_= "transform: rotate(45deg)",
    children=[fig]
)

References

Code changes
This commit checks whether the browser is not Chrome and has a rotated parent, then determines the mouse position differently.
User-facing changes
Panning now also works correctly for non-Chrome browsers for plots with CSS rotated parents, with a small difference in behavior: panning stops if the mouse leaves the plot element.

Is the CI failure related?

@mariobuikhuizen can you rebase now that https://github.com/bqplot/bqplot/pull/1550 is in?

Ah, I can do that from the github UI :)

Great work mario, GPT4 and Maarten approved :)

meeseeksdev please backport to master


Add External Function capability

Add a TryExternalFunction function method to the Expression object.
If a Function is not found internally, then this method is called so new functionality can be very easily added for specific usages.
the TryExternalFunction function is passed the name of the function plus the arguments and uses the Try pattern.
The unit tests show example usage by adding a "Range" function and a "Repeat" function.

Just found https://github.com/matheval/expression-evaluator-c-sharp/pull/8
Assume this will be a PR soon


add the ability to pause a script

It's a common need to assess the state of the page during automation, it would be nice to have a promise-based hackium.pause() method that will pause execution until unpause()-ed via the repl.

Added via f6c057dba449478030cb22fdd580f574baf3782a


How should I set up resources from another operator in e2e tests?

Type of question
Are you asking about community best practices, how to implement a specific feature, or about general context and help around the operator-sdk?
This is a question around best practices for writing e2e tests for an operator that has a dependency on another operator, specifically one implemented with operator-sdk.
Question
I need to provide a little background. I am developing an operator that has a dependency on another operator. This made writing e2e tests a little more complicated in terms of setup. I am storing manifests (RBAC, service account, deployment) in a test/manifests directory. My Makefile has the targets e2e-test and e2e-setup. The former depends on the latter and e2e-setup creates everything in the test/manifests directory.
What is the best way to do this?  I spent some time looking to see if there is a particular way to handle this scenario with operator-sdk, but I did not find anything definitive.
Environment

operator-sdk version: 0.9.0

@jsanda It sounds like the dependency on the other operator is a runtime dependency? Is that correct?
If so, it sounds like you're looking for suggestions on how to deploy the operator your operator depends on? Have you looked at the Operator Lifecycle Manager? While not directly related to running e2e tests, it may be able to help you with managing your operator's runtime dependencies.
Barring that, your current approach seems like a reasonable way to structure your e2e test setup and execution.

Let us know if you have any more questions!


Jrpc fixes

i noticed a typo in the recent checkin that should be fixed or else we may not always pass the right connection to a Go routine.

Need to do redo this with less fixes.


Starter Kit not working by default clone

Currently out of the box downloading the starter project does not work for me in vite or react, I tried downgrading my react scripts to v 4.0.3 still getting errors
ERROR in<EMAIL_ADDRESS>6:0-71 Module not found: Error: Can't resolve 'use-sync-external-store/shim' in '/home/sam/Desktop/help/node_modules/@zag-js/react/dist' Did you mean 'index.js'? BREAKING CHANGE: The request 'use-sync-external-store/shim' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"'). The extension in the request is mandatory for it to be fully specified. Add the extension to the request.
Using node LTS not sure what the issue is here

Hey @SamSin369 thanks for letting us know! This should be fixed in the latest version of the starter kit.


apt-key command is deprecated in Ubuntu 22.04

Our instructions say to use:
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - but Ubuntu warns that apt-key is deprecated

Our actual installer instructions don't say this (https://adoptium.net/installation/linux/). I suspect the user is following an old blog post


Accessibility: Opening a drawer or other window doesn't read the screen that was opened.

This is on our short-term radar.


Godot Mono Projects can hang Building on Windows 10 (unresponsive forced to restart Godot, no logs)

Tested versions
4.1 - Stable Mono
4.1.2 - Stable Mono
4.2 - Stable Mono
System information
Godot v4.2.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 Laptop GPU (NVIDIA; <IP_ADDRESS>42) - 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 Threads)
Issue description
dotnet --version
6.0.417
I would estimate in the past month using Godot quite heavily 1/50 builds hangs. Any mono project with a C# resource even 1 basic script can do it, more probable when making code changes to C#. I chalked it up to either a rare condition or my local dev rig at first.
When fixing a defect on a fresh build of Godot hash aa5b6ed13e4644633baf2a8a1384c82e91c533a1 a hang event occured, I was able to remote debug the engine during one of these hanging events:

I think I am experiencing this:
https://stackoverflow.com/questions/60208678/process-sometimes-hangs-while-waiting-for-exit
Adjustments to the build to timeout + tweaks to BuildSystem.cs may solve the issue. I have an experimental fix but I am waiting for more incidents to occur.
Reproduction is hard when I try to force MSBuilds to fail by making rapid changes and rebuilding it works fine. When the issue does manifest I can have Godot crash, restart Godot and have it crash again immediately on the first new build run. It seems to be tempermental but dependent on MSBuild's mood.
I am really curious if anyone else has experienced this?
Steps to reproduce
I dont have an MRP as any project with a mono script present in the scene seems capable of triggering it (based on it occuring in 5+ different repos based on Kenny starters and other test projects).
Minimal reproduction project (MRP)
N/A

This is still going v4.3.dev.mono.custom_build [7c6e85de0].
My lazy fix is lightest touch, I simply add a flush for the buffers so Godot cant hold the process open forever (never seen it loop twice). I picked 5 secs so I could spot the issue clearly (my build time is around 70ms, a more suitable wait time would be 500ms):
        public static int Build(BuildInfo buildInfo, Action<string?>? stdOutHandler, Action<string?>? stdErrHandler)         {             using (var process = LaunchBuild(buildInfo, stdOutHandler, stdErrHandler))             {                 while (!process.WaitForExit(5000))                 {                     string? slowBuildMessage = "DotNet build process slow flushing outputs and waiting longer";                     stdOutHandler?.Invoke(slowBuildMessage);                     if (Godot.OS.IsStdOutVerbose())                         GD.Print(slowBuildMessage);                     process.StandardOutput.ReadToEnd();                     process.StandardError.ReadToEnd();                 }                 return process.ExitCode;             }         }
I will try to grab the MSBuild logs next time I escape it. Even without an MRP I still recommend considering a merge on this the risk vs reward even if its rare makes it worth considering.


Getting ready to Qt 6 (2/n). Remove QApplication::globalStrut()

This function has been deprecated in Qt 5.15.0, and has been removed in Qt 6.
I've separated this commit from bitcoin-core/gui#577 because it could have user-faced behavior changes.

@shaavan

Concept ACK
I successfully verified that the property globalStrut() is obeselete in Qt 5. Refernce. So conceptually (and by approach), I agree with this PR. However, I would like to confirm one thing before ACKing this PR.
You mentioned that this change could have user-faced behavior changes. However, by my understanding:

QSize::expandedTo returns a size max of caller and argument. See for reference.

By default, GlobalStrut has 0 widths and height value until it is not changed, which is not being done in the codebase.

Hence A.expandedTo(0) should be equivalent to A.

Hence, removing expandedTo() should be a simple refactoring change in this case.

So would you please explain how this PR could have user-faced behavior change?

Thank you for your review. Your analysis is correct. I've removed mention of user-faced behavior change from the PR description.


[SPARK-46784][K8S][TESTS] Create and use a K8s test tag for PersistentVolume

What changes were proposed in this pull request?
This PR aims to create and use a new K8s test tag, pv, for PersistentVolume tests.
Why are the changes needed?
To improve PersistentVolume tests
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.

Thank you, @LuciferYang . I'll rebase and merge.


Heinous speed issues with ALEAgentHost

Rough timing tests (on my sluggish VM):
ALEAgentHost.sendCommand takes roughly 10-15ms.
Of that:
ALEInterface::act is taking about 0.3ms
The frame scaling/copying is taking (on average) around 0.3ms
The remaining 95% of the time appears to be spent in the reward code - largely, I suspect, in serialising/deserialising the reward XML message.
Needless to say, it should be possible to speed this up.

This constructor is the culprit:
TimestampedReward::TimestampedReward(boost::posix_time::ptime timestamp,std::string xml_string)
It is taking around 10ms.


https_passthrough with jwt_authn in the middle

I'm trying to set up a proxy with a jwt auth in the middle of a client/server communicating using https.
So i tried something like :
static_resources:

  listeners:
  - name: listener_0
    address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 9901
    filter_chains:
    - filters:
      - name: envoy.filters.network.tcp_proxy
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
          cluster: qm
          stat_prefix: https_passthrough

          http_filters:
          - name: envoy.filters.http.jwt_authn
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication
              providers:
                jwt_auth:
                  local_jwks:
                    inline_string: '{"keys":[{"kty":"oct","alg":"HS256","k":"cGFydGVj"}]}'
                  from_headers:
                  - name: Authorization
                    value_prefix: "Bearer "
              rules:
              - match:
                  prefix:  "/"
                requires:
                  provider_name:  jwt_auth
          - name: envoy.filters.http.router
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
          route_config:
            name: local_route
            virtual_hosts:
            - name: local_service
              domains: ["*"]
              routes:
              - match:
                  prefix: "/"
                route:
                  host_rewrite_literal: xxxxx.com
                  cluster: qm-cluster

  clusters:
  - name: qm
    type: STRICT_DNS
    lb_policy: round_robin
    load_assignment:
      cluster_name: qm
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: xxxxx.com
                port_value: 443

But i get this error : Protobuf message (type envoy.config.bootstrap.v3.Bootstrap reason INVALID_ARGUMENT:http_filters: Cannot find field.) has unknown fields
I manage to get jwt_auth work with http so i feel like the config for jwt_auth and router are OK.
I don't really know what's wrong with this config so i get to ask myself :
Is this even possible to combine https_passthrough and jwt_auth ?

The TCP proxy network filter does not support the use of http filters (therefore is has no http_filters field, which causes the error you're getting). The jwt_authn http filter only works with the HttpConnectionManager. Using the HTTP connection manager will require setting up TLS since it requires access to unencrypted HTTP requests.