Updating to latest

Have you read the Contributing Guidelines?

[x] YES
[ ] NO

Project URL

What is the current behavior?

Issue Number: #...

Category

[ ] 𝑨𝑺𝑲 𝒀𝒐𝒖𝒓 𝑫𝒐𝒖𝒃𝒕𝒔
[ ] 𝑴𝒊𝒔𝒄𝒆𝒍𝒍𝒂𝒏𝒆𝒐𝒖𝒔 𝑺𝒕𝒖𝒇𝒇.
[ ] 𝑫𝑺𝑨
[ ] 𝑪𝒐𝒎𝒑𝒆𝒕𝒊𝒕𝒊𝒗𝒆 𝑷𝒓𝒐𝒈𝒓𝒂𝒎𝒎𝒊𝒏𝒈
[ ] 𝑻𝒆𝒄𝒉𝒏𝒊𝒄𝒂𝒍 𝑺𝒖𝒃𝒋𝒆𝒄𝒕
[ ] 𝑳𝒐𝒘 𝑳𝒆𝒗𝒆𝒍 𝑫𝒆𝒔𝒊𝒈𝒏
[ ] 𝑷𝒓𝒐𝒋𝒆𝒄𝒕𝒔
[ ] 𝑰𝒎𝒑𝒐𝒓𝒕𝒂𝒏𝒕 𝑩𝒐𝒐𝒌𝒔 𝒂𝒏𝒅 𝑹𝒆𝒔𝒐𝒖𝒓𝒄𝒆𝒔
[ ] 𝑩𝒆𝒉𝒂𝒗𝒊𝒐𝒖𝒓𝒂𝒍 𝑰𝒏𝒕𝒆𝒓𝒗𝒊𝒆𝒘 𝑸𝒖𝒆𝒔𝒕𝒊𝒐𝒏𝒔

Changes

Description of changes

Screenshots

(Add Runnig Work Demo Image)

Checklist ✅

[ ] I've read the instructions on the README file before submitting my application.
[ ] I've read the Contributing Guidelines.
[ ] I've checked the issue list before deciding what to submit.
[ ] I've follow Tree of Index.
[ ] I've add work in proper folder
[ ] I've not delete/modify previous codes.

approved merge. closing


windows support

there are pretty much customers are using windows at edge side device with installation of labview.

This one is tricky.  I personally don't know much about Kubernetes on Windows, but Rancher/RKE works on windows so I can find out what needs to be done here.  If there's demand, I'd love to do this.

on windows in general it is using a vm hyperv or vbox to run kubenetes like minikube doing. But minikube is really not production ready and there is a lot of issue and no any customization capability.

Looking at Microsoft's instructions for joining a Windows node to a cluster, Kubernetes releases have binaries for running Windows worker nodes (kubelet.exe, kube-proxy.exe), but not the control plane. I see there's also an official Windows binary for Flannel, which Microsoft's PS scripts leverage.
I would think a K3s Windows build with only the agent components would be possible. At this point, it looks like Containerd support in Windows is still only in alpha and the official Windows build is still a WIP. Not sure what other dependencies in K3s would be problematic for an agent-only Windows build.

Hey guys, I just checked the Containerd support for Windows and sounds like it's no longer in alpha state. I am using K3S two of my side projects and supporting Windows on the edge is one of my highest priorities in both projects.
We also don't really need to run the control plane on the edge and Agent support on the Window should be more than enough. I do not know enough about the implementation details of the K3S and K8S, but I am more than happy to help to get the Windows support done.
Is there any progress on this ticket since the last comment posted on 11 April?

my fork can start and join a windows master node. It does appear to have done a few things right, example my kubelet lists container images on my node (I am using docker desktop community). However I don't have networking setup, so the node stays unschedulable.
I would love for someone with more understanding of network configuration to take it further. And give instructions on how to setup networking. @ibuildthecloud do you know anyone that could help here?
cmd I used to get it to "somewhat" startup
.\k3s.exe server -d c:\tmp\k3s --flannel-backend none --docker  --kube-proxy-arg "proxy-mode=userspace" --disable-network-policy

Branch I was using for this experiment. https://github.com/KnicKnic/k3s/tree/k3s_run_windows_node
There are few errors (these related to cni / networking)
W0223 00:59:39.172343   20244 cni.go:237] Unable to update cni config: no networks found in /etc/cni/net.d
E0223 00:59:39.937342   20244 kubelet.go:2183] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

And this random one for TLS, have no clue why a cert would be wrong.
2020-02-23 00:54:37.591274 I | http: TLS handshake error from <IP_ADDRESS>:2111: remote error: tls: bad certificate
2020-02-23 00:54:37.602363 I | http: TLS handshake error from <IP_ADDRESS>:2114: remote error: tls: bad certificate

@thxCode @alena1108 @cloudnautique @aiwantaozi pinging some other people in rancher that seemed to have worked on windows integration (for rancher) to see if they could help with setting up windows networking.

Even though I can't run k3s agent on Windows right now, at this point, it should be possible to connect a k8s node to a k3s control node, yes?

@jiridanek vanilla k8s kubelets cannot connect to k3s servers, as they are missing the k3s-specific bootstrap code.

@jiridanek vanilla k8s kubelets cannot connect to k3s servers, as they are missing the k3s-specific bootstrap code.

Any way to work around that? Perhaps a local adapter of some sort?

@ibuildthecloud  Is there some progress or status on the Windows K3s Agent? Is there some Branch or something to work on to speed things up?
Thanks

+1 would be keen for this (windows agent + linux server), what is the "k3s-specific bootstrap code" ? (if there's an arch doc, I can look at that)

+1 I too would like to have a package to add in a windows host as a worker node!  :)

+1 We'd like to use k3s in a windows environment too to handle linux pods

Yeah, joining windows worker nodes would be enough for our use case ❤

Windows nodes will run Windows containers only. This is true Kubernetes on Windows, not Kubernetes in WSL or anything like that.

Yes, that's what I need. I've some Linux VM for running k3s and want to join some windows VM for running workload which only works on Windows.

@moley
+1 We'd like to use k3s in a windows environment too to handle linux pods

Windows nodes will run Windows containers only. This is true Kubernetes on Windows, not Kubernetes in WSL or anything like that.

Ok, so we will need a linux vm in our windows environment to get this running? Are there plans to enable this directly in the future?

Now with Docker Desktop being a paid solution for enterprises this would be valuable for Rancher Desktop.

Rancher Desktop already runs K3s on Windows without any additional work necessary.

Hello all. I just wanted to check. Has anyone been able to get a windows worker node to join a k3s cluster?

In Nomad (https://www.nomadproject.io) the network is normally working on a plugin https://github.com/containernetworking/plugins

We do not currently have any plans to add native Windows support to K3s.

@brandond , pleeeeeease?

Hello. Maybe a different question to ask. But would it be possible to manually add a windows node to a K3s cluster? Has anyone tried? If so, did you encounter any issues?

You could probably experiment with rancher desktop on Windows BUT it will only run Linux containers via WSL2 so it is probably not what everyone is wishing for - a windows container runtime inside a cluster.

@wtfacoconut have you tried it?

@wtfacoconut have you tried it?

Are you referring to the recommendation to use WSL2 on Windows? If so then the answer is no, because this would still only run Linux containers.

@bangzhuzhu, are you referring to the recommendation to use WSL2 on Windows? If so then the answer is no, because this would still only run Linux containers.

I mean manually add a windows node(k8s work node) to a k3s cluster,

vanilla k8s kubelets cannot connect to k3s servers, as they are missing the k3s-specific bootstrap code.

@brandond Would mind telling something more about it? Thank you

For anyone else for bumps into this thread, Microsoft have started working on AKS Edge, which has an option for k3s and for Windows worker nodes.
https://learn.microsoft.com/en-us/azure/aks/hybrid/aks-edge-overview
https://github.com/Azure/AKS-Edge
The k3s version of AKS Edge currently spins up a linux hyper-v VM with k3s on it

@tmyroadctfig yes, we're aware. The source for AKS Edge's fork is at https://github.com/seanyen/k3s/tree/dev/seanyen/windows. There are ongoing efforts to get this upstreamed.

Windows agent seems to basically work ❤

#7258 🎉

Now there need to be a prebuild k3s.exe on releases so this can be tested more widely. 🙃

My understanding is that this is not yet supported, is this correct? What is the current status? What are the missing steps to provide windows support?


Users need to wait a very long time for the online-lookup to time out

In case etherscan is not available, the query times are very long before timing out.
Proposed solution: we define our own time out of max. 3 seconds per lookup.

We use 10s instead, because even 5s is too short.


[Request] Add auto perfect cooking? is that possible?

I have a disability with my hands and it's very hard to get that auto perfect cooking. Would you be willing to add that as a feature? Thank you so much for this tool, it truly helps me.

I had considered this feature, but it didn't feel like very reusable.
But the good news is that the new version adds a recording feature to fulfill this request.

This is awesome, thank you! Is there a way though to turn off the Beeps @phonowell


4 proposals to improve the JSON Schemas

add properties, such as "thickness", "conductivity", which are included in the headerlines of the IGDB or CGDB entry files, in "componentCharacteristics".
combine "incidenceDirection" and "emergenceDirection" as one object in the schema (I didn't dicuss this with HRW but think it makes sense).
add one option "nearnormal" to "incidenceDirection". "nearnormal" means 0-deg incidence angle for transmittance and 8-deg incidence angle for reflectance. We'd add this information in the description of the schema.
add the following properties to "results". The goal here is to achieve more compact product descriptions in the schema for a set of properties which are very common. We'd leave the more verbose definitions for more flexible descriptions.
transmittanceNonprimeNearnormalNearnormal, transmittanceNonprimeNearnormalDiffuse, transmittanceNonprimeNearnormalHemispherical
transmittancePrimeNearnormalNearnormal, transmittancePrimeNearnormalDiffuse, transmittancePrimeNearnormalHemispherical
reflectanceNonprimeNearnormalNearnormal,reflectanceNonprimeNearnormalDiffuse,reflectanceNonprimeNearnormalHemispherical
reflectancePrimeNearnormalNearnormal,reflectancePrimeNearnormalDiffuse,reflectancePrimeNearnormalHemispherical

Regarding 1., there are already keys for thermalConductivity and thickness.
Regarding 2., this is not possible because the emergenceDirection contains diffuse and incidenceDirection should not.
Regarding 3., we have deleted nearnormal because it is redundant. It can easily be derived from polar < 10°.
Regarding 4., our second design goal is to minimize the number of valid variants. We can allow such keys in the GraphQL part to facilitate the search for the right data sets. But we cannot increase the redundancy in the JSON Schemas.


Update web-api-help-pages-using-swagger.md

What's this?
Hopefully this helps make the Swagger/OpenAPI definition a bit more clear. Whilst using Swagger I've found the terms confusing as they're often used interchangeably (e.g. Swashbuckle uses Swagger, whilst NSwag refers to it as OpenAPI)

Thank you for your help, @FinHorsley!


Data download : Unit not exported

Describe the bug
This is not really a bug but by Data Download, the unit is not included in the column title. I think it's important that this information is included in the exported file.
Expected behavior
Add unit in paranthesis next to the column title in the downloaded File.
Screenshots

Environment (please complete the following information):

Visualize environment and version:
Browser : Edge

I put this as enhancement @ortnever as I do not think it was ever discussed. I am taking a look.


fix ct-server image and update shas

This pr updates the shas in the images which should hopefully help the EC tests and fixes the ct-server image build

/cherrypick midstream-v0.6.5

/cherrypick midstream-v0.6.5


Added new api version:2016-12-01 introduced in nrp contracts version.

@Nilambari - Can you explain this change? The query parameter was present in the 2016-09-01 api-version and you have already shipped sdks and powershell/CLI commands based off that. So customers may be using this query parameter "gatewayVip".
We are not able to understand the following description change you have made.

"Available from Api-Version 2016-12-01 onwards, Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway."

How will this affect the behavior between 2016-09-01 and 2016-12-01 api-version?
/cc @deepakrajendranmsft

Currently that parameter wont take effect until we add the new API version. But, right now that added API version in NRP is not yet in production so I will wait for that before adding version here.
So, currently closing this PR. Thanks!
Meanwhile, this param will work with API version:2016-09-01.
When I added this param to PS, I didn't know that I had to add new version in NRP. That was done afterwards.


nanoGPT_lite sanity check...RuntimeWarning: Mean of empty slice.

Good day, I ran the following code as part of the instructions for the sanity check but receive the error "Mean of empty slice" along with a follow-on error of "RuntimeWarning: invalid value encountered in scalar divide"
OS		: Ubuntu 22.04.4 LTS
Driver Version	: 535.183.01
CUDA Version	: 12.2
Attached GPUs	: 1
Product Name	: NVIDIA RTX A4500 Laptop GPU
Product Brand	: NVIDIA RTX
cd templates/nanoGPT_lite && python experiment.py --out_dir run_0 && python plot.py
I would like to know how to address this.  I havent seen anyone else encounter this error.
This comes directly after performing the installation and following the instructions on https://github.com/SakanaAI/AI-Scientist

That's our bad! Can't calculate the std when there's just one seed.
https://github.com/SakanaAI/AI-Scientist/blob/b30cf8aedd0834d97b581f8c6ec8bb9cb8ccd380/templates/nanoGPT_lite/experiment.py#L703

That's our bad! Can't calculate the std when there's just one seed.
https://github.com/SakanaAI/AI-Scientist/blob/b30cf8aedd0834d97b581f8c6ec8bb9cb8ccd380/templates/nanoGPT_lite/experiment.py#L703

Update templates folder is only thing to do ?   I did that but issue still when I run nanoGTP_lite baseline

Can you check if the .json files are still valid and contain results? This error is a bit hard to reproduce and when it occurs for me, the files are still fine.

I have the same problem, how can I solve it?

I think this is just a warning, you can check all your .json and .npy, and verify there is no problem.

这个问题结局了吗，我也遇到了同样的问题

Is this problem solved? I also encountered the same error.

Is this problem solved? I also encountered the same error.


Duplicate data for the same timestamp

In some case is somehow possible to have multiple data with the same timestamp. I manage to simulate this behavior.

Create new database
Write this data. (I used curl for writing) data.txt
Write next data.
data2.txt
Now you can see in second series (select * from "24ZSS1204390000N") that everything is fine.
Drop database
Create new database with the same name.
Write again data.txt
Write again data2.txt
now you can see, that every entry is duplicate in 24ZSS1204390000N series

I suppose that there is some kind of cashing of the data, because when I restart InfluxDb server, everything works fine. Also when I use less data, it works fine.

@maykSVK Can you test if the latest nightly build shows this behavior?

I have tried it in today's nightly build (wget https://dl.influxdata.com/influxdb/nightlies/influxdb_nightly_amd64.deb) and the beahvior was still the same

@maykSVK Thanks for the test data and repro steps that made reproducing this easy.  I was able to reproduce it and have a fix for it in #7027


Doucment what attributes will be created

I've noticed that the plugin creates tabindex: -1 and style attributes on elements. I was wondering why this is necessary. Please document what this plugin does and why.

tabindex="-1" let's .focus() be set on the document element when scrolling to the top, since it's not a normally focusable element.
The style attributes prevent the default outline behavior on focused elements from showing up on the entire document.


Doesn't work on Pixel 8 with Android 14 official ROM

Hello, I am using Pixel 8, after flashing this module in LSPosed, it doesn't work. But no crash. Please fix it.

If you are not using magisk, such as kernelsu or apatch, please manually give pixel launcher root permissions.


BaseGraph does not inherit from AbstractGraph

Is this intentional?
Because BaseGraph does not inherit from AbstractGraph it does not have access to some of the useful methods such as get_execution_info().

Hei interesting question! Actually AbstractGraph is used as scaffold for the creation of all the graphs that implement a scraping pipeline, and therefore need to have some common methods and attributes to use. BaseGraph on the other hand can be seen as an additional "component" that just handles the execution flow of the nodes. It could have been implemented inside AbstractGraph, split into multiple methods but I preferred to keep it this way for clarity. btw execution_info is the output of the execute() method in BaseGraph.
If you have some suggestions to improve the flow you can reach me out on Discord :)


perigord deploy: no contract code at given address

Follow these:

https://decentralize.today/introducing-perigord-golang-tools-for-ethereum-dapp-development-60556c2d9fd
https://www.youtube.com/watch?v=oQZtKf_hzOU

Running perigord deploy, enter "blah":
Enter passphrase for account 0x945Cd603A6754cB13C3D61d8fe240990f86f9f8A:
Enter passphrase for account 0x945Cd603A6754cB13C3D61d8fe240990f86f9f8A:
Error: [no contract code at given address]
exit status 1
Error: [exit status 1]

Running perigord test:
Running migration 1
Enter passphrase for account 0x945Cd603A6754cB13C3D61d8fe240990f86f9f8A:
----------------------------------------------------------------------
FAIL: tests/Foo.go:26: foo_test.TestFoo

tests/Foo.go:28:
    c.Assert(session, NotNil)
... value = nil

Running migration 1
Enter passphrase for account 0x945Cd603A6754cB13C3D61d8fe240990f86f9f8A:
----------------------------------------------------------------------
FAIL: tests/TokenERC20.go:19: TokenERC20Suite.SetUpTest

tests/TokenERC20.go:22:
    c.Fatal(err)
... Error: authentication needed: password or unlock

----------------------------------------------------------------------
PANIC: tests/TokenERC20.go:33: TokenERC20Suite.TestName

... Panic: Fixture has panicked (see related PANIC)
OOPS: 0 passed, 2 FAILED, 1 MISSED
--- FAIL: Test (0.01s)
FAIL
exit status 1
FAIL	github.com/quantonganh/tokendapp	0.065s
Error: [exit status 1]
exit status 1
Error: [exit status 1]

Sure, default account has been unlocked:
> personal.unlockAccount(web3.eth.coinbase, "blah", 0)
true

What is the problem? Is there any configuration where I can config the passphrase for coinbase account?

For people seeing above, swap this line in your test files:
network.UnlockWithPrompt(account)

for this one:
network.Unlock(account, "blah")

Oddly, you actually now get prompted to enter the passphrase, but hitting enter takes you past it and the tests, at least for me, complete successfully.

Thank you for your report!
Sadly, Perigord is currently un-maintained. Closing this ticket so as to avoid cluttering various Projects.
SHOULD WE RESUME MAINTENANCE, RE-OPEN THIS TICKET.


Support for Java 11

Does this project offer support for JDK 11?  Mirth 3.12.0 release is using 11.

As far as I know, it does.
In the accompanying development guide I've included a Docker Compose with Connect 3.12 in it that I use to test the stuff I write about.


create source code for binary

The onnx model comes without user friendly source file and our importer assign UnknownLoc to all the operations. As a result, we do not have Location info in our transformation and binary.
This PR will use the output of preserveMLIR as source file and get Location info by rebuilding operations from this file.
I just reused the option --preserveMLIR.
Document is added in docs/Testing.md.

Jenkins Linux s390x Build #2042 [push] create source code for b... started at 10:19

Jenkins Linux amd64 Build #2044 [push] create source code for b... started at 09:19

Jenkins Linux ppc64le Build #1152 [push] create source code for b... started at 10:19

Jenkins Linux amd64 Build #2044 [push] create source code for b... passed after 54 min

Jenkins Linux ppc64le Build #1152 [push] create source code for b... passed after 1 hr 5 min


[core-http] support x-ms-text via the new mapper xmlIsMsText flag

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-core-http


Cannot open the link https://aka.ms/rootcertapply

[Enter feedback here]
Cannot open the link https://aka.ms/rootcertapply listed here. Can you please help us?
Certificate Authority Intake Process
An applicant CA must fill out the application located at https://aka.ms/rootcertapply and email the completed form to<EMAIL_ADDRESS>This will add the CA to a queue of applications that will be reviewed in order of initial application time.
https://docs.microsoft.com/en-us/security/trusted-root/new-ca-application

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

ID: 8a89d1f2-b584-a6ce-711e-45a84b9efd0e
Version Independent ID: 09b2b395-f083-dd0b-8113-95c90701814d
Content: Program Requirements - Microsoft Trusted Root Program
Content Source: trusted-root-docs/new-ca-application.md
Service: security
GitHub Login: @kasirota
Microsoft Alias: kasirota

@kasirota - please fix the broken link.

#please-close


sqlite v<IP_ADDRESS>.

Updated to sqlite v<IP_ADDRESS>
Previous was v<IP_ADDRESS> but I just saw v<IP_ADDRESS> was out so I went with the latest one

Thanks a lot @MariadeAnton.


api: fix CommandNArgs Zero and One int representation

create_user_command expects 0 and 1 nargs option to be represented as integers. Currently it is impossible to use any serde proc macro to solve this problem.
I managed to reproduce the following error both on stable and nightly:
Value of type myname::setup::types::Config couldn't be pushed on the stack: unexpected myname.nvim error: Validation("Invalid \'nargs\': \'1\'").
Stable
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1693350652

Nightly
NVIM v0.10.0-dev-ca735c7
Build type: Release
LuaJIT 2.1.1693350652

Thanks!


Error http://localhost:8000/admin/database

Laravel Version: 5.3
Voyager Version: v0.10.11
PHP Version: 5.6
Database Driver & Version: MySQL

Description:
After upgrade, I got this error:
`Whoops, looks like something went wrong.
2/2
ErrorException in 2ad3c3804b78ace51077a13c7f598cd19dc74586.php line 36:
current() expects parameter 1 to be array, string given (View: E:\htdocs\skripsi\resources\views\vendor\voyager\tools\database\index.blade.php)
in 2ad3c3804b78ace51077a13c7f598cd19dc74586.php line 36
at CompilerEngine->handleViewException(object(ErrorException), '1') in PhpEngine.php line 44
at PhpEngine->evaluatePath('E:\htdocs\skripsi\storage\framework\views/2ad3c3804b78ace51077a13c7f598cd19dc74586.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dataTypes' => array('categories' => '4', 'menus' => '5', 'pages' => '2', 'posts' => '1', 'roles' => '6', 'users' => '3'), 'tables' => array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass)))) in CompilerEngine.php line 59
at CompilerEngine->get('E:\htdocs\skripsi\resources/views/vendor/voyager/tools/database/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dataTypes' => array('categories' => '4', 'menus' => '5', 'pages' => '2', 'posts' => '1', 'roles' => '6', 'users' => '3'), 'tables' => array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass)))) in View.php line 149
at View->getContents() in View.php line 120
at View->renderContents() in View.php line 85
at View->render() in Response.php line 45
at Response->setContent(object(View)) in Response.php line 201
at Response->__construct(object(View)) in Router.php line 1028
at Router->prepareResponse(object(Request), object(View)) in Router.php line 654
at Router->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request)) in VoyagerAdminMiddleware.php line 26
at VoyagerAdminMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in VerifyCsrfToken.php line 65
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 655
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
at Router->dispatchToRoute(object(Request)) in Router.php line 607
at Router->dispatch(object(Request)) in Kernel.php line 268
at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 150
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
at Kernel->handle(object(Request)) in index.php line 54
at require_once('E:\htdocs\skripsi\public\index.php') in server.php line 21
1/2
ErrorException in 2ad3c3804b78ace51077a13c7f598cd19dc74586.php line 36:
current() expects parameter 1 to be array, string given
in 2ad3c3804b78ace51077a13c7f598cd19dc74586.php line 36
at HandleExceptions->handleError('2', 'current() expects parameter 1 to be array, string given', 'E:\htdocs\skripsi\storage\framework\views\2ad3c3804b78ace51077a13c7f598cd19dc74586.php', '36', array('__path' => 'E:\htdocs\skripsi\storage\framework\views/2ad3c3804b78ace51077a13c7f598cd19dc74586.php', '__data' => array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dataTypes' => array('categories' => '4', 'menus' => '5', 'pages' => '2', 'posts' => '1', 'roles' => '6', 'users' => '3'), 'tables' => array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass))), 'obLevel' => '1', '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dataTypes' => object(Collection), 'tables' => array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass)), 'dataTypeNames' => array('posts', 'pages', 'users', 'categories', 'menus', 'roles'), '__currentLoopData' => array('categories', 'data_rows', 'data_types', 'menu_items', 'menus', 'migrations', 'pages', 'password_resets', 'permission_role', 'permissions', 'posts', 'roles', 'settings', 'users'), 'type' => object(DataType), 'loop' => object(stdClass), 'arr' => array('categories', 'data_rows', 'data_types', 'menu_items', 'menus', 'migrations', 'pages', 'password_resets', 'permission_role', 'permissions', 'posts', 'roles', 'settings', 'users'), 'a' => 'categories'))
at current('categories') in 2ad3c3804b78ace51077a13c7f598cd19dc74586.php line 36
at include('E:\htdocs\skripsi\storage\framework\views\2ad3c3804b78ace51077a13c7f598cd19dc74586.php') in PhpEngine.php line 42
at PhpEngine->evaluatePath('E:\htdocs\skripsi\storage\framework\views/2ad3c3804b78ace51077a13c7f598cd19dc74586.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dataTypes' => array('categories' => '4', 'menus' => '5', 'pages' => '2', 'posts' => '1', 'roles' => '6', 'users' => '3'), 'tables' => array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass)))) in CompilerEngine.php line 59
at CompilerEngine->get('E:\htdocs\skripsi\resources/views/vendor/voyager/tools/database/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'dataTypes' => array('categories' => '4', 'menus' => '5', 'pages' => '2', 'posts' => '1', 'roles' => '6', 'users' => '3'), 'tables' => array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass)))) in View.php line 149
at View->getContents() in View.php line 120
at View->renderContents() in View.php line 85
at View->render() in Response.php line 45
at Response->setContent(object(View)) in Response.php line 201
at Response->__construct(object(View)) in Router.php line 1028
at Router->prepareResponse(object(Request), object(View)) in Router.php line 654
at Router->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request)) in VoyagerAdminMiddleware.php line 26
at VoyagerAdminMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in VerifyCsrfToken.php line 65
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 655
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
at Router->dispatchToRoute(object(Request)) in Router.php line 607
at Router->dispatch(object(Request)) in Kernel.php line 268
at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 150
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
at Kernel->handle(object(Request)) in index.php line 54
at require_once('E:\htdocs\skripsi\public\index.php') in server.php line 21`
Steps To Reproduce:
http://localhost:8000/admin/database

it's fix right now, my fault. Because I override the old version database view. Sorry

There's something going on now in the Voyager blade controller and the views related to timestamps reference the current version of Voyager versus 10.07

How was this fixed exactly im not sure how to fix this! I have the same problem. Please some one explain.

@cadmicro, this issue was closed well over a month ago and on a much older version of Voyager.  Please open a new issue with your own details so we can better support you.


Use "private" per-user firebase storage directories.

"private" is in quotes because the owner of the storage bucket can see the data that users upload (hence the eventual need for https://github.com/GoogleChromeLabs/llaminator/issues/106).
This fixes https://github.com/GoogleChromeLabs/llaminator/issues/105.

(Happy belated WAT Web Week)

I'm not clear on how authentication works - is storage owned by different userIDs isolated properly, or is that a problem for another day?

:sparkles: : magic :sparkles:
I don't understand how it works behind the scenes, but I think this is isolated properly according to firebase docs: https://firebase.google.com/docs/storage/security/rules-conditions#user_private
(the caveat again being that the owner of the storage has full access to everything)


 Thanks for huge work for NativeBase!
I understand how hard it is to develop and maintain this framework, but there are some glitches i can not pass by.
I just run yarn run ios on freshly downloaded master branch and opened Header/Icon and Text Buttons.

Did you see how title text aligned in the "back" button? And what is the strange padding size for the right bar button?
I trying to return to react native + Nativebase every 2-3 month, but every time i faces some glitches like this which stops me to use this technology, beside it offer cross platform development.

I must say I'm a bit disappointed myself with the issues with this framework. This issue has already been reported and closed without being fixed, see #1724 . I stopped caring about this issue because I struggled to get #1731 fixed which was not easy. It took three releases to get #1731 fixed. Even though I provided a concrete example of the bug and a hint of what may be wrong the fix was not tested before closing the issue. I really struggled to convince the issue was still there with examples but my examples was never used for testing the fix.
I understand that this is a community project so I cannot expect too much but still this have been a bit too much. One thing that really bothers me though is this project has at the moment 8726 github stars and still almost no other people backed me up on these issues in the core functionality of this framework. And since the development team did not care too much about them I almost felt I was reporting issues caused by incorrect usage.

Check fix/header for fix

@roma86 @andidev Fixed with 2.4.5
Check NativeBase-KitchenSink for updated code
Check NativeBase Docs Header


prepareInterstitial always invokes successCallback?

Hello, I am trying to integrate AdMob in a Phaser game. I am only using interstitial ads (both static and video ads). I have done everything as explained and am getting both static and video ads successfully. The problem comes when a video interstitial is not filled.
I want to execute different logic when a video interstitial is played and when it's not. Unless I have understood the methods wrong, prepareInterstitial() should invoke its success callback only if the video has a fill? For me, prepareInterstitial() always invokes its success callback, even if the device has no internet access or there is no fill, and isInterstitialReady() behaves the same way.
I am currently displaying ads by calling prepareInterstitial with autoShow set to true (before that i was pre-fetching and manually playing the ad with showInterstitial(), but there was another bug which I won't mention now, and the workaround was to use autoshow).
Here is my code:
`AdMob.prepareInterstitial(
            {
                adId: idToPrepare,
                isTesting: false,
                autoShow: true
            },
            () => {
                AdMob.isInterstitialReady(() => {
                        console.log("ad ready");
                    },
                    () => {
                        console.log("ad not ready");
                    });
                if ((<any>navigator).connection.type !== 'none') {
                    successFunction();
                }
                else {
                    failedFunction();
                }
            },
            () => {
                failedFunction();
            }
        );`

Note that because I was getting the success callbacks even with internet connection turned off, I had to manually handle that case. So basically, I am always logging "ad ready" and I am always calling successFunction, even if there is no fill (both with and without internet connection). Please help.
Thanks in advance!

Yes, prepareInterstitial() already return success if you provide a valid param. You need listen to event 'onAdLoaded' or 'onAdFailLoad' to check whether the ad is ready or not.

Thanks, I didn't see these events before in the readme. Will try them out tomorrow and report back if everything's ok :)

Sorry for the late response, just wanted to say that everything works correctly. The aforementioned events work correctly!


Implement the team party manager system

Manager will serve to access the whole team and let the player set 5 actives members to battle the AI. From there, the player will also be able to select a character and level him up if he/she wishes.


Can save a report as draft

[x]  Report form contains "save draft" button
[x] Can keep editing a draft report
[x] Once submitted it is no longer editable
[x] If active report is in draft, change the "add new report" to "continue editing" button

Looks good can go to test

All acceptance criteria are visible and functional. Thanks! 💥


fixed up usage of ssconfig module

fixed up usage of ssconfig module so that we have embedded DJ for OpenAM config and separate DJ for user store.
A few other general tweaks to improve reliability

Thanks Andrew!!


fix cargo warnings from workspace default features not set

Summary of changes

Changes introduced in this pull request:

fix the warnings generated for cargo build and others after the toolchain bump.

When specifying a workspace dependency it is not obvious, and rather surprising that, not specifying default-features = false in the workspace dependency, means that any default-features = false is ignored in any member crate.

This I assume is because the features of workspace dependencies are additive, and by not specifying default-features = false, the default features are automatically and always enabled.

https://github.com/rust-lang/cargo/issues/11329#issue-1434113367
Reference issue to close (if applicable)

Closes
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Not sure if it's worth the effort to add the check to the ruby script

Not sure if it's worth the effort to add the check to the ruby script

I don't think so. The warning implies that it may become a hard error in the future, plus everyone compiling Forest will immediately see it anyway.


Map String for Balanced and Narrow 4-Player Setup Returning Duplicate Tile; Missing [0,1] tile

Just noticed that the Map String output for the 4-Player Balanced and Narrow maps have a duplicate tile at the end, and is missing the value for the [0,1] (I think?) tile.

Here it's tile 19 that's duplicated & tile 28 that's missing. From what I can tell it's those same coordinates every time.
Thanks for this great tool! I use this for every game I play.

fixed


[Communication - Calling] Remote users are unable to view the applied video effects (BackgroundBlurEffect)

Package Name: @azure/communication-calling and @azure/communication-calling-effects
Package Version:

"@azure/communication-calling": "1.13.1"
"@azure/communication-calling-effects": "1.0.1"

Operating system: Windows
[ ] nodejs

version:

[x] browser

name/version: Chrome Version 113.0.5672.126 (Official Build) (64-bit)

[ ] typescript

version:

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
Video Effects only apply to the local video stream but are not applied from the remote user's point of view.
To Reproduce
Steps to reproduce the behavior:
2 Users Connect to an ACS call

User A creates a new local video stream and applies video effects (ex BackgroundBlurEffect) and turns on his camera

User A views his local video streams with the effects on.
User B views the unmodified original video stream of user A without the applied effects
Expected behavior
User B should views user A's video stream with the effects applied.
Screenshots
User A's POV:

User B's POV:

Additional context
Add any other context about the problem here.

Hi @yxor , thanks for reporting!
I am not able to reproduce the bug on my side, tried all the usages I could think of.
Do you mind sharing your code snippet please so I can understand more of what exactly is happening?

Hey @pkestikar, thank you for responding.
This is the code that I use to open the camera on user A's side
    const localCameraVideoStream = new LocalVideoStream(
      devices.cameras[0]._raw
    ); // we pass in the `VideoDeviceInfo` of the first device

      await localCameraVideoStream
        .feature(Features.VideoEffects)
        .startEffects(new BackgroundBlurEffect());
      await setCamera(true, localCameraVideoStream); // this handles state management but it mainly calls `await this.callManager.call.startVideo(localCameraVideoStream);`
    }

Thanks @yxor , could you also share how are you getting the devices?
Are you getting the cameras from the deviceManager you can get from the CallClient?

Hi @pkestikar, it appears that the problem lied in my implementation. I had multiple call clients simultaneously handling multiple calls, and I mistakenly used a single call client to configure the local state of the device manager, which was used by all clients. As a result, this caused the specific issue where video effects were only being applied locally.

Package Version :

"@azure/communication-calling": "^1.14.1-beta.1",

"@azure/communication-calling-effects": "^1.0.1",

This is the code that I use to set background effect in video but background effect show only LocalVideoStream this effect not show on RemoteStreamMedia
const videoEffectsFeatureApi = localVideoStream.feature(AzureCommunicationCallingSDK.Features.VideoEffects);
const backgroundBlurEffect = new BackgroundBlurEffect();
const backgroundBlurSupported = await backgroundBlurEffect.isSupported();
if (backgroundBlurSupported) {
await videoEffectsFeatureApi.startEffects(backgroundBlurEffect);
}

Hello Prathmesh,
I apply the effect from my site locally, my site gets the effect but the other side does not receive the effect.
using this Code..
const videoEffectsFeatureApi = localVideoStream.feature(AzureCommunicationCallingSDK.Features.VideoEffects);
const backgroundBlurEffect = new BackgroundBlurEffect();
const backgroundBlurSupported = await backgroundBlurEffect.isSupported();
if (backgroundBlurSupported) {     await videoEffectsFeatureApi.startEffects(backgroundBlurEffect);
}
Reference Link : https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-video-effects?pivots=platform-web
Thanks & Regards,
Meet Patel

From: Prathmesh K @.>
Sent: Tuesday, July 18, 2023 1:43 AM
To: Azure/azure-sdk-for-js @.>
Cc: Meet Kadivar @.>; Mention @.>
Subject: Re: [Azure/azure-sdk-for-js] [Communication - Calling] Remote users are unable to view the applied video effects (BackgroundBlurEffect) (Issue #25912)
Hi @MeetPatel192000https://github.com/MeetPatel192000,
Could you please explain a bit more?
What do you mean by 'RemoteStreamMedia'? The 'RemoteVideoStream' object?
Are you seeing the effect applied locally, but on the receiving side, the effect for this participant is not applied?
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-sdk-for-js/issues/25912#issuecomment-1638803150, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBHHIMOETW7UFJ2VFL6TEU3XQWMFXANCNFSM6AAAAAAYGBWQAM.
You are receiving this because you were mentioned.Message ID: @.***>

@pkestikar let me know if any update about my issue.


Proguard Parser Exception

When using the following setup and integrating the dependency com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.5.3, I always get the following error:
ProGuard configuration parser error: \.gradle\caches\transforms-1\files-1.1\mapbox-android-plugin-locationlayer-0.5.3.aar\bff82016c498500d5e92322d3f3579a3\proguard.txt line 11:21 no viable alternative at input ','
When looking into the proguard file, 11:21 stands out:
-keepclassmembernames,allowobfuscation interface *
buildTypes {
        release {
            minifyEnabled true
            shrinkResources true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
            minifyEnabled true
            useProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            applicationIdSuffix '.debug'
        }
    }

Could you provide your projects ProGuard configuration, perhaps there's a merging conflict? The line it's referring to is an exact copy of the Retrofit team's README file and our continuous integration runs a check to ensure no basic issues occur such as the one you describe above.
https://github.com/mapbox/mapbox-plugins-android/blob/9c208bdbd6a7c0208119ee7fc73189dffb0cb705/circle.yml#L43-L45

Hey again, with proguard enabled (debug mode) I can succesfully build the app. It seems that minifyEnabled = true  without proguard being enabled does not support allowobfuscation or includedescriptorclasses .
See the following realm issue. So the Realm team had the same issue. Their solution was to remove the not supported keywords for build in shrinking. Could you consider, doing the same? :)
To answer your question anyway. You can reproduce it with an empty (defualt) proguard file + my debug configuration. See Google Documentation.
Thank you!

Awesome @Chrylo, thanks for looking into the issue and finding the same problem Realm was having. I opened #549 to remove the option.


BAP-484 - Remove deprecated actions and APIs

@RobiNino,
I also suggest removing the migrateServerKeyIfNeeded method.


Unable to build on Linux

Am running on an Amazon Linux AMI:
NAME="Amazon Linux AMI"
VERSION="2015.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2015.03"
PRETTY_NAME="Amazon Linux AMI 2015.03"
Running "npm install -g pvw-visualizer" yields
/usr/bin/Visualizer -> /usr/lib/node_modules/pvw-visualizer/bin/pvw-visualizer-cli.js

<EMAIL_ADDRESS>postinstall /usr/lib/node_modules/pvw-visualizer
fix-kw-web-suite || true
sh: fix-kw-web-suite: command not found
/usr/lib
└──<EMAIL_ADDRESS>

Did that break? Normally the " || true" is to prevent the script to fail.
As this command should succeed only when developing.

I've tried on OS X and I do get the message, but everything works as expected.

Okay. Maybe I'll wait until a user guide exists before I bother you again. Thanks.

No problem, thanks for trying...
On EC2, you probably don't want/need to install the Visualizer via npm as you only need to serve via Apache the "dist" directory of that repo. But on a local system npm will provide an easy to use command line that will used an install version of ParaView.
While on a real system, you need a launcher and configure Apache for some WebSocket forwarding.

Okay thanks, I'll give that a shot. In the meantime, I'm anxious to be the guinea pig for any quick start guide for deployment on AWS EC2. Thanks.

I think the first thing is to understand the pieces that ParaViewWeb needs (PV 4+) and then just replace the html/js code with the new one (at some point). For that you can still use ParaView 5 for the backend for both JS versions.
http://pvw.kitware.com/#!/guide/multi_user_setup
If you get the setup working with the current documentation, then migrating using the new "client" code base should be fairly easy.
Did you tried one of our public AMI already configured with ParaView 4.4 and Visualizer?

Thanks. If you have an AMI ID or some other identifier, that would be very useful. The AMI search comes up with nothing.

Ok will do. I'll add a new page on paraviewweb with those IDs. And post back here with the link.

I tried using Paraview 5.0.1 for the backend, but Visualizer, in pvw-visualizer.py line 85, raised an ImportError: No module named web in line 85.
Looking in my 5.0.1 install, there doesn't seem to be a web module folder in \lib\paraview-5.0\site-packages\paraview\


Investigate and solve  newblock msg errors

Describe the bug
Error "newblock msg is not signed by a block generator" is reported by devnet. This may happen if the seed has changed while sortition is running but more data is needed to confirm the hypothesis.
To Reproduce
Noticed on devnet only. Never on test-harness.
Expected behaviour
In devnet,  newblock should be always signed by the single block generator of the round/iteration pair.
Logs/Screenshot
{"error":"newblock msg is not signed by a block generator","level":"error","msg":"failed to verify newblock","msg_blockhash":"9e73ed55561971d5806bb6207ce2cedd9b3af05756192936c387e9066edea2e1","msg_pubkey":"8ecd3f2600396d2ea8105a740a0c10b0e7ee5a68e39e7c13d0155b4bba5f311d9822dd1cef7e16e0c4b338ef003fd0740c2ce8e51a62be00865441149a5aada4b97697997823e8d2a6eadc860cb94629901f4c4139d8fbe3190680a3fb755579","msg_round":109159,"msg_signature":"b88ba58da0dc630cf13a102eaad45f293b3d2858a07f25444b3db13e4c8571dbb8c118247480d7a376628217492ca714","msg_step":1,"phase":"selector","process":"consensus","seed":"94246cfdd2ea9ee18ac797520013c7c06de3bc5e330fc58c15dd981209ddc73dd057c5dfffdd9528975f6ba526053b47","time":"2022-07-26T13:44:58Z"}
{"error":"newblock msg is not signed by a block generator","level":"error","msg":"failed to verify newblock","msg_blockhash":"3e95b33ca2d1c83c9ff57c7a0b0c3b6f1071834af7c4d9e6d29c8d3d89e95b41","msg_pubkey":"b229f7bba8bccff42ff9fa6e249bb445ec95298439fad0cb28f70cbd6f6aeb85e0f69b4d2908a46c1e46d6b8e6f95ad80bffa6532876eead77d4620700648a7f2277bc781fa07072b7b236f34d45bd3d126921e5c4b53b5219117846e9b8e3d9","msg_round":109159,"msg_signature":"802b16ae1f316c48882f6335346f81fe510240e783fed7e8aee896c41dbaa066cc06d572b024351d482c05bd96148bb8","msg_step":4,"phase":"selector","process":"consensus","seed":"94246cfdd2ea9ee18ac797520013c7c06de3bc5e330fc58c15dd981209ddc73dd057c5dfffdd9528975f6ba526053b47","time":"2022-07-26T13:45:00Z"}
{"error":"newblock msg is not signed by a block generator","level":"error","msg":"failed to verify newblock","msg_blockhash":"d0da8c2dfd00214aec44cc230b56453ab5d4ccbca0026c4cb25494527c28d601","msg_pubkey":"912ee72e6fb34ebaf2c8f15de2716dfa656c3386c440316c3780336848b55932e061cb308e41490d4c1efcc8e165a50c1259c5b8025ac3913e8e5d404862db9e6475117270bdbe542ddca0cfe0ed66d19bd87f888b3989e92181b53f3b7e19b3","msg_round":109160,"msg_signature":"8f113aa92b3a6a131235de7d85e71d3d8a63417a994712243dcb824a03090ca7e0c42270a8c95f64309b3c75ebfa1cb2","msg_step":1,"phase":"selector","process":"consensus","seed":"958ffecf447e6ceeea52906974a0029ec77d41788c3884a3e822c2d884840d9079cf7687bf86d7679757c8d2cc6decdb","time":"2022-07-26T13:49:09Z"}

Additionally,  a wrong check in ShouldProcess   allows  NewBlock messages from future blocks > round + 10  to be processed


Add class cache for TreeNodeBuilder#node_icon

Note to a future review/observer:  This PR has had a bit of "developer discovery" since originally being open, and the PR description is "false" in a lot of ways.  For historical context, I have left this description as originally written (minus this addition), so reading the comments is required to further understand the use case of this PR.
Purpose or Intent
Speed up rendering of large trees with many nodes (10k+) by memoizing the result from TreeNodeBuilder#node_icon to avoid expensive lookups.
Overview
I would like to open this overview with an image in regards to my knowledge regarding Sprocket's internals:

Fig(1):  @NickLaMuro in his natural development.  Photo courtesy of Bill Ney the Science Guy

To better explain, I am "pretty sure"™ that asset digests should not change unless the code base is updated or the restarted, but I am not sure.  If I am wrong, then we really should consider request_store for this.
What I mean by "asset digest" is the following:
irb> ActionController::Base.helpers.image_path '100/x.png'
30 seconds later for some reason...
=> "/assets/100/x-7b70a6351d2b6bf24c61ef6768858a6a35e78f9b4228d9df1c98154cfdd6c1a1.png"

Fig(2): Seriously... why did this take so long...

For those unaware about the -7b70a6351... non-sense following the "x", this is a browser cache busting mechanism that updates when the HTML is rendered after a server is restarted to bust any caching the browser may have done with that asset.  This "should", as far as I can tell, not change during the course of the process's lifecycle.  If it did, it means an invalid link to an image could be created and would cause a broken link in the browser.
Technical Notes
Calling ActionController::Base.helpers.image_path seems to be causing a directory scan for each node in the tree.  On large trees, this accounts for a significant CPU churn when resolving the assets.  Here is a truncation of a stackprof output as an example:
==================================
  Mode: wall(1000)
  Samples: 49798 (1.48% miss rate)
  GC: 7636 (15.33%)
==================================
     TOTAL    (pct)     SAMPLES    (pct)     FRAME
     12432  (25.0%)       12320  (24.7%)     block in Sprockets::Resolve#dirname_matches
      3898   (7.8%)        3898   (7.8%)     Puma::Single#run
      2710   (5.4%)        1675   (3.4%)     ActiveRecord::LazyAttributeHash#[]
      6069  (12.2%)        1667   (3.3%)     #<Module:0x007fd8a11403a8>.accumulate_descendants

Fig(3):  Think of all the cat gifs that could have been rendered in those wasted CPU cycles...

The 100 directory allow has 600 images in it, so that means (somewhere in the stacktrace) we are looping over all the items in the directory to find a match, sometimes to get x.png (alphabetically, pretty far down the list).  This seems to be done on almost all nodes, even though the 100 dir is static, meaning this isn't going to change no matter how many times we render it.
By memoizing this on to the class, we can save this look up on future requests, and even within the same request.  This digest for this image should not change while the current unless there is an app update (as far as I can tell), so storing it until the server is restarted should be reasonable, and a hash of 600 items shouldn't be too big of a memory footprint.
Here are some quick before and after metrics for total request time on /vm_infra/explorer on a 10k+ node tree (these requests were made right after an app restart):
Before:
  request_01: 50505.778ms
  request_02: 42697.014ms
  request_03: 43752.757ms

After
  request_01: 34255.921ms
  request_02: 27997.403ms
  request_03: 29105.170ms

Fig(4):  ms = milli-cats per/sec.  True story

The mutex is there just as a safeguard incase there would be a Thread Saftey issue between multiple ui_worker threads accessing that class variable.
As stated before, if the memory issues are a concern, or if the way we restart UI workers would cause this variable to remained cached after the digest has changed, we could consider using request_store as an alternative and only maintain this list for the life of the request, which should still cause a noticable gain in performance on large trees.
Notes on the Sprocket's cache
Sprockets already has a cache of it's own, that I thought I could use, but this is a cache for the generated assets that weren't pre-compiled, and not storing the memoizing the digest of assets and expiring that as needed.
Links

https://github.com/steveklabnik/request_store

@NickLaMuro I find this interesting, because it shouldn't be needed, but perhaps I'm missing something?  Are you doing this in production mode or development mode?  In production mode are you using precompiled assets (which is what is actually done)?
In development mode, you don't precompile the assets so the lookup is dynamic.  That is intentional, as in dev mode you also have things like code-reloading, so although it's inherently slower, it's more flexible.  So, if someone modifies the image on the fly, it's supposed to change.  I don't think we should add caching just for dev mode.
In production mode, the assets are precompiled, and there is a manifest.  When the image_path helper runs, it does a lookup into this manifest to determine the precompiled image location, which should be like a Hash lookup and thus O(1).  If it's not, I'd be really surprised, and this kind of cache should be put into sprockets or perhaps Rails itself.

@Fryguy Yeah, I was wondering the same thing myself right after I closed my laptop, and the first thing I am going to do is double check this in production and such.  I had done tests in prod with similar results (but might have had a dated precompile or something), and those metrics are from a dev mode, so if this is a bunch of malarky I am spewing at 8pm on a Wednesday, then this should be closed immediately...
At the very least, I want to test this on an appliance with a before and after as well (if my tests remain consistent in production mode).
And yes, I only want this if it is a prod fix.  If there is a sprockets way of doing it (assuming it for some reason isn't being intentionally being ignored), I would prefer that over this hackjob.

For the record, logged into an appliance that @dmetzger57 had setup and checked for a public/assets/manifest.json (default location if I am not mistaken?), as well as running a find . -name manifest from the app directory and found nothing, same locally (even after booting up the server).
I will look to see if there is a config we are missing as well, and if this is not there, then I suspect that explains my results (also, we should probably just close this PR... it was dumb from the start...).

Yup, I was wrong.
SORRY FOR WASTING EVERYONES TIME!!1!  😢
...
runs away crying_

Re-opening because I have tested this out on /service/explorer and found that it gave a 4-5 second boost when present (with some updates based on code review).  Some further investigation into "why" needs to be done though.

@Fryguy @chessbyte I have re-opened this PR since I have found a performance improvement use case in /service/explorer that will be present in Production mode.
I have update the commit/commit message to address your issues and also explain the use case.  In short, we are using customer images from the DB when rendering trees like the /service/explorer.  The cached hash ends up looking something like this:
{
  "../../../pictures/XXXr1.jpg"=>"/images/100/../../../pictures/XXXr1.jpg",
  "../../../pictures/XXXr2.jpg"=>"/images/100/../../../pictures/XXXr2.jpg",
  "../../../pictures/XXXr3.jpg"=>"/images/100/../../../pictures/XXXr4.jpg"
}

This means that these will not end up on the file digest of sprockets, and thus cause some slow down.  Not sure if there is a better place to add this that is more inclusive to this, so I am open to suggestions on a better place for this cache live, but it cuts the render time (after Keenan's patches) for /service/explorer in half on large trees.
/cc @kbrock

:+1: this cuts down time singificantly

Sure, we can merge this as it helps us.
But this seems to be a Rails issue. We should not need to cache ActionController::Base.helpers.image_path, shoud we?
If it's really helpful we should cache all these calls over all of ManageIQ.
ping @matthewd : please, take a look

And @matthewd is aware of this problem in particular. I think most of the time is spent including modules or something. A helper class that caches a reference to ActionController::Base.helpers may suffice.

"../../../pictures/XXXr1.jpg"

So should this just not be using image_path at all for such paths?
If the stored value was instead /pictures/XXXr1.jpg, then the method could be more like:
def node_icon(icon)
  if icon.start_with?('/')
    icon
  else
    ActionController::Base.helpers.image_path("100/#{icon}")
  end
end

and the slow / ill-fated asset lookup would never occur. (There are obviously existing-data-compatible variants of the above, looking for ../, if that's more convenient.)
We can probably do something about the fact we try harder than we need to before we give up, but an asset path that starts inside a valid subdir then works its way out of the whole asset system seems.. unusual.
"Cache the slow pointless thing" is an improvement, but avoiding it seems even better :wink:

My specific recollection was that it may have become necessary to cache ActionController::Base.helpers -- that it used to be internally memoized for other reasons, but no longer.  I was just coding this up
class ImageHelper
  extend Forwardable

  def self.helpers
    @@helpers = ActionController::Base.helpers # evil cache
  end
  self << class
  def_delegators :helpers, :image_path
  end
end

@matthewd @kbrock Thanks, yeah, I think that is the smarter approach, and I think I will go with the simplified version of that in this case (sans helper for now).  Thanks for the help all!

:+1: LGTM

@NickLaMuro You may want to update the PR title and description with the new approach.

@chessbyte good call.  Thanks

This was on master before Euwe branch was created.

@dmetzger57 @simaishi need Darga BZ for backport.

Darga BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1383469

Darga Backport details:
$ git log
commit 7feca7f49108cb91f82ff493229c59ad6abf2218
Author: Martin Povolny<EMAIL_ADDRESS>Date:   Wed Sep 21 18:10:09 2016 +0200

    Merge pull request #10929 from NickLaMuro/faster-assets-on-tree-node-builder

    Skip asset pipeline resolution for for Service nodes in TreeNodeBuilder#node_icon
    (cherry picked from commit 51af6d736c3d3fee5e284ef89a359feaf990b788)

    https://bugzilla.redhat.com/show_bug.cgi?id=1383469


Update launch.json for .NET 6

Since the default framework is .NET 6, the launch.json should also reference the .net6.0 folder.

Thank you for your contribution


Show recent updated posts on layout

Close https://github.com/bm-sms/daimon-news-multi-tenant/issues/13

:+1:


device_tracker state won't customize?

hi,
trying to customize the device_tracker i run into an issue of incorrect syntax apparently cause the state isnt used somehow
this works fine
device_tracker.hvbdiskstation:
  templates:
    theme: >
      if (state === 'home') return 'green'; else return 'red';

this however won't:
device_tracker.hvbdiskstation:
  value_template: '{% if is_state("device_tracker.hvbdiskstation", "home") %}Online{% else %}Offline{% endif %}'

as won't:
device_tracker.hvbdiskstation:
  templates:
    state: if (state === 'home') return 'Active'; else return 'Alert!';

or
device_tracker.hvbdiskstation:
  templates:
    state: >
      if (state === 'home') return 'Active'; else return 'Alert!';

which should be the correct syntax for changing the return based on the state,
Thanks for your help,
Marius

Hmmm you first non-working example makes no sense to me. value_template is only used within the configuration of certain components in Home Assistant. As far as I know, value_template cannot be used as a part of customize:, and this Custom UI doesn't use it either.
When it comes to your second non-working example, I've had a similar experience. I used:
templates:
  state: if (state === 'ONLINE') return 'Online'; else return 'On battery';

The result was that the state showed as 'Online' briefly, then switched to 'On battery' and stayed there. The logic (or lack thereof) might be that once your state has changed, the condition can no longer be true (except after restarting Home Assistant maybe, but again the effect would only be short-lived).
My fix was to use _stateDisplay instead of state:
templates:
  _stateDisplay: if (state === 'ONLINE') return 'Online'; else return 'On battery';

Andrey's documentation on templates shows both your code and mine as examples, implying that both should achieve the same result. However, our experiences seem to say otherwise.

thank you!
Completely missed that before, and it works beautifully:
both theme green and Online:

using:
device_tracker.iungo:
  templates:
#    state: if (state === 'home') return 'Active'; else return 'Alert!';
    theme: >
      if (state === 'home') return 'green'; else return 'red';
#    value_template: '{% if is_state("device_tracker.iungo", "home") %}Online{% else %}Offline{% endif %}'
    _stateDisplay: if (state === 'home') return 'Online'; else return 'Offline';

About the value_template: that does work fine in the developer tools, template checker <> and was the only syntax i could get to work there.
Thanks again, back to formatting the frontend!
Cheers,
Marius


support replicasets under chef-solo

Extract the chef-solo support from #125. Should just be the bits related to node['mongodb']['replicaset_members'].

Moved to https://github.com/chef-brigade/mongodb-cookbook/issues/73


codebuild unable to use imported role

codebuild.CommonProjectProps requires an iam.Role instead of iam.IRole, which means you cannot use an imported role.
Looks like exactly the same issue as the Lambda one that was fixed last month (https://github.com/awslabs/aws-cdk/issues/1506).

the workaround mentioned in #1506 seems to work for codebuild too


How to change locale entries using app.ini?

For example, I would prefer somethings explained tailored to my organizations needs. Like descriptions of certain features in the workflow. How do I change these without building from source?

https://github.com/gogits/gogs/blob/master/.github/ISSUE_TEMPLATE.md


"Get started" button on wallet page doesn't make sense ("I already got started")

It's also confusing to me what it means. Maybe it should be - You're fully connected, now what cool things can you do? does it even make sense on the wallet page? should it be postponed for later and we add an interactive tutorial?

Agree, I recently removed it in the meantime as we don't have a better idea right now and sections to get started were added (extension + getalby.com)


Hide add file button for pull mirrors

I think hiding the add file button for mirror repositories that can keep the ui clean.
Before:

After:

Should be a safe backport.

That's impossible because it is a database field. And it has been widely used everywhere.


release ver 1.1.0 to NPM

Hi there, thanks for the addon!
Any chance this could be released to NPM, please?
Thanks,

Hey @ashrafhasson,
I just published it to NPM. Sorry about that, did not even realise it was not there.
Best regards


Feat(eos_cli_config_gen): Management defaults

Enhancement summary
Allow configuration of management defaults
Which component of AVD is impacted
eos_cli_config_gen
Use case example
Allow selection of configuration to store passwords
Describe the solution you would like
Define the data model and implement EOS templating
Describe alternatives you have considered
No response
Additional context
No response
Contributing Guide

[X] I agree to follow this project's Code of Conduct

Can you add some more details on this?

This option changes how passwords are stored in the device.
switch(config)#management defaults
switch(config-mgmt-defaults)#secret hash ?
  md5     MD5
  sha512  SHA-512


Add option to show marked ground tiles on the minimap

Adds an option (default off) to overlay marked tiles onto the minimap.
Closes: #7968  #8243
Example:

I did my best to make them rotate properly, let me know if anyone has a better idea for doing this:

This is my first contribution here so please let me know if I've done anything wrong.

Can you do that when you put the cursor on the mark grow 50% or shine to know you are going to click there? of course you can disable this feature. Great work!

Can you do that when you put the cursor on the mark grow 50% or shine to know you are going to click there? of course you can disable this feature. Great work!

I think growing wouldn't be allowed as it's basically falsifying inputs, because without the grow you might click another tile but it would correct it to your marked tile. It's unfair to anyone not using RL. The shine/light up is a good idea though

I made it change the color to white when hovered with the mouse, certainly makes it easier to click on a specific tile now.

This was added in #8411


Machine win-12 went dead from network monitoring website.

Machine win-12 went dead from network monitoring website.

Network adapter went offline by itself. Rebooting the machine to bring network adapter back online.


added a heading with transitions

index.html
Created h1 element
main.css
Editted a few colors
Added some transition features
main.js
Created a JS folder with main.js
Added a typing effect to h1 using javascript

Everything looks good.
@rohitjoshi6 has removed the main.css file from css folder. Could you first pull the changes and merge the 2 main.css files into 1 inside the css folder?

Apologies for the mistake. Should i make a css folder and then make new pull request?

That's fine @rohitjoshi6
You can add that file in css folder if you want to...

The changes are done


rootless podman run --device /dev/fuse:/dev/fuse1 is broken.

$ podman run --device /tmp/fuse:/dev/fuse1 fedora ls -l /dev/fuse1
Error: cannot stat /tmp/fuse:/dev/fuse1: stat /tmp/fuse: no such file or directory
[dwalsh@localhost libpod]$ ./bin/podman run --device /dev/fuse:/dev/fuse1 fedora ls -l /dev/fuse1
Error: time="2019-08-29T07:32:02-04:00" level=warning msg="exit status 1"
time="2019-08-29T07:32:02-04:00" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:446: container init caused \\\"rootfs_linux.go:70: creating device nodes caused \\\\\\\"no such file or directory\\\\\\\"\\\"\"\n"
container_linux.go:346: starting container process caused "process_linux.go:446: container init caused \"rootfs_linux.go:70: creating device nodes caused \\\"no such file or directory\\\"\"": OCI runtime command not found error

Looks like when their is a rename operation code attempts to create a device node rather then just setting up a bind mount from the host.

Did a quick scan of the code to find out how this works in rootless mode, and so far have not found it.

in the OCI config file it is converted to:
    "devices": [
      {
        "path": "/dev/fuse1",
        "type": "c",
        "major": 10,
        "minor": 229,
        "fileMode": 8630,
        "uid": 65534,
        "gid": 65534
      }
    ]

the OCI runtime should try to list all the devices to find the correct bind mount.
I think it is safer to fix it in Podman, and when running in rootless mode automatically create the bind mount instead of the device.

Yes, we have a similar issue with BUILDAH_ISOLATION=chroot.

opened a PR: https://github.com/containers/libpod/pull/3909


Adding caution note: As a deinstallation will also remove ARB created…

… VMs.
Thus could lead to loose productive workload. This is due to the current design.
We should warn the users about it - because there will be no prompt.

#sign-off

Hi Kilol,
work finished - if you are ok with it pls sign off ;-)
thx,
B

@Kyle @.***> please take a look. Thanks.
-Kilol

From: Bernhard Frank @.>
Sent: Monday, February 6, 2023 9:22:45 AM
To: MicrosoftDocs/azure-stack-docs @.>
Cc: Kilol Surjan @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-stack-docs] Adding caution note: As a deinstallation will also remove ARB created… (PR #2176)
Hi Kilol,
work finished - if you are ok with it pls sign off ;-)
thx,
B
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-stack-docs%2Fpull%2F2176%23issuecomment-1419449931&data=05|01|ksurjan%40microsoft.com|f7152b453c4447697f7908db0866c36c|72f988bf86f141af91ab2d7cd011db47|1|0|638113009708095629|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=DHnSYdT%2FHpL4XH%2FUV0hEJNZiivL3ahPyJtP8OzOBsmA%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAS2RPCJN74V6EL5K65VY7GDWWEXOLANCNFSM6AAAAAAUSV54KY&data=05|01|ksurjan%40microsoft.com|f7152b453c4447697f7908db0866c36c|72f988bf86f141af91ab2d7cd011db47|1|0|638113009708095629|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=olK800e9c7DtJYL%2F6n4oICYbdXJf5W%2ByA01EhMxQRh0%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

@ksurjan
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

Added the PR for this change (reworded the note): https://github.com/MicrosoftDocs/azure-stack-docs-pr/pull/13001
The pR is merged, so signing this one off as well.
#sign-off

@alkohli - the changes aren't the same here as in https://github.com/MicrosoftDocs/azure-stack-docs-pr/pull/13001.  Merging this will end up adding BOTH the CAUTION and the IMPORTANT. Do you still want to merge this?

Hi Jak,
good catch. It was a long time ago - so changes were done from multiple ends regarding the same information.
----> IMHO only merge one of it.
Best
B
From: Jak Koke @.>
Sent: Montag, 10. Juli 2023 23:52
To: MicrosoftDocs/azure-stack-docs @.>
Cc: Bernhard Frank @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-stack-docs] Adding caution note: As a deinstallation will also remove ARB created… (PR #2176)
@alkohlihttps://github.com/alkohli - the changes aren't the same here as in MicrosoftDocs/azure-stack-docs-pr#13001https://github.com/MicrosoftDocs/azure-stack-docs-pr/pull/13001. Merging this will end up adding BOTH the CAUTION and the IMPORTANT. Do you still want to merge this?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-stack-docs/pull/2176#issuecomment-1629780468, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ5I5IV4YC7T6XFROLKKPYTXPR2QVANCNFSM6AAAAAAUSV54KY.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Closing this PR since the changes are already merged.


Edit --full-generate-key to --full-gen-key

--full generate key appears to be a typo of the gpg2 command --full-gen-key.

gpg (GnuPG) 2.1.18 on Debian 9.3 appears to accept either flag. What version did you see it as a typo on?

I'm running gpg (GnuPG) 2.1.11 on Ubuntu 16.04. Since you're running a newer version of gpg, maybe this would be better changed to a side note re compatibility instead of replacing --full-generate-key.

I just was going to commit the same issue. The gpg command executes a lower version of it, if you not using gpg2 instead.


Error trying to export after initial setup

I am getting the following error when trying to Export to Files:  Script execution cancelled, because the script's path 'C:\temp\Codesys\CodeScribe\sodescribe-main\src\script_export_to_files.py' is either absolute or contains the '..' sequence to move a directory up.
How do I resolve this.  I used the install.bat to install.

Hi @grcamauer - sorry about the delay! I completely missed this issue. What version of codesys are you running on?


permission denied on fuse directory

After upgrading Atom from 1.1.0 to 1.2.0 I am unable to access fuse directories.  I'm getting permission errors.  It was suggested on the Atom forum that the problem might be an node upgrade in an electron upgrade.
Can I downgrade the node version loaded by electron as a test?  Can anyone suggest a work-around for the problem?  I'm stuck on Atom 1.1.0 until this is fixed because all our projects reside on an objectivefs fuse volume.
Edit: I just noticed that apm -v is showing node at  0.10.40. This is an old node version which is weird since you just upgraded node.  Is this the expected version?

I did a test with the node version from atom 1.2.0 and node had no trouble writing to my fuse directory, so the problem must be in electron.
How to repeat this problem in just a few minutes...

download http://sourceforge.net/projects/fuse/files/fuse-2.X/2.9.4/
cd fuse-2*  you will be in this fuze install dir for the rest of these instructions
./configure --prefix=/usr
make
mkdir fuze-dir to make a dir to mount the fuze file system on
sshfs localhost:/$home fuze-dir to mount $home on fuze-dir
ls -al fuze-dir to see mount worked and permissions correct
atom fuze-dir with any atom after 1.1.0 and see permissions error
umount fuze-dir when done

BTW, I found sshfs when creating these instructions but it looks like a very useful tool in general.  It can mount any remote directory as a local one.

apm -v prints out the version of apm and not of node.
https://github.com/atom/apm/blob/master/src/apm-cli.coffee#L75

Must I assume this is low-priority and will not be fixed any time soon?  I need to know if I need to develop a new workflow.

(Copy from atom/atom issue  https://github.com/atom/atom/issues/9555).
I have found out that the parents of fuse directories had 600 permissions instead of the usual 755.  This means that any other user wouldn't be able to list the directory I was trying to open with Atom.  But I am always logged in as root and I always start atom with root.  So I think this is the wrong behavior.  Atom shouldn't behave like a different user.  Also it didn't have this problem until after 1.1.0.
In any case I have fixed my problem by setting all dirs to 755.  So I have a workaround.  If anyone wants I'll file another issue about this anomalous behavior but I'm closing this one.


API Docs are not properly formatted for the new lines in the doc comments of the .bal files

Description:
$subject. Refer to [1]. The new lines are not properly rendered although they are there in the comment in [2] Also the VSCode rendering is not good due to this it seems. (Refer to the image 2)
[1] https://lib.ballerina.io/ballerina/sql/1.0.0/records/ExecutionResult
[2] https://github.com/ballerina-platform/module-ballerina-sql/blob/1ec005c29e5290babbfcf97c385013f64f8e251d/ballerina/types.bal#L628:L635
Image 1:

Image 2:

Affected Versions:
Ballerina Swan Lake Beta 3
Language specification 2021R1
Update Tool 1.3.6

For now the above PR will fix this specific formatting, Full API doc review will be tracked in https://github.com/ballerina-platform/ballerina-standard-library/issues/2061


exposed assigned method from consumer.

ISSUE
The issue was as of now consumer can not know which partitions has been assigned to it.
SOLUTION
ConsumerGroup class already had assigned method which was not exposed from consumer exposed methods.

Created a method assigned in consumer
Used ConsumerGroup.assigned method
exported assigned method from consumer

Do you have a use-case in mind for this method?
I have a hard time seeing a situation in which I would synchronously want to know what partitions are assigned at that moment. If I wanted to keep track of assignment changes, for example to record metrics, I would rather subscribe to the GROUP_JOIN event so that I'm only notified when the assignments have actually changed (or may have changed at least). The event already contains the member assignment:
consumer.on(consumer.events.GROUP_JOIN, event => {
  console.log(event.payload.memberAssignment) // { [topicName: string]: string[] }
})

Closing this as inactive.

Hi I'm actually needing this to synchronize topics state with an external database.
I'll have a setInterval which will poll the state of all the assigned topics of the consumer instance and check the desired state in the db.
This will allow us to have a UI which will pause and resume topics


Fix sample code in README

Could you look at my fix?
I guess the sample code is not for newest version.

Whoops sorry. Thank you for the correction!


Always include all files in the project

As discussed on element, this makes swim work but has some performance implications

Merged manually as https://github.com/YoWASP/vscode/commit/846964056b73981703927fbe1f7c670f30f001f6.


Complete add basic UI milestone

In this milestone I:

Create a app.rb file that will serve as your console app entry-point. It should have methods that do the following:

List all books.
List all people.
Create a person (teacher or student, not a plain Person).
Create a book.
Create a rental.
List all rentals for a given person id.

In your main.rb define the entry point, this will be a method called main that is invoked at the end of your file. This method should do the following:

Present the user with a list of options to perform.
Lets users choose an option.
If needed, ask for parameters for the option.
Have a way to quit the app.

@codepantha thank you for your time and advice.


ansible: Switch adoptopenjdk11 role to install OpenJ9 on s390x

Puts correct change into s390x section of the adoptopenjdk11 setup (Now matches the comment)
Fixes https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/594

Good catch.  I read the comment and didn't confirm the link location.  I had copied from adoptopenjdk10 directory, so this is wrong there as well.  Might as well get that change in this commit?

@jdekonin Ah yes thanks - changed both now :-)


Update Pages “index”

Automatically generated by Netlify CMS

👷 Deploy Preview for nervous-engelbart-a15395 processing.
🔨 Explore the source changes: a8be5f678937ac7e00223a4140a3e840bab35235
🔍 Inspect the deploy log: https://app.netlify.com/sites/nervous-engelbart-a15395/deploys/61a3f7221c6eea0007243c3c


New Dashboard master issue

This issue is for merging all the old dashboard related issues into a list for things to do differently on the new dashboard:

Implement Optional, Vector and Dictionary settings controls in Javascript (#266)
Rework of UI code (#375)
Add/move some buttons in the dashboard (#486)
Move away from requirejs to ES6 and react (#448)

The development of a new dashboard is paused. The objective is to use a UI library that is:

"pretty": at least not much worse than the current one.
flexible: easy to code and to lay out components.
compatible with wgpu: for the client we need to use render-to-texture to display the dashboard in-VR, and wgpu is required by the bevy game engine. This implicitly requires the next point:
for Rust: to avoid duplication of settings structures OR avoid to work with untyped json. Avoiding Javascript to remove the browser and webserver requirements.

We tried egui but it satisfies only the last two points. sixtyfps satisfies all requirements above but its license is incompatible with ALVR. A potential future candidate is bevy_ui, which will be worked on by the bevy team after the renderer rewrite and asset loader rewrite, but we can't know yet if it will be powerful enough for our needs.
EDIT (24-9-2022): After trying iced, we are back to egui, which can be made more presentable by extensively tweaking the default theme.

The new dashboard has been merged and the old one has been removed.


Incorrect asset URI rendered

Since commit 95efd03cad7ec92c836cbabc7dd5bdec9303b1dd phalcon-debugbar always renders root asset URIs (ie. /_debugbar/assets...) instead of using the application baseUri.
This disallows using phalcon-debugbar on any application that is not hosted at the root of its domain.
Contrary to what the commit message seems to indicate, it did work perfectly before. IMO it should be reverted, I think @bluetec had a configuration issue that had nothing to do with phalcon-debugbar itself.

I strongly suggest everyone to assign a host domain to your  document root, and set the baseUri of uri service to /.
This is because it is diffcult to config nginx for phalcon-app having a baseUri. ( I didn't  know much about nginx.)
But if someone can write a nginx config file that support baseUri well, I agree with you commit 95efd should be reverted.

Uh... I don't think I get it.
It's very easy for any other webserver. Just put your app in documentRoot/path/to/app and set baseUri in url service to path/to/app. That's it. I don't see how that'd be different for nginx.
But having phalcon-debugbar temporarily force the baseUri to / when rendering its assets just makes no sense. What if I want to host several apps on the same domain?
IMO it would just be easier for everyone to revert 95efd03, which would make the general use case work again, and then work around the specific issue that commit was intended to solve. Or at the very least make that optional.

Just to be clearer on my point here : phalcon-debugbar, when installed, becomes part of the app. There's no sense to me to giving it a different baseUri when rendering.

Yes, I agree with you and I had reverted it.

@njoyard @snowair

in my case, i use multi module application, a module for front-end http://foo.bar and a module for back-end http://foo.bar/admin.
Phalcon debugbar routes assets only match with {APPROOT}/_debugbar/assets....
in Phalcon multi module, each module should have different base URI, in my case back-end base URI is admin

so in back-end module, Phalcon debugger try to load assets from {APPROOT}/admin/_debugbar/assets url that can't be matched with phalcon debugbar assets routes.

@bluetec Does it work if you move these debugbar init statments from index.php to Moudule.php?

@bluetec
I think you will either have to use one debugbar initialization per module (as @snowair  hinted) or use the same in all modules but then you'll need to add a way to setup debugbar baseURI as a configuration option.

@bluetec I had test your need. For multi module, I suggest you use Route Group Function to set route prefix for modules. The baseUri should be app global scope.
But if you want to use baseUri for modules, you can try my solution:
index.php:
        $di['app'] = $application;
	$manager = new  \Phalcon\Events\Manager();
	$application->setEventsManager($manager);
	$application->setDefaultModule('frontend');   // importent
	echo $application->handle()->getContent();

Module.php
	(new \Snowair\Debugbar\ServiceProvider())->start();


OK, I have it working with a Canon EOS6D MarkII

ESP Hardware: Seeed Studio XIAO-ESP32-C3
Everything! Including triggering for Movies!
You only need the Shutter trigger, a Focus button and I added a paring button.
There are several settings in the Camera to change.  Movie Remote Control is a separate setting from photo remote control and the shutter button for movies must be reprogrammed.  All photo settings are very similar to the M50 the author used in development.
I'll be doing a YouTube video on this, but it may be a while.

Better make that Past tense.  HAD it working.  ArduinoNvs seems to be the problem.  The folders are in the Arduino_IDE library, but the Library manager no longer sees ArduinoNvs (It did before and worked great!) and your Bluetooth Library code refuses to load citing ArduinoNvs is not installed.
It was working great while it lasted.  ArduinoNvs just disappeared from the Arduino-IDE library manager and it hasn't worked since.  Any missing dependencies?

NOTE: this only applies if you are using the Arduino-IDE.  all other development platforms are untested.
OK I have it working again.
Two issues:
"#include arduino.h" can not be in the .ino file.
The Arduino-IDE library manager effectively bans any library not an official  Arduino release  with "Arduino" in the meta file.  It installs just fine, but won't appear or be recognized if you do an Arduino-IDE  "Installed Libraries" search.
To get around this, the only way I found is to copy the entire unzipped ArduinoNVS folder into the standard libraries folder location before the application is compiled.  Yeah I cheated.  I made ArduinoNVS a standard library.
The catch:  Every time the standard Arduino-IDE JSON Libraries folders are updated, it wipes this added folder.
Standard Libraries Location:
Home>.arduino15>packages>esp32>hardware>esp32>3.0.2> cores>esp32>     Source files location
Home>.arduino15>packages>esp32>hardware>esp32>3.0.2> libraries    Full Library Folders locations


Make the pipeline into actual objects.

This PR address PR #121, to modularize the pipelines, and is the first step to build a dependency tree for all the pipelines and make them configurable.  By modular, I am aiming to make the pipeline more self-contained, isolated, and to be classes.
To make this PR easier to review, I am only including one pipeline.  I am open to any suggestions.  Once this first pipeline looks good, will revise the other pipelines and include them into this PR.

I will update the tests if the structure here looks good.

PTAL, some things to note:

extended the original work to the other data pipelines (projects, project iam policies, groups).
added unit tests for all the pipelines, except groups which I will circle back after this PR to do (don't want to hold this PR up any longer)
merged changes.... hope nothing too much got lost :P
will keep looking for things to clean-up, as this PR is really big

Would you also mind updating the branch with master so we can pickup the recent coveralls integration and see the increase in test coverage?

Merged master into branch again.  I think I already did that in the beginning of this submit cycle as well.

Coverage increased (+8.3%) to 65.618% when pulling ba07294edc2ee7f352c56f23f7452906e4a5fa13 on pipeline into dcda7ce74ce2cf024dce064f70c7ddb8e8d26d74 on master.

Coverage increased (+8.3%) to 65.618% when pulling 6f48f5f29a415bbbd11ae8fd7acc4c63b5b6dfff on pipeline into dcda7ce74ce2cf024dce064f70c7ddb8e8d26d74 on master.

Coverage increased (+8.4%) to 65.647% when pulling 128b43b7e14c1e33a4872b2738b3d95b4adb4846 on pipeline into dcda7ce74ce2cf024dce064f70c7ddb8e8d26d74 on master.

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


There is "Stairs" after using displacement

I saw this video.
https://www.youtube.com/watch?v=7ynBzCBONQk
I got a displacement png from Bridge, I think it's same as yours, but I got this effect.

I tried making a grey and 32bit image, and some displacement images from web, still stairs there. Did I miss some thing?

I see a couple of issues here. One thing is the blurriness of the texture. That could be a texture tiling issue.
About the displacement. That's because it won't have enough vertices.
Check this to increase vertices count: https://youtu.be/IUOnqGOdyoE?t=393


Add an .env.sample and update docs regarding the .env file

Currently there's no .env in the top level folder as the docs would have you believe. That's a good thing though, because the .vscode/launch.json is actually looking .vscode/.env.
I've:

added a sample .env file to the .vscode directory
Updated the docs with instructions to copy that to .vscode/.env and to update the values

thanks


Small improvements

Some files had MS-DOS line endings (^M) and those were clearly visible from UNIX-like editors.
Also I missed a commit from my previous PR.

Looks good to me. Thanks again!


error while deploying org metadata in Scratch org

Summary
I have been following step by step the instructions to deploy the sample app.
When I launch the command to deploy SF orga metadata I get a "Unexpected file found in package directory"
I am using the latest sfdx-cli.
(sfdx-cli/7.150.0 darwin-x64 node-v16.15.0)
Salesforce Org Type
Scratch Org
Steps To Reproduce
sfdx auth:web:login -d -a myhuborg
git clone https://github.com/trailheadapps/az-insurance
cd az-insurance
sfdx force:org:create -s -f config/project-scratch-def.json -a az-insurance
sfdx force:community:create --name "Dummy" --templatename "Aloha" -p "dummy"
sfdx force:source:deploy -m ApexClass,Layout,CustomObject,LightningComponentBundle,ManagedContentType,CustomObject,StaticResource,CustomTab,PermissionSet,Flow
Current Behavior
Error message :
az-insurance % sfdx force:source:deploy -m ApexClass,Layout,CustomObject,LightningComponentBundle,ManagedContentType,CustomObject,StaticResource,CustomTab,PermissionSet,Flow
ERROR running force:source:deploy:  Unexpected file found in package directory: /Users/Pascal/Code/az-insurance/force-app/main/default/managedContentTypes/cms_actionimage.managedContentType-meta.xml
Expected Behavior
No response
Relevant Log Output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for reaching out. Can you please share the output of the command sfdx plugins --core? My first guess is that you have an outdated or manual dependency in the CLI that is causing this.
For comparison, here is my output:
az-insurance on  main via ⬢ v14.17.5 took 57s with org az-insurance1
➜ sfdx plugins --core
@oclif/plugin-autocomplete 0.3.0 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.3.1 (core)
@oclif/plugin-not-found 1.2.6 (core)
@oclif/plugin-plugins 1.10.11 (core)
@oclif/plugin-update 1.5.0 (core)
@oclif/plugin-warn-if-update-available 1.7.3 (core)
@oclif/plugin-which 1.0.4 (core)
@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
alias 2.0.0 (core)
apex 0.11.0 (core)
auth 2.0.2 (core)
community 1.1.4 (core)
config 1.4.6 (core)
custom-metadata 1.1.0 (core)
data 0.6.15 (core)
generator 2.0.0 (core)
info 2.0.0 (core)
limits 2.0.0 (core)
org 1.12.1 (core)
salesforce-alm 54.3.0 (core)
schema 2.1.0 (core)
sfdx-cli 7.150.0 (core)
signups 1.0.0 (core)
source 1.9.7 (core)
telemetry 1.4.0 (core)
templates 54.6.0 (core)
trust 1.1.0 (core)
user 1.7.1 (core)

Hi René,
Thanks for the quick feedback. You saw it right !
There was indeed a difference in the salesforce-alm version, I had updated to your version and the metadata now upload to the scratch org. I could proceed to installing the project.
I am closing the issue
Thanks,
Again


Tracking issue for fixing cargo audit issues

the output of cargo audit gives the following:
Click to expand
❯ cargo audit
    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 370 security advisories (from /Users/cass/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (350 crate dependencies)
Crate:         chrono
Version:       0.4.19
Title:         Potential segfault in `localtime_r` invocations
Date:          2020-11-10
ID:            RUSTSEC-2020-0159
URL:           https://rustsec.org/advisories/RUSTSEC-2020-0159
Solution:      No safe upgrade is available!

Includes:

[ ] maybe #2109
[ ] #2107
[ ] #2105

Since CI fails until we resolve this, it has some amount of priority.

Maybe it's worth to re implement binary-install inside wrangler. It's use curl inside his implementation to fetch data. Since inside wringler use reqwest, we can re implement all functional of binary-install without using curl which reduce bloated dependencies
Also zip crate have time as optional feature and we can easily disable it.
P.S. I cam to this because it's possible to make almost all functional of wrangler work without openssl but curl have hard dependency of openssl. And if we re implement binary-install we can easily build wrangler without openssl.


Tell golang about memory limit and allow it to manage the 2 cores itself

Set GOMEMLIMIT to ca 95% of actual limit to allow for a bit of overhead by the system
I used the requests to do so to make it easier to configure

@Kavantix  oh no, I deleted the 213 branch, and it automatically closed this PR? Can you please create another one from main?


Modernize from-past-to-future.dot (so that it renders properly)

For some time now, the images in the graph haven't been rendering. That's because:

Using style=invis today prevents the node from rendering at all (I've opened an issue about the fact that this is apparently a change, and undocumented: https://gitlab.com/graphviz/graphviz/-/issues/2522)
shapefile is deprecated in favor of image https://www.graphviz.org/faq/#FaqCustShape
shape=box is redundant with shapefile, as it's the only option
With image nodes (like any other node), shape=plaintext shape=none specifies no outline

The changes here create a graph with embedded images that have no outlines, seemingly as the original authors intended.

Before

After

I discovered that shape=none (a) exists, and (b) seems like it communicates intent better than shape=plaintext. They appear to be completely equivalent.

Some detailed research on GitLab is going on, I see!
Is this ready to merge?

@lkk7 Yep. Whatever the vagaries of style="invisible" vs. style="invis" turn out to be, from-past-to-future needn't use either of them. shape=none is the more sensible way to not draw nodes, which is what this code now does.