Integrate support for simulated camera

Checklist

[x] I have performed a thorough review of my code
[x] I have sufficiently commented my code
[x] The implementation follows the project style conventions
[x] All project unit tests are passing
[x] If relevant, documentation has been provided or updated to discuss the changes made
[x] System integration tests were performed successfully

Changes Made
This PR introduces a couple of things and fixes another:

This introduces a new camera model with support for Gazebo simulation. The resulting frames made available using the URDF also now allows proper reconstruction of camera-based localizers
The RViz configurations have been updated to automatically use the camera topic
The camera localizer transformation was fixed and now publishes in the base_link frame instead of the camera frame.

Associated Issues

Fixes #72

Testing
I tested the camera static transformation and the Gazebo sensor along with regression tests. I'm hoping to do testing of the localizer itself on hardware tomorrow.

@Mergifyio backport main humble iron

Well that didn't work


Add flags to layout params

Describe your suggested feature
We want to add WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON to the Bubble so that the floating window is always on. How to set this via your library?
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the library to the latest Version.
[X] I will fill out all of the requested information in this form.

i would also need this feature

I think I found a solution you can change the params before calling a show method
bubble!!.layoutParams.....
and then call
minimize()


Fix errors issues filp/whoops with PHP 7.2 in Laravel 4.2

This fix correct this message:
Error: Type error: Argument 1 passed to Whoops\Exception\Inspector::__construct()
In Version Laravel 4.2.22 with PHP 7.2

4.2 is closed from maintenance.


Proposal: Support defining static relationship in schema

sometimes(like #346),  certain resource types are always associated with specific platform instances. Instead of dynamically creating corresponding platform instance relationships for each new resource instance, it is better to define a static relationship in the schema.
In this way, if there is a change of mind later, only the schema needs to be modified, without having to update all the relationships.
This type of static relationship in schema should applicable to both regular resource IDs and *.
definition user { }
definition role {
  relation member: user
}
definition sys {
  relation admin: user
}

definition sys_a/task {
  relation sys: sys
  relation role: role

  // static relation syntax opt-1
  relation static_sys := sys:sys_a | sys:sys_b
  relation static_role := role:admin

  // static relation syntax opt-2
  relation static_sys = sys:sys_a | sys:sys_b
  relation static_role = role:admin

  permission manage = sys->admin + role_admin->member
}

// static relation exp
sys:*
sys:abc
sys:"+-/ x"
sys:abc#relation
sys:'+-/ x'#relation

We have a root object in our model, similar to sys, or platform. It would be great to have a clean solution to this general use case.
In an ideal I'd love both this and #346. For the specific problem of the root level, this proposal might be best as I suspect it would perform better. However, #346 is more flexible and would potentially allow us to remove two levels of depth from our model, rather than just the 1 a static relationship would afford.

@croemmich how would #346 help remove another nesting level?

Now that I think about it more... it wouldn't. As such, I lean more favorably towards this solution.

@josephschorr In a scenario where I have N different definitions with M permissions each, to be able to grant * access for each of those NM permissions, I'd need to define a root definition and define those NM relations/permissions there and also make permission formulas in all of those N definitions more complex.
From this perspective I see #346 as a cleaner approach.

I'd need to define a root definition and define those N * M relations/permissions there and also make permission formulas in all of those N definitions more complex.

Not quite... you could define a static relationship to a parent "universal", such as a pre-defined "platform", and then just hang the subjects off of that:
definition first {
  relation platform: 'someplatform'
  permission one = platform->admin
  permission two = platform->admin
}

definition second {
  relation platform: 'someplatform'
  permission one = platform->admin
  permission two = platform->admin
}

Resource wildcards have a number of major performance and API implications that will almost certainly mean they are not added

Not quite... you could define a static relationship to a parent "universal", such as a pre-defined "platform", and then just hang the subjects off of that:

How would you go about granting Alice wildcard access to perform action one over any first resource
and Bob to perform action one over any second resource? And nothing else.

Resource wildcards have a number of major performance and API implications that will almost certainly mean they are not added

Joseph, could you please explain those implications in a bit more detail? I'm really curious to understand it better.

How would you go about granting Alice wildcard access to perform action one over any first resource
and Bob to perform action one over any second resource? And nothing else.

You'd define a resourcewide type, add Alice to the relation for that associated permission, and then check resourcewide:first-type->whatever_permission. In fact, this would be the recommendation on how to do this today, without any static relationship support

Joseph, could you please explain those implications in a bit more detail? I'm really curious to understand it better.

It has to do with exclusions and lookups. Imagine you have a schema with support for wildcard resources and you define:
definition someresource {
  relation viewer: user
  relation banned: user
  permission view = viewer - banned
}

and then you grant
someresource:*#viewer@user:tom
someresource:specific#banned@user:tom

Now you perform a LookupResources of all resources for which user:tom can view: the returned list of resources needs to be * - {specific} because user:tom has access to all resources except specific. This is a problem we encountered after adding wildcard support to subjects and had to engineer around for LookupSubjects; doing so for LookupResources (and other derivative implementations) would likely become a non-starter, not to mention other performance and design implications


[storage] makes samples runnable and adds sample readmes

Can one of the admins verify this patch?


mobile responsive webchat messages issues

We are currently using the bot framework v4 webchat with a layer of customizations on top of it.
Previously, when we used v3, messages that were sent by both the bot and the user would be displayed correctly based on the type of device they were displayed on. For example, a message that was 10-15 words long would be displayed on a single line while using a large screen display (desktop) while the same message would wrap around while being displayed on a mobile device.
However, when we upgraded to the latest webchat v4, the messages stopped wrapping around based on the device and would show up in a way that would force the user to scroll right and left if they wanted to read the full message on a small display (mobile). This forced us to fix the messages size to a mobile-friendly size to avoid this issue on mobile, but the new messages look very ugly on large screen displays as there is a ton of unused screen space and unnecessary wrapping of messages.
We would appreciate any help on how to set up mobile responsive messages correctly on v4 so we can have the messages appear the right way on each device.
Thanks!

Hi @gturbahn1, could you share more details on your webpage? How is Web Chat set up on your website? Are you using iframe, CDN, or NPM?
Could you verify whether your web page has the appropriate meta tag set up? Please take a look at this article for more information: https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag

Hey Corina,
I sent Yochai a video recording that outlines the two issues – I’m happy to send it to you directly as well, but would rather not post it.
Regarding your question, we are indeed using an iframe.
Thanks!
Gilad

Hello @corinagum I am speaking on behalf of Gilad. We have setup the Meta tag as below on our html page

we are still facing the issue. We are using Iframe to show the page on the Native iOS app.
Interestingly the issue doesn't occur in Android app.

May I ask one of you to please fill out this form? This will help me scope the problem since right now I do not have enough information to help you further. It would be great if you could fill this out on the other issue @gturbahn1 filed as well. :)
Screenshots

If applicable, add screenshots to help explain your problem.
Be sure to remove or obscure personally identifiable information from your code and screenshots

Version
<iframe> (v3 of Web Chat)
Describe the bug

messages stopped wrapping around based on the device and would show up in a way that would force the user to scroll right and left if they wanted to read the full message on a small display (mobile).

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Give a clear and concise description of what you expect to happen when following the reproduction steps above.

Additional context

Happens on iOS but not Android

[Bug]

Hey Corina,
I sent Yochai a video recording that outlines the two issues – I’m happy to send it to you directly as well, but would rather not post it.
Regarding your question, we are indeed using an iframe.
Thanks!
Gilad
From: Corina<EMAIL_ADDRESS>Sent: Thursday, May 30, 2019 9:09 AM
To: microsoft/BotFramework-WebChat<EMAIL_ADDRESS>Cc: Gilad Turbahn<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/BotFramework-WebChat] mobile responsive webchat messages issues (#2042)
Hi @gturbahn1https://github.com/gturbahn1, could you share more details on your webpage? How is Web Chat set up on your website? Are you using iframe, CDN, or NPM?
Could you verify whether your web page has the appropriate meta tag set up? Please take a look at this article for more information: https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/BotFramework-WebChat/issues/2042?email_source=notifications&email_token=AMGRRF7GD32NSNKOXCMIY5TPX732FA5CNFSM4HRGMWB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWSYDRA#issuecomment-497385924, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMGRRF2P2NMUO6UHAFLRNV3PX732FANCNFSM4HRGMWBQ.

@gturbahn1 looks like you resent a previous message via email.

Hello Corinagum....any update on the above issue.

@mathurvarun84 Please fill out the issue template provided above. At the moment I don't have enough context to help you.
I also checked my email (and Spam folder) for a message from you or your colleagues but did not find any.

Closing due to inactivity.


How to have a Container fixed size?

Before using pixi, I created a canvas "A" of say 320x200 pixels and put it on canvas "B" sized 640x400 pixels. Whatever I put into canvas A got limited by the rectangle of the canvas, which is exactly what I try to have now with pixi.
Think of a Commodore 64, where the outside box is the border and the inside box ("B") is the screen.
How can I do this?
While I'm at it: any way to scale the pixels times two and not blur them?
Example without pixi: http://awsm.de/papillons/

Create a renderTexture of some size and draw a scene to it, then draw that to your main scene using the render texture as the texture of a sprite.

First: thank you.
 I'm having a hard time understanding it.

Sure, something along these lines:
// this contains the objects you normally draw to the small canvas
var containerOfThings = new PIXI.Container();

// this represents your small canvas, it is a texture you can render a scene to then use as if it was a normal texture
var smallTexture = new PIXI.RenderTexture(renderer, 320, 200);

// instead of rendering your containerOfThings to the reeal scene, render it to the texture
smallTexture.render(containerOfThings);

// now you also have a sprite that uses that texture, rendered in the normal scene
var sprite = new PIXI.Sprite(smallTexture);

sceneContainer.addChild(sprite);

renderer.render(sceneContainer);

Thank you very much for taking the time explaining it. I greatly appreciate this.


Upgrade gradle wrapper to version 6.3

Drop findbugs dependency since it seems to be abandoned

This pull request has 2 commits. Not quite certain of the protocol here, I can squash the two down into one if you prefer.

Sorry for creating chaff here.  I'm trying to learn how to submit a clean GitHub pull request.


adding travis.yml

Add a simple travis.yml that builds the project, but does not deploy. We need to test the TravisCI integration first!

It works! https://travis-ci.org/homeaway/dropwizard-resilience4j-bundle/pull_requests


IR Laser glare/reflection

Hi,
I am trying to place the Kinect in a box made of quartz. Fused silica (quartz) is known to be transparent to IR radiation in the range at which Kinect's IR Laser operates. However, when I use the NFOV or WFOV modes I see a reflection of the IR radiation on the quartz surface. However, this does not happen in Passive IR mode. So, I assume this is the laser light being reflected. Any way to get around this?

You are likely seeing reflection between the camera window and quartz. We recommend not putting any window in front of the Azure Kinect window.


Add initial support for Elm and elm-test

This PR adds initial basic support for Elm and elm-test to vim-test. Thanks :slightly_smiling_face:

Thanks for the comments.
Regarding doc/test.txt, where do the runner commands get defined? The logical name in this case would be an ElmTest command, however this will conflict with a command from the elm-vim plugin, which presumably most people who would use this runner will also be using. So I'm not sure what should be done in this case.
I'll look in to adding tests soon, I've not tested VimScript before.

Runner commands are not enabled by default, you need to opt-in ie
let g:test#runner_commands = ['ElmTest']

Regarding specs and fixtures, if you use the existing ones as reference it should be straightforward but let me know if you get stuck.

OK I've had another look and added those things, let me know what you think

OK, removed those files - the test command won't actually work without them, but you're right that they're not needed for the tests to pass.

@janko-m any further feedback or are you happy for me to merge?

Looks great, thank you!


Whitepaper / information on POS scenario wanted

Hi,
not as much of an issue than looking for information.
The table on https://docs.microsoft.com/en-us/windows/iot-core/windows-iot i s refercing that a usage scenario for Windows 10 IoT Enterprise could be POS.
Are there any whitepaper on a set up like this or how it has be utilized?
I'm looking for any information on how Windows 10 IoT (in a POs scenario) would work with the modern device management mindset (utilization of EMS etc...) would work.
Regards,

Thank you for the suggestion, @xNiklasJern. I will pass this suggestion onto the right person on our team.


[SPARK-26513][Core] : Trigger GC on executor node idle

What changes were proposed in this pull request?
Trigger GC on executor node idle
Correct me if I'm wrong.
Stage
On a large cluster, each stage would have some executors. were a few executors would finish a couple of tasks first and wait for whole stage or remaining tasks to finish which are executed by different executors nodes in a cluster. a stage will only be completed when all tasks in a current stage finish its execution. and the next stage execution has to wait till all tasks of the current stage are completed.
why don't we trigger GC, when the executor node is waiting for remaining tasks to finish, or when executor node is Idle?
I have proposed a small code snippet which triggers GC when running-tasks are empty and heap usage in current executor node is more than the given threshold.
This could improve performance for long-running spark job's.
How was this patch tested?
existing test

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Please see https://spark.apache.org/contributing.html
I don't think we should do this. Forcing a full GC has downsides like clearing weak references that still usefully cache data. GC already triggers in the background when thresholds are reached. Let's not add a second version plus a new flag to tune on top.

@srowen Hey, thanks for the quick review. I did see background GC triggers that's why I have created a configuration param "spark.conf.GCOnIdle.enabled". this configuration gave improved performance from 3%-7% for a long running spark job. and I have tested same with page rank algorithm with 8 node spark cluster.

@srowen anyways executr has to wait for the remaing tasks to finish which would atleast take couple of seconds. why don't we trigger GC? which will max take <300ms

Yeah it's not crazy, but a full GC has some downsides -- collecting weak refs, and taking the extra time of a full GC, which might take a little while at which time the executor might get a new task. I think you can achieve some of this with JVM GC tuning already.
BTW is this based on https://www.computer.org/csdl/proceedings/hipc/2016/5411/00/07839705.pdf ? That does indeed show some impressive performance gain, so I think it's worth considering. Please read the contributing guide first and file a JIRA with the case for this change, and we can reopen.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@srowen  I did send out a proposal email to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>and created JIRA and does this change require a SPIP process also?

Not a SPIP, but I think you need to quantify the speedup. I don't see a reference to this paper or your benchmarking. What can you say about it?

@srowen  we referred this published paper https://www.computer.org/csdl/proceedings/hipc/2016/5411/00/07839705.pdf can we consider this paper for benchmarking? the paper has pretty good benchmarking results.

I got the impression you had tested this in another workload; can you say more?
As @rxin notes those are interesting results, but not sure the analysis is particularly deep or representative. More data points would help make the case that it's a win.

@srowen we have 1TB data persisted on the cache and 100 GB data gets cached and unpersisted every 15 minutes. we found that GC was not happening frequently as data gets unpersists at 15 minutes interval which use to affect our further caching mechanism. right now I don't have numbers for spark vs "spark with idelGC". if needed I could get benchmarking result for PageRank or something else.

I wonder what happens if you just set something like -XX:InitiatingHeapOccupancyPercent=25 to more aggressively GC along the way? As @rdblue mentioned in his email, it might be even better to make it run more minor parallel GCs more frequently rather than manually trigger a full GC.
Just to tie the threads here, Ryan raised the following issues:

An empty executor may delay starting tasks because of the optimistic GC
Full GC instead of incremental may not be needed and could increase starting delay
1-core executors will always GC between tasks
Spark-managed memory may cause long GC pauses that don't recover much space
Dynamic allocation probably eliminates most of the benefit because of executor turn-over

Agree with these except that I think the idea here is to only run GCs if the heap is pretty full, so 1-core executors wouldn't necessarily collect all the time.
As a side note I see that the Eclipse Java 9 implementation has a flag that tries to do this, although the motivation is more about also returning memory to the OS: https://developer.ibm.com/javasdk/2017/09/25/still-paying-unused-memory-java-app-idle/
(Obviously, won't work on standard OpenJDK / Oracle JVMs)

@srowen when we used -XX: InitiatingHeapOccupancyPercent=~25 we didn't see much difference in performance but there were frequent minor GC's and I forgot to mention we only use these settings for large batch and long-running job's. for normal or jobs which finishes within a few minutes or a couple hours, we did not use these settings. because we did not see any performance improvements for those jobs. and we use static allocation. I would say this will be helpful for long-running job's only.

Why would Empty Executor have heap usage > .8?
Full GC will help when heap percentage usage more than >.8 with empty running tasks.

I agree with points 3, 4, 5.

For "Dynamic allocation probably eliminates most of the benefit because of executor turn-over" I think we could still see some benefits.
Dynamic scale down is often done fairly conservatively when combined with cached blocks, see the separate spark.dynamicAllocation.cachedExecutorIdleTimeout setting default of infinity (although in practice folks will likely choose a lower value) -- although if we start migrating cached blocks in the future that might be less useful.
Even without the cached executor idle timeout, I could see folks having the executor timeout for decommissioning being longer than the amount of time it takes to run a GC event. Especially if we consider the interactive notebook case.

Cached data or broadcast tables could easily take a large portion of the heap, making it more likely that the full GC is triggered, but unlikely that it will collect any space. That's one reason why I think this would need to interact with spark.memory.fraction or maybe the memory manager directly to see how much potential free space there is. Also, the paper's results are based on setting the threshold to 0.3, so I thought it was likely that the threshold would be considerably lower than 0.8.

Dynamic scale down is often done fairly conservatively when combined with cached blocks

I agree. We actually don't recommend caching when using dynamic allocation for most ETL workloads, and careful settings with ML workloads. So when I'm talking about dynamic allocation, I mean a case where executors time out fairly quickly as a stage enters its long tail, which is when this would primarily take effect. I don't think it would hurt, but I don't think it would help much either.
I also don't mean to say that I think this is a bad idea. It may be worth putting in as an option for certain workloads. I'm just skeptical that it is a good practice for a default and I didn't see much validation across workloads in the paper.

@SandishKumarHN How about manually triggering a full GC in each executor based on your workload requirements? I think that might help most of your cases.

@gatorsmile that's what we are doing right now. we have take spark source modified with a param spark.executor.memory.idleGCEnabled with default value  as false. and also proposing same thing for the spark. As an option for users to use.

@srowen @holdenk @rdblue @jerryshao @gatorsmile Thank you, everyone, for spending the time to look into this PR. I understood that just checking Executor running tasks and heap used percentage > 80% is not enough to make a decision on marking executor idle and trigger GC.
Please suggest a way to take a decision on marking execturtor as idle. I will start looking into DagScheudler and Driver.


feat(comps): amend default apps

if not done already: replace gnome-terminal with console since former is gtk3 and latter is the only one mentions at upstream gnome

replace gnome-terminal with console since former is gtk3 and latter is the only one mentions at upstream gnome

Fedora actually uses ptyxis by default now so probably no need?

yea fair enough

yeah we didn't switch to Console because it cut so many features, now that Ptyxis is being pushed so hard I'm finally comfortable switching

Do we switch to ptyxis?

we should


Create StatefulSet deployment for PostgreSQL

As noted by @bparees there is already a working setup with "pet sets" for mongoDB.
I plan to do the same for PostgreSQL, however it won't solve the non-atomicity of initialize_database discussed in https://github.com/sclorg/postgresql-container/pull/160

@matthyx This issue should be probably created for sclorg/postgresql-container

right, sorry


Additions to National RSE organizations

The following is a request for additions to the National RSE organization curated content listed at: https://bssw.io/items/an-introduction-to-national-rse-organizations

Requested by: Dr. Manodeep Sinha, Swinburne University of Technology, Hawthorn, VIC 3122.

Down here in the southern hemisphere, we also have an RSE community for
Australia and New Zealand. The website is: http://rse-aunz.org, which
re-directs to our github page: https://rse-aunz.github.io/ Will you
please add our RSE org to the list as well? Thanks in advance!

This item was added and the article updated: https://bssw.io/items/an-introduction-to-national-rse-organizations


Host CCNP policies rejected on master

#11607 broke host policies on master. They are now all rejected with:
$ kubectl describe ccnp | tail -n9
Status:
  Nodes:
    k8s1:
      Error:         Invalid CiliumNetworkPolicy spec: rule cannot have NodeSelector
      Last Updated:  2020-08-10T12:52:51Z
    k8s2:
      Error:         Invalid CiliumNetworkPolicy spec: rule cannot have NodeSelector
      Last Updated:  2020-08-10T12:52:48Z
Events:              <none>

This error is printed because CiliumNetworkPolicy.Parse() has some new checks to prevent using NodeSelector in CNPs. It assumes CiliumClusterwideNetworkPolicy.Parse() will be called in the case of CCNPs with NodeSelectors. However, the k8s watcher for CCNPs calls addCiliumNetworkPolicyV2 which takes a types.SlimCNP and therefore calls CiliumNetworkPolicy.Parse().
I took a stab at a fix, but couldn't figure out an easy way to fix this (with my limited Golang skills). Of course, I could implement a counterpart to addCiliumNetworkPolicyV2 for CCNPs (e.g., addCiliumClusterwideNetworkPolicyV2) but that's likely to result in a bit more code duplication. I'm opening this to discuss better solutions (happy to implement addCiliumClusterwideNetworkPolicyV2 is that's the best solution we have).
EDIT: I found this while rebasing #12621, which will ensure we don't get any more regressions on this code.
/cc @aanm @christarazi

Nice catch, I thought I had caught them all.
It sounds like we're running into the limitations of sharing the same Golang type for CNP and CCNP. However, we may be able to check the Kind of the CRD that was applied (crd.TypeMeta.Kind), as a quick fix which should contain CiliumNetworkPolicy or CiliumClusterwideNetworkPolicy.
The long-term solution is to split out these types into their own, which is on my list to do next.


Remove moot version property from bower.json

Per bower/bower.json-spec@a325da3

Interesting - thanks for the PR! I need to find some time to go through the various package managers and improve my support for them. I'll come back to this when I do so.

Also just an FYI there are discussions to move bower to NPM anyway so I wouldn't really plan to support it for ever: bower/bower#1520

Also their maintainer says they probably won't ever use it: http://stackoverflow.com/questions/24844901/bowers-bower-json-file-version-property

Oops - forgot to update this issue when I did it a while back: f2f35d31f7bb3ee91f14eebbd8efedf88ee5fa66.


About _transferCoreFunc in fastFuncs.py

Dear Acoular Team and Users, I'm new to beamforming, when I tried to reproduct acoular's beamforming algorithms from scratch, I found something in the code that confused me.

According to the paper Three-Dimensional Acoustic Source Mapping with Different Beamforming Steering Vector Formulations by Sarradj, 2012. I wonder if the code of  _transferCoreFunc should be like this:
def _transferCoreFunc(distGridToArrayCenter, distGridToAllMics, waveNumber, result):
nGridPoints = distGridToAllMics.shape[0]
for cntGridPoints in range(nGridPoints):
expArg = np.float32(waveNumber[0] * (distGridToAllMics[cntGridPoints] - distGridToArrayCenter[cntGridPoints]))
result[cntMics] = (np.cos(expArg) - 1j * np.sin(expArg)) * distGridToArrayCenter[cntGridPoints] / distGridToAllMics[cntGridPoints]
I just recently started getting into beamforming, so if I made any silly mistakes, I am sorry for wasting your time.

Dear Moorsol
If I understand correctly, your confusion stems from the formula in the paper stating that the distances from grid point (s) to array center / reference position (0) should be evaluated for each grid point s, yet the code seems to only take into account the very first grid point (index [0]). However, this is not actually what happens. Through the numba guvectorize decorator  before the function, the process is parallelized over the grid points. In this case it means that in the finally evaluated function, the variable distGridToAllMics is 1D and only has as many entries as there are microphones and distGridToArrayCenter is an array containing one entry, namely the distance of only one of the grid points (whosever turn it is to be run through the function). As distGridToArrayCenter is still an array (albeit with just one entry), we have to access its contents using the indexing [0]. This is especially confusing since in the higher-level function calcTransfer the variables have different dimensions. But again, numba's guvectorize takes care of the exact manner of the parallelization and splits up the arrays, so that index distGridToArrayCenter[0] will have different values throughout the runtime.
I will say that this could have been better documented (when the code was accelerated using numba, we actually didn't expect people to dive into the admittedly confusing fastFuncs.py) and make a note of doing this at some point. Meanwhile, I hope you enjoy using Acoular :)
Best regards
Gert

Thanks for your reply, I am planning to learn something about numba to understand more about Acoular, This awesome project really helps me understand more about beamforming :)


./build.sh should gcloud docker docker pull images when necessary

Some images can't be pulled via 'docker pull', they must be pulled with 'gcloud docker -- pull' because of permission issues.  The build.sh could do this automatically.

This will be fixed once we replace my local cloudbuild script with the official one


I am interested in using your game on my website. Could you add a license file like the MIT one in this pull request so I know how you want your software used?

no problem

when you publish send me the link


[GSoC] Interactive mode for swift CLI tool ArgumentParser

Introduction
ArgumentParser provides a straightforward way to declare command-line interfaces in Swift, with the dual goals of making it (1) fast and easy to create (2) high-quality, user-friendly CLI tools.
In order to further achieve these two goals, for this project, we designed and implemented an interactive mode for tools built using ArgumentParser. This mode can prompt for required arguments not given in the initial command, suggest possible corrections when user input is invalid, help users learn to use unfamiliar command line tools by trial and error.
This project was also done as a GSoC (Google Summer of Code) project for which you can find here.
Motivation
With server side swift gaining more and more traction, command line apps built with ArgumentParser can be very useful for automating common tasks to boost developer productivity. But there are still many developers don’t want to bother with the command line, because the help text came in the form of thick manuals and error messages were opaque.
For example, in the past, users would get lengthy error messages when required arguments are not initialized:
$ repeat

Error: Missing expected argument '<phrase>'

USAGE: repeat [--count <count>] [--include-counter] <phrase>

ARGUMENTS:
  <phrase>                The phrase to repeat.

OPTIONS:
  --count <count>         The number of times to repeat 'phrase'.
  --include-counter       Include a counter with each repetition.
  -h, --help              Show help information.

$ repeat hello world
hello world
hello world

Introducing the conversational nature of interactive mode will be very helpful, it can reduce duplication and provide a conversational CLI which is both easier to write and easier to read:
$ repeat

? Please enter 'phrase': hello world
hello world
hello world

Achievements
Ask prompt the user for input
let age = ask("? Please enter your age: ", type: Int.self)

The above code will generate the following dialog:
? Please enter your age: keith
Error: The type of 'keith' is not Int.

? Please enter your age: 18

Check verifies key directives
guard
  check("Are you sure you want to delete all?")
else { return }
print("---DELETE---")

The above code will generate the following dialog:
Are you sure you want to delete all?
? Please enter [y]es or [n]o: y
---DELETE---

Choose provides possible input for the user to choose from
let selected = choose("Please pick your favorite colors: ",
                      from: ["pink", "purple", "silver"])

The above code will generate the following dialog:
1. pink
2. purple
3. silver
Please pick your favorite colors: pink
Error: 'pink' is not a serial number.

Please pick your favorite colors: 0 1
Error: '0' is not in the range 1 - 3.

Please pick your favorite colors: 1 2

Ask for required @Argument
When parameters similar to the following are not initialized:
@Argument var values: [Int]

The following dialog will be generated automatically:
? Please enter 'values': 1 2 3

Ask for required @Option
When parameters similar to the following are not initialized:
@Option var userName: String

The following dialog will be generated automatically:
? Please enter 'userName': keith

Ask for required @Flag: EnumerableFlag
When parameters similar to the following are not initialized:
enum ColorFlag: EnumerableFlag {
    case pink, purple, silver
}

@Flag var color: ColorFlag

The following dialog will be generated automatically:
1. --pink
2. --purple
3. --silver
? Please select 'color': --silver
Error: '--silver' is not a serial number.

? Please select 'color': 4
Error: '4' is not in the range 1 - 3.

? Please select 'color': 3
You select '--silver'.

Asking to retype an invalid value
When parameters similar to the following are not initialized:
@Argument var values: [Int]

The following dialog will be generated automatically:
Please enter 'values': a 0.1
Error: The value 'a' is invalid for '<values>'.

? Please replace 'a': 1
Error: The value '0.1' is invalid for '<values>'.

? Please replace '0.1': 2

The above is just a partial display of the interfaces. For more details, please click the links in the implementation section.
Implementation
This project is implemented by the following subtasks, you can click to see more detailed API design:

#448

#450

#453

#467

#469

#459

#462

Future Work
Fixing misspelled arguments
If a user mistypes an option, flag, or command, the interactive mode should suggest possible correction:
% example --indx 5
Error: Unexpected argument '--indx', did you mean '--index'?

? Please enter [y]es or [n]o: y

Merge two canInteract() functions
Since the two canInteract() one modifies the SplitArguments and the other modifies the ParsedValues, it's not a good idea to merge them for now. But it could make more sense if there's only one path for interactively collecting additional input. So we need find a way to handle .missingValueForOption error without modifying the the original input, which is surely going to be more error prone than operating on the more structured parsed value data.
The discussion under the #451 provides more details.
Related Links

GSoC accepted proposal

GSoC official project showcase page

Swift forum posts related to this project

Other GSoC projects organizing in swift

👍👍👍 When will the feature be released?

On the topic of future work, one thing I've done in other tools that's enabled by this is to automatically prefix-match options/subcommands when there is no ambiguity. This obviously requires interactive mode detection to ensure shell scripts aren't broken by new options/subcommands being added in the future.

This is great, any plan to merge this feature/interactive branch?


Convert loop to linq expression

I've actually been playing around with some code to do this -- just came across code-cracker today :)
I'm a Roslyn newbie so the code is pretty terrible, but it might be useful to have a look at: https://github.com/nyctef/ForeachToLinqAnalyzer

I am working on it.

Closed on #502.


Using the right type of Recognition

Example of Call using this fix:
https://ngc.skype.net/call/0716907d-3e06-44dd-a85d-16d0479f8522/
New request sent:
{
  "recognizeinputtype": "speechOrDtmf",
  ...
}

Event Received:
[
    {
        "id": "edcca2d3-7997-4d4a-bcb5-8cb5c6b08bef",
        "source": "calling/callConnections/411f0b00-56cd-47c6-9388-05f08399937b",
        "type": "Microsoft.Communication.RecognizeCompleted",
        "data": {
            "operationContext": "context",
            "resultInformation": {
                "code": 200,
                "subCode": 8531,
                "message": "Action completed, max digits received."
            },
            "recognitionType": "dtmf",
            "collectTonesResult": {
                "tones": [
                    "two"
                ]
            },
            "dtmfResult": {
                "tones": [
                    "two"
                ]
            },
            ...
    }
]

Packages impacted by this PR
Issues associated with this PR
Describe the problem that is addressed by this PR
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


100000000000000000000000000000000000000000000000000000000

var num =<PHONE_NUMBER>00000000000000000000000000000000000000000000000;

parseInt(num, 10) === num; // => false

Thanks for the report. This is interesting.
> parseInt(1000000000000000000000, 10)
1
> parseInt("1000000000000000000000", 10)
1000000000000000000000

The native Number.isInteger returns true for<PHONE_NUMBER>000000000000, so we should make sure this polyfill does too. I will think about the best solution — any ideas?

Convert the number to string before doing parse?

Fixed and released in<EMAIL_ADDRESS>Thanks for reporting!

Still fail on<PHONE_NUMBER>00000000.1

That's because<PHONE_NUMBER>00000000.1 is not representable in JavaScript.
><PHONE_NUMBER>00000000.1
100000000000000000

Sorry, forgot to npm publish 1.0.5, but did just now.


Solo ZOOTR Triforce Hunt bug

Whenever I pick up a triforce piece, I keep receiving it endlessly.  It only stops when it switches to another seed, at which point the triforce count goes back to zero.

I'm not sure I ever tested triforce hunt. I'm going to try to address this and #20 this weekend if I can.

Just glad I'm able to contribute in some way to this neat thing you're doing.  Once it switched to another seed, I went to see if it was just a one-off thing, and at least the blue rupees I found along the way didn't trigger it.

I appreciate these bug reports. I don't play Z3R, so I don't have the requisite skillset to identify bugs, so you're playing a huge role in getting this thing working. I appreciate all of your bug reports.

I think this has been fixed by 6fcaf14 as well.

You didn't update the ZOOTR plugin, so it's still doing the same thing.

I read ZOOTR Triforce Hunt and tested Z3 Triforce Hunt instead (which is working btw). I'll look into ZOOTR soon.


Move-defititions-to-isolated--.cpp

Including the class method definitions in the header file limits the extensibility of the library, by only allowing one *.cpp file to have access to the TaskScheduler.h file. This prevents breaking the tasks up into smaller, isolated, and more manageable code blocks.
My current project has three main libraries, one for data acquisition, one for a TFT display, and the other for the capacitive input. By breaking the code up this way I can create a singleton class wrapper for each of the three main functions with all of the tasks for the respective main functions neatly bundled together. To demonstrate the needed class structure, I posted a simple example of the blink sketch.
I tested this library on a run of the mill TaskScheduler based sketch and it wasn't impacted.
I thought the include guards would have isolated the class function definitions better, but my compiler did not seem to agree with me.

Unfortunately, this prevents the use of # define compilation options in Arduino IDE, so will not be merged.
Please see example 16 for the way to use TS in PlatformIO.

Now I understand how you have it set up. Instead of using the TaskScheduler.h header, you use   TaskSchedulerDeclarations.has the replacement header, and then create a single *.cpp and #include TaskScheduler.h as the only line. Well played.

you use TaskSchedulerDeclarations.has the replacement header
Exactly, once you do that, you can extend your tasks cleanly and do it the OO way, including pseudo-interfaces if needed. Here's a real-world example: https://github.com/GitMoDu/IValueReader/blob/master/src/Task/TemplateReaderTask.h


Tenders API for procurements in Ukraine added

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not have more than 100 characters
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] All changes have been [squashed][squash-link] into a single commit

It is improvement releated to https://github.com/public-apis/public-apis/issues/2107

What do you mean @FAvE01?


Mirror look'n'feel of parent repo README.md to template repository

Cube image to use https://www.svgrepo.com/download/58111/cube.svg or https://www.svgrepo.com/download/75570/cube.svg

Add link to it in a separate docs/acknowledgements.md

Can you elaborate, what do you mean by separate docs/acknowledgements.md?

Do you mean we should download it, and have an acknowledgements.md that mentions all our sources?


Integration/spotless plugin

Purpose
This PR introduces the spotless plugin to auto-format this project. Moreover, it adds CI to check that the project is correctly formatted.
Commits:

Introduce the spotless plugin + CI
Reformat project according to spotless settings

Types of changes

[ ] Bugfix
[x] Feature
[ ] Refactoring

Checklist

[x] Documentation is updated
[x] All tests pass
[x] No new tests needed
[x] Code is styled

Codecov Report

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

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage        ?   33.33%
  Complexity      ?        1
=======================================
  Files           ?        1
  Lines           ?        3
  Branches        ?        0
=======================================
  Hits            ?        1
  Misses          ?        2
  Partials        ?        0

Continue to review full report at Codecov.

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


All exercises

Added All exercises code and solution into 1 page.

run into build issue after merged. fixed in #511


[TS] Aztec Noir functions should be able to nullify pending commitments from list maintained in ACIR Simulator

In private_execution.ts, notifyNullifiedNote oracle call may need to output commitments of nullified notes (when a nullifier actually corresponds to a commitment) to enable nullifier<>pendingNote matching in simulator.
In client_execution_context.ts, need to prevent Noir from 'getting' any notes nullified in the current TX.

I believe this is already done possible.... I guess we can add this to one of the tests and close this ticket.

Closed by https://github.com/AztecProtocol/aztec-packages/pull/1109


Error while adding the authentication data

The problem
After having installed the Tesla Proxy App and having it registered correctly, Home Assistant is not able to authenticate.
What version of the addon are you using?
2.2.3
What version of Home Assistant Core are you using?
2024.4.2
What type of installation are you running?
Home Assistant Supervised
What version of Tesla integration are you using?
3.20.5
What region of Tesla API are you using?
Europe, Middle East
What model and year is your vehicle?
Model Y, 2024
What is your domain name (FQDN)?
tesla.vrea.tech
Paste the log output from the addon here
[11:29:10] webui:DEBUG: code: EU_37693a076ecb839a730c76d2ee5011777a1f221d34055c4091ed7bee3f37
[11:29:10] urllib3.connectionpool:DEBUG: Starting new HTTPS connection (1): auth.tesla.com:443
[11:29:10] urllib3.connectionpool:DEBUG: https://auth.tesla.com:443 "POST /oauth2/v3/token HTTP/1.1" 200 1317
[11:29:10] webui:WARNING: Obtained refresh token: EU_2d2b612a23d30e2c3b6a2dc99228ea14928681acd598b4875e35534905aaf08c
[11:29:10] werkzeug:INFO: <IP_ADDRESS> - - [11/Apr/2024 11:29:10] "GET /callback?callback_url=https://tesla.vrea.tech/callback?code%3DEU_37693a076ecb839a730c76d2ee5011777a1f221d34055c4091ed7bee3f37%26state%3Ddd811c25dc%26issuer%3Dhttps%253A%252F%252Fauth.tesla.com%252Foauth2%252Fv3 HTTP/1.1" 200 -
2024-04-11T11:29:43+02:00 [info ] Received GET request for /api/1/products
2024-04-11T11:29:43+02:00 [debug] Forwarding request to https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/products
2024-04-11T11:29:44+02:00 [info ] Received GET request for /api/1/products
2024-04-11T11:29:44+02:00 [debug] Forwarding request to https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/products
2024-04-11T11:29:47+02:00 [info ] Received GET request for /api/1/products
2024-04-11T11:29:47+02:00 [debug] Forwarding request to https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/products
2024-04-11T11:29:52+02:00 [info ] Received GET request for /api/1/products
2024-04-11T11:29:52+02:00 [debug] Forwarding request to https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/products
2024-04-11T11:29:57+02:00 [info ] Received GET request for /api/1/products
2024-04-11T11:29:57+02:00 [debug] Forwarding request to https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/products

Any additional context or screenshots that help explain the issue
Output from custom integration:
2024-04-11 11:29:44.720 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 7:59:59
2024-04-11 11:29:44.720 DEBUG (MainThread) [teslajsonpy.connection] get: https://c03d64a7-tesla-http-proxy/api/1/products {}
2024-04-11 11:29:44.791 DEBUG (MainThread) [teslajsonpy.connection] 412: {"error":"Account 6d83d417f881-4c7a-8080-0bcab5febaa8 must be registered in the current region https://fleet-api.prd.eu.vn.cloud.tesla.com, please see https://developer.tesla.com/docs/fleet-api#register"}

Wrong procedure.

I found the problem, following the procedure something was not performed correctly so it was necessary to reactivate "Regenerate Tesla authentication" and restart the proxy, then disable it.


Document how to init cluster from a development-branch packages

I've spent some time investigating a version mismatch between several nodes that was caused by not specifying --kubernetes-version=latest-1 when initializing a cluster using packages that were built from the master branch so documenting this as it may be helpful for others.

/assign @steveperry-53

/sig cluster-lifecycle
/priority awaiting-more-evidence


Update debug-background-process.md

Update SPFx Node.js prerequisite versions according to https://docs.microsoft.com/en-us/sharepoint/dev/spfx/compatibility
Latest Teams Toolkit support SPFx v1.15.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/debug-background-process.md
88
16
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 3fbe512:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/toolkit/debug-background-process.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Error on Import line.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

A clear and concise description of what the bug is.

Error showing on first line import in windows 10
(whatsapp) PS C:\Users\admin> pip install pywhatkit
Requirement already satisfied: pywhatkit in c:\users\admin\whatsapp\lib\site-packages (3.2)
Requirement already satisfied: beautifulsoup4 in c:\users\admin\whatsapp\lib\site-packages (from pywhatkit) (4.9.3)
Requirement already satisfied: numpy in c:\users\admin\whatsapp\lib\site-packages (from pywhatkit) (1.19.4)
Requirement already satisfied: pyautogui in c:\users\admin\whatsapp\lib\site-packages (from pywhatkit) (0.9.52)
Requirement already satisfied: Pillow in c:\users\admin\whatsapp\lib\site-packages (from pywhatkit) (8.0.1)
Requirement already satisfied: requests in c:\users\admin\whatsapp\lib\site-packages (from pywhatkit) (2.6.0)
Requirement already satisfied: wikipedia in c:\users\admin\whatsapp\lib\site-packages (from pywhatkit) (1.4.0)
Requirement already satisfied: soupsieve>1.2; python_version >= "3.0" in c:\users\admin\whatsapp\lib\site-packages (from beautifulsoup4->pywhatkit) (2.0.1)
Requirement already satisfied: pygetwindow>=0.0.5 in c:\users\admin\whatsapp\lib\site-packages (from pyautogui->pywhatkit) (0.0Requirement already satisfied: PyTweening>=1.0.1 in c:\users\admin\whatsapp\lib\site-packages (from pyautogui->pywhatkit) (1.0.3)
Requirement already satisfied: pyscreeze>=0.1.21 in c:\users\admin\whatsapp\lib\site-packages (from pyautogui->pywhatkit) (0.1.26)
Requirement already satisfied: pymsgbox in c:\users\admin\whatsapp\lib\site-packages (from pyautogui->pywhatkit) (1.0.9)
Requirement already satisfied: pyperclip in c:\users\admin\whatsapp\lib\site-packages (from mouseinfo->pyautogui->pywhatkit) (1.8.1)
Requirement already satisfied: pyrect in c:\users\admin\whatsapp\lib\site-packages (from pygetwindow>=0.0.5->pyautogui->pywhatkit) (0.1.4)
(whatsapp) PS C:\Users\admin>
(whatsapp) PS C:\Users\admin> & c:/Users/admin/whatsapp/Scripts/python.exe c:/Users/admin/pywhatkit2.py^C
(whatsapp) PS C:\Users\admin> & c:/Users/admin/whatsapp/Scripts/python.exe c:/Users/admin/pywhatkit2.py
** On entry to DGEBAL parameter number  3 had an illegal value
** On entry to DGEHRD  parameter number  2 had an illegal value
** On entry to DORGHR DORGQR parameter number  2 had an illegal value
** On entry to DHSEQR parameter number  4 had an illegal value
Traceback (most recent call last):
File "c:/Users/admin/pywhatkit2.py", line 1, in
import pywhatkit
File "C:\Users\admin\whatsapp\lib\site-packages\pywhatkit_init_.py", line 5, in
from pywhatkit.chr_to_handwriting import download, text_to_handwriting
File "C:\Users\admin\whatsapp\lib\site-packages\pywhatkit\chr_to_handwriting.py", line 5, in
import numpy as np
File "C:\Users\admin\whatsapp\lib\site-packages\numpy_init_.py", line 305, in
win_os_check()
File "C:\Users\admin\whatsapp\lib\site-packages\numpy_init.py", line 302, in _win_os_check
raise RuntimeError(msg.format(file)) from None
RuntimeError: The current Numpy installation ('C:\Users\admin\whatsapp\lib\site-packages\numpy\init.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86

There is nothing except import pywhatkit as one line.
Numpi is updated
Requirement already satisfied: numpy in c:\users\admin\whatsapp\lib\site-packages (1.19.4)

Use pip install numpy==1.19.3
Issue with numpy which is a requirement for this library


error MBL dataset download procedure

MBL dataset download procedure is wrong. It seems copy/pasted from HCC dataset.
The section "Methylation matrix and positions" apparently downloads the bad files.

Thanks for spotting this! It should be resolved in the latest commit (2f3c539b9b8c7ca65b2b6b7cbf22c2e908dcec0b)


[Extension Feature Request] Notion – Disable time in date element

Extension – Notion
Store link: https://www.raycast.com/HenriChabrand/notion
GitHub link: https://github.com/raycast/extensions/tree/main/extensions/notion
Author: @HenriChabrand
Describe the feature and the current behavior/state.
I'd like the option to disable time from showing in the date element. Currently, it puts in the time of an event, even though I don't directly specify.
Example:
If I were to input Wednesday, December 29, 2021 as the date, It would show December 29, 2021 5:00 PM (UTC) as the date on Notion, but I only want December 29, 2021.
raycast selection:

result on notion:

One solution could be to add preferences setting, Add time to Date elements, as a checkbox.
Who will benefit with this feature?
Anyone who uses Notion and uses the Date element, but doesn't want the time to show.
Any Other info.
none.

Hello @es183923 👋
The issue is that the DatePicker don't take in consideration the user timezone.
It does in the interface, but not in the value.
As an example – here is what Today looks like in the interface:

And here is the value returned:

The value don't take into account my timezone.
It is set to T13:00:00 where it should be T00:00:00.
And actually, if the UI shows only the date – the value should be also only a date so 2021-12-18.

Then, could you make a preference for time zone, and will automatically convert the date to the right timezone?
eg: if the input is shown as Saturday 18 December 2021, the code receives 2021-12-18T13:00:00.000Z, and this value would then be converted so that the input actually is of the right time zone, to 2021-12-18T00:00:00.000Z

Yes that's an idea – in the meantime the DatePicker gets an update.
I'll try to push this beginning of the year.

fyi: with the upcoming API release, it will be possible to set the date element to a "date only" mode.


feat(overridePosition): Add "overridePosition" property to handle border cases and customize position

In border cases current algorithm for getting position, when tooltip is too long, will display it in invisible area of the window, to tip will be partially visible. This can be prevented by Math.min/max body.clientWidth/Height and current { left, top } positions. Such extension can not break any existing behaviour since it is just an optional property.

Cool! I'd love to see you add to the example page on when this would be needed, and how this could be used.
For instance, I imagine if you make your window very narrow, like 300 pixels, and you set a very long tool tip, this could be used to make sure it all remains visible? An example explaining how to do that would be great!

added

Pretty excited for this feature. I hear it works well!

@aronhelser what's the process for getting a PR in and a new version released? Is there anything I can do to help here?

@aronhelser can you please take a look again?

Yes, need some time for testing. I'll try to look soon.
On Tue, Jul 30, 2019 at 12:32 PM Vladimir Shein<EMAIL_ADDRESS>wrote:

@aronhelser https://github.com/aronhelser can you please take a look
again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wwayne/react-tooltip/pull/502?email_source=notifications&email_token=AEX6THMXORI5AGX7MWVXKILQCBUK3A5CNFSM4IDTN6S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ERTEA#issuecomment-516495760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEX6THNNHDGASZ4FMNQ6DPLQCBUK3ANCNFSM4IDTN6SQ
.

Yes, need some time for testing. I'll try to look soon.
…
On Tue, Jul 30, 2019 at 12:32 PM Vladimir Shein @.***> wrote: @aronhelser https://github.com/aronhelser can you please take a look again? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#502?email_source=notifications&email_token=AEX6THMXORI5AGX7MWVXKILQCBUK3A5CNFSM4IDTN6S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ERTEA#issuecomment-516495760>, or mute the thread https://github.com/notifications/unsubscribe-auth/AEX6THNNHDGASZ4FMNQ6DPLQCBUK3ANCNFSM4IDTN6SQ .

So how)

Hi @aronhelser is there anything I can do help here?

:tada: This PR is included in version 3.11.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

works like a charm! thanks for the feature @sonnenhaft


lua filter call static cluster 504 error

Description:
call the static cluster by lua filter respond 504 status, but curl this API directly is 200 OK
Repro steps:

envoy.yaml set a static cluster
call the static cluster in lua filter by HttpCall

Logs:

Include the access logs and the Envoy logs.

[2023-09-12 09:07:33.608][104][debug][pool] [source/common/http/conn_pool_base.cc:76] queueing stream due to no available connections (ready=0 busy=0 connecting=0)
[2023-09-12 09:07:33.608][104][debug][pool] [source/common/conn_pool/conn_pool_base.cc:291] trying to create new connection
[2023-09-12 09:07:33.608][104][debug][pool] [source/common/conn_pool/conn_pool_base.cc:145] creating a new connection (connecting=0)
[2023-09-12 09:07:33.608][104][debug][connection] [./source/common/network/connection_impl.h:97] [C126] current connecting state: true
[2023-09-12 09:07:33.608][104][debug][client] [source/common/http/codec_client.cc:57] [C126] connecting
[2023-09-12 09:07:33.608][104][debug][connection] [source/common/network/connection_impl.cc:940] [C126] connecting to <IP_ADDRESS>:443
[2023-09-12 09:10:23.072][50][debug][connection] [source/common/network/connection_impl.cc:720] [C1174] write flush complete
[2023-09-12 09:10:23.073][50][debug][connection] [source/common/network/connection_impl.cc:590] [C1174] remote early close
[2023-09-12 09:10:23.073][50][debug][connection] [source/common/network/connection_impl.cc:250] [C1174] closing socket: 0
[2023-09-12 09:10:23.073][50][debug][conn_handler] [source/extensions/listener_managers/listener_manager/active_stream_listener_base.cc:121] [C1174] adding to cleanup list
[2023-09-12 09:10:23.075][103][debug][router] [source/common/router/router.cc:1017] [C0][S9625662234908647271] upstream timeout
[2023-09-12 09:10:23.075][103][debug][router] [source/common/router/upstream_request.cc:545] [C0][S9625662234908647271] resetting pool request
[2023-09-12 09:10:23.075][103][debug][client] [source/common/http/codec_client.cc:156] [C761] request reset
[2023-09-12 09:10:23.075][103][debug][connection] [source/common/network/connection_impl.cc:138] [C761] closing data_to_write=0 type=1
[2023-09-12 09:10:23.075][103][debug][connection] [source/common/network/connection_impl.cc:250] [C761] closing socket: 1
[2023-09-12 09:10:23.075][103][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:321] [C761] SSL shutdown: rc=0
[2023-09-12 09:10:23.075][103][debug][client] [source/common/http/codec_client.cc:106] [C761] disconnect. resetting 0 pending requests
[2023-09-12 09:10:23.075][103][debug][pool] [source/common/conn_pool/conn_pool_base.cc:484] [C761] client disconnected, failure reason:
[2023-09-12 09:10:23.076][103][debug][pool] [source/common/conn_pool/conn_pool_base.cc:453] invoking idle callbacks - is_draining_for_deletion_=false
[2023-09-12 09:10:23.076][103][debug][http] [source/common/http/async_client_impl.cc:122] async http request response headers (end_stream=false):
':status', '504'
'content-length', '24'
'content-type', 'text/plain'

Seems that the request times out.
Can you check if the request arrives at its destination, and if a response is sent?

Seems that the request times out. Can you check if the request arrives at its destination, and if a response is sent?

the destination does not receive anything. but by using curl the destination responds OK

Have the same problem, response is 404, but destination does not receive anything.


updated inky to 3.0.7_38

Changes to a cask
Editing an existing cask

[x] Commit message includes cask’s name (and new version, if applicable).
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Thank you for the contribution. It needed some fixes, so they were made in 6325a52e3e0581fe315f61aac293497f2e60887c. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


Add support for VK_EXT_debug_report in Vulkan

Bugsquad edit: This closes https://github.com/godotengine/godot-proposals/issues/2524.
This PR adds support for the deprecated VK_EXT_debug_report extension, so the user still gets reasonable Vulkan diagnostics logs on older devices.

Thanks! And congrats for your first merged Godot contribution :tada:

Thanks! And congrats for your first merged Godot contribution 🎉

@akien-mga @clayjohn Thank you guys for a quick review!;)


Docs about JSON structure

Is your feature request related to a problem? Please describe.
I'm in the process of making tokens available as JSON in our Storybook implementation. I'm struggling to figure out the best way to structure the JSON in a way that Figma Tokens can work with. The documentation regarding this seems to not exist. It's been a lot of trial and error up to this point trying to figure it out.
Describe the solution you'd like
It would be helpful if there were some docs that cover JSON structure, and maybe even recommended best practices.

Great idea, this is something that's poorly covered.
A rough structure for files stored on GitHub looks like this:
{
  set1: {
    group: {
      spacingtoken: {
        value: string | number,
        type: spacing
      }
    },
    group2: {
      shadowtoken: {
        value: object | object[],
        type: boxShadow
      }
    },
    group3: {
      typographytoken: {
        value: object,
        type: typography
      }
    }
  },
  set2: {
    group4: {
      colortoken: {
        value: string,
        type: color
      }
    }
  }
}

i think it would be great if we had something like this that also covered token types and what values they can have.

Agreed 💯 I've just started exploring the plugin, and I'm running into issues with trying to create tokens via JSON first, rather than through the plugin GUI. It would be great to have more detailed docs, or even just a link to a sample JSON file - would help a great deal with debugging some problems. At this stage I'm not sure if it's something wrong with my JSON structure, or something in the plugin itself.

Added a first version of this to https://docs.figmatokens.com/tokens/json-schema which we'll improve in a coming docs rehaul, closing this issue for now 🙏


Change filter name

Hi,
Official docs use a name softdeleteable, but in this documentation is used another name.
http://atlantic18.github.io/DoctrineExtensions/doc/softdeleteable.html
This is confusing for a beginner and I believe that the required uniformity
Example: https://github.com/Atlantic18/DoctrineExtensions/pull/1660#issuecomment-247300241

Unfortunately, DoctrineBundle does not support dashes properly in filter names (it converts them to underscores in the config). So using a dash in the name would be even more confusing (you would have to use the underscore when enabling it or disabling it, as it would not have a dash in its name)


v7

Pass connection string directly to node postgres and don't attempt any interpretation of it
Update dependencies

This update addresses #25 and #26

I was able to successfully test the pass-through connection string handling in the release candidate version, and I appreciate the floating dependencies. Thank you, @joeandaverde!


libmicrodns: 0.0.10 -> 0.1.0

Motivation for this change
https://github.com/videolabs/libmicrodns/releases/tag/0.1.0
Things done

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

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

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

Notify maintainers
cc @

https://github.com/NixOS/nixpkgs/pull/68756
1 package are marked as broken and were skipped:
tomahawk

2 package failed to build:
obs-linuxbrowser tribler

12 package were build:
cantata elisa libmicrodns libsForQt5.phonon-backend-vlc vlc libsForQt511.phonon-backend-vlc libsForQt511.vlc megaglest minitube obs-studio phonon-backend-vlc strawberry


Update telegram to 3.0-100026

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] If the sha256 changed but the version didn’t,
provide public confirmation by the developer: {{link}}

Hmm, Telegram is failing to install for me due to checksum mismatch. Can anyone confirm?
❯ brew cask install telegram
==> Satisfying dependencies
==> Downloading https://osx.telegram.org/updates/Telegram-3.0-100026.app.zip
######################################################################## 100.0%
==> Verifying checksum for Cask telegram
==> Note: running "brew update" may fix sha256 checksum errors
Error: Checksum for Cask 'telegram' does not match.

Expected: a3f6c6f82555cd17ac6f9454954f0b27172e0ebf4b0f211dbb1e5e02df6d7d72
Actual:   edc275b350f9a6634af22bb6cce694c7fe3219851c71caf037dadc5c699d2299
File:     /Users/angusfretwell/Library/Caches/Homebrew/Cask/telegram--3.0-100026.zip

To retry an incomplete download, remove the file above.
Error: Install incomplete.

@angusfretwell https://github.com/caskroom/homebrew-cask/pull/36159


No Linting rules present.

Uniformity in the indentation of the footer section along with the hover effects will make the footer section look more beautiful.
Linting rules can be used to maintain a standard indentation across the project.

As many participants are new to open source and are participating simultaneously maintaining standard  indentations is difficult. A solution will be having Prettier and ESLint rules and performing an automated check on it. Tell us if you are interested in creating linting configurations, if not I will raise it in a new issue.
Hover effects are already being created in #253

Any progress @shruti-mayank

Moved to #497


Working status and integration Guide

Hello,
Thanks for the amazing work on this project.
I am a zero flutter experienced, So my questions will be funny
Please don't mind.
I have a certain question, can you please answer it.

How we can set up your project and run to see that the player works?
Do you have any documentation or Tutorial for this project?
Can I use your app as an SDK in my flutter app?
I also have my custom player using Shaka-player and I want to create a POC so can I use your implementation guidelines?

I really need to see your project working so I can take some best inspirations.
Thanks in advance for your help.

Hi @hiren3897, you can follow this set of instructions to override the default video_player_web implementation by the implementation done in this repository:
https://github.com/flutter/flutter/issues/66931#issuecomment-1152154702
Regards.

Hello @AriasBros.
Thanks for your response.
Does your player work with iOS, and Android apps?

Hi @hiren3897!
Sorry the delay, I missed for some reason the notification of your reply.

Does your player work with iOS, and Android apps?

This library is not a player itself. It is just the implementation of the federated package to use Shaka as the player for the web version of the video_player plugin.
This is the original package from Flutter team: https://github.com/flutter/packages/tree/main/packages/video_player/video_player_web
I just forked it and replaced all what was needed to use Shaka instead.


Properly extract the Android NDK from the downloaded archive

Checklist

[x] I've run make from the root directory to see all Dockerfiles are created successfully.
[x] I've updated the documentation if necessary.

Motivation and Context
This PR relates to #228 - the Android NDK is not properly extracted. The build process expects to find the NDK tools directly inside ANDROID_NDK_HOME but the extract process puts them in a subdirectory of ANDROID_NDK_HOME.
Before I made this change all my builds (of an android project) were failing with an NDK is missing a "platforms" directory. message. After I added a job step that manually copies the content of the ndk subdirectory to the ndk directory itself all build were successful.
Description
The added support for Android NDK relies on a downloaded .zip file that is extracted and its content used for NDK builds. The problem in the mentioned issue is that the extracted content is actually unzipped in a subdirectory inside the ANDROID_NDK_HOME. E.g. if ANDROID_NDK_HOME is /opt/android/ndk then the NDK tools are unzipped inside /opt/android/ndk/android-ndk-r17b/.
This change moves the tools one level up so they can be properly found inside /opt/android/ndk/ (a.k.a. ANDROID_NDK_HOME) where the build tools expect them.
Note: It's probably much better to achieve the same with the extract tool itself (unzip or tar) but I can't find a straight-forward way yet. At least not with unzip.

Regarding my last comment about achieving the same with the extract tool, I meant something like
tar -xf /tmp/${ndk_version} -C ${android_ndk_home} --strip-components=1

@freespirit thanks ! will take a look @ this later today

If anyone else needs to work around this in the meantime, update the image in your config.yml to specify the hash of the image used on your last successful build: https://circleci.com/docs/2.0/circleci-images/#using-a-docker-image-id-to-pin-an-image-to-a-fixed-version
For example, I changed circleci/android:api-27-alpha to circleci/android@sha256:b41c4a1aab6ae00a43351b126580bfda918d81c2b96f2b5f28b3e6c143a970bd

@ngriffiths gonna merge this PR into our staging env & once the tests pass i will merge to master 🙏

@marcomorain can you approve this ? 🙏

👀 tysm !! @MonkeyTonk going to try & get this fixed before end-of-day


Specific video link breaks for v.redd.it

https://reddit.com/r/AbruptChaos/comments/97ag85/xpost_runexpected_meeting_bill_murray/

Looks like it's working now actually


New WP_DEVELOPMENT_MODE constant

Maybe relevant to know:

Wordpress 6.3 will introduce a new `WP_DEVELOPMENT_MODE` constant.

https://make.wordpress.org/core/2023/07/14/configuring-development-mode-in-6-3/

Originally posted by @huubl in https://github.com/roots/bedrock/issues/672#issuecomment-1654199593
—
It's just 1 line to change in 3 files :

config/environments/local.php
config/environments/development.php

=> Config::define('WP_DEVELOPMENT_MODE', env('WP_DEVELOPMENT_MODE') ?? 'all');

.env (if necessary)

=> # WP_DEVELOPMENT_MODE=core ## core, plugin, theme, all (default) https://make.wordpress.org/core/2023/07/14/configuring-development-mode-in-6-3/

Check this PR : https://github.com/roots/bedrock/commit/184366e3c5e9af97f8f947cef85c5311633e20c6

Since this triggers behavior changes, we need to weigh that against our goal of maintaining environment parity.
From the referenced blog post:

having the theme.json data cache bypassed would not represent the actual behavior intended for a regular WordPress site


native hook

If I hook a java method via java libxposed api but app call this method via native lib, will hook work? Or do I need to code hook for any method both in java and in c?
Is it possible to hook syscalls? Specifically, I'm interested in calls from linux_syscall_support.h

You don't need to do anything extra
This is not what libxposed is for


Fix the bonded eth amount

It is possible that the operator is in multiple bonds (see KeepBonding contract). In that case the bondedEth value should be the sum of all locked bonds for a given operator.

Tested by running 3 ecdsa clients. Opened keep a couple of times with the same operators resulting with new keep addresses. A new keep address becomes an input for bondId generation (holder, referenceId). Bonded Eth amount is expected to increase which what I've observed instead of being overwritten.

current amount:

added bond of 100000 Wei


Number of tango

Can you hide the number of tango income (over the tango tower) from the opposing team.
I think it will add more intrigue into the game.

I think the easiest way to accomplish this would just be to put permanent fog of war over everything except the 4 lanes and the lane leading to king.  The question would be to have this fog on regardless of whether people vote fog of war or not?
But I agree that it would make it a bit more interesting since you'd have no true way to see what the opposing teams' tango income was.  Definitely adds element of surprise if they're saving to overwhelm in the later levels.

Your idea is better than mine. =)
But in your case you should also hide all upgrades of the king.
The opposing team must see only line of hit points without any numbers.

I think leaving the king visible isn't a bad thing. It only gives a rough idea of what people have saved in tangos. I've watched a "win" turn around because someone was saving and forced to use to save the round. That doesn't necessarily give away what tango income is. There are a few people left that save from round one (even though that doesn't translate to being better in the long run). Which is another anomaly that deserves to be fixed for random players.

Hiding the upgrades of the king is the most important idea.
For example:
Wave 21 or 23
I dont know what to do pushing or not coz i have no idea  enemy's king  has been upgraded or not.

tango income of enemies isnt visible anymore


Assorted thoughts for documentation

I discovered a few things when experimenting with MiniRacer, explained here.
Is there any interest in incorporating any it into the README or maybe a tips file?

Absolutely, making our README better is totally welcome.
On Fri, Dec 7, 2018 at 10:55 AM kliuless<EMAIL_ADDRESS>wrote:

I discovered a few things when experimenting with MiniRacer, explained
here
https://github.com/tribune/commonjs-mini_racer_env/blob/master/README_MiniRacer_Tips.md
.
Is there any interest in incorporating any it into the README or maybe a
tips file?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/discourse/mini_racer/issues/122, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAUXXEeVJfKUjAn7Ed7jHIRS7HqLwwUks5u2a5lgaJpZM4ZHiWA
.


Fixed solution for Truncate a string challenge in JS

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #34270

Hi @thecodingaviator,
Thanks for opening this issue.
The problem has been fixed in a recent PR (#34228). The updated solution will be pushed to production soon.
Closing this issue.
Happy coding.

Ahh all right


[BUG] Gaggle test fails if running cargo test

Observed behavior: Gaggle test fails if running cargo test
Wanted behavior: Gaggle test is skipped if running cargo test (without --all-features)

My concern with skipping the gaggle test is that it provides a path for tests to pass with code actually broken. I tell cargo which test to run if I'm only repeatedly re-testing a non-gaggle feature (ie https://stackoverflow.com/questions/54585804/how-to-run-a-specific-unit-test-in-rust).
cargo test tells Cargo to run all tests, and IMO it should fail if the gaggle feature is not enabled, as gaggles are broken if you don't compile in nng.

We need to review how other Rust projects are handling this.


fat jar assembly and version upgrade

added assembly into a fat jar that contains the Neo4j driver, so users just need to drop a single file into their gatling installation.
upgraded to neo4j 4.2
fixed a few deprecation warnings in tests

Thanks for your PR.


@UnstableEnum macro for enums that will have more cases over time

Codecov Report
Patch coverage: 16.16% and project coverage change: -54.13 :warning:

Comparison is base (aaa828a) 74.57% compared to head (08f7e6c) 20.44%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #52       +/-   ##
===========================================
- Coverage   74.57%   20.44%   -54.13%
===========================================
  Files          65       65
  Lines       10840    10877       +37
===========================================
- Hits         8084     2224     -5860
- Misses       2756     8653     +5897

Impacted Files
Coverage Δ

...rces/DiscordModels/Protocols/ToleratesDecode.swift
72.72% <ø> (-1.82%)
:arrow_down:

...ces/DiscordModels/Types/Application Commands.swift
0.00% <ø> (-70.28%)
:arrow_down:

...s/Types/Application Role Connection Metadata.swift
0.00% <ø> (-100.00%)
:arrow_down:

Sources/DiscordModels/Types/Auto Moderation.swift
0.00% <ø> (-72.00%)
:arrow_down:

Sources/DiscordModels/Types/Channel.swift
30.18% <0.00%> (-54.13%)
:arrow_down:

Sources/DiscordModels/Types/Error Codes.swift
0.00% <ø> (-100.00%)
:arrow_down:

Sources/DiscordModels/Types/Gateway.swift
23.46% <ø> (-51.38%)
:arrow_down:

...es/DiscordModels/Types/Guild Scheduled Event.swift
0.00% <ø> (-25.00%)
:arrow_down:

Sources/DiscordModels/Types/Guild.swift
0.00% <ø> (-100.00%)
:arrow_down:

Sources/DiscordModels/Types/Integration.swift
0.00% <ø> (-100.00%)
:arrow_down:

... and 6 more

... and 37 files with indirect coverage changes

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


PHP Fatal error:  Unknown: Failed opening required   in Unknown on line 0

hello,   when i use cachetools reset opcache in php7 environoment ，sometimes i got a php-error:
[25-Oct-2016 16:20:45 Asia/Shanghai] PHP Fatal error:  Unknown: Failed opening required '/home/user/webroot/site/application/model/v2/index.php'(include_path='.:/home/user/php7/lib/php') in Unknown on line 0

i use codeigniter web framework, can you help me solve this problem?
opcache last restart time:
| Last restart time    | Tue, 25 Oct 2016 16:20:45 +0000 |
opcache setting:
zend_extension="/home/user/php7/lib/php/extensions/no-debug-non-zts-20151012/opcache.so"
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=11000
opcache.revalidate_freq=0
opcache.fast_shutdown=1
opcache.enable_cli=0
opcache.save_comments=0
opcache.enable_file_override=0
opcache.huge_code_pages=0
opcache.validate_timestamps=0
opcache.log_verbosity_level=2
opcache.error_log=/home/user/php7/log/opcache.error.log

The issue is because SELinux is preventing read access to the file you are trying to access,
use restorecon /home/user/webroot/site/application/model/v2/index.php to restore access to the file
Hope this helps
http://www.linuxquestions.org/questions/linux-server-73/apache-2-warning-unknown-failed-to-open-stream-permission-denied-814037/

Use --tmp-dir to a path that SELinux does not block access to.
Feel free to reopen if the issue still persists

I had the same problem, I tried to run
docker run --t -v .:/project php

when I tried to do
/project:$ php file.php

I got this error.
Apparently, you can't use bound volumes from docker that easily. So I copied the volume inside the container, and used a copy.
docker run --t -v .:/project php

/project:$ cd ..
/:$ cp -r /project /project2
/:$ cd /project2
/project2: $ php file.php

and it worked.


Dependency Agent Uninstall

When I try to package the dependency agent, the uninstall logic does not work on server 2012R2. The agent is installed via the exe - (Also, could you make an MSI to make packaging easier?) It shows up in appwiz.cpl, with no MSI guid associated with it. When I run  "C:\Program Files\Microsoft Dependency Agent\Uninstall_<IP_ADDRESS>00.exe" I get a blue ribbon that states "This app can't run on your PC. To find a version for your PC, Check with the software publisher." I tried from the admin command line, with a /?, double clicking, and right clicking to run as admin.

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

ID: 97f8ee3c-f9c2-91c6-1ea0-48754de93979
Version Independent ID: bca92218-863f-2ec9-82a2-fcf277b75c14
Content: Configure Service Map in Azure
Content Source: articles/azure-monitor/insights/service-map-configure.md
Service: azure-monitor
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.

@mowens1234, i can confirm 2012 R2 is on the list of supported Win server OS. Can you try to see if you have all the latest updates applied to the server and retry? If that doesnt work then we will need to redirect your issue to the Azure technical support team using these steps. If you do not have a support plan, send mail to<EMAIL_ADDRESS>include your subscription Id and a link to this thread (for context) and we will gladly assist you with engaging Azure support team.

Can you confirm that "C:\Program Files\Microsoft Dependency Agent>"%Programfiles%\Microsoft Dependency Agent\uninstall_<IP_ADDRESS>00.exe" is the correct uninstall logic?


Fixed bug in suggested InfluxDB config

Bug was causing metrics to be stored incorrectly

did this cause metrics to not display or to display incorrect info?

yes.. they were being stored incorrectly so dashboards did not work.  Bug started when metrics prefix was renamed from io.fluo to fluo

+1


Configuration cache state could not be cached on included build with gradle-enterprise plugin when running tests

Current Behavior
I have a Gradle project (A) that uses configuration cache and that do not have gradle-enterprise but includes (using includedBuild) a gradle project (B) that do have it in its settings.gradle.kts.
Running tests on (A) works fine : ./gradlew test
However when running tests specifically on the included build (B, presently named fireplace), e.g. ./gradlew :fireplace:fireplace-swing:test results in the following error.
* What went wrong:
Configuration cache state could not be cached: field `__accessKey__` of `com.gradle.enterprise.gradleplugin.testdistribution.internal.DefaultTestDistributionExtension` bean found in field `a` of `com.gradle.enterprise.gradleplugin.testacceleration.internal.task.b$b` bean found in field `jvmArgumentProviders` of `org.gradle.process.internal.DefaultJavaForkOptions` bean found in field `forkOptions` of task `:fireplace:fireplace-swing:test` of type `org.gradle.api.tasks.testing.Test`: error writing value of type 'org.gradle.api.internal.provider.DefaultProperty'
> The Gradle Enterprise plugin has to be applied to the top level project in order to use test acceleration features

I have included a reproducer.
Expected Behavior
Tests run fine.
Context (optional)
No response
Steps to Reproduce
Suppose host project gradle-access-key-reproducer that do not have gradle enterprise set up.
gradle-access-key-reproducer/settings.gradle.kts
plugins {
    id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

rootProject.name = "gradle-access-key-reproducer"
include("app")

includeBuild("with-gradle-enterprise")

gradle-access-key-reproducer/app/build.gradle.kts
plugins {
  application // so test task can be invoked
}
application {
    // Define the main class for the application.
    mainClass = "App"
}

gradle-access-key-reproducer/gradle.properties
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn

with-gradle-enterprise/settings.gradle.kts
plugins {
    `gradle-enterprise`
    id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}

rootProject.name = "with-gradle-enterprise"

if (providers.environmentVariable("CI").isPresent) {
    gradleEnterprise {
        println("CI")
        buildScan {
            termsOfServiceUrl = "https://gradle.com/terms-of-service"
            termsOfServiceAgree = "yes"
            publishAlways()
            tag("CI")
        }
    }
}

with-gradle-enterprise/settings.gradle.kts
plugins {
  `java-library` // so test task can be invoked
}

gradle-access-key.zip
Gradle version
8.6
Build scan URL (optional)
No response
Your Environment (optional)
No response

The issue is in the backlog of the relevant team and is prioritized by them.

Just tried the reproducer with Gradle 7.2-rc-2, with the same failure
./gradlew wrapper --gradle-version=8.7-rc-2
./gradlew :with-gradle-enterprise:test

However I noticed that adding --scan to the command, whether the terms are accepted or not, make the failure go away.


3bot deployment : screen #2 new screen: wireguard.

Title: Install Wireguard
Have you installed a Wireguard VPN? you would need to firstly install a Wireguard VPN on your computer to access the
network for your 3Bot. Wireguard makes sure that the network connection you're having is fully private and secure.

give them a wireguard download link below, if clicked, it opens on new tab.

duplicate of https://github.com/threefoldtech/js-sdk/issues/768


#101995 extend tooltip of menu item that defines 'alt' command

This PR implements #101995

If a menu item specifies an additional alt commmand the tooltip gets a second line displaying this when the Alt key is not down.
The goal is to improve discoverability of places where two alternative commands exist.

ping @sbatten who commented on the original issue I opened

@sbatten any chance of this merging in time for February release?

@gjsjohnmurray probably no and that's my fault for not coming back to the PR in time. I just did the code review and I think it looks good. As with anything, I'd like to see it in insiders for the month in case there are any surprises. I think we can merge this right after release.
/cc @bpasero
one question I have, do we refer to option/alt key differently on macOS here? or is Alt the right terminology?

@sbatten the key needs to be called "Option" on macOS: https://en.wikipedia.org/wiki/Alt_key#macOS

@gjsjohnmurray I think we need to localize the key though, as the name maybe different in other languages.

@bpasero what is the right way to do this? I used https://github.com/microsoft/vscode/blob/01cfa2f8352f129fc922b2a9b3ec938f1bb93f84/src/vs/workbench/contrib/debug/browser/debugHover.ts#L108 as my model for the isMacintosh test. Does the keylabel text get localized in that instance?

No, it needs 2 distinct messages.

Based on the keyboard images at https://support.apple.com/en-us/HT201794 most keyboard layouts use ⌥ (U+2325). Exceptions on that page are English, Japanese, Korean, Taiwanese and Thai which use the text 'option'. In all cases the text 'alt' also appears on the key.
Having said that, the Magic Keyboard apparently labels it with ⌥ and 'option'.
Shall we leave it to the translators to decide on a per-language basis? Presumably they'd pick either ⌥ or 'Option' (should that be uncapitalized?).
Are the nls.localize translations file-specific? That is, if I add this in the file I'm changing for this PR
const = nls.localize({ key: 'macOSaltKey', comment: ['label or symbol on the Alt / Command key (commonly U+2325)'] }, 'Command')

and do the same to fix debugHover.ts, will the translators have to duplicate the translation? If yes, is there a central place to export the string from?

If the ⌥ symbol gets used in some localizations perhaps the tip should use regular square brackets to denote the key instead of the fancy THREE-D TOP-LIGHTED LEFTWARDS EQUILATERAL ARROWHEAD and THREE-D TOP-LIGHTED RIGHTWARDS EQUILATERAL ARROWHEAD shown in the PR's original screenshot, e.g.

(screenshots above simulated on my Windows dev platform)


FROM openjdk:8u102-jre

removing the licensing issue and the need to install yum & curl

@tubbynl Thanks for your PR.  Sonatype currently does not support OpenJDK, tho we do have a ticket to consider it, this is not in our short term roadmap so I am closing this out.  We will reinvestigate if that changes.

that's a pity;
it's also mentioned in the specs now that i read them ;)

OpenJDK has been known to work in most cases, but we do not actively test it.

https://support.sonatype.com/hc/en-us/articles/213464208-Sonatype-Nexus-System-Requirements


fix test images

busybox is only one layer now, since https://github.com/docker-library/official-images/commit/ab7d119a7728e5ddf845eed35ec6b7981293e3b5

ping @abronan

LGTM :v:

The test pass...
LGTM  :)


Custom HTTPS certificate for HTTP URL resolver

Feature request
Following the introduction of an http URLs resolver in this PR it would be great to expand on this and let an admin specify a custom HTTPs certifcate
Use case
It may be useful for users to share tasks in a corporate environment where custom HTTPS is the norm.
This probably can be either a user params from the resolver and a global configmap entry in the https resolver configmap

/assign me

/assign @chmouel


Remove "[HMR] Waiting for update signal from WDS..." log

Is your proposal related to a problem?
I like my logs when things are working well. Right now for all my create-react-apps, I have this annoying "[HMR] Waiting for update signal from WDS..." log that pollutes my console.

Describe the solution you'd like
I can see two options for solving this:

Either drop that log altogether.
Or only logs this after a delay if haven't been able to connect to the websocket server.

I'm using react scripts version 3.4.3, but I'm still getting this error. According to a previous discussion about the same issue, I saw that they were recommending to use 3.4.0 and the error disappears. But I'm on 3.4.3 and I'm still getting this issue. I created the project using npx create-react-app command.


Allowing access only to index.php, admin.php, api.php and assets folder

Now its changed that way as @tobscure told at #27
Also, disabled autoindex

Awesome, thanks a lot!

@terokorp This isn't working for me. This part:
<IfModule mod_authz_host.c>
  Require all granted
</IfModule>

is causing an Internal Server Error ("The server encountered an internal error or misconfiguration and was unable to complete your request") when I visit the forum's directory. If I remove that part, it works OK, with all non-admin/api/assets requests being rewritten to index.php.
Also, on second thoughts, a blacklist might actually be better, because people might want to drop other files into their forum's root (e.g. favicon, an index.html while they're doing maintenance, some random files they want to be downloadable) and expect them to be accessible.
So I think we should blacklist:

Any file starting with .
composer.json
composer.lock
extensions/
flarum
scripts/
storage/
Vagrantfile
vendor/

Do you think this is a good approach @franzliedke?

Apache 2.2.29. Inspecting logs, I'm getting:
configuration error:  couldn't perform authentication. AuthType not set!: /flarum/

Should we be using an IfVersion check instead of IfModule? http://stackoverflow.com/a/26029761

@tobscure I think I made mistake on those IfModule lines. Can you try to change mod_authz_host.c lines to mod_authz_core.c and test with apache2.2, I can't test it because all my servers already runs 2.4


calling cleanUp() on an overlay that has disableClick = true

Hi there,
I seem to be having an issue with dismissing the overlay, this is my init code:
      mTourGuideHandler = TourGuide.init(this).with(TourGuide.Technique.Click)
          .setPointer(new Pointer())
          .setToolTip(null)
          .setOverlay(new Overlay().disableClick(true));

and later on I clean it up:
          mTourGuideHandler.cleanUp(); // end tour

However the overlay does not disappear, is there a reason why?

Same thing for me. I'm trying to dismiss tutorial on overlay click, but it doesn't work. Exactly the same code as in OverlayCustomisationActivity (just copy-pasted) - no effect.

@TheRishka actually i figured out the issue. Make sure you are not calling it twice or putting the init code inside onResume(). The instance var only holds the last instance of the TourGuide so even when you cancel that instance, the previous instance is still shown.

I'm trying to understand more about this issue.
@TheRishka Do you mean that when you run OverlayCustomisationActivity directly it works fine, but when you copy and paste it into your app, it doesn't work anymore? If so, there must be some difference, can you help finding out?
@tommytcchan You seem to understand more on this issue, but I still don't quite understand from what you described. Can you explain a bit more on how I can reproduce it? (some code example will be great :D)

@TheRishka yes, there is a huge difference, which i suppose is the main reason. I'm using google maps fragments together with TourGuide. It looks like it intercepts touch events.


Can we add shortcuts for switching?

For example, if I have multiple screens, currently, every time I switch, I have to click the back arrow in the top left corner and then select another screen. Can we add shortcut keys for switching?
Just like the scene switching in OBS,  https://github.com/obsproject/obs-studio can we set different shortcut keys for switching?

@lhj5426 Thank you for your comment. Your comment about the shortcut key binding for the back arrow button, right? There is no shortcut key assigned to the back arrow button, and it has no capability currently.

@lhj5426* Thank you for your comment. Your comment about the shortcut key binding for the back arrow button, right? There is no shortcut key assigned to the back arrow button, and it has no capability currently.

Yes, I hope to have a shortcut key for quick switching.


It might be better if the font can be changed by user

In my opinion, the current font of the app (dot_gothic16_regular.ttf) is a little difficult to read smoothly.
So, how about that allow user to toggle fonts between the current used one and more uncharacteristic one (like Noto) ?

I would like to work on this issue. 🙋♂

@geckour @takahirom
I am thinking of going ahead with a font change UI like the attached video, what do you think?
I think it would be difficult to notice if it is added to an item on the About screen.
How about adding it to the TopAppBar of the Timetable screen, which is the first place people will see it, so that it is easy to notice?
https://github.com/user-attachments/assets/90989125-2a08-432d-b03d-7f238486a838

I would prefer to have a setting in the 'About' section or somewhere similar. The timetable screen is an important feature, and we don't want users to be distracted. We might need to have a settings screen that can be accessed from the 'About' screen.


Rename wallet fund to wallet address

I don't think we're going to use separate funding and ordinal addresses.

Hi, I would like to help. Just to make sure I understand the task, you want to replace wallet fund with wallet address in the tests/wallet.rs file?
https://github.com/casey/ord/blob/d3ed942cea2510d0f504bb1c03ecc4068d6c7dd8/tests/wallet.rs#L80-L84

Yup, the idea is to change the command from being called ord wallet fund to ord wallet address. The test, as well as the name of the subcommand itself, will both need to change.

This command is gone, so this can be closed for now.


Delete debug.test

Remove file src/ui/auth/db/debug.test

Coverage remained the same at 64.507% when pulling 7863d7ffa09a58d6509ce52be587c3bfe8edc787 on stonezdj:debug_test_remove into 3ca439c71ae1fccb37ae9008faf00a9798107a13 on vmware:master.