Confused about how the mod actually works?

I would've commented this on CurseForge, but since comments aren't allowed there, I hope it's ok to post as an issue. I don't understand how I'm meant to use this mod to turn junk items into items I actually want. If I shred down 64 cobblestone, all that shows up in the ATM is 64 cobblestone. If I then shred 64 Birch Logs, it says I have 64 cobblestone and 64 birch logs. But how do I actually use RP? I can't take out more than 64 of either, and I've assigned them the same RP value (4). If I take out 64 cobble, all I have left is 64 birch logs, so I can't take out another 64 cobble, because I'm now out of cobble. All I can take out is 64 birch logs. But if that's the case, what's the point of the mod? It's just like a really clunky storage system which you have to shred items to insert them into. What do the RP points even do? I'm super-confused.

The mod is mostly for Multiplayer server atm and you earn RP by shredding Items and can purchase with the gained RP items out of the system but only if someone has already shredded it so its like a global shop and to combat the op issue of an unlimited storage system you only get half of the points of the shredded stuff back and purchase them for the full price but I see your point thats why i like to add some more sp friendly stuff to the mod and if you have any questions or suggestions just yell them out

Aha, ok, thanks for explaining. I don't mind getting half the RP back, that's an option in ProjectE as well as I'm sure you know, but yeah in single player if I'm the only person playing and thus the only person shredding, the mod basically doesn't have a use. It would be great to add some way to toggle between server and single player friendly modes in a config or something, cause this would be a great replacement for ProjectE in packs that want to focus solely on "EMC" and don't want all the OP gear and such.


Unwanted dependencies

Continuing discussion from #71 where unwanted dependencies are added to the project after installing Deform through the package manager.

I created a blank project on 2021.3.4 and installed Deform via git url. After installing the Deform package I did not get a prompt about installing dependencies nor a log about merging default dependencies. So weird.
This is my manifest
{
  "dependencies": {
    "com.beans.deform": "https://github.com/keenanwoodall/Deform.git",
    "com.unity.collab-proxy": "1.15.17",
    "com.unity.feature.development": "1.0.1",
    "com.unity.ide.rider": "3.0.14",
    "com.unity.ide.visualstudio": "2.0.15",
    "com.unity.ide.vscode": "1.2.5",
    "com.unity.test-framework": "1.1.31",
    "com.unity.textmeshpro": "3.0.6",
    "com.unity.timeline": "1.6.4",
    "com.unity.ugui": "1.0.0",
    "com.unity.visualscripting": "1.7.8",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.androidjni": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
  }
}

Hey, thanks for looking into this.
Ah, wait, I realized that I made a mistake before. I said that I didn't download it from the Asset Store because I used the Package Manager window to download the files (I think the Asset Store window has been gone for a while). But yes, I guess I was technically using the asset store version rather than the git version. This is under Packages: My Assets rather than Packages: In Project.
Trying the git version now, everything seems fine - I guess there's no import button for git packages, but I can click update, and the project compiles without it forcibly re-installing Unity Ads and the other packages that I was trying to avoid.
I'm not sure why the Asset Store version is giving that prompt. Both of them are version 1.2.1.


fill out the readme

Add a readme with lots of instructions.
Outstanding:

[ ] installation instructions

You can see the rendered version here.
This resolves #85

I think I'm going to move most of this to the wiki.


[feature] Add and update subcommand of make

add make build command,  build the binary of rudr
make install depends on kustomize, which should only depend on kubectl
add e2e test command make test e2e
add make clean command
IMG ?= controller:latest need to change the image name

It's done


Refactor: adjust button variants and colours to new style guide

As mentioned in a comment in PR related to SW-42:

Newly introduced color (#ff4746) will be used as $color-danger. So from now on all "danger" places will use it.
The color that we actually use as the "danger" (#ff2b5e) should be moved to the new variable $color-secondary.
The BtnMain variant="secondary" should use instead of gray the color $color-secondary (the pink).
The old secondary variant of BtnMain should be replaced with muted. Please remember to align every occurance of the BtnMain with variant="secondary" prop.

in general LGTM


KAFKA-10199: Remove tasks from state updater on shutdown

The state updater removes its updating and paused task on shutdown.
The removed tasks are added to the output queue for removed tasks.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Call for review: @wcarlson5 @lihaosky

@guozhangwang There is a test failure for one of the added tests. So please do not merge this PR before I fixed that.

OK, I think I fixed the flaky test!


The profile endpoint is not working

Preflight Checklist

[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Describe the bug
The api endpoint /api/users/profile/ is crashing.
On the frontend this route is fetch each time the App component render which means when we load the page. Hence we get the user profile datas that we can consume in the UI.
But since it isn't working there are no more user profile datas once we refresh the page despite the user is still being logged :
https://i.gyazo.com/c7f9c8b41ea0d929455124a1081e3ac7.png

To Reproduce
Steps to reproduce the behavior:

Login to mumble
Refresh the page
See error in the console https://i.gyazo.com/3d908990eefbbe8eab0499511c908cf7.png

What was expected ?
The route should response with the user profile datas.

Screenshots

Please have a look now! it's fixed!


nix 2.18.1

hi i use flakes and so i'm stuck needing a version 2.18.1 because my flakes all have 'lastModified' attrib in them and 2.17 won't use that. i can nix run nix/nix, for temporary uses, but i can't actually run my normal flakes or nixos build because i can't figure out how to install a different version. the file system is readonly is the error i get, or if i install it using overlay it just doesn't seem to get used.

my question is how can i install a different version? or can we get the base version updated? the nix.dev script fails for readonly, and my limited understanding hasn't allowed me to force it using my configuration.nix. i can kind of understand how i could maybe do this if i upgraded to 2.17 flakes, then switched my nix package using flakes, then upgraded to my 2.18 flakes with lastModified attrib?

You should be able to just nix-shell -p nixVersions.nix_2_18. Also, moving to discussion.


Fields Hints are not hiding after being selected

This issue pertains to the following package(s):

[ ] GraphQL Playground - Electron App
[ ] GraphQL Playground HTML
[X] GraphQL Playground
[ ] GraphQL Playground Express Middleware
[ ] GraphQL Playground Hapi Middleware
[ ] GraphQL Playground Koa Middleware
[ ] GraphQL Playground Lambda Middleware

What OS and OS version are you experiencing the issue(s) on?

Happening on every OS. Run in Windows, Linux, Arch

What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
I am using rust packages

actix-web = "4.8.0"
juniper = "0.16.1"
juniper_actix = "0.6.0"

But it's not only happening in rust It's also happening in nodejs package as well. It is seen that the issue is happening after the recent update of graphql or playground. In nodejs previously it was not happening.
What is the expected behavior?

It should get hidden after being selected

What is the actual behavior?

Tips are staying on the UI after refresh it hides

What steps may we take to reproduce the behavior?

Just write down the query or mutation it will show the tips and once selected it will stay on UI

Please provide a gif or image of the issue for a quicker response/fix.

I've faced same issue. (x_x )/

@asahi-kawajiri  Did you find any solution or atleast workaround?

For now you can use Firefox, the issue is related to Chrome deprecating DOMNodeRemoved mutation event

See https://github.com/graphql/graphql-playground/issues/1429#issuecomment-2274843437

https://github.com/graphql/graphql-playground/pull/1431

When do we merge this fix? For now, either Safari or Firefox will help. Chrome or Edge will face the same issue.

When do we merge this fix? For now, either Safari or Firefox will help. Chrome or Edge will face the same issue.

@vinhnglx I don't believe a fix will ever get merged. It is an abandoned project. If you cannot switch to another Graphql IDE, your best option is to fork, apply a fix and publish it just like I did.
I'm using this playground from a Google Chrome extension, so I published my fork to Chrome Store, here is the link if anyone needs a working Chrome extension.


Add more specialized version of DiscriminatedUnionConverter for F# Option< 'T>

Since there is already a DiscriminatedUnionConverter, it might be a good idea to include a more specialized optional converter for F#'s Option type? Option usage is pretty pervasive in F#.
This code seems to work but the project looks dead.
Source/destination types
type Foo = {
    bar: Option<int>
}

let x = [ { bar = Some 1 };
              { bar = None } ]

Source/destination JSON
[
  { "bar": 1 },
  { "bar": null }
]

Expected behavior
Ideally, an F# None would get converted to null on writing out to JSON.
Actual behavior
Type information is explicitly included (because of the default DiscriminatedUnionConverter) which doesn't play nicely with a C# service consuming the F# generated JSON.

FYI https://github.com/jet/FsCodec/blob/master/src/FsCodec.NewtonsoftJson/OptionConverter.fs works and is interoperable with the OOTB behavior in System.Text.Json (FsCodec also has interoperable UnionConverter impls for STJ and Newtonsoft that have a better story for versioning, i.e. handling adding/removing fields etc)

🙏 @bartelink. I've used that in the past after creating this. I was cleaning house with old issues.


Add key chords support.

It would have been nice if we would have keychords support in  Hyprland just like in emacs, Xmonad, Qtile etc.

what are keychords?

what are keychords?

I feel like its what qutebrowser do also, chaining keys,  eg to do a next, you do gn instead of Control+n.
You press and release g (go to), then press and release n (next).

then it's doable with submaps, no clue why this is an issue.

what are keychords?

So in Keychords first we will have a modifier key combination like Mod+P that will be pressed first, after releasing that key combination we will press some other key like n or whatever.
For example

Mod+P n, opens network manager
Mod+P b, open bluetooth manager, so on and so forth
Xmonad, Qtile, and DWM(patch) also has keychords.

yeh, submaps then

No dude, submaps and keychords are different thing.
This dt's video will give you pretty good  idea what keychords are

everything keychords allow you to do is doable with submaps.
{SUPER, P}, {0, A} from the DT video would be
bind = SUPER, P, submap, superpsubmap
submap = superpsubmap
bind = ,A,exec,something
submap = reset

everything keychords allow you to do is doable with submaps.
{SUPER, P}, {0, A} from the DT video would be
bind = SUPER, P, submap, superpsubmap
submap = superpsubmap
bind = ,A,exec,something
bind = ,A,submap,reset
submap = reset

Thanks it works and Sorry dude that I did not read the docs properly.

Hey @vaxerski sorry for necrobumping, but I guess this thread is what most people will see when googling "hyprland chords" so maybe keeping the questions here makes sense.
Anyway I got two questions regarding using submaps as chords:

Is there a way to abord a chord chain (reset the submap) when you hit a button that isn't explicitly bound to anything in the submap? Other than binding reset to every button one-by-one, obviously, hehe.
Is there a way to reset the submap on a timer (eg. after 2 seconds from switching to a submap) in case no button was pressed?

Cause this is kinda how it works in sxhkd, and I keep running into the problem that I somehow trigger a submap (sometimes accidentally, sometimes I forget what I wanted to run and get distracted) and as you can imagine it basically kills all the hotkeys until I figure out that I'm in a submap and press the reset key manually.
My muscle memory is slowly getting to the point that when hotkeys stop working the first thing I do is press submap reset, but I kinda wish it was simpler than this :)


Do NOT include 3rd party dependencies

Starting from version 1.0.7, video-recorder-core.jar includes 3rd party dependencies (inside JAR!):

commons-io
commons-lang3
org.awaitility:awaitility
org.zeroturnaround:zt-exec

It's bad.
It doesn't allow me using other versions of these dependencies in my project.
And it brings too old versions of some dependencies.
Please exclude them.
The standard dependency resolving mechanism of Maven, Gradle etc. will bring these dependencies as JAR files.
NB! It's critical!
It doesn't allow me upgrading to video-recorder 1.0.7

Will be fixed in 1.0.8 version

fixed by https://github.com/SergeyPirogov/VideoRecorder/commit/8a4ac666efafc2b6524f1142b478b337ca0a070f


Adds waiting behaviour

@Sunwards, can you help with the conflicts, please?

@Sunwards, can you help with the conflicts, please?

@Sunwards, can you help with the conflicts, please?

@leocavalcante sure, done

Thank you!


Refresh/update the readme [ADUI-4108]

Demo: https://github.com/coveo/react-vapor/blob/6ff66e264f2ef946c43adaa0e5af4373eff4b23b/README.md

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1129   +/-   ##
=======================================
  Coverage   99.75%   99.75%
=======================================
  Files         350      350
  Lines        8514     8514
  Branches     2021     2021
=======================================
  Hits         8493     8493
  Misses         21       21

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 7ac9cc3...6ff66e2. Read the comment docs.


Internet or Restriced zone error

Hi,
When I try to compile sourceCode for CSScriptNPP, I get the following errors

Thanks.

This is not a problem with the codebase as such but rather with the project location and your Visual Studio deployment. Is there any chance you are building it from the network?

This thread is a bit old, but the real cause of this issue is likely that it was downloaded as a ZIP and has the "mark of the web" on it (as shown in your screenshot). To resolve this issue, you'll simply need to unblock each of the files reporting an error:
https://blogs.msdn.microsoft.com/delay/p/unblockingdownloadedfile/
There is also a wonderful SO post detailing how to unblock the files with PowerShell:
https://stackoverflow.com/a/51349305


Config.toml vs Edge dictionary for configuration & secrets

Hello! This documentation  suggests using either a file, or an edge dictionary, to configure Fastly Compute software.  Compute-rust-auth uses the config file approach, with src/config,toml containing the nonce_secret and client_secret.
Another way would be to use an edge dictionary - however this page explicitly recommends against it "Personal information, secrets, or sensitive data should not be included in dictionaries or incorporated into VCL.".
An edge dictionary feels like it would allow:

to promote the same build artifact between different environments (staging, production)
to use the edge dictionary API for regular, automated secret rotation

Also, with config.toml - while it is possible to dynamically edit it at build time, from the template it seems to suggest to store the secret in Git.
Could you expand on the difference between storing secrets within edge dictionaries vs compute binaries? Many thanks!

Hi @yannh, we will be able to update (and simplify) the bootstrapping here once our edge storage for secrets (Secret Store) is out of beta. You can enable this feature now if you want to experiment.
We will be moving the configuration out of the binary and into Config Store, in order to enable the rotation of keys via Fastly's Config Store API, per feature request https://github.com/fastly/compute-rust-auth/issues/18.


Correct .travis.yml tox syntax to work for 3.8.1+.

The context here is that tox just released 3.8.1, we float, and -ve no longer works and you must separate the flags. Another approach would be to pin tox old, but it traditionally just works and you only bound low via minversion:
https://github.com/pantsbuild/pex/blob/6e35c5f21ac11edb46a696a39e565fa41b9e42cc/tox.ini#L3


Search function for plugins

[ ] clicking div should show result
[ ] width of search bar should be logo width at max
[ ] Search bar should be big and pretty
[ ] Should look good on mobile devices

Moved to fisherman.github.io


Add --security-opt seccomp:unconfined flag when running CI containers

It looks like Clang Sanitizer has been having errors for a while and we never realized it because the regex match wasn't looking for the right keywords.
See last build on jenkins-ci  after merge of #377:
End Result: TEST PASSED
==4416==LeakSanitizer has encountered a fatal error.
==4416==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==4416==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
-------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpiexec detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[61376,1],0]
  Exit code:    1
--------------------------------------------------------------------------

It seems like me might have missed a change in behavior in docker.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #378   +/-   ##
=======================================
  Coverage   98.06%   98.06%
=======================================
  Files          84       84
  Lines        5833     5833
=======================================
  Hits         5720     5720
  Misses        113      113

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 5357b9f...e36651e. Read the comment docs.


Centralized Kong plugins configuration

Is there an existing issue for this?

[X] I have searched the existing issues

Problem Statement
We would like to centralize the setup of our common Kong plugins in the namespace where Kong is running, and we would like to reference from the target application Ingress and Service Kubernetes objects the Kong Plugins.
At this time the KIC is searching for the Kong Plugin in the same namespace as the target application.
Benefits

This will drastically reduce the number of CRDs to create at large scale.
This provide a way to better segregate the ownership of plugins , especially for the security related ones, upon which the responsibility can be fully and easily assigned.
Ease of consumption for the applications by just referencing the predefined plugins

Proposed Solution
By setting up a feature flag we would like to amend the KIC to lookup for the Kong Plugins  in the namespace from where the KIC is running, or in another namespace location.
Additional information
We are considering to create a PR for this feature proposal (might be part of the upcoming hackathon).
Acceptance Criteria

[] As a user I can control from where the lookup for Kong Plugins CRDs is being executed by the Kong Kubernetes controller when configuring Kubernetes Ingress and Services resources.
[] By default the lookup is being executed locally to the namespace of the resource.

Can you share what issues or limitations you've encountered using KongClusterPlugins for this? They should already provide a centralized store for plugin configuration if you want that, albeit not in a namespace (though I'd argue that cluster scope is functionally a namespace with some special traits).

Hi @rainest the main limitation encountered with the cluster plugins option is about handling name collisions between our deployments within the same cluster.
I would agree that is is something we could managed anyway.
At this stage we have constrained the cluster plugins to a specific set this is why we where thinking managing plugins from a centralized namespace, from where along is deployed.
Thanks.

We're trying to work through a similar problem - i.e. we have two Kong KICs running in seperate namespaces that we want seperate global plugins configured on with the same name


How to move blog posts?

In my blog, http://ash84.net/, click Blog button but not move http://ash84.net/#open.
How to move blog posts from main page?

read documentation


nwinkler_random_colors: Allow to provide a customized color file

When running bash inside a container where we share the home with the
host, or when whe share the same dotfiles betwee different machines, it
may be useful to be able to customize the random-colors files.
So allow to override it via $NWLINKLER_RANDOM_COLOR_FILE env variable

Perhaps https://github.com/Bash-it/bash-it/pull/1609 is a more general solution?

@3v1n0 I am closing this because this PR have grown stale- you can reopen this if you want

Sounds good. Sorry I didn't have the time to finish it.
I'm using the fork that has color schemes so when and if I make it release ready I'll resubmit!
Best,
K


 I don’t believe this bug has been reported yet.
Here is a quick video of the bug: https://youtu.be/cVVJo1fV-yU

Hey, duplication bug with issues. ;)
#2164 #2369


installation of pm2 different approach worked

I tried installing pm2 like it is explained in the guide. It did not work and I succeeded with https://stackoverflow.com/questions/38185590/pm2-command-not-found

Ugh, I really wish pm2 had a more elegant setup for this...  I added your link to the guide.  Thanks for letting me know.


Critical error with the renter ..

Please submit a bug report here: https://github.com/NebulousLabs/Sia/issues
This error occurred repeatedly overnight and didn't get resolved until the server rebooted after a backup.

goroutine 2625 [running]:
runtime/debug.Stack(0x445917, 0x0, 0xc448627bf0)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Critical(0xc448627d70, 0x3, 0x3)
/go/src/github.com/NebulousLabs/Sia/build/critical.go:16 +0xa7
github.com/NebulousLabs/Sia/persist.(*Logger).Critical(0xc420e24720, 0xc448627d70, 0x3, 0x3)
/go/src/github.com/NebulousLabs/Sia/persist/log.go:37 +0xe0
github.com/NebulousLabs/Sia/modules/renter.(*Renter).managedDownloadIteration(0xc421dca000, 0xc448627f20)
/go/src/github.com/NebulousLabs/Sia/modules/renter/download.go:365 +0x67d
github.com/NebulousLabs/Sia/modules/renter.(*Renter).threadedDownloadLoop(0xc421dca000)
/go/src/github.com/NebulousLabs/Sia/modules/renter/download.go:635 +0x37e
created by github.com/NebulousLabs/Sia/modules/renter.newRenter
/go/src/github.com/NebulousLabs/Sia/modules/renter/renter.go:220 +0x3e3
Critical error: ERROR: the renter is idle, but tracking 11 active pieces; resetting to zero

Critical error: ERROR: the renter is idle, but tracking 11 active pieces; resetting to zero
Duplicate of #2395

Perhaps a duplicate result but I don't use duplicati, so the cause of the problem is not related to that ...

That's a good point, I'll let the devs decide if they want to tag this one as a separate bug or lump it in with #2395.

It looks like #2435 and #2319 were the same problem and are also being tracked with #2395 despite not using Duplicati.  Sounds like this issue is not exclusive to the Duplicati integration but is being tracked in that ticket.
Recommendation to devs: Close


README.md: link to zxing-cpp is outdated

The new home for zxing-cpp is https://github.com/zxing-cpp/zxing-cpp. The old nu-book link is (currently) still forwarding to the new place, though.

Hi there,
I have updated the link to the new repository for zxing-cpp. Thanks.


toColorString Performance Improvements

Performance improvements to color modules by splitting toColorString into hslToColorString & rgbToColorString.

Added to V3 Roadmap (#354)


Mention Windows usage

In the CLI part please specify/include some general examples for all platforms!
Because Windows users may need to use double quotes rather than single quotes and if used in an npm script they need to escape the double quotes like this:
"scripts": {
"watch:osx": "watch 'clear && npm run test -s' source"
"watch:windows": "watch "clear && npm run test -s" source",
}
It's really hard to find some proper documentation and it took me quites some time to figure out all this stuff, would be nice to include it here, you would save people alot of time!
https://github.com/mikeal/watch/pull/124

You mean:
"scripts": {
  "watch:osx": "watch 'clear && npm run test -s' source",
  "watch:windows": "watch \"clear && npm run test -s\" source",
}


docs(example): add component testing example

This is very much a work in progress. I'm still evaluating whether mocking is what we want to recommend to people. I'm not sure it is. I'm also experimenting with vitest which I mostly like. We'll see where we land.
Making this PR so folks can reference it and provide feedback.

Just like #2133, I think we can close this one (for now), now that we have #2481 & #372 is closed?

Thanks!


No new gulp-wp-pot release since wp-pot JS parser feature

Hi,
Please release a new version with the latest wp-pot JS parser features.
Version 2.5.0 is still using wp-pot 1.9.6, which doesn't support the JS parser yet.

Any update

@rasmusbe Could you please check? Thanks

this wp-pot lock, turns out also locking down php-parser that does not support php 8 yet.
they did release updates: https://github.com/glayzzle/php-parser/releases


is it really a3c implementation? not just actor critic?

where is multi-step loss function and entropy loss function?

For entropy exploration, you can check continuous_A3C.py in loss_func function

where is multi-step loss function and entropy loss function?

For entropy exploration, you can check continuous_A3C.py in loss_func function

This is the if-condition that determines when N actions have been taken (or terminated) in the Worker:
https://github.com/MorvanZhou/pytorch-A3C/blob/5ab27abee2c3ac3ca921ac393bfcbda4e0a91745/discrete_A3C.py#L93
N-step loss is then computed in push_and_pull in this loop:
https://github.com/MorvanZhou/pytorch-A3C/blob/5ab27abee2c3ac3ca921ac393bfcbda4e0a91745/utils.py#L29


Oracle: Missing Privilege's Grantee for a Table (when is granted to Public)

Description
Oracle:

When I check the details for a certain Table:
- Tab "Properties" -> "Privileges" section:
I can visualize the different Privileges, but those granted to Public, in the Grantee field is in blank.

DBeaver Version
Community Edition Version 23.1
Operating System
Windows 10
Database and driver

Database name and version: Oracle 12c <IP_ADDRESS>.0
Driver name and version: Oracle JDBC driver <IP_ADDRESS>.0 (ojdbc8-<IP_ADDRESS>.jar)

Steps to reproduce

Login in user/squema A: grant to PUBLIC a table in its squema (example: A.TableTest)
Going to the details of table TableTest, in the "Privileges" section, the grantee is not Public, it shows blank, and double clicking that row to see properties of that row, in grantee field appears in blank.
Login in user/squema B, and looking for A.TableTest, going to the details of that table, in the "Privileges" section, the grantee is  Public (It's OK), and when double clicking that row to see properties of that row, in grantee field appears in blank.

If user B see that A.TableTest grantee is PUBLIC, why double clicing to the detail, now it is in blank the grantee field? And if user B see Public as the grantee object, why user A see it as blank?

Additional context
No response

Hello @esteban-code
Could you please explain the reason for using the PUBLIC role in your case?
https://blog.netwrix.com/2022/12/02/public-roles-in-oracle/
As I can see, the PUBLIC role is the default role for all objects. Its display is a visual noise and not helpful information, imho.

Add a bold comment in the Steps to reproduce to get clearly what the Weird thing is.

Thank you for the report.


LSP configuration for Neovim

Hello :octocat:
I've added some instructions on how to setup neovim with LSP. I'm not a neovim user, and my configuration is done through NixOS (home-manager), so I'm not 100% sure this instructions are the right way of doing things in a normal unix system. @konnov can you try them out, maybe?

[-] Tests added for any new code
[X] Documentation added for any new functionality
[-] Entries added to the respective CHANGELOG.md for any new functionality
[-] Feature table on README.md updated for any listed functionality

Hey @bugarela! I have followed the instructions, but it does not work for me. Perhaps, we need a section on troubleshooting. I have no idea, whether the server has started and how to check it in nvim.

Oh, it's actually working! nvim was not picking up the syntax file. I am updating the README file. Amazing!
Nevertheless, we should probably add a paragraph on how to see, what is not working.

Ah, I see! The syntax instructions I just copied from comments inside quint.vim, I did not think they would differ for nvim (I'm using the tree-sitter highlighting in my config) - will update the comments as well.

I tried it in vim too, and it works. Amazing!

@konnov I meant to add a troubleshooting section as you asked, but not having used vim/nvim before, I don't really know any troubleshooting better than "google stuff and look at the docs" :laughing:. Perhaps we can build this section over time, as people (and ourselves) find problems and solutions.


Add Legend to standings page?

Just to indicate that green entries are match wins for 2 match points, yellow = draw, red = loss and that the number is game wins in that match

I think that this issue should be closed , if I understood what seb32 means with that .


Some preconfigured buttons appear as UNKNOWN

My G700 mouse has been configured using Logitech Gaming Software, but when I check out the profiles through ratbagctl, the following appears:
nik@nik-pc ~ $ ratbagctl hooting-chinchilla info
hooting-chinchilla - Logitech G700 Laser Mouse
 Number of Buttons: 13
    Number of Leds: 0
Number of Profiles: 5
Profile 0: (active)
  Name: Profile 1
  Report Rate: 125Hz
  Resolutions:
    0: 400x400dpi
    1: 800x800dpi
    2: 1200x1200dpi
    3: 1600x1600dpi
    4: 3200x3200dpi (active)
  Button: 0 is mapped to 'button 1'
  Button: 1 is mapped to 'button 2'
  Button: 2 is mapped to 'button 3'
  Button: 3 is mapped to 'button 4'
  Button: 4 is mapped to 'button 5'
  Button: 5 is mapped to UNKNOWN
  Button: 6 is mapped to UNKNOWN
  Button: 7 is mapped to 'battery-level'
  Button: 8 is mapped to 'resolution-down'
  Button: 9 is mapped to 'resolution-up'
  Button: 10 is mapped to 'profile-cycle-up'
  Button: 11 is mapped to 'wheel-left'
  Button: 12 is mapped to 'wheel-right'
Profile 1:
  Name: Profile 2
  Report Rate: 1000Hz
  Resolutions:
    0: 400x400dpi
    1: 800x800dpi
    2: 1200x1200dpi
    3: 1600x1600dpi
    4: 3200x3200dpi (active) (default)
  Button: 0 is mapped to 'button 1'
  Button: 1 is mapped to 'button 2'
  Button: 2 is mapped to 'button 3'
  Button: 3 is mapped to 'button 4'
  Button: 4 is mapped to 'button 5'
  Button: 5 is mapped to UNKNOWN
  Button: 6 is mapped to UNKNOWN
  Button: 7 is mapped to 'battery-level'
  Button: 8 is mapped to 'resolution-down'
  Button: 9 is mapped to 'resolution-up'
  Button: 10 is mapped to 'profile-cycle-up'
  Button: 11 is mapped to UNKNOWN
  Button: 12 is mapped to UNKNOWN
Profile 2: (disabled)
Profile 3: (disabled)
Profile 4: (disabled)

At profile 0, the unknown buttons are Left and Right arrow keys. At profile 1 they are shift + [ resulting in {, shift + ] resulting in }, shift + 9 resulting in ( and shift + 0 resulting in )
For some reason though, those combinations appear as UNKNOWN and are not interpreted by libratbag.

Yes, we are aware. I will try to fix this and add proper macro support in the 1 or 2 upcoming months.

I'm seeing the same thing with Logitech's G502 Wireless. I believe the unknown button really behaves like a "profile switch" or "reset resolution to default" button.


[Discuss] Method to determine if REST Request originates from an extension and, if so, which

What/Why
The overarching problem the security team is trying to solve is how to ensure that requests that originate from an extension identify the extension and original requester. The auth token provided to the extension should not be shared and used by other extensions.
What are you proposing?
I have a few ideas for identifying the extension that a request originates from, but would like some input on the approaches. See an example of a REST Request originating from an extension in the AD extension here: https://github.com/opensearch-project/anomaly-detection/blob/feature/extensions/src/main/java/org/opensearch/ad/rest/RestCreateDetectorAction.java#L94-L99
IndexRequest<AnomalyDetector> indexRequest = new IndexRequest.Builder<AnomalyDetector>()
    .index(ANOMALY_DETECTORS_INDEX)
    .document(detector)
    .build();
IndexResponse indexResponse = sdkClient.index(indexRequest);

Assumptions: The token being created in core and sent to the extension to interact with the cluster is a JWT. The JWT is signed by a secret that is unique to the extension. @dbwiddis laid out details nicely in a comment in the security repo: https://github.com/opensearch-project/security/issues/1895#issuecomment-1402609039
Brief background on JWTs
JWTs have 3 parts: the header (metadata on the algorithm used), payload (JSON body of the token) and signature. The issuer of a JWT signs the header and payload with a secret known to the issuer that can be used in return on receipt of a token to verify the authenticity of the token. The payload and header are readable by everyone, but cannot be tampered with.
There are 2 signing methods for JWTs (See https://www.pingidentity.com/en/resources/blog/post/jwt-security-nobody-talks-about.html for greater detail):

Symmetric Encryption - With symmetric encryption there is a single secret signing key known to the issuer that can be used to sign and verify tokens. If another service needs to verify tokens the signing key would need to be shared

Asymmetric Encryption - In asymmetric encryption a public/private key pair is generated and the private key is used by the JWT issuer to sign tokens. Those tokens can be verified with the public key and any other service that needs to verify tokens can know the public key so that they can verify, but not issue tokens.

Approach 1
Pass an HTTP Header with each request originating from an extension with an extension identifier. It could be the more public extensionId used in the extension's routes or another id that is less publicly known than the extensionId.
Pros:

Easy to implement

Cons

Not the most secure as an extension could share its id with another extension making impersonation possible

Approach 2
Is it possible to prevent extensions communicating with one another? If extensions are unable to communicate with one another then the JWT can implicitly be trusted and the extension information embedded in the token as a claim.
Approach 3
Use asymmetric encryption and add a verification layer in the SDK. Generate a public/private key pair and have the public key known to the extension. Before any usage of the token passed from core, verify that the token is meant for this extension. Similar to approach 2 where the extension information can be embedded in the token if we can trust that the token comes from the source that it was intended for.
Other approaches?
Are there any other approaches not outlined here? A dedicated channel for communication that can identify the source of a request? Using other metadata from the request such as resolving an IP address and performing X-Forwarded-For resolution?
What problems are you trying to solve?
Ensuring that extensions interact with OpenSearch securely and preventing impersonation by sharing auth tokens amongst extensions.

Approach 1
Pass an HTTP Header with each request originating from an extension with an extension identifier. It could be the more public extensionId used in the extension's routes or another id that is less publicly known than the extensionId.
Pros:

Easy to implement

Cons

Not the most secure as an extension could share its id with another extension making impersonation possible

I don't particularly see this as a con.  In fact, I see potential use cases for integrated extensions.
At a certain computing website you're no doubt familiar with, I participate in an group that helps target spam.  Briefly:

The site API includes querying content (read only, quota limited).
The site API enables user interaction (in this case, flagging posts for moderator attention, per-user quota limited)
There are multiple bots (read, extensions) targeting various aspects of the site (spam, rude/aggressive comments, plagiarism, etc.). These bots:

generally run "as a user" (read, extension)
are sometimes given permission by other users (like me) to take actions as that user (since per-user quotas are limited and spam is not the anti-spam bot allows users to opt-in to sharing an id key with the bot to enable it to send flags as if it were the user).

Consider the above example where each user is an "extension".  Normally every extension operates independently.  Sometimes one extension (me, wanting to fight spam) gives some limited API credential permission (but not login credentials) to the bot (with super-high read query quota) to act as me interacting with the API to flag spam.   This is a good thing.
For an existing plugin application, the alerting plugin runs an anomaly detector as if it were the original user who created it, and we want to keep this sort of behavior somehow.

Approach 2
Is it possible to prevent extensions communicating with one another? If extensions are unable to communicate with one another then the JWT can implicitly be trusted and the extension information embedded in the token as a claim.

I don't think it's possible to prevent.  I am of the philosophy that we should not build our design to require it, but we should design in a way that permits extensions to communicate with each other if they so choose.
TLDR here: we should assume any information we send to an extension can (and will) be shared.

Approach 3
Use asymmetric encryption and add a verification layer in the SDK. Generate a public/private key pair and have the public key known to the extension. Before any usage of the token passed from core, verify that the token is meant for this extension.

No objections to this, but I really don't see the need for it.

Other approaches?
Are there any other approaches not outlined here? A dedicated channel for communication that can identify the source of a request? Using other metadata from the request such as resolving an IP address and performing X-Forwarded-For resolution?

Any headers/metadata can/will be hacked.   There is a transport later communication that could in theory be used internally that could somewhat try to validate this.  The sequence would go something like this:

It is assumed that the initiation of all requests starts with the OpenSearch RestController.
Any request not known to be part of an existing workflow process should be assumed to be a new request and should carry its own authentication as if it were a user.
When a REST request requires an extension to process it, it is sent over transport to the extension along with sanitized identity information assumed to be world-readable.  It can/should also send a short-time-limited access token intended for that extension's REST requests.
The extension may make multiple REST requests and gets responses using this information.  OpenSearch would be aware that this request is currently "open" and would expect requests with those tokens.
Eventually the extension returns its result via the transport layer and the "request" can be closed.  After this point any future requests using this token would be considered invalid.

So our focus is on step 4, looking at REST requests that come in during the short time window that a request is awaiting a response over transport.  We could:

With every rest request include some random ID in a header that we also send separately over transport.
Before the Rest Controller acts on a request with such ID it would wait for the transport call (which could have arrived before it) with that ID
This would definitely impact performance as we'd have to wait for both requests to arrive, but it would gain some security as only the extension has that transport layer connection.

I think that on installation extension gets a blob encrypted with a server key that contains its public key, then signs all its requests with its public key that the server can verify subsequently upon every request.

Server generates a private/public key pair on installation [s-pub, s-key].
An extension generates a private/public key pair on installation [x-pub, x-key].
During install, extension presents x-pub to the server, and receives an opaque token: e(s-key: [x-pub, permissions, expiry]).
Extension presents [token, sig(x-key: token)] with every request, server decrypts token to get x-pub, checks that sig() is valid by using x-pub, checks permissions, expiry information. An alternative would be to store x-pub on the server, so that an extension can be uninstalled and its key revoked on the server side.

I don't know if replays with [token, sig(x-key: token)] are a concern. IMO the transport is secure, so it's not an issue, but I could be wrong.


added policy as a set of statements to documentation

needs rewording - policy is a set of rules not set of statements


[SPARK-46618][SQL] Improve error messages for DATA_SOURCE_NOT_FOUND error

What changes were proposed in this pull request?

This PR improves the error messages for the DATA_SOURCE_NOT_FOUND error.
Why are the changes needed?

To make the error messages more user-friendly and update to date.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Existing unit tests.
Was this patch authored or co-authored using generative AI tooling?

No

cc @MaxGekk

The test failures are not related to the PR, I do believe.
+1, LGTM. Merging to master.
Thank you, @allisonwang-db.


test: add back emulator test workflow

@IlyaFaer would you be able to take this PR and skip the relevant tests to get the workflow green?
I tried to see if I can debug it but I'm not sure where the primary key test is failing :(

@skuruppu, yeah, I'm taking a look.

@googlebot I consent.

I ran some tests (using the Node.js client) against the emulator and I was able to successfully create a table with no primary key, insert a row and query it back. So I don't think that's it.

I ran some tests (using the Node.js client) against the emulator and I was able to successfully create a table with no primary key, insert a row and query it back. So I don't think that's it.

Unfortunately, I'm about to disagree. The first test case failing bad is ComponentReflectionTest. I've taken a look at its setups, and it appeared it uses two tables without primary keys. I've tried to override the setup method to explicitly set primary keys for those tables, and now ComponentReflectionTest passing fine.
An SQLs without primary key explicitly defined look like this in SQLAlchemy:
CREATE TABLE Singers (
            SingerId     INT64 NOT NULL,
            FirstName    STRING(1024),
            LastName     STRING(1024),
            SingerInfo   BYTES(MAX)
        ) PRIMARY KEY ()

Thus, primary key definition is empty. And seems like it's confusing the emulator.

@googlebot I consent.

@googlebot I consent.

Several tests are failing with 400 Unable to infer type for parameter a1. The error is going to be fixed in a separate PR for DB API: https://github.com/googleapis/python-spanner/pull/200
Everything else seems to be working fine. Merging.


Data Science Jobs & Salaries EDA

Name: Kalpesh Kawalkar
Title : Data Science Jobs & Salaries EDA
Description: Added Data Science Jobs & Salaries dataset and performed EDA on it to draw some meaningful insights.

LGTM! @Kalpesh-Kawalkar  🚀
Thanks for your valuable contribution ✨
Hope you like the repo Do Give a star to this repo ✨

LGTM! @Kalpesh-Kawalkar rocket Thanks for your valuable contribution sparkles Hope you like the repo Do Give a star to this repo sparkles

Thanks for the acknowledgement..🙌🚀
And yes, I've starred this valuable repository for future reference..✨


Onboarding PR

Not sure if I was supposed to do this when I onboarded but I see others doing it now so 🤷♂

Coverage remained the same at 35.861% when pulling e80836518886f7b682439b4c3b1fa675b63b0e6f on cssuh/addName into 0835d3ed0f831f815dd0e50e3b63b93e6125519c on main.


Migrate Redis to the micro-generator

This will show up in the Travis log as a major change due to effectively reverting the addition of FailoverInstance calls with nullable parameters. However, it's not a major change compared with the released package. (Validated locally; will be validated again in CI before a new release.)

Ah yes - I need to add an import for the smoke test, just in V1Beta1. Easy fix.


Remove duplicated veth pair code

In https://github.com/k-vswitch/k-vswitch/pull/10 as part of implementing ARP responder we had to duplicate the code from github.com/containernetworking/plugins which was responsible for creating the veth pair. This is ok for now but we should consider ways to get rid of this duplicated code

Should be fixed  in https://github.com/k-vswitch/k-vswitch/pull/12


redesign communication with grid removing RemoteDevice from common models

RemoteDevice was implemented for transferring STF device metadata via grid servlet. In 4th generation of carina we replaced this approach using slotCapabilities object.
So we have to remove this class and reorganize MobileFactory code accordingly

done: https://github.com/qaprosoft/carina/pull/1210
no more RemoteDevice class at all. All communication with any selenium hub is organized via capabilities.
For zebrunner device farm (MCloud) we also use extra slotCapabilities sub-component to share xtra information.
Testing might be performed over old selenium-hub and upcoming new mcloud-grid as well.
7.0.0-beta3-SNAPSHOT

Verified as it is working now. Fixed.

Verified as it is working now. Fixed.


feat: Making the contributors section dynamic.

Description of the new feature.
Making the contributors section dynamic in Readme.md
Describe briefly how you would implement this new feature.
Some steps to implement this enhancement-
1. The svg will look something like this with limit upto 54 contributors
2. It will move from right to left.

Screenshots Example (if applicable)

Additional information
No response
Contributor terms

[X] I agree to follow the Contributing Instructions

Hey @jain-rishabh-21
Please assign me this issue


Documentation topics to address for >=0.2.2

This is a work-in-progress issue based on what I'm observing is non-obvious in my testing while implementing / upgrading the Spring Authorization server
Useful information for Resource Servers

[ ] End-to-end documentation from Authorities / scopes to Spring Security hasRole or hasPermission filters
Given an endpoint that supplies information about the authenticated principal, The authorities should be populated:

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.security.Principal;

@RestController
public final class IdentityController {
    @GetMapping("/oauth/me")
    Principal me(final Principal user) {
        return user;
    }
}

[ ] Discuss how to debug the OIDC Authorization Code flow using oidcdebugger.com
[ ] Discuss how to handle invalid_grant 400 HTTP status code; specifically how to get a more detailed message about what's invalid about the grant.

Transitional knowledge

[ ] Discuss the migration process from previous Spring OAuth project.

Not directly in-scope for this repo, but it's the next logical set of actions implementors could use as a reference

[ ] How to create a Register page with validations
[ ] Forgot + Reset Password flow w/ validations
[ ] Login screen customization w/ validation on fields (e.g., enforce the same constraints as are in place on register page: valid username, minimum password length).

@jackdpeterson Thanks for your interest in the reference documentation. We started work on it and have put together a "draft" outline in gh-499.
Regarding your documentation requests:

End-to-end documentation from Authorities / scopes to Spring Security hasRole...

This will be covered in the “How-to Guides" - "Authorize an access token containing custom authorities, e.g. roles, groups, permissions, etc."

Discuss how to handle invalid_grant 400 HTTP status code...

This will be covered in the “How-to Guides" - "Handling errors and customizing the OAuth 2.0 Error Response"

Discuss how to debug the OIDC Authorization Code flow using oidcdebugger.com

This isn't something we would document. You would first need to become familiar with the flow as defined in 3.1.  Authentication using the Authorization Code Flow. Then become familiar with the components in Spring Authorization Server that implement this flow.

Discuss the migration process from previous Spring OAuth project.

Spring Authorization Server is a complete re-write and there isn't a one-to-one mapping between the 2 projects. It will likely require some effort to document and I'm not sure how much bandwidth we have at the moment for that. Users typically look at the sample application and determine the differences between the 2 projects. What difficulties are you having in the migration process? I would recommend creating a new issue so we can discuss there.

Not directly in-scope for this repo...

Registration page, Forgot + Reset password and custom Login page are not Authorization Server specific features. These features are identity specific features and therefore would be delivered within the Identity product side. Spring Authorization Server is a framework for building an OAuth 2.0 / OpenID Connect 1.0 Provider product, however, it is not responsible for providing product-specific features. This is the responsibility of the application product that is leveraging Spring Authorization Server for the underlying protocol implementations. Therefore, we would not document any of these items either. I hope this makes sense?
I'm going to close this as we've captured your 2 documentation requests in gh-499.

Thanks @jgrandja!


Budget App

In this project, we followed all the requirements below to build the app:

Splash screen
A simple page with the name of your app (yes, you need to choose one), and links to the sign up and log in pages.

Sign up and log in to pages
The user should be able to register in the app with full name, email and password (all mandatory).
The user can log into the app using email and password.
If the user is not logged in, they can't access pages that require the user to be logged in (all the pages described below).

Home page (categories page)
When the user logs in, they are presented with the categories page.
For each category, the user can see their name, icon and the total amount of all the transactions that belongs to that category.
When the user clicks (or taps) on a category item, the application navigates to the transactions page for that category.
There is a button "add a new category" at the bottom that brings the user to the page to create a new category.

Transactions page
For a given category, the list of transactions is presented, ordered by the most recent.
At the top of the page the user could see the total amount for the category (sum of all of the amounts of the transactions in that category).
There is a button "add a new transaction" at the bottom that brings the user to the page to create a new transaction.
When the user clicks on the "Back" button (<), the user navigates to the home page.

"Add a new category" page
The user fills out a form to create a new category, indicating their name and icon (both mandatory).
The user clicks (or taps) the "Save" button to create the new category, and is taken to the home page on success.
When the user clicks on the "Back" button (<), the user navigates to the home page.

"Add a new transaction" page
The user fills out a form to create a new transaction with:
name (mandatory)
amount (mandatory)
categories (mandatory at least one)
The user click (or taps) the "Save" button to create the new transaction, and is taken to the transactions page for that category.
When the user clicks on the "Back" button (<), the user navigates to the transactions page for that category.

I implement all the changes required by a reviewer. If you have some suggestion please quickly reach out to me because the time is too short for project submission.


AzCopy with file share failed when --overwrite=ifSourceNewer, should be skip

Which version of the AzCopy was used?
10.16.1
Which platform are you using? (ex: Windows, Mac, Linux)
Linux
What command did you run?
azcopy cp [file] "https://xxxxxx.file.core.windows.net/hsc-installer/[SAS]" --overwrite=ifSourceNewer --recursive=true --check-length=false
Remarque: My SAS token is write only.
What problem was encountered?
We should have a more meaning full message or at least have a 1 Skipped when the file is present.
INFO: Scanning...
INFO: Any empty folders will be processed, because source and destination both support folders
Job ad93e445-bf55-b040-4f7f-355150d1bb10 has started
Log file is located at: /root/.azcopy/ad93e445-bf55-b040-4f7f-355150d1bb10.log
INFO: Trying 4 concurrent connections (initial starting point)
0.0 %, 0 Done, 1 Failed, 0 Pending, 0 Skipped, 1 Total,
Job ad93e445-bf55-b040-4f7f-355150d1bb10 summary
Elapsed Time (Minutes): 0.0333
Number of File Transfers: 1
Number of Folder Property Transfers: 0
Total Number of Transfers: 1
Number of Transfers Completed: 0
Number of Transfers Failed: 1
Number of Transfers Skipped: 0
TotalBytesTransferred: 0
Final Job Status: Failed
How can we reproduce the problem in the simplest way?
run the command with a SAS token that have write only permission
Have you found a mitigation/solution?
Remove --overwrite=ifSourceNewer

Hi @aleblanc70, this behaviour is intentional and will not be changed. If azcopy cannot determine the last-modified-time on destination, it cannot decide if the file has to be transferred. With the write-only SAS, we cannot fetch last-modified-time. Because this failure is per file basis, more info will be logged to log file.


Chromium refuses to start due to ICU (Manjaro)

Upon running chromium (96.0.4664.45-2) in terminal, I am met with this error:
/usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory
Is there any way to downgrade this package to a usable state until ICU 70 is available?

You can run pacman -U https://github.com/ungoogled-software/ungoogled-chromium-archlinux/releases/download/96.0.4664.45-1/ungoogled-chromium-96.0.4664.45-1-x86_64.pkg.tar.zst to get the previous release which is linked against icu 69 until Manjaro updates their icu zu 70 as well.

You can run pacman -U https://github.com/ungoogled-software/ungoogled-chromium-archlinux/releases/download/96.0.4664.45-1/ungoogled-chromium-96.0.4664.45-1-x86_64.pkg.tar.zst to get the previous release which is linked against icu 69 until Manjaro updates their icu zu 70 as well.

:: Retrieving packages...  ungoogled-chromi...    99.5 MiB  16.1 MiB/s 00:06 [---------------------] 100% error: failed retrieving file 'ungoogled-chromium-96.0.4664.45-1-x86_64.pkg.tar.zst.sig' from github.com : The requested URL returned error: 404 warning: failed to retrieve some files

Ah pacman doesn't like that, try
wget https://github.com/ungoogled-software/ungoogled-chromium-archlinux/releases/download/96.0.4664.45-1/ungoogled-chromium-96.0.4664.45-1-x86_64.pkg.tar.zst
pacman -U ungoogled-chromium-96.0.4664.45-1-x86_64.pkg.tar.zst

that works! thank you


Linear compass should be displayed in landscape orientation

Right now it's only displayed when the phone is in portrait mode

I didn't put it in landscape mode yet because I think Trail Sense would need to support landscape in general for that to make sense (or else most of the UI will be sideways). I'll create an issue for adding landscape support (although it will be low priority)

Not going to support landscape orientation - too much to port over.


iOS No Notifications

Error: The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization.

I can successfully choose to allow notifications when prompted but I am not able to receive notifications. How do I Add [FIRApp configure]?

iphone 5s
iphone ios 11.0.2
cordova-plugin-firebase 0.1.24
ionic 3.12.0
cordova 7.0.1
cordova-ios 4.4.0
ios-deploy 1.9.2
xcode 9.0

Update
I added the master branch but still receiving the same error above. The issue on top of that now is I am seeing a warning when a notification is sent out.

Warning: FIRMessaging received data-message, but FIRMessagingDelegate's-messaging:didReceiveMessage: not implemented

Update

FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. Add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO

I got it working after setting FirebaseAppDelegateProxyEnabled to YES. So awkward...

@Jeremlicious I set FirebaseAppDelegateProxyEnabled to YES
This is how I got MY issue working.. unsure if this will help anyone else.

I have this issue too.
But both FirebaseAppDelegateProxyEnabled set to YES/NO in my app-Info.plist don't fix the problem.
2017-12-01 14:40:39.682167+0100 mInvoice[33355:11884382] The token is fExNl6O2VU8:APA91bGNDVrr775QGRsUkJNJsB-u3jltnC0Oj3zGiP-LnV9ilfW4-2Og4l06wCyohDShZaL4t1ZKLSkNnr6xITFXeF7Ce2afwid-xr2RsJ_6YbK1qAU014aZFkeZul7AxYDUDPdIMlUu
2017-12-01 14:40:39.682484+0100 mInvoice[33355:11884382] Got a new token fExNl6O2VU8:APA91bGNDVrr775QGRsUkJNJsB-u3jltnC0Oj3zGiP-LnV9ilfW4-2Og4l06wCyohDShZaL4t1ZKLSkNnr6xITFXeF7Ce2afwid-xr2RsJ_6YbK1qAU014aZFkeZul7AxYDUDPdIMlUu
2017-12-01 14:40:46.250581+0100 mInvoice[33355:11884877] [Firebase/Messaging][I-FCM002019] FIRMessaging received data-message, but FIRMessagingDelegate's-messaging:didReceiveMessage: not implemented
2017-12-01 14:40:46.251 mInvoice[33355] <Warning> [Firebase/Messaging][I-FCM002019] FIRMessaging received data-message, but FIRMessagingDelegate's-messaging:didReceiveMessage: not implemented


Add Youtube videos

First of all. Congratulations for your project.
I'm using it from a few days ago, and I want to know if, you have in mind the possibility to add youtube videos in the directions.
Doing something like the ":" at the end of the line to put in bold the instruction.
Thank you so much.

I do not want to include embedding YouTube videos within the app. YouTube can bring in some nasty cookies/tracking js that I don't want in the app.
For adding direction sections see: https://github.com/open-eats/OpenEats/issues/125


Option to copy content directly to clipboard

Hi :) Thanks for the great app!
Do we have the option to copy tabs cotnent directly to the clipboard? Without new tab
This would streamline and speed up workflow

Thank you for the great suggestion! I'm happy to announce that this feature has been implemented in version 0.2.0 of the extension.
You can now toggle between copying to clipboard or opening in a new tab using:

A new status bar item: Click "$(clippy) Clipboard Mode" or "$(window) Tab Mode" to toggle
Command Palette: Use "Toggle Clipboard Mode"
Keyboard shortcut: Ctrl+Shift+T (Windows/Linux) or Cmd+Shift+T (macOS)

You can also set the default behavior in your VS Code settings:
{
    "copytabs.copyToClipboard": true
}

The mode you choose will apply to all copy operations (Copy All, Copy Selected, and Copy Custom Format).
Please update to the latest version to access this feature. Let me know if you have any questions or if there's anything else you'd like to see added to the extension!


[FR] Hide inside panel

Is your feature request related to a problem? Please describe.
Hey, I love the project, but I think it would be good if there was a option to disable only the tabs (dashboards, logbook, media etc.) Currently you can only disable the main sidebar.
Describe the solution you'd like
I Would be really happy if you would manage to implement a feature, where the tabs are hidden from the user, but notifications and account is still shown!

And if possible, it would be amazing for it on mobile to not display the tabs, but still display the "App Configuration" menu. thanks!

Hi @DanyCDev,
Are you referring to the sidebar items?

Yes this one

Hi @DanyCDev,
Click on your user account, search for Change the order and hide items from the sidebar, and click on edit. Then you can remove or reorder the sidebar items.

Yes, thank you, but that is only for 1 session, so if i log out and log in, it will show them again. Would it be possible to just not show the stuff in the sidebar, but show notif, and acc? Thanks.

Hi @DanyCDev,
Unfortunatelly, that falls out of the scope of kiosk-mode which is intended to hide critical elements that are fixed (they are present on every Home Assistant installation) with the intention of show it in a kiosk device.
If you want a more permanent solution, there are plugins that are built to perform that task or you can use card-mod if you want to achieve a more personalised result.
I am planning from some time to build a plugin to manage the sidebar because the ones that are there are not hevaily maintained. I‘ll let you know if I create one that satisfies your needs.
Regards


Not working for Android x86 VirtualBox cases: need to locate emulated touchscreen device

Hi,
Getting the error on running the trace command.
F:\www\android\win32>adb devices
List of devices attached
<IP_ADDRESS>:5555        device

F:\www\android\win32>appetizer devices list
[{"uid": "<IP_ADDRESS>:5555", "serialno": "<IP_ADDRESS>:5555", "brand": "Android-x86", "screenheight": 600, "device": "x86", "manufacturer": "innotek GmbH", "sdk": "19", "name": "android_x86", "heapsize": "512m", "model": "VirtualBox", "screenwidth": 800, "os": "4.4.4"}]

F:\www\android\win32>appetizer trace record --device <IP_ADDRESS>:5555 mytrace.trace
The device does not have proper permissions for getevent

F:\www\android\win32>adb shell getevent -l
add device 1: /dev/input/event7
  name:     "Android Power Button"
add device 2: /dev/input/event1
  name:     "Sleep Button"
add device 3: /dev/input/event0
  name:     "Power Button"
add device 4: /dev/input/event2
  name:     "Video Bus"
add device 5: /dev/input/event4
  name:     "PC Speaker"
could not get driver version for /dev/input/mouse1, Not a typewriter
add device 6: /dev/input/event6
  name:     "ImExPS/2 Generic Explorer Mouse"
add device 7: /dev/input/event5
  name:     "AT Translated Set 2 keyboard"
could not get driver version for /dev/input/mice, Not a typewriter
could not get driver version for /dev/input/mouse0, Not a typewriter
add device 8: /dev/input/event3
  name:     "VirtualBox USB Tablet"

OS: Windows 8.1
adb in C:\adb\platform-tools

I suppose this is a androix-86 emulator running in VirtualBox. As I can see from getevent -l, there is no Linux device file representing the "touchscreen", I am afraid this emulator might not be supported. You can probably try GenyMotion or the original Android emulator.

That was the quickest reply ever on Github!
I didn't notice that, but the inputs are there:
F:\www\docker\android\win32>adb shell input
Usage: input [<source>] <command> [<arg>...]

The sources are:
      trackball
      joystick
      touchnavigation
      mouse
      keyboard
      gamepad
      touchpad
      dpad
      stylus
      touchscreen

The commands and default sources are:
      text <string> (Default: touchscreen)
      keyevent [--longpress] <key code number or name> ... (Default: keyboard)
      tap <x> <y> (Default: touchscreen)
      swipe <x1> <y1> <x2> <y2> [duration(ms)] (Default: touchscreen)
      press (Default: trackball)
      roll <dx> <dy> (Default: trackball)

I will try another emulator, what do you mean by "the original Android emulator"?
Do you have any advice on running emulators on Docker? I am trying to automate using an app from Google play.
Thanks!

I credit slack, which pushes this issue to me and I happen to be with my keyboard.
"The original Android emulator" means the one shipped with Android SDK. Best compatibility, though being a bit inefficient (memory hungry) and lack of some features.
We have a small server running such emulators plus real devices connected though WiFI/USB.
We use the "farm" to test many APKs concurrently.
I coded up a tiny scripts to manage them: https://github.com/appetizerio/haem
'running emulators on Docker' you mean dockerized Android emulators?

Yes,
I've got one of these up and running: https://github.com/softsam/docker-android-emulator but can only view (VNC inputs not supported) and no playstore installed. Was thinking if maybe you had some advice.
I have also been thinking to install a new VM with the full Android SDK and run multiple emulators on that.

Cool, i just watched the video this morning. I have a dedicated 4core/16Gb to play with, not sure if it's enough though.
The device is actually /dev/input/event3, maybe you could expose an optional argument to pass the device address into appetizer trace.
example:
appetizer trace record --device <IP_ADDRESS>:5555 --touchscreen /dev/input/event3 mytrace.trace

...
add device 8: /dev/input/event3
  name:     "VirtualBox USB Tablet"
...

Mouse click:
adb shell -l
/dev/input/event3: EV_ABS       ABS_X                00007cff
/dev/input/event3: EV_ABS       ABS_Y                00007a81
/dev/input/event3: EV_SYN       SYN_REPORT           00000000
/dev/input/event3: EV_MSC       MSC_SCAN             00090001
/dev/input/event3: EV_KEY       BTN_LEFT             DOWN
/dev/input/event3: EV_SYN       SYN_REPORT           00000000
/dev/input/event3: EV_MSC       MSC_SCAN             00090001
/dev/input/event3: EV_KEY       BTN_LEFT             UP

Will do in the next version. The detection part is kinda tricky, many OEM customizations. Some have dual device files to confuse...
16G should be enough for 3-5 emulators.

--touchscreen option is added since 00efa1981daf19b4f0041e05f9e1fd85a66d93dc


replace ubuntu/centos container image build tests

Currently we do a centos9 and ubuntu 2004 build test in containers, as @cevich noted cirrus CI will start charging for that because we are over the free limit which liekly mean failing tests soon.
So I think we should we move the test to a different platform (github action or our existing VMs).
However while we do this I think the current container based build are not that great to test different rust versions.
First we do not have explicit control over the rust version so we actually do not even know what we are building with. Then the quay.io auto builder for these images keeps failing from time to time so manually intervention is needed to update these images so we can get a newer rust.
Because netavark does not really depend on the OS I think it would make more sense to have an explicitly defined Minimum Support Rust Version (MSRV) and then make sure to test this version. Updates to the MSRV will be explicit so we always know what versions we support. Of course we should keep in mind what rust version RHEL uses and not depend on newer versions to not cause downstream build failures.
@baude @mheon @flouthoc @cevich WDYT? Also the problem same applies to the aardvark-dns repo.

yeah agree

Thanks for opening this issue Paul, I appreciate it.

So I think we should we move the test to a different platform (github action or our existing VMs).

Converting to GHA would likely only be feasible for Ubuntu.  If you'd like to try, please feel free to go for it.  You may find some of the changes and notes in my buildah experiment helpful.
General caveat of note:  GHA workflows always source their instructions from either a PR or the main branch.  Cirrus always uses the cloned copy of it's YAML.  We execute runs on release branches daily via cirrus-cron.  This means every release branch will also need the cirrus tasks disabled, otherwise they'll continue to use up minutes.

  If it would help, this repo. is already setup to e-mail podman-monitor if any cirrus-cron task fails.  So, you could (for example) add a container image build & push cirrus-cron task to run daily.  Here's a (way more complex than this would need) example of this in skopeo.

Because netavark does not really depend on the OS I think it would make more sense to have an explicitly defined Minimum Support Rust Version (MSRV) and then make sure to test this version.

I'm supportive of this.  The CI VM images build scripts simply grab whatever the stable toolchain is at the time.  If it's helpful, that could instead clone the netavark repo, and grab the desired toolchain version from a file.  That may also help with...
GHA Migration note (remember, the GHA workflow YAML will run from main): Synchronizing the rust version w/ the cirrus CI VM images may be difficult to do.  If the intended toolchain version is in a repo. file, it would be relatively trivial to do a runtime install (yuck, but, ignoring) based on the file contents.  You'd need to make sure that file exists in all important release branches as well.
HTH

I'm supportive of this. The CI VM images build scripts simply grab whatever the stable toolchain is at the time. If it's helpful, that could instead clone the netavark repo, and grab the desired toolchain version from a file. That may also help with...

This is not really what I want to change, we should continue using the latest stable version for builds/testing for new linters, etc...
What I want is another check which tests that we can build with a defined older version X (called MSRV).
For a GHA example see conmon-rs: https://github.com/containers/conmon-rs/blob/5900180d31ba3ec82870042ed18c5a8348350be6/.github/workflows/ci.yml#L10C3-L33

Oh okay, I get what you're saying.  I know it's not exactly the same thing but we do use "older" toolchain for CI on the release-branches.  In case that matters.

@Luap99 at one time,  the team was adamant about checking the various distributions because rust versions differed so greatly.  your comment, although i can get behind it, does disagree with that initial requirement.  lets discuss in scrum.

Right I am not saying we should ignore all distro versions. The fact is that the current system is broken as the quay auto builder keeps broken and thus we keep building with even older versions instaed of the ones actually in the repos.
What I want is an explicit minimal support rust version. Then we know what works and if someone wants to use a newer feature (either directly or via dependency bump) we can decide to update our minimal supported version. That would be an explicit decision and in order to decide we can look what is in RHEL/ubuntu/debian, etc...
For small things we can certainly hold off updating until distros catch up, but we also need to keep in mind that things like CVE fixes may force our hand.
And generally speaking the reason why I said that was because you can look into the rust version in debian SID right now. It is on 1.68.2 which is 6 months old and 4 minor versions behind the current release 1.72. And debian stable is on 1.63. It is just nor realistic for us to support such old versions IMO. It becomes more and more of a burden when dependency updates pile up.


DNP'd C33 and C34 per issue 846

DNP'd C33 and C34 per issue 846

Thanks @KennethLaws, good comments.  The fix was verified on the oscilloscope, but I didn't get a grab of the screen.  In case the miller capacitance becomes a problem, I suggest we leave the pads in the design as a DNP option (which would have to be combined with reducing the PWM rate).

approved and merge


Unable to use command and args docker options because it's appended after container name

I'm trying to add --network host command/args option but was blocked by below exception ).
2020-07-21T04:28:46.783Z INFO wdio-docker-service: Launching docker image 'selenium/standalone-chrome'
events.js:292
      throw er; // Unhandled 'error' event
      ^

Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed

The real exception was below
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"--network\": executable file not found in $PATH": unknown.

Docker command
DEBUG wdio-docker-service: Docker command: docker run --cidfile /path-to/selenium_standalone_chrome.cid --rm -p 4444:4444 -p 5900:5900 --shm-size 2g selenium/standalone-chrome --network host

Moving --network host to before selenium/standalone-chrome and the command works.
I don't know if there's a reason why command and args are pushed behind container name. I think container name should be pushed last.
I can create a PR to fix this if it makes sense to you.
    const cmdChain = ['docker', 'run'].concat((0, _optionsSerializer.default)(this.options), [this.image]);

    if (this.command) {
      cmdChain.push(this.command);
    }

    if (this.args) {
      cmdChain.push(this.args);
    }

Background: I could not use addHost because our login server only accepts localHost and that will be changing everywhere from localhost to, say dockerhost. So docker --network host is the only feasible option.

@hieuxlu do you mind sharing the configuration code where you try to include --network host value?

@hieuxlu have you tried this?
dockerOptions: {
    image: 'selenium/standalone-chrome',
    healthCheck: 'http://localhost:4444',
    options: {
        p: ['4444:4444'],
        shmSize: '2g',
        network: "[host]"
    }
}

@stsvilik Ah now it makes more sense. I was using command and args. It turns out any property in options will be serialized before name, so this works as well. Will try again tmr. Thanks.

@stsvilik It works, thank you very much. Although I think the example is missing path: /wd/hub option to work with wdio v6, or wdio will always try to launch Chrome on host machine instead of one in docker container.
Here's my wdio config. If you prefer, I can add this as another recipe for local development.
  const dockerConfig: WebdriverIO.DockerConfig = {
    path: '/wd/hub',
    services: ['docker'],
    dockerOptions: {
      image: 'selenium/standalone-chrome',
      healthCheck: 'http://localhost:4444',
      options: {
        shmSize: '2g',
        network: 'host',
      },
    },
    logToStdout: true,
  };

@hieuxlu It makes sense to put together a Wiki page with WDIO 6 recipes/recommendations

@hieuxlu I created this PR to bump wdio version to v6. #86 Could you have a look?
I will also update the wiki page as well on how path is needed for wdio v6 and how Selenium v4 docker image is not using selenium/node-chrome-debug anymore but an alpha image as mentioned on their wiki https://github.com/SeleniumHQ/docker-selenium#debugging


Multiworker DCAP software mode doesn't work

The second worker fails with NoPeerWorkerFound. The reason is that we don't properly register a dcap software enclave.
The pallet assumes that the quote is the mrenclave with the skip-ra attestation method, see https://github.com/integritee-network/pallets/blob/eaf611b79bc9d56b20c155150e99b549bf98436b/teerex/src/lib.rs#L303.
However, we return the Default::default() in the attestation handler with skip-ra: https://github.com/integritee-network/worker/blob/2c0cab6166785009ad6ec6697db44dc7297b7076/core-primitives/attestation-handler/src/attestation_handler.rs#L297.
This results in the worker not finding another worker with enclave.finger_print == mr_enclave_of_self, as all the fingerprints will have the default value aka [0u8; 32]

Hotfixed it here https://github.com/olisystems/BEST-Energy/pull/51/commits/772064c34e7d5a933d1cfe9faffd6e048072d995.
But I am in general not happy about the handling of skip-ra


feat: add ability to customize tag name per crate

TODO: use tera in this function:
https://github.com/MarcoIeni/release-plz/blob/72d95404701dd2c9230de7939b46c84195cf2d29/crates/release_plz_core/src/next_ver.rs#L472
related to #680

superseded by https://github.com/MarcoIeni/release-plz/pull/1256/files


When I use Create function, something bug happened

type product struct {
	Title     string `gorm:"column:title"`
        URL       string `gorm:"column:url"`
	Server    string `gorm:"column:server"`
	Amount    string `gorm:"column:amount"`
}

func (mp *aaa) Insert(DB *gorm.DB ) error {
        products := []*product{}
        tmp := &po.Maple8591Product{
		Title:"123",
		URL:"/test?123",
		Server:"aaa",
		Amount:"123456",
	}
       products = append(products,tmp)
	return DB.Create(products).Error
}

when the field value have question mark, I expect query is
insert into products (`title`,`url`,`server`,`amount`) values ("123","/test?123","aaa","123456")

but its actually is like
insert into products (`title`,`url`,`server`,`amount`) values ("123","/test"aaa"123","123456",?)

Is it's bug? or I used it wrong?

Fixed the issue, it was a log format issue, then executed SQL should be correct.


Update nf-wdm-rtlguidfromstring.md

I was trying to use this API when I realized the input UNICODE_STRING needs to have included the braces too. I had to debug through the function to identify the issue. It will be good if the same is mentioned in the docs.

Thanks for the report!  Do you want to submit a PR with your proposed fix?  You can click Edit on the doc page to start.

Thanks for the report! Do you want to submit a PR with your proposed fix? You can click Edit on the doc page to start.

I created this PR -https://github.com/MicrosoftDocs/windows-driver-docs-ddi/pull/963

Thank you!  Looks great.  The update should appear on the live site within 45 minutes.

And sorry, I had thought this was an issue originally!  rubs eyes


Cannot initialize variable within custom directive

Laravel Version: 5.3.6
PHP Version:  7.0.8

Description:
I want to initialize variable within my custom directive.
Steps To Reproduce:
For example, code:
Blade::directive('text', function ($name) {
    return "<?php $customVariable = 1; ?>";
});

Throws an exception:

ErrorException in AppServiceProvider.php: Undefined variable: customVariable

@serg6854 Use single quotes.


html: Add missing condition to 'in cell' insertion mode, required by spec

In section <IP_ADDRESS>.15 of the spec, there is a condition that the current node is a td or th element, which is not implemented. This can lead to a panic when the open elements stack is popped whilst empty, as outlined in golang/go#30600. This commit implements that check.
Fixes golang/go#30600

I've updated now to add a test case (I've also migrated the test case from my previous fix into the new test file, where it makes more sense).


Fix Password Forms Header Title

@Jag96 Can you please review?
Details

Add props to SignIn Layouts to cater to dynamic welcomeText
Passed welcomeText prop to all the forms necessary
Updated language files with content for welcomeText phrases

Fixed Issues

$ #4315
Tests

Checked enter password page for all devices
Checked set password page

QA Steps

Tested On

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

Screenshots
Web

Mobile Web

Desktop

iOS

Android

@Jag96  PR Raised. Can someone verify the Spanish translations? I've picked from Google translate.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging         in version: 1.0.82-8🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @francoisl in version: 1.0.83-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


add nerd-font support

This is my proposal to support nerd-font using fontconfig fallback support.
I tested it under linux and iTerm2 on OSX, and seems to work very well, you can see a screen here:
https://github.com/bhilburn/powerlevel9k/issues/382
instead of adding custom codepoints to fontawesome config I create a new config mode and added all nerdfont codepoints (for the complete font variant) there

Adding additional font config options is cheap for us, and makes the font for accessible for other users. I'm not a nerdfont user myself, so I need to ask for your help, @lcorsini to make sure we stay up-to-date with the current nerd-font codepoints.
I really appreciate you making this PR and upstreaming this feature, @lcorsini. Nice work =)

I want to merge this in on next, but the changeset is based on master. If you get a chance to rebase this branch today, @lcorsini, that would be great. Otherwise I'll get to it tomorrow =)

Sure I'll try to keep it up to date (maybe implement also the patched version of the font if differs) and improve it as nerd font development continues. As to rebase it, unfortunately I can't do it until monday so I can't help today, I'm sorry

@lcorsini What's the status of rebasing what branch your merging on?

I'll do the rebase this evening, sorry guys got a lot to do at work
On Tue, Feb 21, 2017 at 3:20 PM, Benjamin Hoffmeyer <
<EMAIL_ADDRESS>wrote:

@lcorsini https://github.com/lcorsini What's the status of rebasing
what branch your merging on?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bhilburn/powerlevel9k/pull/390#issuecomment-281356915,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABbq6nucrgDDYrep_bc-yv-WeBVUKzLUks5revKYgaJpZM4Lvffm
.

@bhilburn Looks like its good to merge!

I just merged #351, which added nerdfont support. I diff'd against this branch to try and get an idea of the changes, but it was impossible for me to really tell as I don't have nerdfonts working on my system. I'm going to open a new issue to discuss this.


can we get the item to pop up on leaflet when "view on map" button hit

I think this should be possible.
Right now, we're just centering the item, but for large collections, this is hard.

try this one:
https://www.lib.uidaho.edu/digital/pg1/items/pg12455.html


Knuth Morris Prat and Levenshtein Java

Added Knuth Morris Prat and Levenshtein Distance Java implementation.
Test cases are in each files main function.

Awesome, thanks!

Happy to contribute :)


ext: tinycrypt: Update tinycrypt revision

Bump tincyrypt library revision.
Signed-off-by: Flavio Ceolin<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master   #13605   +/-   ##
=======================================
  Coverage   52.45%   52.45%
=======================================
  Files         322      322
  Lines       46592    46592
  Branches    10768    10768
=======================================
  Hits        24442    24442
  Misses      17247    17247
  Partials     4903     4903

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 80c9a6a...c246767. Read the comment docs.


Help shown via no_args_is_help results in exit code 2, was 0

fixes #1394
fixes #1486

Command can also have no_args_is_help. I think the error code should be 2 instead of 1 to match other usage errors.

Changing this caused a test to fail, but it seems to be revealing something weird about the processing, not a problem with this change. The following causes an exit code of 2, even though --help was passed so it should result in 0.
import click

@click.group()
@click.argument("obj")
def cli(obj):
    click.echo(f"obj={obj}")

@cli.command()
def move():
    click.echo("move")

cli(["obj1", "--help"])

The problem is caused here in MultiCommand.resolve_command: https://github.com/pallets/click/blob/0ad4e7985a919041ec590a4d672afb44f05dd162/src/click/core.py#L1398-L1407
ctx.args is empty at this point, which causes the no_args_is_help behavior. Since that matched the actual --help behavior before, the issue wasn't caught. Seems like it might be related to #473.

Ironically, I just closed #1323 which discussed how the processing pipeline needs a rewrite, and then re-discovered that this PR demonstrates the issue.

Pushed a new implementation that uses a new NoArgsIsHelpError to match how other usage messages are handled. This doesn't fix the processing issue.

I started looking into this before 8.1, and it's too complex to disentangle the pipeline issues right now.

Nice one @AndreasBackx :raised_hands:


WIP, MNT: Upgrade ubuntu and add pip-pre

This PR:

Upgrades Ubuntu on Azure
Use one script to configure xvfb
Adds a pip-pre job (ubuntu-latest, py3.9, vtk9, pyvista/master, qtpy/master)

It's still work in progress, I don't think the CIs will come back happy after only one commit.

There might be a new release of pyvista coming soon, I'll update the job matrix accordingly in this PR but for now it's still WIP.

This PR is ready for reviews @pyvista/developers

Looks like a clear upgrade so I'll merge, thanks @GuillaumeFavelier !


Language server stops working due to UndefinedFunctionError in supported Elixir/Erlang version

Environment

Elixir & Erlang versions (elixir --version):

Erlang/OTP 25 [erts-13.0.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit] [dtrace]

Elixir 1.13.4 (compiled with Erlang/OTP 24)

Elixir Language Server version: 0.10.0
Operating system:
on a Mac M1

ProductName:    macOS
ProductVersion: 12.4
BuildVersion:   21F79

Editor or IDE name (e.g. Emacs/VSCode): VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Jun 28 2022 12:44:46)
Editor Plugin/LSP Client name and version: latest CoC?

Current behavior
The language server stopped working, I believe, after upgrading the Elixir/OTP (not entirely sure). The server fails 5 times and restarts.
Output from :CocOpenLog
2022-06-30T16:15:20.715 INFO (pid:34657) [services] - registered service "languageserver.elixirLS"
2022-06-30T16:15:20.716 INFO (pid:34657) [services] - registered service "languageserver.elmLS"
2022-06-30T16:15:20.717 INFO (pid:34657) [plugin] - coc.nvim initialized with node: v18.4.0 after 30ms
2022-06-30T16:15:23.068 INFO (pid:34657) [services] - elixirLS state change: stopped => starting
2022-06-30T16:15:23.072 INFO (pid:34657) [services] - registered service "elixir"
2022-06-30T16:15:23.072 INFO (pid:34657) [services] - elixir state change: stopped => starting
2022-06-30T16:15:23.076 INFO (pid:34657) [language-client-index] - Language server "languageserver.elixirLS" started with 34698
2022-06-30T16:15:23.080 INFO (pid:34657) [language-client-index] - Language server "elixir" started with 34703
2022-06-30T16:15:23.564 INFO (pid:34657) [services] - elixir state change: starting => stopped
2022-06-30T16:15:23.565 INFO (pid:34657) [services] - elixir state change: stopped => starting
2022-06-30T16:15:23.566 INFO (pid:34657) [language-client-index] - Language server "elixir" started with 34761
2022-06-30T16:15:23.701 INFO (pid:34657) [services] - elixirLS state change: starting => running
2022-06-30T16:15:23.703 INFO (pid:34657) [services] - service languageserver.elixirLS started
2022-06-30T16:15:23.856 INFO (pid:34657) [services] - elixir state change: starting => stopped
2022-06-30T16:15:23.856 INFO (pid:34657) [services] - elixir state change: stopped => starting
2022-06-30T16:15:23.857 INFO (pid:34657) [language-client-index] - Language server "elixir" started with 34792
2022-06-30T16:15:24.152 INFO (pid:34657) [services] - elixir state change: starting => stopped
2022-06-30T16:15:24.152 INFO (pid:34657) [services] - elixir state change: stopped => starting
2022-06-30T16:15:24.153 INFO (pid:34657) [language-client-index] - Language server "elixir" started with 34823
2022-06-30T16:15:24.411 INFO (pid:34657) [services] - elixir state change: starting => stopped
2022-06-30T16:15:24.411 ERROR (pid:34657) [services] - Server elixir failed to start: Error: Connection to server got closed. Server will not be restarted.
    at Jf.handleConnectionClosed (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:234:1006)
    at Jf.handleConnectionClosed (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:234:28588)
    at t (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:234:386)
    at xN.invoke (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:36:9670)
    at Bd.fire (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:36:10436)
    at xi (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:37:10897)
    at xN.invoke (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:36:9670)
    at Bd.fire (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:36:10436)
    at OS.fireClose (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:37:525)
    at Socket.<anonymous> (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:37:1307)
2022-06-30T16:15:31.247 INFO (pid:34657) [attach] - receive notification: showInfo []
2022-06-30T16:15:52.420 INFO (pid:34657) [attach] - Request action: fillDiagnostics [ 3 ]
2022-06-30T16:15:52.420 ERROR (pid:34657) [attach] - Request error: fillDiagnostics [ 3 ] Error: buffer 3 not attached.
    at lte.setLocationlist (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:277:11993)
    at /Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:301:9568
    at Cx.cocAction (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:301:17556)
    at HM.<anonymous> (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:301:19636)
    at HM.emit (node:events:537:28)
    at HM.handleRequest (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:35:2694)
    at AM.emit (node:events:537:28)
    at LM.<anonymous> (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:33:1809)
    at LM.emit (node:events:537:28)
    at LM.parseData (/Users/sashaafm/.vim/plugged/coc.nvim/build/index.js:32:5755)
2022-06-30T16:16:00.994 INFO (pid:34657) [attach] - receive notification: openLog []

Output from :CocCommand workspace.showOutput
** (UndefinedFunctionError) function ElixirLS.Utils.OutputDevice.get_opts/0 is undefined (module ElixirLS.Utils.OutputDevice is not available)
    ElixirLS.Utils.OutputDevice.get_opts()
    lib/wire_protocol.ex:33: ElixirLS.Utils.WireProtocol.intercept_output/2
    lib/language_server/cli.ex:6: ElixirLS.LanguageServer.CLI.main/0
    (stdlib 4.0.1) erl_eval.erl:744: :erl_eval.do_apply/7
    (elixir 1.13.4) lib/code.ex:404: Code.validated_eval_string/3
[Error  - 10:17:53] /Users/sashaafm/.config/coc/extensions/node_modules/coc-elixir/els-release/language_server.sh exited with code: 1
[Info  - 10:17:53] Connection to server got closed. Server will restart.
** (UndefinedFunctionError) function ElixirLS.Utils.OutputDevice.get_opts/0 is undefined (module ElixirLS.Utils.OutputDevice is not available)
    ElixirLS.Utils.OutputDevice.get_opts()
    lib/wire_protocol.ex:33: ElixirLS.Utils.WireProtocol.intercept_output/2
    lib/language_server/cli.ex:6: ElixirLS.LanguageServer.CLI.main/0
    (stdlib 4.0.1) erl_eval.erl:744: :erl_eval.do_apply/7
    (elixir 1.13.4) lib/code.ex:404: Code.validated_eval_string/3
[Error  - 10:17:53] /Users/sashaafm/.config/coc/extensions/node_modules/coc-elixir/els-release/language_server.sh exited with code: 1
[Info  - 10:17:53] Connection to server got closed. Server will restart.
** (UndefinedFunctionError) function ElixirLS.Utils.OutputDevice.get_opts/0 is undefined (module ElixirLS.Utils.OutputDevice is not available)
    ElixirLS.Utils.OutputDevice.get_opts()
    lib/wire_protocol.ex:33: ElixirLS.Utils.WireProtocol.intercept_output/2
    lib/language_server/cli.ex:6: ElixirLS.LanguageServer.CLI.main/0
    (stdlib 4.0.1) erl_eval.erl:744: :erl_eval.do_apply/7
    (elixir 1.13.4) lib/code.ex:404: Code.validated_eval_string/3
[Error  - 10:17:53] /Users/sashaafm/.config/coc/extensions/node_modules/coc-elixir/els-release/language_server.sh exited with code: 1
[Info  - 10:17:53] Connection to server got closed. Server will restart.
** (UndefinedFunctionError) function ElixirLS.Utils.OutputDevice.get_opts/0 is undefined (module ElixirLS.Utils.OutputDevice is not available)
    ElixirLS.Utils.OutputDevice.get_opts()
    lib/wire_protocol.ex:33: ElixirLS.Utils.WireProtocol.intercept_output/2
    lib/language_server/cli.ex:6: ElixirLS.LanguageServer.CLI.main/0
    (stdlib 4.0.1) erl_eval.erl:744: :erl_eval.do_apply/7
    (elixir 1.13.4) lib/code.ex:404: Code.validated_eval_string/3
[Error  - 10:17:53] /Users/sashaafm/.config/coc/extensions/node_modules/coc-elixir/els-release/language_server.sh exited with code: 1
[Error  - 10:17:53] Connection to server got closed. Server will not be restarted.

Expected behavior
The language server would not crash and would work as intended.

The function from your stacktrace is defined https://github.com/elixir-lsp/elixir-ls/blob/5fe75badaac26297afe6d9a9610f08e07cc40df7/apps/elixir_ls_utils/lib/output_device.ex#L31. The test suite passes and I'm unable to reproduce it with vscode (tested on Intel and M1 mac). I'm going to close this as It looks like a problem with your installation or CoC.


TS-4732: Changing the do_io_read API so it can be called with NULL and

0 byte values.  Allowing do_io_read and do_io_write to not warn on closed
connection when we are only trying to disable the reads and writes for it.
Removed some macros that were used in a few places (not all the time) and
a couple that were not used at all.

I've been thinking about this and wonder if we should avoid this and have an explicit disable_io_read and disable_io_write instead.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/523/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/420/ for details.

Looks good.  Having an explicit disable_io_read/write might be nice.  But using NULL's to clear out the current io's does't seem too surprising.

Yeah, I started down the path of disable_read() and disable_write(),  then ran into having to implemented the methods in multiple locations (pluginvc) when declaring them pure virtual.
I might switch back to disable_read() and disable_write()...

I am going to go with this right now and open a bug for disable_read() and disable_write()


C# auto format

i was programing in c# and went to auto-format and every time i do it macvim freezes and i have to close the program

What happens if you run :%!astyle?

@AHL96  I have reproduced and fixed this hanging issue. Thanks for reporting! Please update your plugin version.


(RS-E1015) Passing unit value as argument to function

Description
This issue is raised when a unit value is passed to a function call without using the unit literal: (). If this is intentional, extract the argument into a separate expression and replace it with (). Otherwise, consider revisiting this function call.
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/tari-project/gh-pilot/issue/RS-E1015/occurrences/

Non-issue