If faces.db fails, revert to scanner

There are some Android OSes that are failing to properly use the faces.db (the dreaded "tried to write a read-only database" error).  In those circumstances, we should fallback to the Scanner (which offers less functionality but actually works in this situation).

Think I figured out the problem actually.  It seems that SQLiteDatabase.openDatabase() automatically tries to set the android_metadata table's locale on open.  If the locale is not English, then it fails miserably because I'm telling it that it can't write the db but it must.
The answer seems to be to add the NO_LOCALIZED_COLLATORS flag, so it doesn't set this table.
Fixed in git 6ee12a387364d969798371d417badbe3ccbc40e0

Seems to still be happening in the latest version.  Going to try just turning off read-only entirely.

Second attempt at fix in git 39b255c38994c0de1e934197c52a0327b0c83b32


Extension host terminated unexpectedly. Please reload the window to recover.

VSCode Version: Code 1.12.2 (19222cdc84ce72202478ba1cec5cb557b71163de, 2017-05-10T13:20:36.315Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions: none

Steps to Reproduce:

Run visual studio code on Windows 10 as non-admin user (works fine as admin user)
Click on "reload" button results in same error again
Rebooting/re-install doesn't help
Installing previous version 1.11.2 results in same error

Nodejs v6.10.3, npm 5.0.3, git version 2.13.0
No extensions are installed. Running code with --disable-extensions makes no difference.
No exceptions noted in --verbose mode:
[main 9:02:26 PM] args: { _: [],
  help: false,
  h: false,
  version: false,
  v: false,
  wait: false,
  w: false,
  diff: false,
  d: false,
  goto: false,
  g: false,
  'new-window': false,
  n: false,
  'unity-launch': false,
  'reuse-window': false,
  r: false,
  performance: false,
  p: false,
  'prof-startup': false,
  verbose: true,
  logExtensionHostCommunication: false,
  'disable-extensions': false,
  disableExtensions: false,
  'list-extensions': false,
  'show-versions': false,
  nolazy: false }
[main 9:02:27 PM] IPC#vscode-machineId
[main 9:02:27 PM] IPC#vscode-workbenchLoaded

Setting "git.enabled": false has no impact. Folder has no git repo.
None of the solutions here work:
https://github.com/Microsoft/vscode/issues/23976
Removing all folders in C:\Program Files (x86)\Microsoft VS Code Insiders\resources\app\extensions causes the error to go away, but this can't be the right solution?
Help->Toggle Developer Tools-> Console shows this:
messageService.ts:125Extension host terminated unexpectedly. Please reload the window to recover.
e.doShow @ messageService.ts:125
extensionHost.ts:324Extension host terminated unexpectedly. Code:<PHONE_NUMBER>  Signal:  null
d.onExit @ extensionHost.ts:324

This also occurs on visual studio code insider.

Seems to be duplicated here:
https://github.com/Microsoft/vscode/issues/26628


EC symbolic

Change the Point type and friends so that they may support Symbolic computation.
Resolves #400

Really like the way elliptic curve API changed! So clean and polymorphic now
Hope we will sort the stuff with Conditional/Eq/Ord out so that modules in Base do not depend on Symbolic, just rubs me the wrong way...

(Though I still believe that we should have Symbolic-specific versions of Eq and Ord classes for a cleaner API for Symbolic users which are not involved in language-polymorphic stuff)

^ I think this is best handled by re-exporting and properly documenting in friendly ways these terms and others in a Symbolic.Prelude.

Well, I'm only concerned about Symbolic functions which are polymorphic in datatypes. Take an example like this:
find :: a -> Vector n a -> Maybe c (UInt k r c)

What should the constraints look like?
With language-agnostic Eq
find :: (Symbolic c, Eq a, BooleanOf a ~ Bool c) => a -> Vector n a -> Maybe c (UInt k r c)

With Symbolic-specific Eq
class SymbolicData a => Eq a where
  (==) :: a -> a -> Bool (Context a)

find :: (Eq a, Context a ~ c) => a -> Vector n a -> Maybe c (UInt k r c)

P.S. We can introduce type aliases however we want, sure, but the real interface the user is going to interact with are compiler errors, and usually type aliases are not present there


How to set screen size?

Hello!
My tests fails in headless chrome due to smaller window size than I have in regular chrome.
Is there any way to configure default window size?
Thanks

As I see from the source code there is no other way to set puppeteer's viewport other than calling resizeWindow before each test.
https://github.com/jdobosz/testcafe-browser-provider-puppeteer/blob/master/src/index.js#L50
It would be great to have an ability to set the viewport size right in openBrowser method.
Or at least provide reasonable defaults.

+1

+1

I believe await t.resizeWindow(1366, 768); is working for me. Have you tried changing the browser size that way? Perhaps it can be used early enough in your code for your needs.


Change suggestions from Luke

Indents,
serialize_dict to return error message for unsupported formats,
Added boolean value to 'create_file'

I am deleting this branch because the changes were made without pylint


[BUG] Dashboard button on Left Nav isn't working correctly

The "Dashboard" button most of the button is not selectable.
If you are logged in to Harvester and you select any other button in the left nav and then try to select the "Dashboard" button most of the button is not selectable. I am using Edge for this, which is chromium based.
That the "Dashboard" button acts like every other button in the left nav menu.
Environment:

Harvester ISO version: 1.0.0
Underlying Infrastructure: Intel NUC bare metal

Additional context
Add any other context about the problem here.

@robertsirc can you provide a screenshot/recording to help understand the problem?

The cursor looks like this:

and it should look like this:

to get to the dashboard you have a little space at the bottom of the "Dashboard" button to click.

Weird, I don't have that problem with Chrome.
We will take a look.

I'm not seeing this with Firefox 91.3.0 ESR on openSUSE Leap 15.3

Using Edge 96.0.1054.62(x86_64) can not reproduce the issue.

Hi, @robertsirc
I tried to reproduce the problem: I found that only when the mouse is moved into the browser from another application, but without a click action, the mouse does not really act on the browser at that moment, so an arrow is displayed instead of a hand icon  (For any browser).
https://user-images.githubusercontent.com/24985926/155081028-d305365e-63ab-4d2c-9897-65b3a7ea7e13.mov
.


removed typo from root folder

Removed typo
root_folder = exp_path = Path().absolute()..parent / "experiments"

changed to
root_folder = Path().absolute().parent / "experiments"

@natct10 or @RomainGoussault can one of you provide the 2nd approval and then merge?

Awesome, thank you @akshaysonawaneS!


Fix HTTP request test

$subject

Codecov Report

Merging #15686 into master will decrease coverage by 0.18%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #15686      +/-   ##
============================================
- Coverage     13.37%   13.19%   -0.19%
- Complexity     1720     1722       +2
============================================
  Files           930      925       -5
  Lines         35802    35680     -122
  Branches       5155     5134      -21
============================================
- Hits           4790     4709      -81
+ Misses        30536    30495      -41
  Partials        476      476

Impacted Files
Coverage Δ
Complexity Δ

composer/packages/tracing/src/TraceList.tsx

composer/packages/tracing/src/ToolBar.tsx

composer/packages/tracing/src/DetailView.tsx

composer/packages/tracing/src/TraceLogs.tsx

composer/packages/tracing/src/index.ts

...main/java/org/ballerinalang/net/http/HttpUtil.java
34.43% <0%> (+0.27%)
91% <0%> (+1%)
:arrow_up:

.../http/nativeimpl/request/GetEntityWithoutBody.java
50% <0%> (+25%)
2% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Develop grid layout

Grid to showcase people at different levels

@EllaCodes4 already created this layout in Figma that can be used to showcase people at different level so I'm closing this


apk updates are failing 3.15,3.17 - ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/main: temporary error (try again later)

This started happening few hours ago. I have tried the following options to ensure a clean environment and all failed.

Reinstalling docker
Reboot machine couple of times
reconnect to network
use 3.15 & 3.17 images
change mirrors in /etc/apk/repositories

docker run --rm -it alpine:latest Unable to find image 'alpine:latest' locally f271e74b17ce: Download complete 93d5a28ff72d: Download complete 042a816809aa: Download complete 8921db27df28: Download complete / # apk update fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/main: temporary error (try again later) WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: No such file or directory fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later) WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: No such file or directory 2 errors; 15 distinct packages available / #

something in the comcast/vpn networking is not resolving the DNS for dl-cdn.alpinelinux.org. Confirmed it is working from other networks


Use upstream tile, fuse, and distribution for codegen driver approaches.

This depends on https://github.com/google/iree/pull/8613

We have correctness issue because we don't apply rewriteLinalgDestructiveUpdates. This is needed after IREE distribution. I'm going to create a new pass which calls the method, and add the pass right after the distribution.
IR after distribution: https://gist.githubusercontent.com/hanhanW/eacd5c7cbdad43afc8d172217cda33b9/raw
%6 = scf.for %arg0 = %workgroup_id_z to %c2 step %workgroup_count_z iter_args(%arg1 = %cst) -> (tensor<2x2x2x2x2x2x2xf32>) {
  ...
}
flow.dispatch.tensor.store %6, %1, offsets = [0, 0, 0, 0, 0, 0, 0], sizes = [2, 2, 2, 2, 2, 2, 2], strides = [1, 1, 1, 1, 1, 1, 1] : tensor<2x2x2x2x2x2x2xf32> -> !flow.dispatch.tensor<writeonly:2x2x2x2x2x2x2xf32>

It should be replaced with
scf.for ... {
   %res = linalg.generic ...
   flow.dispatch.tensor.store %res ...
}

@MaheshRavishankar please take another look, thank you!

iree/test/e2e/matmul/e2e_matmul_direct_f32_large_split_k_dylib-llvm-aot_dylib is newly failing after merging this
sample logs: https://source.cloud.google.com/results/invocations/cf1a5bf4-c896-420d-9f01-3a8998aa6c58/targets/iree%2Fgcp_ubuntu%2Fcmake%2Flinux%2Fx86-swiftshader%2Fmain/log

Fun! Mid-air collision. @hanhanW if its not a simple fix, might be worth reverting for now.

I'm not sure if it could be a simple fix or not actually. Let's revert it for now. I'm fine with resubmitting the PR.

ouch, I wonder if there is a bug on my side, let me know if you need help debugging


pg_stat_activity_count only reporting 1. Config issue?

I have the exporter running but my pg_stat_activity_count is only reporting 1 connection which is not accurate. I'm running the exporter as non-superuser and followed the permissions queries. Other metrics are working fine but I guess it's not getting access to pg_stat_activity.
What queries could I run to verify that I've set the permissions properly?
postgres=# \z postgres_exporter.pg_stat_activity
                                             Access privileges
      Schema       |       Name       | Type |      Access privileges       | Column privileges | Policies
-------------------+------------------+------+------------------------------+-------------------+----------
 postgres_exporter | pg_stat_activity | view | postgres=arwdDxt/postgres   +|                   |
                   |                  |      | postgres_exporter=r/postgres |                   |
(1 row)

postgres=# \dn
            List of schemas
       Name        |       Owner
-------------------+-------------------
 postgres_exporter | postgres_exporter
 public            | postgres

postgres=# \dv postgres_exporter.pg_stat_activity
                   List of relations
      Schema       |       Name       | Type |  Owner
-------------------+------------------+------+----------
 postgres_exporter | pg_stat_activity | view | postgres

I've had the same results on a postres 9.2 and 9.5 server

Answering here since I happened to be on IRC where this was discussed.  From #103:

In PostgreSQL, views run as the defining user, meaning you don't
need a view wrapping a function (you can just have a view). This
improves readability, maintainability, performance, and clarity.

This is not true.  The permissions checks for views are done from the point of view of the owner, but the actual execution happens under the user that executed the query.  The most obvious case where this matters is when a view calls a function; the function is NOT executed as the owner of the view.  pg_stat_activity is such a view, as it calls pg_stat_get_activity().
(The view approach might appear to work on 9.6 and later due to a change in 9.6: "Use the privilege system to manage access to sensitive functions."  I'm not sure.)

I think I'm going to mark this one help wanted since done documentation updates are needed. But what I'd really like is an obvious test case to ensure non-superuser permissions work.
Adding an endpoint which dumps the correct config based on connection string I think would resolve the ambiguity.

After doing a little research:

(The view approach might appear to work on 9.6 and later due to a change in 9.6: "Use the privilege system to manage access to sensitive functions." I'm not sure.)

https://www.postgresql.org/docs/current/static/default-roles.html implies this will work with Postgres 10 if you execute
GRANT pg_monitor TO postgres_exporter;

While Postgres <= 9.6 requires the old mechanism
CREATE FUNCTION postgres_exporter.f_select_pg_stat_activity()
RETURNS setof pg_catalog.pg_stat_activity
LANGUAGE sql
SECURITY DEFINER
...


conductor: reevaluate initial da and sequencer heights as config inputs?

From @noot's comment in pr https://github.com/astriaorg/astria/pull/553/:

I find having the initial_sequencer_block_height as a config option bad, as it's not something that should be changeable from run to run, it's something that should be a part of the rollup's genesis. imo it's more extensible for rollup developers if this is stored on the execution node (alternatively, the sequencer block hash corresponding to the rollup block hash is stored). this involves updating the API, which i think we should consider.

closing at these were moved as part of rollup genesis


version = '1.4.8'

Coverage remained the same at 38.624% when pulling c74eb15211eff8ff2c6d92cd7625c388c9b07363 on cclauss:patch-1 into ed94a91e61fb1b1f5eafd29fc694b2d2dc4065c5 on Netflix-Skunkworks:master.

Coverage remained the same at 38.624% when pulling c74eb15211eff8ff2c6d92cd7625c388c9b07363 on cclauss:patch-1 into ed94a91e61fb1b1f5eafd29fc694b2d2dc4065c5 on Netflix-Skunkworks:master.

We are not ready.


Training code

Great work! Do you plan to release the training code?

Thank you for your interest! It's a bit tough to release right now, but we'll positively consider it in the future.

Ok, thanks for considering it. I think it will be a valuable contribution.


Best way of flattening LinkedConstraintSets and TightConstraintSets

I am trying to flatten a big model (aircraft) so I can use it with the fmincon comparison tool. Specifically, I would like to be able to access each constraint explicitly (e.g. not a sub-model) and its oper attribute. I have tried small_scripts.flatten, but without success. Any suggestions?

use flat(constraintsets=False)

use flat(constraintsets=False)

Awesome, thanks. But this appears to create a generator. Is there a way to turn that back into a model?

Model (generator)
On Apr 30, 2016 11:12 PM, "pgkirsch"<EMAIL_ADDRESS>wrote:

Awesome, thanks. But this appears to create a generator. Is there a way to
turn that back into a model?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/hoburg/gpkit/issues/705#issuecomment-216011897

Err, (cost, generator)
On Apr 30, 2016 11:14 PM, Edward Burnell<EMAIL_ADDRESS>wrote:

Model (generator)
On Apr 30, 2016 11:12 PM, "pgkirsch"<EMAIL_ADDRESS>wrote:

Awesome, thanks. But this appears to create a generator. Is there a way
to turn that back into a model?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/hoburg/gpkit/issues/705#issuecomment-216011897

Phenomenal. Thanks!


Add V1 Pipeline Golang structs

Changes

This commit adds structs and validation for v1 Pipeline, including when expressions,
resultref. This is copied from v1beta1 with the following exceptions:

omitted PipelineResources
omitted bundle and clusterTask fields

TODO:

[ ] Squash before merge

Part of #4986
/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[n/a] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[n/a] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

We do need to keep our alpha fields around (including matrix); they should just stay behind an alpha feature flag. the v1 TEP is the source of truth for what should be in the v1 api

We do need to keep our alpha fields around (including matrix); they should just stay behind an alpha feature flag. the v1 TEP is the source of truth for what should be in the v1 api

Oh sorry for missing this. I drafted earlier before the v0.38 release. Will bring that up. Thanks @lbernick

Shall we exclude the files generated by ./hack/update-codegen.sh under pkg/client?

/ok-to-test

/retest

/retest

/test pull-tekton-pipeline-go-coverage

Shall we exclude the files generated by ./hack/update-codegen.sh under pkg/client?

No, these files are code generated by knative, which we need

/test check-pr-has-kind-label

/kind misc

/retest

/retest

/retest

/retest

/retest

/retest

Thanks Jerome! could you please:

update the PR description to specify that the Go field name for When was changed, not the API
add a commit message body
double check whether there have been any changes to pkg/apis affecting these files since you opened this PR, and make sure they're incorporated here?

Thanks Lee:) Updated.

/assign

/retest


allow custom error handler

add custom error handler
add 3 new APIs

reportInternalError to direct exceptions to user provided error handler
pendingUploads to get the yet uploaded files
purgeStorage to remove all local files
purgeStorage(filePath: String) to remove a specific file

Codecov Report
Patch coverage has no change and project coverage change: -33.30 :warning:

Comparison is base (b4449b1) 78.99% compared to head (e6c4333) 45.69%.

Additional details and impacted files
@@              Coverage Diff              @@
##               main     #177       +/-   ##
=============================================
- Coverage     78.99%   45.69%   -33.30%
+ Complexity      483       14      -469
=============================================
  Files            76        8       -68
  Lines          6379      860     -5519
  Branches        785       81      -704
=============================================
- Hits           5039      393     -4646
+ Misses          706      437      -269
+ Partials        634       30      -604

see 68 files with indirect coverage changes

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


LoadError: InitError during Package Build

Thanks again for this package!
I'm currently trying to build my recently released package Anneal.jl and this error is showing up during precompilation. One must run ] precompile to see the message below:
ERROR: LoadError: InitError: failed process: Process(`'C:\Users\pedroxavier\.julia\artifacts\d628738c351341856bc6e8abe94cd6c8d8a7bf66\Library\bin\micromamba.exe' -r 'C:\Users\pedroxavier\.julia\scratchspaces\0b3b1443-0f03-428d-bdfb-f27f9c1191ea\root' create -y -p 'C:\Users\pedroxavier\.julia\environments\v1.7\.CondaPkg\env' --override-channels --no-channel-priority pip 'python >=3.5,<4' 'python >=3.7,<4' -c anaconda -c conda-forge`, ProcessExited(3221226505)) [3221226505]

A way to fix this is to plug the command between backticks in a Julia run call.
run(`'C:\Users\pedroxavier\.julia\artifacts\d628738c351341856bc6e8abe94cd6c8d8a7bf66\Library\bin\micromamba.exe' -r 'C:\Users\pedroxavier\.julia\scratchspaces\0b3b1443-0f03-428d-bdfb-f27f9c1191ea\root' create -y -p 'C:\Users\pedroxavier\.julia\environments\v1.7\.CondaPkg\env' --override-channels --no-channel-priority pip 'python >=3.5,<4' 'python >=3.7,<4' -c anaconda -c conda-forge`)

This way, micro mamba gets installed and everything works fine. The problem is that my package won't precompile directly without this trick. I guess it has something to do with privileges, chmod or something like that.
To reproduce this issue, it is enough to run
] add Anneal
] precompile

Anneal is available in the General Registry, so the first line will error after a little while and ] precompile will reveal the message above.

How strange. I can reproduce this on your package, and on a blank package also using PythonCall.
There are a few ways forward:

Figure out why the micromamba call is failing. I have run it again with really high verbosity, and the output looks normal until it stops, no error messages or anything. Looks like it stops just before it tries to download the conda repodata. It's not clear if this is even a problem with CondaPkg or Julia or MicroMamba.
If it is possible to detect that a package is being loaded just to be precompiled, I could add a check for this into PythonCall and have it skip most of its initialisation.
Modify PythonCall to not do any initialisation until you actually do something with it. This is something I've mused about for a while, and is doable, and would work around this issue.

Options 2 and 3 are really just workarounds, but might be nice to have anyway. Option 1 is the real solution, but I'm not sure how to approach it, I may need to ask for help on discourse.

Lazy installation as in 3 seems to be the easiest path to follow, but also one of the most painful issues I've dealt with while trying to use PyCall.
I've runned as admin and the problem is still there.
There is one more weird fact: CI's are running just fine!

You don't need to run the micromamba command yourself - even if ] precompile fails you can still do using Anneal and it will precompile successfully. I think the issue is isolated to precompiling packages ahead of time, as opposed to precompiling them just-in-time when you actually use them. This probably explains why CI works OK - it just doesn't precompile ahead of time.
Option 3 is certainly doable, but will be the most disruptive and I don't want to rush into it. Options 1 and 2 solve the problem without changing any outward behaviour so I'd rather do those first if possible.

BTW this only affects Windows - on Mac and Linux it precompiles fine. Though it has pointed out an undesirable effect, which is that CondaPkg resolves all its dependencies while precompiling.

Hello again, @cjdoris!
I've noticed that some of PythonCall's dependecies had new releases and tried to build my packages again, having no trouble this time 😄. Do you think this issue is solved for good?

No idea but I'm glad it's working! I didn't do anything specifically to fix this. What updated?

Hmmm then it must have something to do with some kind of caching 🤔 I installed them in many environments within v1.7 and also on another installation of v1.6 (both on windows) and no problems occured

The precompiled module will be cached in ~/.julia/compiled - deleting the right directory in there (or the whole directory) should reproduce the issue.

Unless it's magically fixed. I possibly updated the version of MicroMamba bundled with MicroMamba.jl since you filed this issue, that may have solved it.

Hello!
I have the same error during adding PythonCall to the project - Precompiling of PythonCall failed with the same error as in the issue.
I've tried to fix it using pedromxavier's recommendation but the error still exist.
The full error text:
Failed to precompile testWFDB [c64484d1-08e2-4c4d-8ee9-fe33f95c1a54] to C:\Users\yzh\.julia\compiled\v1.7\testWFDB\jl_1FAC.tmp.
     I've used PyCall.jl in another project, maybe some conflicts occured.
Thanks.

I can no longer reproduce this issue. Anyone else got a way to reproduce it?

@cjdoris me neither. Since my last comment everything seems to work just fine.

I am having the same issue on linux, I have one package which wraps the python package wandb, which I am loading in a completely separate package. When I do so, I was having a hard time, getting init errors saying wandb was missing. To resolve these, two approaches worked:

in the repl, ]instantiate, ]build, ]precompile (I am not sure which one exactly worked), then import the package
on the new package which depends on the wrapper package, add condapkg as a direct dependency, and then everything works magically

I think I have figured out at least a big clue as to what is going on. If I remove the .CondaPkg folder before i try precompiling, everything works as it should!

@josephsdavid Do you have a way to reproduce this?

@josephsdavid Do you have a way to reproduce this?

Let me try messing around with it this evening (12 ish hours from now!)

So currently having a hard time reproducing, I will need to spend a bit more time figuring out how the situation which made my issue arose

So the conditions for the problem arising still remain difficult to reproduce, but with N=3 can confirm that nuking .CondaPkg/ solves the trick

I've just runned into this issue one more time and I guess it has something to do with mixing linux and windows filesystems. Switching back from wsl to windows solved it locally by now. @josephsdavid where are you running your scenario? Trashing .CondaPkg/ wasn't enough to solve the issue in wsl.

I've just runned into this issue one more time and I guess it has something to do with mixing linux and windows filesystems. Switching back from wsl to windows solved it locally by now. @josephsdavid where are you running your scenario? Trashing .CondaPkg/ wasn't enough to solve the issue in wsl.

for me it is perhaps a separate issue, happened both on macOS and Linux

Important note: I can't do anything to help without more specific information. So please, the next time anyone encounters this issue, can you report:

the full error message
what you were doing that led to it (e.g. include your command line history)
the contents of .CondaPkg (ideally save off .CondaPkg so we can investigate more later)
versioninfo()
Pkg.status()
CondaPkg.status()
anything else relevant that you can think of

The more detail the better! Thank you.

The specific building problem has changet a lot since my first message. The original pitfall is mostly solved I guess, since I've not been able to reproduce since v0.8 came. I'm closing this one for good and submitting a new one sticking to the info you asked for. Thanks!


Path/Folder browsing and actions similar to Alfred

In Alfred it is easy to navigate through the file system by typing full paths or folder names plus using the space and arrow keys.  Also, upon locating a folder it will be nice to support certain actions like opening a terminal inside the folder, getting the folder size and permissions, etc.  For files, actions like copy, move, rename, size, permissions, etc. will be very useful.

As you mentioned, Alfred's file action (and file buffer), text action, and universal action are very powerful.
I also want to implement more powerful features.
But I have limited time, and I'm working on improving the plugin system now.
If I have time later, I'll consider it first.

Hi Gyubong.  Thanks for all your time and great efforts spent on creating and supporting this cool app.


update One Call API results for openweathermap

The results from the /onecall endpoint were not
being parsed correctly in current and forecast mode - it was
assuming the current/forecast endpoint API, and the return
datasets are different. The effect was that the module
would simply display "Loading..." when in /onecall mode, since
it has no way of displaying error status (ideally, it should,
but leave that for another day)
Hello and thank you for wanting to contribute to the MagicMirror project
Please make sure that you have followed these 4 rules before submitting your Pull Request:

Base your pull requests against the develop branch.

Include these infos in the description:

Does the pull request solve a related issue?
If so, can you reference the issue like this Fixes #<issue_number>?
What does the pull request accomplish? Use a list if needed.
If it includes major visual changes please add screenshots.

Please run npm run lint:prettier before submitting so that
style issues are fixed.

Don't forget to add an entry about your changes to
the CHANGELOG.md file.

Note: Sometimes the development moves very fast. It is highly
recommended that you update your branch of develop before creating a
pull request to send us your changes. This makes everyone's lives
easier (including yours) and helps us out on the development team.
Thanks again and have a nice day!

Is there someone who could look at this pull request? (I re-submitted the pull request because I had a bug in the last version)

I would try it out if you could help me with my config for this case:

		{
			module: "weather",
			//disabled: true,
			position: "top_left",
			config: {
				type: "hourly",
				location: "Berlin",
				locationID: "7290255",  //ID from http://www.openweathermap.org/help/city_list.txt
				apiKey: "<apikey>",
				weatherEndpoint: "onecall"
			}
		},

Is that correct or what do I need to add?

The onecall API does not accept anything other than latitude and longitude to describe the location

your changes are breaking the weather forecast tests (see tests/e2e/modules/weather_spec.js):
FAIL e2e tests/e2e/modules/weather_spec.js (547.714 s)
  Weather module
    Current weather
      Default configuration
        ✓ should render wind speed and wind direction (5468 ms)
        ✓ should render sunrise (5275 ms)
        ✓ should render sunset (5342 ms)
        ✓ should render temperature with icon (5215 ms)
        ✓ should render feels like temperature (5229 ms)
      Compliments Integration
        ✓ should render a compliment based on the current weather (8328 ms)
      Configuration Options
        ✓ should render useBeaufort = false (5240 ms)
        ✓ should render showWindDirectionAsArrow = true (5214 ms)
        ✓ should render showHumidity = true (5236 ms)
        ✓ should render degreeLabel = true (5286 ms)
      Current weather units
        ✓ should render imperial units (5213 ms)
        ✓ should render custom decimalSymbol = ',' (5269 ms)
    Weather Forecast
      Default configuration
        ✕ should render days (60002 ms)
        ✕ should render icons (60000 ms)
        ✕ should render max temperatures (60002 ms)
        ✕ should render min temperatures (60001 ms)
        ✕ should render fading of rows (60002 ms)
      Configuration Options
        ✕ should render custom table class (60003 ms)
        ✕ should render colored rows (60002 ms)
      Forecast weather units
        ✕ should render custom decimalSymbol = '_' (60001 ms)

You can run this single test suite with npx jest -i --testMatch **/tests/e2e/modules/weather_spec.js from the mm folder.
E.g. the first failing test is awaiting the object .weather table.small tr:nth-child(${index + 1}) td:nth-child(1) which doesn't exist so it is waiting until timeout.

Thanks for the very helpful debug there!
The problem highlighted here is using forecast mode via /forecast endpoint instead of via /onecall endpoint ended up with the wrong attribute, definite typo of mine. Fixed that and pushed an update. I can see it working on a dev mirror when i create the config you supplied, and a few other varieties.
However, I still can't get the test suite to say anything useful (in fact, it now says that all tests fail for me), but I can't get to the errors. The attempts I've made to replicate the test configuration all work for me on a live mirror. The test suite fails me... The fact that the longer the test suite runs, the more it overloads the system (on a pi, i see a loadavg of > 100 if the test suite runs for more than a minute). And versions or something of it seem to be weird. I'm now just lost down a twisty maze of git and npm hell. Actually, a plain "npm test" showed it working. It's the jest usage that's messed up for me now and I feel I cannot reliably use the test suite.

I merged the latest develop branch locally into your PR, the tests run fine now.

Thanks for everybody's time! Great work. 🎉


[Locket client] gRPC Client improvement

[Locket client] gRPC Client improvement
Summary
Recently we did a research on how will diego perform with network delay introduced on a landscape. The tool that we used was turbulence-bosh and basically simulated n seconds delays of every request on a certain vm from the cf-deployment. A detailed summary of the results can be found here. I suggest quickly going over it, because different turbulence scenarios will be referenced multiple times.
One of the weak points we found during the research was in the locket client. Since it is used by bbs, auctioneer and the cells for maintaining presence and locks, it's a really important part of diego. The first case is when we introduce a network delay on one of the diego-api vms ( bbs can be active or passive, the result is the same ). All the cells that are using the locket server on that diego-api loose their presence. When a rep process is started on a cell, the locket client establishes a gRPC connection to a server and that connection does not close. So when we introduce turbulence, the requests in the server take too long to be processed and the TTL runs out. The expected behaviour in this case is that the client will see that the server is taking too long and close the connection so it can re-connect to another server. But that does not happen. For more details, see Scenario 1 in the doc.
The other problem we found is with the bbs and auctioneer. Since they also use a locket client to acquire a lock and maintain it, we can see the same behaviour here. If the active auctioneer is connected to a locket server, which we target with turbulence. It will loose the lock and a failover will occur, even if the auctioneer itself is fine and the attack is on a completely different vm. In this case we again expect the client to become aware that the server is responding slowly and close the connection. For more details, see Scenarios 2 and 3 in the doc.
Diego repo
Locket repo: https://github.com/cloudfoundry/locket
Describe alternatives you've considered (optional)
We currently have the gRPC client setup like this:
conn, err := grpc.Dial(
		config.LocketAddress,
		grpc.WithTransportCredentials(credentials.NewTLS(locketTLSConfig)),
		grpc.WithDialer(func(addr string, _ time.Duration) (net.Conn, error) {
			return net.DialTimeout("tcp", addr, 10*time.Second) // give at least 2 seconds per ip address (assuming there are at most 5)
		}),
		grpc.WithBlock(),
		grpc.WithTimeout(10*time.Second), // ensure that grpc won't keep retrying forever
		grpc.WithKeepaliveParams(keepalive.ClientParameters{
			Time: 10 * time.Second,

We have a keepalive ping that is send to the server every 10s, but we do not have a timeout for that ping. If we set a timeout to 3s for example, the client will send a ping to the server and if it is not able to respond in those 3s, the connection will be closed and the client will connect to another server. For more info: https://github.com/grpc/grpc/blob/master/doc/keepalive.md
We have tested this on a dev landscape and the results are great. The cells are able to connect to a healthy locket server and not loose their presence. The same applies to the bbs and auctioneer. No lost locks and no unneeded failovers. So in our opinion, this will greatly improve how diego performs, when we have network delays.
Additional Text Output, Screenshots, or contextual information (optional)
I think it is a good idea to make those properties of the gRPC client ( Time and Timeout )part of the locket config, so the client behaviour can be tuned for the use case.

@klapkov Sorry for the delay in getting back to you on this. I'm going to try and summarize what I think you're saying the problem is + solution you're proposing. Let me know if I have this correct:
Problem

Rep establishes a presence with Locket. BBS + Auctioneer establish a Lock with Locket.
Every 10s Rep, BBS, and Auctioneer submit keepalive messages to Locket, with a 20s timeout (default).
Network interruption occurs
Since the keepalive timeout on the client side is longer than the interval, it keeps sending keepalives despite not getting any responses. Is this correct?
Rep on the client side never thinks it loses presence, and never tries to gain presence with a new locket instance. However, from locket + the rest of the architecture's perspective, presence was lost and not regained.
Auctioneer and BBS suffer from problems where they failover if the locket instance they're talking to fails to respond, when they could instead reconnect to a local and functioning locket instance.

Proposed Solution

Add a keepalive timeout for the keepalive messages, to trigger locket clients to try to re-establish their lock/presence with a different locket server, without restarting + triggering failover.

Questions

Is the above summary correct?
Have you tested scenarios where communication between entire AZs is severed for >180s? How do the components behave in this scenario? I'm worried of unintended consequences of this change leading to split-brained Auctioneer/BBS instances.

Hello @geofffranks,
Yes, your summary is correct. Having this keepalive timeout greatly improves the performance of diego under turbulence. As to your concerns, I try to test this scenario in the next days and will come back with the results summarised. Will keep in touch.

I found this story which seems like it resolved this issue - https://www.pivotaltracker.com/n/projects/1003146/stories/161765510 After adding the Time (10s) keep-alive parameter client was trying to reconnect within ~20s.
I just tested this behavior in my environment:

I had 2 diego-api vms and I dropped all traffic on one of them that had active cell connection
around 20:31:20 I ran iptables command
This is locket client logs in rep:

{"timestamp":"2022-11-16T20:31:31.061993618Z","level":"error","source":"rep","message":"rep.locket-lock.lost-lock","data":{"duration":15000974848,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","lock":{"key":"defa8b6b-18f5-47ba-8514-5c5c7b5a8a85","owner":"a58f0981-72b5-4046-4da4-b2852b120bd4","value":"{\"cell_id\":\"defa8b6b-18f5-47ba-8514-5c5c7b5a8a85\",\"rep_address\":\"http://<IP_ADDRESS>:1800\",\"zone\":\"z1\",\"capacity\":{\"memory_mb\":16001,\"disk_mb\":70131,\"containers\":249},\"rootfs_provider_list\":[{\"name\":\"preloaded\",\"properties\":[\"cflinuxfs3\"]},{\"name\":\"preloaded+layer\",\"properties\":[\"cflinuxfs3\"]},{\"name\":\"docker\"}],\"rep_url\":\"https://defa8b6b-18f5-47ba-8514-5c5c7b5a8a85.cell.service.cf.internal:1801\"}","type":"presence","type_code":2},"request-uuid":"c7865f1e-241d-466f-40ad-e38768370549","session":"12","ttl_in_seconds":15}}
{"timestamp":"2022-11-16T20:31:36.701061544Z","level":"error","source":"rep","message":"rep.locket-lock.failed-to-acquire-lock","data":{"duration":637752367,"error":"rpc error: code = Unavailable desc = transport is closing","lock":{"key":"defa8b6b-18f5-47ba-8514-5c5c7b5a8a85","owner":"a58f0981-72b5-4046-4da4-b2852b120bd4","value":"{\"cell_id\":\"defa8b6b-18f5-47ba-8514-5c5c7b5a8a85\",\"rep_address\":\"http://<IP_ADDRESS>:1800\",\"zone\":\"z1\",\"capacity\":{\"memory_mb\":16001,\"disk_mb\":70131,\"containers\":249},\"rootfs_provider_list\":[{\"name\":\"preloaded\",\"properties\":[\"cflinuxfs3\"]},{\"name\":\"preloaded+layer\",\"properties\":[\"cflinuxfs3\"]},{\"name\":\"docker\"}],\"rep_url\":\"https://defa8b6b-18f5-47ba-8514-5c5c7b5a8a85.cell.service.cf.internal:1801\"}","type":"presence","type_code":2},"request-uuid":"58e90d96-1fd6-407f-5c17-fbccd2850f4d","session":"12","ttl_in_seconds":15}}
{"timestamp":"2022-11-16T20:31:41.715145080Z","level":"info","source":"rep","message":"rep.locket-lock.acquired-lock","data":{"lock":{"key":"defa8b6b-18f5-47ba-8514-5c5c7b5a8a85","owner":"a58f0981-72b5-4046-4da4-b2852b120bd4","value":"{\"cell_id\":\"defa8b6b-18f5-47ba-8514-5c5c7b5a8a85\",\"rep_address\":\"http://<IP_ADDRESS>:1800\",\"zone\":\"z1\",\"capacity\":{\"memory_mb\":16001,\"disk_mb\":70131,\"containers\":249},\"rootfs_provider_list\":[{\"name\":\"preloaded\",\"properties\":[\"cflinuxfs3\"]},{\"name\":\"preloaded+layer\",\"properties\":[\"cflinuxfs3\"]},{\"name\":\"docker\"}],\"rep_url\":\"https://defa8b6b-18f5-47ba-8514-5c5c7b5a8a85.cell.service.cf.internal:1801\"}","type":"presence","type_code":2},"session":"12","ttl_in_seconds":15}}

Based on GRPC docs and go grpc client  timeout should be set for each connection.
Could you provide the locket/rep logs to see timeouts/retries timestamps?

Hello @mariash and @geofffranks
I collected some logs from test runs with and without the timeout.
This are the logs from test ran without a timeout:
REP:
`{"timestamp":"2022-11-21T12:26:06.447555356Z","level":"error","source":"rep","message":"rep.locket-lock.lost-lock","data":{"duration":15000731674,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","lock":{"key":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","owner":"9a998083-c45f-4f28-5fda-3ff8abd12659","value":"{"cell_id":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","rep_address":"http://<IP_ADDRESS>:1800","zone":"z2","capacity":{"memory_mb":31843,"disk_mb":63036,"containers":249},"rootfs_provider_list":[{"name":"preloaded","properties":["cflinuxfs3"]},{"name":"preloaded+layer","properties":["cflinuxfs3"]},{"name":"docker"}],"rep_url":"https://ae99fb3f-f012-46f4-a853-abef12a9c1d5.cell.service.cf.internal:1801"}","type":"presence","type_code":2},"request-uuid":"54b77c36-76fa-4c5c-5ef7-ade0e914b11d","session":"12","ttl_in_seconds":15}}
{"timestamp":"2022-11-21T12:26:26.449765102Z","level":"error","source":"rep","message":"rep.locket-lock.failed-to-acquire-lock","data":{"duration":15000946956,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","lock":{"key":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","owner":"9a998083-c45f-4f28-5fda-3ff8abd12659","value":"{"cell_id":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","rep_address":"http://<IP_ADDRESS>:1800","zone":"z2","capacity":{"memory_mb":31843,"disk_mb":63036,"containers":249},"rootfs_provider_list":[{"name":"preloaded","properties":["cflinuxfs3"]},{"name":"preloaded+layer","properties":["cflinuxfs3"]},{"name":"docker"}],"rep_url":"https://ae99fb3f-f012-46f4-a853-abef12a9c1d5.cell.service.cf.internal:1801"}","type":"presence","type_code":2},"request-uuid":"00c4cddb-1d53-4fe0-57bc-7a88f4954bd8","session":"12","ttl_in_seconds":15}}
{"timestamp":"2022-11-21T12:26:46.451064052Z","level":"error","source":"rep","message":"rep.locket-lock.failed-to-acquire-lock","data":{"duration":15000096402,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","lock":{"key":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","owner":"9a998083-c45f-4f28-5fda-3ff8abd12659","value":"{"cell_id":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","rep_address":"http://<IP_ADDRESS>:1800","zone":"z2","capacity":{"memory_mb":31843,"disk_mb":63036,"containers":249},"rootfs_provider_list":[{"name":"preloaded","properties":["cflinuxfs3"]},{"name":"preloaded+layer","properties":["cflinuxfs3"]},{"name":"docker"}],"rep_url":"https://ae99fb3f-f012-46f4-a853-abef12a9c1d5.cell.service.cf.internal:1801"}","type":"presence","type_code":2},"request-uuid":"a56c9e68-6a47-4983-7f2a-18221a9e295c","session":"12","ttl_in_seconds":15}}
{"timestamp":"2022-11-21T12:26:51.458892178Z","level":"info","source":"rep","message":"rep.locket-lock.acquired-lock","data":{"lock":{"key":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","owner":"9a998083-c45f-4f28-5fda-3ff8abd12659","value":"{"cell_id":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","rep_address":"http://<IP_ADDRESS>:1800","zone":"z2","capacity":{"memory_mb":31843,"disk_mb":63036,"containers":249},"rootfs_provider_list":[{"name":"preloaded","properties":["cflinuxfs3"]},{"name":"preloaded+layer","properties":["cflinuxfs3"]},{"name":"docker"}],"rep_url":"https://ae99fb3f-f012-46f4-a853-abef12a9c1d5.cell.service.cf.internal:1801"}","type":"presence","type_code":2},"session":"12","ttl_in_seconds":15}}`
LOCKET:
`{"timestamp":"2022-11-21T12:26:06.447448689Z","level":"error","source":"locket","message":"locket.lock.lock.failed-to-fetch-lock","data":{"error":"context deadline exceeded","key":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","owner":"9a998083-c45f-4f28-5fda-3ff8abd12659","request-uuid":"54b77c36-76fa-4c5c-5ef7-ade0e914b11d","session":"55816.1","type":"presence","type-code":2}}
{"timestamp":"2022-11-21T12:26:06.447573998Z","level":"error","source":"locket","message":"locket.lock.failed-locking-lock","data":{"error":"context deadline exceeded","key":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","owner":"9a998083-c45f-4f28-5fda-3ff8abd12659","request-uuid":"54b77c36-76fa-4c5c-5ef7-ade0e914b11d","session":"55816"}}
{"timestamp":"2022-11-21T12:26:06.449113008Z","level":"info","source":"locket","message":"locket.context-deadline-exceeded","data":{"request-id":"","request-type":"Lock","resource-key":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","resource-owner":"9a998083-c45f-4f28-5fda-3ff8abd12659"}}
{"timestamp":"2022-11-21T12:26:51.458383503Z","level":"info","source":"locket","message":"locket.lock.lock.acquired-lock","data":{"key":"ae99fb3f-f012-46f4-a853-abef12a9c1d5","owner":"9a998083-c45f-4f28-5fda-3ff8abd12659","request-uuid":"e0837ac8-df26-4dd3-42a8-1afe361c8efd","session":"55825.1","type":"presence","type-code":2}}`
And here are the logs from the rep with a timeout of 3 seconds set to the locket gRPC client:
`{"timestamp":"2022-11-21T17:09:50.364039016Z","level":"error","source":"rep","message":"rep.locket-lock.lost-lock","data":{"duration":3422263864,"error":"rpc error: code = Unavailable desc = transport is closing","lock":{"key":"b1045897-55c0-413f-91b7-1fa54bfadf21","owner":"ec2868e3-5bf9-4812-6ee3-3f2a9afefacc","value":"{"cell_id":"b1045897-55c0-413f-91b7-1fa54bfadf21","rep_address":"http://<IP_ADDRESS>:1800","zone":"z1","capacity":{"memory_mb":31843,"disk_mb":62735,"containers":249},"rootfs_provider_list":[{"name":"preloaded","properties":["cflinuxfs3"]},{"name":"preloaded+layer","properties":["cflinuxfs3"]},{"name":"docker"}],"rep_url":"https://b1045897-55c0-413f-91b7-1fa54bfadf21.cell.service.cf.internal:1801"}","type":"presence","type_code":2},"request-uuid":"41c80825-506f-4143-4eae-3f2bc04f8dc4","session":"12","ttl_in_seconds":15}}
{"timestamp":"2022-11-21T17:09:55.375832924Z","level":"info","source":"rep","message":"rep.locket-lock.acquired-lock","data":{"lock":{"key":"b1045897-55c0-413f-91b7-1fa54bfadf21","owner":"ec2868e3-5bf9-4812-6ee3-3f2a9afefacc","value":"{"cell_id":"b1045897-55c0-413f-91b7-1fa54bfadf21","rep_address":"http://<IP_ADDRESS>:1800","zone":"z1","capacity":{"memory_mb":31843,"disk_mb":62735,"containers":249},"rootfs_provider_list":[{"name":"preloaded","properties":["cflinuxfs3"]},{"name":"preloaded+layer","properties":["cflinuxfs3"]},{"name":"docker"}],"rep_url":"https://b1045897-55c0-413f-91b7-1fa54bfadf21.cell.service.cf.internal:1801"}","type":"presence","type_code":2},"session":"12","ttl_in_seconds":15}}
`
As you can see from the logs, when we have the timeout implemented, the client sends a request to the server every 10s and waits 3 seconds for it to respond. If it does not, the cell locket client connects to another server to maintain their presence. In comparison with the first case, the cell loses it's presence for almost a minute and does not connect to a healthy locket server. I will wait for you opinion on this and in the meantime, I will test the scenario of a whole zone being down and share the results.

Hello @geofffranks,
I managed to collect some logs from test where I introduce a large network delay in a whole zone. Here are the results:
Tests with the current locket client:
Test 1:
BBS in z3 - holds lock in z1
Auctioneer in z2 - holds lock in z3
Network delay in z1 for 60s with 5s delay
BBS in z3:
{"timestamp":"2022-12-08T05:01:44.205206678Z","level":"error","source":"bbs","message":"bbs.locket-lock.lost-lock","│ata":{"duration":15000565234,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","lock":{"key":"bbs","owner":"ef69d633-7e32-4db5-bdfb-d1deb65f8fc6","type":"lock","type_code":1},"request-uuid":"6ef31452-a5e3-4cee-5325-0f952698c691","session":"4","ttl_in_seconds":15}}

{"timestamp":"2022-12-08T05:01:55.554451350Z","level":"info","source":"bbs","message":"bbs.locket-lock.acquired-lock","data":{"lock":{"key":"bbs","owner":"ef69d633-7e32-4db5-bdfb-d1deb65f8fc6","type":"lock","type_code":1},"session":"4","ttl_in_seconds":15}}

Result: BBS connected to another locket server after 11s
Test 2:
BBS in z3 - holds lock in z3
Auctioneer in z2 - holds lock in z3
Network delay in z3 for 60s with 5s delay
BBS in z3:
{"timestamp":"2022-12-08T05:04:42.053826740Z","level":"error","source":"bbs","message":"bbs.locket-lock.lost-lock","data":{"duration":15000411885,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","lock":{"key":"bbs","owner":"ef69d633-7e32-4db5-bdfb-d1deb65f8fc6","type":"lock","type_code":1},"request-uuid":"2ffc82f0-42c8-4ee2-702d-ff1d4fe56d07","session":"4","ttl_in_seconds":15}}

BBS in z1:
{"timestamp":"2022-12-08T05:04:58.055139163Z","level":"info","source":"bbs","message":"bbs.locket-lock.acquired-lock","data":{"lock":{"key":"bbs","owner":"e44d4434-71d6-4328-851d-f1cc3f1e334b","type":"lock","type_code":1},"session":"4","ttl_in_seconds":15}}
{"timestamp":"2022-12-08T05:04:58.055803265Z","level":"info","source":"bbs","message":"bbs.set-lock-held-metron-notifier.started","data":{"session":"5"}}

Auctioneer in z2:
{"timestamp":"2022-12-08T05:04:42.055663684Z","level":"error","source":"auctioneer","message":"auctioneer.locket-lock.lost-lock","data":{"duration":15000852951,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","lock":{"key":"auctioneer","owner":"9bd37427-125c-40e7-90d1-de3133982085","type":"lock","type_code":1},"request-uuid":"904a3e47-f1aa-4242-43d1-ede0f121f525","session":"2","ttl_in_seconds":15}}

{"timestamp":"2022-12-08T05:04:57.083761429Z","level":"info","source":"auctioneer","message":"auctioneer.locket-lock.acquired-lock","data":{"lock":{"key":"auctioneer","owner":"9bd37427-125c-40e7-90d1-de3133982085","type":"lock","type_code":1},"session":"2","ttl_in_seconds":15}}

Result: BBS failed over to another instance and Auctioneer managed to connect to another server. BBS failed over after 16s, Auctioneer switched to another server after 15s
Test 3:
BBS in z3 - holds lock in z3
Auctioneer in z3 - holds lock in z3
Network delay in z3 for 120s with 10s delay
BBS in z3:
{"timestamp":"2022-12-08T05:49:51.484693267Z","level":"error","source":"bbs","message":"bbs.locket-lock.lost-lock","data":{"duration":15000650622,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","lock":{"key":"bbs","owner":"ef69d633-7e32-4db5-bdfb-d1deb65f8fc6","type":"lock","type_code":1},"request-uuid":"d9d029f2-a898-4946-5aca-7a98254aa446","session":"4","ttl_in_seconds":15}}

BBS in z2:
{"timestamp":"2022-12-08T05:50:02.029613028Z","level":"info","source":"bbs","message":"bbs.locket-lock.acquired-lock","data":{"lock":{"key":"bbs","owner":"f5d334ee-8ca7-4cec-ae3b-b49627c947a6","type":"lock","type_code":1},"session":"4","ttl_in_seconds":15}}

Auctioneer in z3:
{"timestamp":"2022-12-08T05:49:51.525670456Z","level":"error","source":"auctioneer","message":"auctioneer.locket-lock.lost-lock","data":{"duration":15000076967,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","lock":{"key":"auctioneer","owner":"33b28858-fdd1-4c79-93fc-851593cc2335","type":"lock","type_code":1},"request-uuid":"cced7bd0-8a11-4da1-4625-14a112625c35","session":"2","ttl_in_seconds":15}}

Auctioneer in z1:
{"timestamp":"2022-12-08T05:50:03.873578995Z","level":"info","source":"auctioneer","message":"auctioneer.locket-lock.acquired-lock","data":{"lock":{"key":"auctioneer","owner":"1812e6dd-80cf-47b9-8d10-5c2cfa06a64a","type":"lock","type_code":1},"session":"2","ttl_in_seconds":15}}

Result: Both of them lost locks and new instances acquired  them. BBS acquired after  70s, Auctioneer after 65s.

Tests after applying a 3s timeout to the locket client:
Test 1:
BBS in z1 - holds lock in z1
Auctioneer in z2 - holds lock in z1
Network delay in z1 for 60s with 5s delay
BBS in z1:
{"timestamp":"2022-12-08T08:18:23.465212316Z","level":"error","source":"bbs","message":"bbs.locket-lock.lost-lock","data":{"duration":15000458079,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","lock":{"key":"bbs","owner":"e44d4434-71d6-4328-851d-f1cc3f1e334b","type":"lock","type_code":1},"request-uuid":"f8864760-b82c-41cd-4697-a7ba8c51bad7","session":"4","ttl_in_seconds":15}}

BBS in z3:
{"timestamp":"2022-12-08T08:18:23.538421985Z","level":"info","source":"bbs","message":"bbs.locket-lock.acquired-lock","data":{"lock":{"key":"bbs","owner":"ef69d633-7e32-4db5-bdfb-d1deb65f8fc6","type":"lock","type_code":1},"session":"4","ttl_in_seconds":15}}

Auctioneer in z2:
{"timestamp":"2022-12-08T08:18:11.450527693Z","level":"error","source":"auctioneer","message":"auctioneer.locket-lock.lost-lock","data":{"duration":3417569434,"error":"rpc error: code = Unavailable desc = transport is closing","lock":{"key":"auctioneer","owner":"9bd37427-125c-40e7-90d1-de3133982085","type":"lock","type_code":1},"request-uuid":"ca255057-e0b9-445d-5551-af4ae109c576","session":"2","ttl_in_seconds":15}}

{"timestamp":"2022-12-08T08:18:13.084719092Z","level":"info","source":"auctioneer","message":"auctioneer.locket-lock.acquired-lock","data":{"lock":{"key":"auctioneer","owner":"9bd37427-125c-40e7-90d1-de3133982085","type":"lock","type_code":1},"session":"2","ttl_in_seconds":15}}

Results: BBS in z3 acquired the lock, Auctioneer connected to another locket server. BBS almost immediately, Auctioneer after 2s
Test 2:
BBS in z3 - holds lock in z2
Auctioneer in z2 - holds lock in z3
Network delay in z2 for 60s with 5s delay
BBS in z3:
{"timestamp":"2022-12-08T08:29:41.436702439Z","level":"error","source":"bbs","message":"bbs.locket-lock.lost-lock","data":{"duration":3417857072,"error":"rpc error: code = Unavailable desc = transport is closing","lock":{"key":"bbs","owner":"ef69d633-7e32-4db5-bdfb-d1deb65f8fc6","type":"lock","type_code":1},"request-uuid":"55a5b840-da38-4bdd-6458-7f8e25e8bfc7","session":"4","ttl_in_seconds":15}}

{"timestamp":"2022-12-08T08:29:42.622502076Z","level":"info","source":"bbs","message":"bbs.locket-lock.acquired-lock","data":{"lock":{"key":"bbs","owner":"ef69d633-7e32-4db5-bdfb-d1deb65f8fc6","type":"lock","type_code":1},"session":"4","ttl_in_seconds":15}}

Auctioneer in z2:
{"timestamp":"2022-12-08T08:29:41.818504598Z","level":"error","source":"auctioneer","message":"auctioneer.locket-lock.lost-lock","data":{"duration":3009429384,"error":"rpc error: code = Unavailable desc = transport is closing","lock":{"key":"auctioneer","owner":"9bd37427-125c-40e7-90d1-de3133982085","type":"lock","type_code":1},"request-uuid":"4b66b6f6-e48c-4a3d-443c-ba6ab8ccea68","session":"2","ttl_in_seconds":15}}

Auctioneer in z3:
{"timestamp":"2022-12-08T08:29:58.926958775Z","level":"info","source":"auctioneer","message":"auctioneer.locket-lock.acquired-lock","data":{"lock":{"key":"auctioneer","owner":"33b28858-fdd1-4c79-93fc-851593cc2335","type":"lock","type_code":1},"session":"2","ttl_in_seconds":15}}

Result: BBS connected to another locket server, Auctioneer failed over to z3. BBS after 1s, Auctioneer after 17s

Test 3:
BBS in z3 - holds lock in z3
Auctioneer in z3 - holds lock in z2
Network delay in z3 for 120s with 10s delay

BBS in z3:
{"timestamp":"2022-12-08T13:38:11.844973084Z","level":"error","source":"bbs","message":"bbs.locket-lock.lost-lock","data":{"duration":3025798967,"error":"rpc error: code = Unavailable desc = transport is closing","lock":{"key":"bbs","owner":"ef69d633-7e32-4db5-bdfb-d1deb65f8fc6","type":"lock","type_code":1},"request-uuid":"379cd7bb-3fb5-4a42-5a71-47849b46e332","session":"4","ttl_in_seconds":15}}
BBS in z1:
{"timestamp":"2022-12-08T13:38:34.059274495Z","level":"info","source":"bbs","message":"bbs.locket-lock.acquired-lock","data":{"lock":{"key":"bbs","owner":"e44d4434-71d6-4328-851d-f1cc3f1e334b","type":"lock","type_code":1},"session":"4","ttl_in_seconds":15}}
Auctioneer in z3:
{"timestamp":"2022-12-08T13:38:10.872863917Z","level":"error","source":"auctioneer","message":"auctioneer.locket-lock.lost-lock","data":{"duration":3011507228,"error":"rpc error: code = Unavailable desc = transport is closing","lock":{"key":"auctioneer","owner":"33b28858-fdd1-4c79-93fc-851593cc2335","type":"lock","type_code":1},"request-uuid":"d0f0f277-4909-456c-5ec7-7dc645723f0f","session":"2","ttl_in_seconds":15}}
Auctioneer in z2:
{"timestamp":"2022-12-08T13:38:33.332800975Z","level":"info","source":"auctioneer","message":"auctioneer.locket-lock.acquired-lock","data":{"lock":{"key":"auctioneer","owner":"9bd37427-125c-40e7-90d1-de3133982085","type":"lock","type_code":1},"session":"2","ttl_in_seconds":15}}
Result: Both failed over to other instances. BBS after 23s, Auctioneer after 23s.

To recap these findings, I did not experience any weird behaviour or observed any negative effects after the change. Rather the opposite, I see great improvement in the performance and speed of the locket client. Please share your thoughts.

Regards,
Konstantin

Thanks for all the additional info @klapkov!
Looks like you had [a locket PR])https://github.com/cloudfoundry/locket/pull/11) associated with this, but that's closed now. Was that intentional? Were there any other changes as part of addressing this?
Your testing looks promising! I'm going to run this by some teammates with more historical knowledge on the locket/diego codebase to double check though.

Hey! We're aligned on fixing it with this timeout. Can you make it a configurable parameter though in both locket + bosh, so that operators can override this if needed? Defaulting to 10s seems reasonable.

Hello @geofffranks
The previous PR I opened was with a static timeout. As you said, it will be good to have these properties configurable so operators have flexibility. Thanks for the response, I will start preparing a PR


iOS version of the game crashes on iPad, due to no support for image cube array (Apple A10 GPU)

Tested versions

Reproducible in: 4.3 RC3

System information
iPad (6th generation) - iPadOS 17.6.1
Issue description
An iOS version of a 2D platformer game using Godot 4.3 RC3 crashes on iPad immediately after starting, while working without issues on iPhone 11 (iOS 17.6.1). It was installed using TestFlight on both devices and built using Xcode by exporting the project from Godot. I am attaching the TestFlight feedback file:
testflight_feedback.zip
Steps to reproduce
Just start the app on the iPad, and the splash screen briefly appears, and then the app crashes.
Minimal reproduction project (MRP)
I assume that it is not up to the project, since it works fine on iPhones (tested on two devices). Only iPads (tested on two devices) seem problematic.

@akien-mga I created a simple test project that only has one scene displaying the Godot default icon. Here you may find the project:
godot-test.zip
I wanted to upload the exported Xcode project, but it wasn't possible due to Github's attachment size limitation, so you may find it here:
godot-test-ios.zip
When I run this project from Xcode directly on my iPad, I get the following error on the screen and after that, the app crashes:

Regarding testing hardware, I already mentioned, it is an iPad (6th generation) with iPadOS 17.6.1.
I also tried running the app on the iPad (7th generation) with iPadOS 16.3.1 with the same result.
I also tested it on two iPhones and it worked without any issues: iPhone 11 (iOS 17.6.1) and iPhone 13 mini (iOS 17.5.1).
I also want to mention that, based on the error, I suspected that iPad versions are using desktop renderer instead of mobile. I tried setting "mobile" as the renderer for the desktop configuration also, but it didn't make any difference.

A10 is likely too old for Vulkan, I do not have anything older than A14 to test, but cube map arrays are supported only on A11+ (Apple4 GPU family), see Metal Feature Set Tables.

@bruvzg It's ok as far as I'm concerned. However, for some reason, the app crashed immediately after the message appeared, so I wasn't able to see it unless I ran the app from Xcode. It would be nice if that could be fixed.

Thanks for the report! Consolidating in https://github.com/godotengine/godot/issues/74227.


Print vm_name during serverspec run

Just to have more clear serverspec output with several nodes.

I'm good with this. :+1:

:+1:
I was hoping there was a way to get serverspec or rake to do this for us, but I can't seem to find anything on this topic.  We could probably accomplish this by adding host_inventory['hostname'] as a part of the describe to each test, but that seems overkill.
Really wish serverspec did this for us.  Seems like a bug IMO.


Local virtual environment doesn't get removed from list when deleted and refreshed

Testing #17538
OS: macOS Big Sur 11.6
Extension version: 2021.10.1283853053-dev
VS Code version: 1.61.0-insider commit: 214ac689ca9874a8a4be386f73d5cb60e15af25e
Steps:

Open a workspace, activate the extension
Open the interpreter list
Create a local environment in terminal, ensure the list updates
Delete that local environment, notice that list doesn't get updated
Click on the refresh button, notice that list doesn't get updated

The quickpick will be updated when closed and reopened.
https://user-images.githubusercontent.com/51720070/135164053-23ec3baa-dfe2-4f1d-b94d-384c5120ac57.mp4

Thanks for the bug report! We just wanted to quickly acknowledge we received it and we will triage this as soon as we can 😉


New version: Google.Chrome.Canary version 121.0.6149.0

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Installs different versions on different day/time combinations. https://github.com/microsoft/winget-pkgs/pull/126335#issuecomment-1809258959


Metrics-server not working after restart or disabling and re-enabling if it goes out of storage

Hi,
This is a related issue to this https://github.com/kubernetes/kubernetes/issues/81220
After facing the above problem I deleted the metrics-server pod, edited its deployment and gave it more memory and even disabled and re-enabled the metrics-server addon but still, I get the same errors that I mentioned there and the hpa and "kubectl top" readings are not getting updated.
How I can make the metrics-server start working again?

I think this is an issue because the Microk8s metrics server is using different images than the Kubernetes metrics servers;

kubernetes metrics server:
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/metrics-server/metrics-server-deployment.yaml#L66

Microk8s metrics-server:
https://github.com/ubuntu/microk8s/blob/8920c102004ade7f3c332f9830a777f526752dda/microk8s-resources/actions/metrics-server.yaml#L111


user.info returns null

just tried the example code and it returns null for any user

Are you using this package with proxies?
Also, since TikTok doesn't work well with old versions of chrome try the following:
`import { TikTokClient } from "tiktok-private-api";
(async () => {
const scraper = new TikTokClient();
// update user agent
scraper.state.defaultHeaders = {
...scraper.state.defaultHeaders,
"user-agent":
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",
"sec-ch-ua":
'"Not?A_Brand";v="8", "Chromium";v="108", "Google Chrome";v="108"',
};
const data = await scraper.user.info("redbull");
console.log(data);
})();`
You might still get occasional empty results though

Thanks, works fine now
On Tue, Dec 27, 2022 at 5:21 PM Athar Ahmed @.***>
wrote:

Are you using this package with proxies?
Also, since TikTok doesn't work well with old versions of chrome try the
following:
`import { TikTokClient } from "tiktok-private-api";
(async () => {
const scraper = new TikTokClient();
// update user agent
scraper.state.defaultHeaders = {
...scraper.state.defaultHeaders,
"user-agent":
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",
"sec-ch-ua":
'"Not?A_Brand";v="8", "Chromium";v="108", "Google Chrome";v="108"',
};
const data = await scraper.user.info("redbull");
console.log(data);
})();`
You might still get occasional empty results though
—
Reply to this email directly, view it on GitHub
https://github.com/atharahmed/tiktok-private-api/issues/4#issuecomment-1365978488,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKTR4WT67BV25C57FB5EMQLWPMCOPANCNFSM6AAAAAATKN6X24
.
You are receiving this because you authored the thread.Message ID:
@.***>


refactor app config into one config file to rule them all

Currently some config options can only be from the environment or as CLI param.
All config options should be configurable from one yaml file.

done with: https://github.com/PDOK/goaf/pull/36


question about "void ShiftToStartIMU(float pointTime)"

This function is only defined, and I don't find it used anywhere else,Is this an obsolete function?
void ShiftToStartIMU(float pointTime)
{
imuShiftFromStartXCur = imuShiftXCur - imuShiftXStart - imuVeloXStart * pointTime;
imuShiftFromStartYCur = imuShiftYCur - imuShiftYStart - imuVeloYStart * pointTime;
imuShiftFromStartZCur = imuShiftZCur - imuShiftZStart - imuVeloZStart * pointTime;
    float x1 = cosImuYawStart * imuShiftFromStartXCur - sinImuYawStart * imuShiftFromStartZCur;
    float y1 = imuShiftFromStartYCur;
    float z1 = sinImuYawStart * imuShiftFromStartXCur + cosImuYawStart * imuShiftFromStartZCur;

    float x2 = x1;
    float y2 = cosImuPitchStart * y1 + sinImuPitchStart * z1;
    float z2 = -sinImuPitchStart * y1 + cosImuPitchStart * z1;

    imuShiftFromStartXCur = cosImuRollStart * x2 + sinImuRollStart * y2;
    imuShiftFromStartYCur = -sinImuRollStart * x2 + cosImuRollStart * y2;
    imuShiftFromStartZCur = z2;
}

It is used to deskew the point cloud. However, the translation estimation of IMU drifts super fast. So I observed bad performance when using this for deskewing.
You can certainly try it. See its place in the code.

Thanks for your @TixiaoShan reply! I got it.


[Need Help] Documentation Upgrade Funds

Ok, I know that the site has been down several times due to some billings issues of my friend who provides me with a free hosting since the beginning of the project. Would like to thank him for the support and for being my motivator and inspiring me to give back to open source community.
Moving forward,  I would like to seek help to generate funds and move the project documentation to its own server. There are several offers for hosting but I prefer it to be a server on my own account. I just need at least a year of hosting funds and can handle it from there. Also, I would like to include my friend's current server bill of $121.61 so that he can finally close his account.
FUNDS NEEDED

1 year hosting at DO for $20/mo. (4gb at least)
$121.61 dollar to settle the current server bill.

ESTIMATED TOTAL FUNDS NEEDED: $361.61
Those who are willing to help can send their donations to my paypal account: https://www.paypal.me/yajra
I will try to bring the documentations up as soon as the funds are enough. Might also upgrade the documentation to Laravel 6 if supports generated are motivating.

Why not just put some documentation somewhere that isn't going to go down, and is free, like GitHub pages?
Crowdsourcing funding to host your personal website on your own personal server is not necessary when you have community offers on the table to set you up with space on a server. This response to the criticism is frustrating at best for the people that use the package.

Why not just put some documentation somewhere that isn't going to go down, and is free, like GitHub pages?

It's already on github https://github.com/yajra/laravel-datatables-docs.

Crowdsourcing funding to host your personal website on your own personal server is not necessary when you have community offers on the table to set you up with space on a server. This response to the criticism is frustrating at best for the people that use the package.

I prefer that my codes are in my personal account for security purposes and that it can't be publicly shared without my permission.

hello
have you ever thought about using free services like heroku to store documentatio?

Hello , if anyone wants to browse the documentation check https://laravel-datatables-docs.netlify.com/

@yajra wouldn't it be good to have the documentation as a github sites site with a domain pointed at it, or is that not doable with the current state of the documentation?

is there a site to see how much funding is needed and provided, like crowdfunding site?

@bm2ilabs thanks for that docs. I will update readme and point the docs there while I'm working to restoring my site.
@zack6849 Yes, for static docs. But for the demo that needs database access, I think it will not work.
@HthSolid  No crowdfunding site and no donations received yet.
Closing this request and will personally fund my site next year.

Hi,
msg me.
i can provide web hosting.


Remove Maintainer subsections

Besides the platfrom ones, which require some touch up to the
maintenance policy.
Per the developers' meeting last week, the subsections are not really working, so let's get rid of them.
cc @adamhjk @chef/maintainers

I'm the decider, and I approve this. Go for it!


want to export pdf and html with normal markdown(not need slide effect some time)

Hello, first thanks this plugin，it's helpful.  I have a suggestion , first I have to say, my english is not good.
I added my original markdown with --- to have slide effect, but sometimes I also want original markdown to be exported as pdf or html，so as now I know, I have to delete --- to export pdf without slide effect.  wouble it be possible that the signal "marp:false"  can not only set preview effect but also export effect to original markdown(no slide effect).
thanks a lot!

It's out of scope of Marp. Marp is designed for a presentation document, and you should use the other extension to export PDF from a Markdown document, such as  Markdown PDF and Markdown Preview Enhanced.
If you want to strip horizontal rulers from PDF exported by them, set the custom style hr { display: none; } in the installed extension to hide each <hr> elements.

Thanks a lot!


djpegli: Can't decompress an image

I found a JPEG image that cannot be decompressed by djpegli.exe. I can't say what exactly is wrong with it. It has unoptimal huffman encoding. It works after optimization, which removes restart marker 0xFFDD.
https://coverartarchive.org/release/9d628829-6a1c-47b5-9d72-3f0be929cd55/25011158016.jpg

t:\working>djpegli.exe "25011158016.jpg" "25011158016.pnm"
Read 2734380 compressed bytes.
jpegli decoding failed

Thanks for the report. I'm having trouble to repro this.
It seems to work just fine at current head:
> ./build/tools/djpegli<PHONE_NUMBER>6.jpg out.pnm
Read 2734380 compressed bytes.
1425 x 1400,  2.696 MP/s [2.70, 2.70], , 1 reps, 1 threads.
lib/extras/enc/pnm.cc:38: PNM encoder ignoring metadata - use a different codec

What version/commit did you use?

bisecting this: seems like it was fixed by #3503, please confirm.

I have the last release v0.10.2. I can't compile a later version myself. Yes, the quantization table comes late in this file. Good to know that it is fixed, and this issue can be closed.


Enable sort indicator in Result set only if sorted

Can the up/down sort indicator be displayed only if a column is sorted. Having them always displayed uses up the horizontal column space.
Also displaying a up or down only when sorted help to better identify the columns when sorted. This is just like in excel while sorting

There should be a hint telling user that it is possible to click on sort icon. I don't see how it is possible without this icon. Note that clicking on column itself just selects cell values and doesn't change sorting (it is like in Excel).
Do you have any good example of existing applications with this UI?
Screenshot would be very useful.


Site Contents shows all SPFx apps with the same name and install date

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Observed Behavior
I have been following the tutorials for the SharePoint framework webparts and extensions.
I am finding that every time I follow a tutorial that involves packaging a solution and deploying it to a site, my site's Site Contents show all of the SPFx solutions I have deployed so far with the name and deployment time of the most recently deployed solution:

It seems to display them in alphabetical order of their actual names, but the names and dates displayed are all the same.
Additionally, when installing a new solution or uninstalling one, they all show as installing or uninstalling.
If I open the Details for any of them, I am shown the Details page for the app whose name is displayed (i.e., they all open to the same Details page).
Is this a behavior that has been seen before? Is it some kind of ID conflict where SharePoint is somehow getting all of the SPFx apps jumbled up with each other? I have tried this on two different sites in my tenant and am experiencing the same issue in both of them.
This appears to only happen in the Modern Site Contents view. In the Classic Site Contents, the apps display as expected.

Steps to Reproduce

Follow two or more SPFx tutorials that involve creating a new webpart or extension and deploying it to a site.
Look at the Site Contents page in Modern mode.
Observe that all of the deployed solutions show with the same name.

I logged this very same issue with Microsoft today. I experience it on multiple tenants in any site collection using modern ui.

@VesaJuvonen : i'm not sure, but i think this bug is resolved, on my tenant, i have different name for each SPFx component).

Hi, I am also facing this issue in my SP 2019 on-premise environment. Is there any fix available?

Is there any update / fix for this bug?


Splash screen not shown when native Java launcher is executed from JS

In
https://github.com/05nelsonm/kmp-process/blob/master/library/process/src/jsMain/kotlin/io/matthewnelson/kmp/process/internal/PlatformBuilder.kt
the process is started with
    opts["windowsHide"] = true

which apparently hides the Java splash screen that is set by my native Java launcher.  When I use childProcess.spawn myself, the splash screen is shown.
I think there should be a way to customize these options.

Will have 0.1.1 out with a fix today.

Awesome library, by the way! I discovered it via https://klibs.io/ today after writing my own process handling a couple of weeks ago when I could not find such a library 😅

Just published 0.1.1 which makes the following options available for JS:

shell
windowsHide
windowsVerbatimArguments

Thank you so much, it works like a charm!


[Feature][DataQuality] Refactor DataQuality Module

Purpose of the pull request
This pull request refactor dataquality module design to make it easy to extend other reader 、transformer and writer
Brief change log
Verify this pull request

Is there any design doc of the data-quality module?

Codecov Report

:exclamation: No coverage uploaded for pull request base (data_quality_design@164d678). Click here to learn what that means.
The diff coverage is n/a.

@@                  Coverage Diff                   @@
##             data_quality_design    #5717   +/-   ##
======================================================
  Coverage                       ?   44.18%
  Complexity                     ?     3662
======================================================
  Files                          ?      620
  Lines                          ?    25545
  Branches                       ?     2899
======================================================
  Hits                           ?    11288
  Misses                         ?    13252
  Partials                       ?     1005

Continue to review full report at Codecov.

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


Entry Text Center

How to set text center? After I updated to Xamarin 4.4, HorizontalTextAlignment=Center does not work anymore. Please help. This bug makes me headache, because before this everything is fine.

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

ID: c5afa3c9-4bcb-4986-2161-1bf2feb856b7
Version Independent ID: 39fc31bd-4b1d-65f3-aaf8-6eb464e9b38a
Content: Xamarin.Forms Entry - Xamarin
Content Source: docs/xamarin-forms/user-interface/text/entry.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @alKhairul
If you believe there's a bug in Xamarin.Forms you need to open an issue in the engineering repo,


Zustand home

Adds zustand homepage: https://website-git-zustand-home-pmndrs.vercel.app/zustand
Would appreciate some Typoescript help

something off with the colors and interaction: https://codesandbox.io/s/zustand-site-gpioq
color is because of <Canvas linear and interaction i think the easiest is to do pointer-events: none on the overlay and point-events: all on the buttons, links and dialogs.


go-edge-ds v0.33.4

Includes https://github.com/aserto-dev/go-edge-ds/pull/119

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


Updating getting-started.md

Missing comma for package.json in getting-started.md.

Hi @ltp19930730
Please sign CLA

Hi @ltp19930730
Please sign CLA

It shows I have already signed CLA.

Thanks!


Icons does not work, shows boxes instead

I installed font-awesome-rails gem and trying to use icons for li and arrows but instead of icon i am getting just boxes on the UI.
I did installed and added = require font-awesome in my css file.
Do I need to do something extra.

When you submitted this Issue, GitHub prompted you to first read our Contribution Guidelines.  We'd really appreciate it if you could do that first.
These guidelines provide good debugging steps that you should follow (often in general) before submitting an Issue here.
If you still have trouble after following all the steps, we can only help if you also submit the required bits of information that we ask for in those debugging steps.  Furthermore though, GitHub Issues are better for true bug reports and/or feature requests. Researching our existing closed Issues and/or StackOverflow is often a better tool for general help in scenarios like this.
I'm closing this issue, but feel free to submit more information and request that we re-open it if you feel that is warranted later.


Support generic LSPs that have a valid lsp7/lsp8 function

can we get the balance?

can we get the balance?

not fixed in another PR?


HiTrust doesn't use ISO4217 definition of TWD

We've had merchants report that although TWD officially has cents, in practice nobody uses it. According to Wikipedia "Subunits used only in stocks and currencies, and rarely referred to in such cases."
HiTrust apparently only accepts TWD as a fractionless currency, like JPY/ISK. Imperfect as the ISO standard may be, it's the only thing that is mutually agreed upon and users of the gem should be able to trust that we're accepting and returning sane values. A gateway diverging from this needs to handle this idiosyncrasy internally.

Hey @bdewater
This merchant Rhinoshield is having a substantial number of failed transactions because of this issue. I suggested they reach out to HiTrust to see if they could fix this at their end. The merchant has had a response from HiTrust:
"They say they are following ISO 4217 standard, and accept two digit cents but decimals can only be 00.
This means the price only can be $29.00, not $29.50, for example."
This seems pretty nuts to me, that HiTrust say they accept decimals, just that they have to be .00!
In any case, the merchant seems pretty stuck here and I wasn't quite sure where to take that feedback - hope it's appropriate to post here.


Drl4amr

This is a test: we create and vet some PRs to understand the lock in MFEM mirroring.

LGTM


Improve animation performance or add simplified animation option

Summary
I compared the performance of apexcharts with another svg libaray: Highcharts. I am not sure if it is a fair comparison but I replicated the same charts with the same datapoints. The result is that apexcharts was way slower. I understand that the animations in apexcharts are more complex, but it shouldn't take such a toll on performance.
If this is something not fixable I propose adding an option for simplified animations, which would allow users to still use apexcharts for projects that are not so small.
To see the comparison I did:

With Apexcharts
With HighCharts

Basically it is 4 horizontal bar charts with 200 bars each:

For the tests, in apex I disabled animateGradually and set the animation speed to a 100 and then 50.
The results on my machine (with x6 slowdown):

Time from start to end of animation

ApexCharts (speed: 100)
12,062ms

ApexCharts (speed: 50)
10,767ms

HighCharts
2,242ms

I would also like to point out that even though animateGradually is disabled, the bars appear in a gradual manner either way. Instead of animating all the bars at the same time it animates them like a ladder (as if it started from the top and descended gradually until the last bar).
API Changes
None if animations can be optimized. If they cannot, add an option in animations config for simplified animations.
Intended Use Case
Allow users of the library to use the charts with animations in more complex scenarios.
I find myself in the situation where making a proper dashboard with a lot of graphics is not feasible due to the bad performance it has. Disabling animations is not an option because the data can change dynamically and I want to be able to visualize the change in a pleasant way. Apexcharts is, in my opinion, is one of the best looking charts libraries out there, but I believe that these performance issues are a major drawback which makes it impossible to use apexcharts in a lot of scenarios.

I think that now you're still using a very old version of SVG.js. Maybe it would be interesting to see if it can get updated to v3. I know this was discussed in #1309, but it was a long time ago so maybe now it is more viable. If I understand correctly they improved a lot animation speed in v3. I'm not implying that this is the root cause of the issue but maybe it would be a good starting point to make it work.
I also think it could be beneficial to try to make everything work with svg.js as is. This would mean that you could easily get the bug fixes and performance improvements they do without many problems. Again, I am not too familiar yet with this project, so I am not the one to say if this is a real option or not

I can try to have a look at it in my free time if you think is something possible @junedchhipa

I feel like the major problem here lies with the bar charts:

My case: Disabled animations for bar charts and line charts.
CPU: AMD Ryzen 9 5900X 12-Core (let's just say it's fast)

I change the series of the whole dashboard at once. The line charts have 12 datapoints each (4 line charts * 12 = 48 datapoints) and the bar has 28 bars and three stacks (total of 84 datapoints). The bar also has datalabels enabled. The only thing I do is simultaneously call the updateSeries function of each chart once.
Stacked bar + 4 line charts

Only stacked bar

Total time updateSeries function

Stacked bar + 4 line charts
470ms

Only stacked bar
405ms

As you can see the bar chart is the one that takes the most amount of time. Remember, this is with animations disabled. 400ms to update the 84 datapoints without animations! Whilst this is happening you can't evens scroll because the processor is too busy running the function. I don't know what I am doing wrong, but from what I can see it is impossible to use this library in a normal dashboard scenario.
I should create more controlled tests (this is just how it runs in my app) with the same datapoints of bars and lines, disabling datalabels, etc. But even then, I don't see how it can take such a long time for a normal scenario.
All the performance problems I am finding in this lib seem to be related to the bar charts in some way. I thought it was a problem of animations, but now I see that it has other ramifications. Not only the animations are slow and resource intensive, just the updateSeries function takes a gigantic amount of time


fix: transloco fallback strategy class is not decorated

TranslocoFallbackStrategy is using angular Inject decorator but itself is not decorated, causing the generated bundle to be invalid when using ivy renderer
PR Checklist

[X] The commit message follows our guidelines: https://github.com/ngneat/transloco/blob/master/CONTRIBUTING.md#commit
[X] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
DefaultFallbackStrategy class is not a valid Angular provider and can't injected. Since it's using @Inject decorator in constructor, itself must be decorated with @Injectable
Issue Number: N/A
What is the new behavior?
DefaultFallbackStrategy is now a valid provider
Does this PR introduce a breaking change?
[ ] Yes
[X] No

Other information
https://stackblitz.com/edit/ngneat-transloco-jdldhs

@trik Did you happen to check if there are other classes that need decorating?


Create a CustomField for MediumEditor

For simple usage of the MediumEditor with BeanFieldGroup a MediumEditorField is needed.

Tried to use what I already had implementing a Field and not implementing a separate MediumEditorField class but this does not work within a FormLayout because pressing Enter for the line breaks is bound to the save event.


Unable to translate when language is != 'en'

I started out with this error message:
  [Symfony\Component\Debug\Exception\FatalErrorException]
  Method Illuminate\View\View::__toString() must not throw an exception, caught ErrorException: Array to string conversion (View:(…)/vendor/mpociot/larave
  l-apidoc-generator/src/resources/views/documentarian.blade.php)

The error occurs when the parameter descriptions on line 84 of the blade view are just empty arrays in multiple dimensions. This is caused by the system being unable to translate the parameters. I thought I had forgotten to publish the lang files, but it turns out I was just using a locale different than 'en'.
So: If the default language of the Laravel install is something other than 'en', then the translation of the rules and parsing of rule descriptions will fail miserably. Perhaps this could be amended somehow? It says in the readme that it will return the descriptions in the main language of the application but it seems it will only return the descriptions in the 'en' language.

Hi! Can you share your lang folder? I just test it  in a fresh installation and this works.

Hi! The bug is in the readme, really. It says:

By default, this package returns the descriptions in the main language of the application.

The main language of my application is en-GB, while the package language files are hardcoded to the en folder. So language files are not published into the language folder of the main language of the application, as the readme suggests, they are published in the en language.
No big deal, but the error message is not very straightforward and it took some debugging.
It would be great if either:

The actual default language of the application was used when language files were published, or…
Some error or exception was raised when language files are missing, or…
The readme was updated.

I think alternative 1 would be smoothest.

Sorry for the late. I will send a PR with the first proposal and the update for the readme.
I think they are the best option.
Thanks for sharing this issue.

No worries mate! We do what we can on our spare time :)

Take a look at https://github.com/mpociot/laravel-apidoc-generator#publish-rule-descriptions-for-customisation-or-translation
You can now publish the translation files and modify them to your needs.


minimize container image size

I have also added the grpc-health-probe binary in the container (size is 11mb)

Container image size is now 381.09 MB from 2GB


Add cron expression to bloblang input params

Hi @Jeffail,
I have added support for cron in bloblang input as discussed in #505.
This is my first PR for this repo so let me know if I have to do any else.
Thanks,
Dilip

Looking good @dilipkk-foyernet! I've left one comment around firstIsFree.
I regret making interval: 1s the default as it'll force users to explicitly set interval: "" here if they want cron expressions. I'll think this one over as we have the ability to swap the default without adding a breaking change but it might be better to identify a cron expression in the interval field and remove the cron_expression field. Leave it with me.

I have done this change. @Jeffail

Awesome, thanks @dilipkk-foyernet!


Cannot upload objects which start with "+" due to 403

Describe the bug
I use the upload method to push two types of objects to S3. Objects which start with - (e.g. -askhn) and objects which start with + (e.g. +askhn). The first group of objects is uploaded without any issue. The response code is 200. But all objects starting with + are not uploaded. The method returns status 403. Note that all calls use the same credentials and settings.
I get following message:
SignatureDoesNotMatch
<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>

To Reproduce
Try uploading an object with name +askhn to an AWS S3 bucket with
rust-s3 = { version = "0.26", features = ["no-verify-ssl"] }
Expected behavior
All objects should return 200.
Environment

Rust version: 1.48.0
Lib version: 0.26.3

@bausano thanks for raising the issue, will look it right over

We're either not encoding everywhere, or AWS treats + as  , this is their interpretation of /t+est.file -> /t/%20est.file instead of /t/%2Best.file

Thanks for the quick reply. I tried to identify the problem myself but I was not familiar enough with how signing work.

For sure, happy to help :). I ended up making a breaking change and publishing this as 0.27.0-beta5, let me know if you need pointers on porting 0.26.* code, it should mostly work unless you're using _blocking functions, in that case you'll need to flip on the blocking feature

Confirming your fix works. Once again, thank you for this great crate.

Thats great to hear man! Thank you


About license

Thanks for the great job. As you said, this repository is released under the Apache 2.0 license. I want to know whether that means the pre-trained models are also under the Apache 2.0 license? Thanks!

Hi @WangWenhao0716,
Yes, you're right.


Resample fails on different rules

What happened:
resample raises NotImplementedError error for rules that don't evenly divide a day.
What you expected to happen:
Different frequency rules should be allowed for time series resampling.
Minimal Complete Verifiable Example:
p = 100
index = pd.date_range(start="2012-01-02", periods=p, freq="H")
df = pd.DataFrame({"p": np.random.random(p)}, index=index)
ddf = dd.from_pandas(df, npartitions=5)
result = ddf.resample("2D").count().compute()
--------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
~/workplaces/dask-env/dask/dask/dataframe/tseries/resample.py in __init__(self, obj, rule, **kwargs)
    132                 "Resampling frequency %s that does"
    133                 " not evenly divide a day is not "
--> 134                 "implemented" % rule
    135             )
    136         self._rule = rule

NotImplementedError: Resampling frequency <2 * Days> that does not evenly divide a day is not implemented

Anything else we need to know?:
I got a correct resampling for the example above after removing the check on:
https://github.com/dask/dask/blob/79836fe4a52c9cf0e1eb32525792ad6bfed1c62b/dask/dataframe/tseries/resample.py#L130
Also for test:
https://github.com/dask/dask/blob/79836fe4a52c9cf0e1eb32525792ad6bfed1c62b/dask/dataframe/tseries/tests/test_resample.py#L131
expected = s.resample('57T').mean()
expected

2012-01-02 00:00:00    28
2012-01-02 00:57:00    78
Freq: 57T, dtype: int64

ds = dd.from_pandas(s, npartitions=5)
result = ds.resample('57T').mean().compute()
result

2012-01-02 00:00:00    28
2012-01-02 00:57:00    78
Freq: 57T, dtype: int64

I can attempt a PR to remove raising this error, if my assumption here is correct.
Environment:

Dask version: 2.17.2
Python version: 3.7.6
Operating System: MacOS 10.15
Install method (conda, pip, source): source

Thanks for raising this issue!  I think the original issue that brought it about was this one: https://github.com/dask/dask/issues/726, but that is now no longer an issue because we reindex to the desired timestep anyways.
The PR would involve removing the error, and then writing a few tests to make sure that things work properly. Ideally, those tests should have gaps in the index. If you'd like to work on it you are more than welcome.