Enable use of MODIFIED stamp in addition to the CREATED stamp

Description of the new feature / enhancement
Being able to Power Rename a group of files is a VERY COOL utility! Thanks for building it. Allowing the use of some of the file's metadata in the rename process is great too. Unfortunately, the CREATION stamp is of less value to me than the MODIFIED stamp. I'd like to see that option added as well.
Scenario when this would be used?
There are lots of scenarios where I'd use it. Most recently, I was cleaning up a family member's RESUME. Yeah, sounds simple doesn't it!? hahaha There were like 50 files and most of them were named "Resume" or "Current Resume" (that latter name would be funny if it wasn't such a mess). Renaming them based on their last edit would be very handy. Thanks in advance.
Supporting information
No response

/ dup #13118

/dup #13118

Thank you Aaron for spotting the dup. I apologize. I'm not incredibly familiar with the site and THOUGHT I did at least a quick search, but alas, it's definitely "my-bad". Thanks for cleaning it up for me and also for pointing me to the original. Have a great day!!!
Mark

Mark Stepan

From: Aaron Junker @.>
Sent: Thursday, March 10, 2022 12:23 PM
To: microsoft/PowerToys @.>
Cc: MStepan58 @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Enable use of MODIFIED stamp in addition to the CREATED stamp (Issue #16962)
/dup #13118https://github.com/microsoft/PowerToys/issues/13118

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/16962#issuecomment-1064361241, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADM5ZJKVNOCRYRWPGSIDX7TU7I4XXANCNFSM5QNNR5OQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


37signals renamed themselves to Basecamp, so update sponsor in README

See https://37signals.com/ for announcement post.

Thanks!

That's what I love seeing in a commit message :smile: :+1:


Speed improvement in sizing with jit

When using jit for the sizing of borefields, every iteration, every borehole inside the borefield should be updated to a new length in order to calculate the gfunctions. For larger borefields, this can take up some time.
The goal of this issue is to investigate whether or not the time required to update the borefield model is significant in comparison to the gfunction calculation itself.

When the difference between the initial guess and the final depth is small (order of 10m), the difference in results between the case where the borefield depth is updated every iteration and the case where it is held constant, differs within <1%. Doing so, however, decreases the computational time by a factor of two.
The goal is to create an option to choose below which threshold the borefield depth should be updated. The sizing setup function will therefore be replaced by a seperate class. A validation document for four cases will be created to show the effect on the sizing accuracy.

Chances are, this issue becomes obsolete when issue #57 is implemented.

This issue is obsolete thanks to issue #57. It will be closed.


[ISSUE #367] Optimize plugin load

Optimize plugin load, support load plugin by plugin instance name, these means we needn't load all plugin
Optimize install plugin, suppory install plugin by ./gradlew jar dist
Make UrlClassLoader siglenton

Codecov Report

Merging #519 (add7582) into develop (16ae31a) will increase coverage by 0.07%.
The diff coverage is 50.00%.

@@              Coverage Diff              @@
##             develop     #519      +/-   ##
=============================================
+ Coverage      10.42%   10.50%   +0.07%
- Complexity       328      330       +2
=============================================
  Files            241      243       +2
  Lines          11737    11754      +17
  Branches        1001     1000       -1
=============================================
+ Hits            1224     1235      +11
- Misses         10411    10417       +6
  Partials         102      102

Impacted Files
Coverage Δ

...nector/rocketmq/consumer/RocketMQConsumerImpl.java
0.00% <0.00%> (ø)

...nector/rocketmq/producer/RocketMQProducerImpl.java
0.00% <0.00%> (ø)

.../eventmesh/spi/loader/EventMeshUrlClassLoader.java
0.00% <0.00%> (ø)

.../eventmesh/spi/loader/JarExtensionClassLoader.java
12.28% <30.00%> (+4.73%)
:arrow_up:

...g/apache/eventmesh/spi/EventMeshExtensionType.java
88.88% <88.88%> (ø)

...pache/eventmesh/spi/EventMeshExtensionFactory.java
55.00% <100.00%> (ø)

...ntmesh/spi/loader/MetaInfExtensionClassLoader.java
77.14% <100.00%> (ø)

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 16ae31a...add7582. Read the comment docs.

@ruanwenjun please help to fix it, when execute build.
FAILURE: Build failed with an exception.

Where:
Build file '/Users/easonchen/git/incubator-eventmesh/build.gradle' line: 215

What went wrong:
Could not compile build file '/Users/easonchen/git/incubator-eventmesh/build.gradle'.

startup failed:
build file '/Users/easonchen/git/incubator-eventmesh/build.gradle': 215: expecting ')', found ',' @ line 215, column 46.
ginTypeMap.forEach((pluginType, pluginIn
^

1 error


Incorrect alignment of RGB and depth frame extraction for Intel RealSense D435

Required Info

Camera Model
D435

Operating System & Version
Win 10

Kernel Version (Linux Only)
NA

Platform
PC

SDK Version
2.19.1  RELEASE}

Firmware Version
<IP_ADDRESS>

Language
C++/python}

Segment
Robot }

Issue Description
I am using examples provided by Realsense to extract aligned RGB and depth frames from a recorded .bag file. I have used both cpp and python wrapper examples provided by RealSense - code attached here. However in lot of frames, there is misalignment between the extracted depth and RGB frames (see attachments). I am using the latest version of librealsense (2.19.1). I am not able to figure out the issue. Need some help with it. Thanks!

Code.txt

Hi @shubhamchechani
Is this a standard D435 or an engineering sample of some sort?

It is a standard D435

Also, in some of the aligned frames, there is huge offsets between depth and RGB frames. Could it be because wait_for_frames() does not work in playback mode (loading frames a recorded bag file)?

Hi @shubhamchechani
Check the following script.

Hi @pedrombmachado , I checked and implemented the script. The only difference I could find is it looks even for left and right infra red images. Even still there is an offset between depth and color frames (usually by one/two frame(s).

I see what you mean... I also noticed a problem, it looks like the camera is very close to the object I would say about 40 cm. Can you try to increase the distance between the camera and the object?
As a last option, you can always calculate the depth map. Not ideal but solves the problem.

Hello @pedrombmachado : I am facing this issue even when the camera is at 2.5 meters distance from the objects.
My strong guess is there is some asynchronization between the depth and color streams.
Also, depth map calculation using two IR streams with IR projector turned on will yield incorrect results - because of the features from IR projector.

@dorodnic Can you please let me know if this is an issue with just playback (when we run from recorded .bag file)?

Hi @shubhamchechani,
You can have a try of dynamic calibrator (in below link) to calibrate the extrinsic data between RGB and depth and see how it works?
https://downloadcenter.intel.com/download/28517/Intel-RealSense-D400-Series-Calibration-Tools-and-API

Is the issue clarified? If no further question, will close this.


Update Arch Linux installation instructions

polybar is now available in official repos

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[ ] Bug Fix
[ ] Optimization
[x] Documentation Update
[ ] Other: Replace this with a description of the type of this PR

Description
Update Arch Linux instructions since polybar moved to [community]

Related Issues & Documents
N/A

Documentation (check all applicable)

[] This PR requires changes to the Wiki documentation (describe the changes)
[x] This PR requires changes to the documentation inside the git repo (please add them to the PR).
[x] Does not require documentation changes

Subscribed - thanks.


leap: Change tests assertIs(..., True) for assertTrue(...)

Predicate functions shouldn't convert its implementation based on
logic expressions (combinations of not, and and or).
I.e. The following should be correct:
def is_NOT_divisible_by_4(n):
    return n % 4

assert is_NOT_divisible_by_4(10)

But as the TestCases for this exercise are using assertIs(..., True) instead of assertTrue(...)`, implementations cointing on the numbers
behaviour on boolean contexts will Fail.
What this mean, is that for the given definition of
is_NOT_divisible_by_4, the folloging assertion will Fail:
assert is_NOT_divisible_by_4(10) == True

I think it is meaningless to check for True as it is naive to write:
if predicate(x) == True:
    do_something(x)

Instead of:
if predicate(x):
    do_something(x)

I strongly disagree. But maybe we can get more feedback on this. /cc @rootulp @pheanex @treyhunner
The history is that C back in 1972 didn't have a Boolean type and to this day they are commonly represented by integers in C programs. Also Python started without Boolean and added it with 2.3 if I remember correctly. So, that -2, 1, 42 evaluate to True and only 0 evaluates to False is a relic for compatibility reasons.
A predicate maps every argument to either true or false and a function maps every argument to a value. So perfect examples for a predicate functions like is_NOT_divisible_by_4 or is_leap_year should explicitly return True or False and not put their trust in some old implementation detail.

I'd go with the PEP8 suggestion: "Don't compare boolean values to True or False using ==".
I personally think it is shorter, more expressive and therefore better readable.
I guess PEP20/The Zen of Python may support this.

@behrtam I feel you, but remember that Python defines boolean_contexts. So [], None, False and 0 are false in that context. So:
# Altough ...
if [1,2,3]: print("will be printed")
# This ...
if [1,2,3] == True: print("this will not be printed :'(")
if [1,2,3] is True: print("and this neither :'(")

I've seen this practice not as a baggage from ancient times, but a Python way of reducing code, avoiding stuffs like:
if boolean([1,2,3]): print("will be printed")

Altough good in one way, any one could argue it is bad in the sense that it promotes the if [1,2,3]: instead the more explicit:
if len([1,2,3]) > 0: ...

But in any case, it is just another discussion that does nothing with the fact that in Python not only you can test truthfulness directly from some objects which implement a boolean context, but it is actually encouraged.

I'm torn on this.
I encourage students/peers to rely on truthiness to test for emptiness.
numbers = [1, 2, 3]

if numbers:
    print("numbers is not empty")

I don't typically encourage relying on truthiness for testing for non-zeroness though. I'd usually rather see n % 4 != 0 rather than n % 4.
However, I'm not sure how common this behavior is in other code and I don't know whether we should assume that the function returns True specifically rather than simply a "truthy" value. I'd tend to err on the side of accepting truthy values rather than exclusively True, even though I'd personally implement this function to return True/False specifically.
Here's a semi-related StackOverflow question with answers from Alex Martelli and Guido van Rossum. Unfortunately it doesn't answer this specific question directly (should this function return a truthy value or specifically True).

I think the key is in this question you do:

I don't know whether we should assume that the function returns True specifically rather than simply a "truthy" value

And it is easy: how do you imagine client code using the function is_leap_year:
if is_leap_year(1996):
    do_something()

or
if is_leap_year(1996) is True:
    do_something()

You could always write if is_leap_year(1996): do_something() whether you return True or a truthy value.
Okay, let's try to look at this from another angle. How would a solution to leap year look like that returns a truthy value instead of True/False?

You could always write if is_leap_year(1996): do_something() whether you return True or a truthy value.

In that case, I would  say then that the tests should accept solutions that return truthy values instead of True/False.

Okay, let's try to look at this from another angle. How would a solution to leap year look like that returns a truthy value instead of True/False?

This is an example. It returns for the year 1996 the value 96.
For 1997, 1998, 1900 and 2400 returns False, False, False, True respectively.
def is_leap_year(year):
    return not year%4 and year % 100 or not year % 400

This example would be accepted if the tests would check with assertTrue and assertFalse instead of assertIs.
I would add another point of view also.

What does it means assertTrue?
What does it means assertIs?
And what are our intentions on the test: Do we want to know if the objects are the same (using assertIs) or we want to know if the result is True or False?.

There is a recommendation in the same documentation on assertTrue which promotes the use of other assert method thant  assertTrue if it is more specific. It gives the following example: use assertEqual(a == b) instead of assertTrue(a == b). The reason is simply because of a better error messages on failures, but it is a reason.
Well, then, we could argue the same for assertIs. Use assertTrue(exp) instead of assertIs(exp, True) because is a more specific method.
As a curiosity, note how the implementation of assertTrue wraps the expression evaluated with bool(exp).

>>> def is_leap_year(year):
...     return not year % 4 and year % 100 or not year % 400
...
>>> [is_leap_year(y) for y in [1996, 1997, 1998, 2004, 2400]]
[96, False, False, 4, True]
>>>

I also tried to come up with an truthy example and only found solutions like yours that only sometimes return truthy values. So is our intention to encourage ugly solutions that return Booleans and Integers?
The error messages only differ in one character which is either upper or lower case:
======================================================================
FAIL: test_leap_year (__main__.YearTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "foobar.py", line 8, in test_leap_year
    self.assertIs(is_leap_year(1996), True)
AssertionError: False is not True

======================================================================
FAIL: test_leap_year (__main__.YearTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "foobar.py", line 9, in test_leap_year
    self.assertTrue(is_leap_year(1996))
AssertionError: False is not true

Note: I just try to play devil's advocate to find out what the consequences are of this change, but maybe I'm overdoing it. All existing solutions would still be green and those that would newly be accepted would also be doing the right thing. So, maybe we should just merge it.

I think this test:
self.assertTrue(is_leap_year(1996))

is clearer than this test:
self.assertIs(is_leap_year(1996), True)

Unfortunately, using assertTrue only tests for truthy values and I think this implementation:
def is_leap_year(year):
    return not year % 4 and year % 100 or not year % 400

is far less easy to reason about than an implementation that explicitly returns True or False.  I think encouraging students to return True or False from is_leap_year() leads to higher code quality.

I totally agree with @rootulp. Normally assertTrue() should be preferred as it's more explicit but in this special case assertIs() should lead to better code quality.


Use nx as a task runner

This sets up nx with shared cache for transpile, test and lint actions. Try
following the new instructions in the readme file.

Sorry, wrong branch


Flask container fail to start

The flask container is unable to start.

When I try to see what's happening in the flask container by displaying logs :

Docker version 18.03.0-ce, build 0520e24302
on Windows 10

Same here on windows 10

Same error, any work around?

Sorry for late response. This should be fixed now.


Fqm error handling

Summary
Added a try catch statement around all fqm-execution calculator functions to more gracefully handle errors which occur inside fqm-execution and display more helpful error messages. Also added React Router to display results information on a new page and added patient information to results page.
New behavior
-Added more graceful error handling for errors in fqm-execution
-Added alerts to display simple error messages in the UI
-Disabled summary selection for Gaps in Care reports
-Added React Router
-Printed results to /results page and navigate to that page upon successful calculation
-Printed patient bundle results to results page
Code changes
Changes are in App.tsx, index.tsx, and components/ResultsPage.tsx
Testing guidance
Ensure that the summary button is disabled and individual button is auto-selected when gaps in care is selected. Check that a valid calculation always takes us to a results page and that the routing back to the home page works. Check that errors in fqm-execution (try using EXM-149) will display in an alert and the error log in the console, but will not crash the app entirely.

I like this! I had one question about the functionality. Do we think that the reset button should clear the error message at the top of the screen?

Looks like this in app:

One more quick bug that might be worth fixing. When you click the reset button with Gaps in Care output type selected, the Individual report type radio button gets deselected, but the type choice remains greyed out. You can fix it by toggling the output type, but that may not be intuitive to all users.


add: Anjal Binayak Adhikari

Description
I have added my github profile
Related Issues

Changes Proposed

Checklist

[ ] I have read and followed the Contribution Guidelines.
[ ] All new and existing tests passed.
[ ] I have updated the documentation to reflect the changes I've made.
[ ] My code follows the code style of this project.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

@anjalbinayak Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


Parser failing on RDF/XML files with rdf:about=""

Hi, I am trying to load RDF/XML files from UniProt and I'm hitting this error:
SourceError(RdfXmlError { kind: InvalidIri { iri: "", error: IriParseError { kind: NoScheme } } })

Here is a minimal example which reproduces the problem:
<?xml version='1.0' encoding='UTF-8'?>
<rdf:RDF xmlns="http://purl.uniprot.org/core/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<owl:Ontology rdf:about="">
	<owl:imports rdf:resource="http://purl.uniprot.org/core/"/>
</owl:Ontology>
</rdf:RDF>

Apparently the document IRI should be used as the base in this case. Here is the n3 representation if I parse it (as a local file) with rapper:
<file:///home/james/grebi/rust/keywords.rdf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> .
<file:///home/james/grebi/rust/keywords.rdf> <http://www.w3.org/2002/07/owl#imports> <http://purl.uniprot.org/core/> .

Parser accepts base field, to customise base uri.

Ah that makes sense! thank you


feat(watch): set hasleader metadata

According to comment of Watcher in etcd repo

In order to prevent a watch stream being stuck in a partitioned node, make sure to wrap context with "WithRequireLeader".

The WithRequireLeader function set the metadata hasleader to true, and etcdctl has done this, so maybe we should do the same?
Another way is to provide a function to set metadata of requests, but I believe set hasleader in watch is what etcd recommended since it's crucial to know if the current etcd endpoint is working  properly or not.

releted to #79

Thanks! LGTM


Deployment on Shared Hosting

Hello,
I have a question about deploying applications that use ImageProcessor.Web in a shared hosting environment.
It seems that ImageProcessor tries to start cmd.exe which is not allowed in most of shared hosting environments. Since the access is denied, ImageProcessor crashes and no image is returned.
Is there something that can be done to have ImageProcessor work properly in a shared hosting environment?
Many thanks

Hi there,
This issue has already been raised here #268
Turn off post processing using the configuration
You can install the configuration Nuget package here
Cheers!

Many thanks for the quick reply. Much appreciated! This is a very cool project. Keep up the good work!

No problem, happy to help! :smile:


[Bug]: Missing I18n plugin

Version
System:
    OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12600K
    Memory: 17.58 GB / 27.30 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  npmPackages:
    @modern-js/app-tools: 2.53.0 => 2.53.0
    @modern-js/eslint-config: 2.53.0 => 2.53.0
    @modern-js/plugin-bff: 2.53.0 => 2.53.0
    @modern-js/plugin-express: 2.53.0 => 2.53.0
    @modern-js/plugin-tailwindcss: 2.53.0 => 2.53.0
    @modern-js/runtime: 2.53.0 => 2.53.0
    @modern-js/tsconfig: 2.53.0 => 2.53.0

Details
Missing i18n plugin in the modern new -> Enable Features
Also it looks like the modernjs documentation is missing the i18n plugin documentation section.
Reproduce link
No demo needed
Reproduce Steps
Simply start any modern project and try to add a plugin using the modern new

What kind of ability do you need for i18n? Currently, the i18n plugin in Modern.js is only used internally.

Well instead of installing a bunch of modules and setting up an i18n library, using your plugin would be a lot easier, and actually I am using it, and it works perfectly.
I installed it without using the CLI.


Change output-folder of api-version 2019-05-01 of logic for go SDK

The api-version 2019-05-01 of logic is a stable package, but locates to preview directory by mistake, this PR is correcting this, and will be released in go SDK's next major version.
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

/azp run

The change itself looks good. Hi @ArcturusZhang just to confirm, will the change cause go SDK user experience change?

Can one of the admins verify this patch?

The change itself looks good. Hi @ArcturusZhang just to confirm, will the change cause go SDK user experience change?

Yes, but this change will only be released in a major version.


public-vm: minimal PIL circuit implementation (only ADD instruction, field memory only)

Scrum notes:

design suboperations and link to memory trace
decisions regarding Ia, Ib, Ic registers

parallelize, or switches?
might need columns for all possible loads/stores to each registers


Don't show ext getting started page if installed via settings sync

Setting up new computer I log into settings sync which installs Luna Paint and it shows the getting started page:

We shouldn't be automatically showing the new getting started if the install was triggered by sync imo.

Hm... we have code to protect against that but there may be a race condition whereby the synced state representing the set of previously auto-opened walkthroughs state isn't available at the time the extension gets installed.

This also seems to happen a lot with Codespaces, confirmed by @burkeholland and others.

@Tyriar Do you have any suggestions for debugging setting sync related issues like this? I've never had to work with a bug caused by a race condition so I'm not sure. Do I enable sync in OSS and just keep clearing my data directory?

@lramos15 Please feel free to ping me on Slack and we can sync offline.

This should be fixed with https://github.com/microsoft/vscode/pull/170108
Related https://github.com/microsoft/vscode/issues/137526.

@bhavyaus @lramos15 are there verif steps to trigger the race condition? I tested on codespaces and didn't see the welcome page for installed extensions by settings sync.

@andreamah That should be enough so I'll mark as verified as I also haven't seen it in a bit on newly synced machines


Problems in build - jsoncpp 1.7.4-3

I have problems with a new installation (build from github):
$ sudo make install
[  1%] Built target xpp
[  2%] Building CXX object lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o
/tmp/polybar/lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/json_reader.cpp: In member function ‘bool Json::OurReader::readToken(Json::OurReader::Token&)’:
/tmp/polybar/lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/json_reader.cpp:1230:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
     if (features_.allowSingleQuotes_) {
     ^~
/tmp/polybar/lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/json_reader.cpp:1235:3: note: here
   case '/':
   ^~~~
cc1plus: all warnings being treated as errors
lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/build.make:62: set di istruzioni per l'obiettivo "lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o" non riuscito
make[2]: *** [lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o] Errore 1
CMakeFiles/Makefile2:559: set di istruzioni per l'obiettivo "lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/all" non riuscito
make[1]: *** [lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/all] Errore 2
Makefile:129: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2

Installed with sudo apt install libjsoncpp1
OS: Debian GNU/Linux testing (buster) x8
Kernel: 4.12.0-1-amd64
jsoncpp version: 1.7.4-3

This happens because you don't have jsoncpp 1.7.7 or higher installed and are compiling with gcc.
The easiest fix is to run cmake again with -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++".
I have submitted a PR to i3ipcpp to address this.

I can build with the provided flags, but just a heads up, this is not fixed. I still cannot build without the above flags.
[~/Downloads/polybar/build] nick@bender$ sudo make install
Scanning dependencies of target xpp
[  1%] Linking CXX static library libxpp.a
list: size, ['red', 'green', 'blue']
list: size, ['red', 'green', 'blue']
[  1%] Built target xpp
Scanning dependencies of target jsoncpp_lib_static
[  2%] Building CXX object lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o
/home/nick/Downloads/polybar/lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/json_reader.cpp: In member function ‘bool Json::OurReader::readToken(Json::OurReader::Token&)’:
/home/nick/Downloads/polybar/lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/json_reader.cpp:1230:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
     if (features_.allowSingleQuotes_) {
     ^~
/home/nick/Downloads/polybar/lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/json_reader.cpp:1235:3: note: here
   case '/':
   ^~~~
cc1plus: all warnings being treated as errors
make[2]: *** [lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/build.make:63: lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:560: lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Also worth posting
[~/Downloads/polybar/build] nick@bender$ sudo dnf info jsoncpp
Last metadata expiration check: 1:55:25 ago on Fri 24 Nov 2017 04:20:58 PM EST.
Installed Packages
Name         : jsoncpp
Version      : 1.8.1
Release      : 3.fc26
Arch         : x86_64
Size         : 217 k
Source       : jsoncpp-1.8.1-3.fc26.src.rpm
Repo         : @System
From repo    : updates
Summary      : JSON library implemented in C++
URL          : https://github.com/open-source-parsers/jsoncpp
License      : Public Domain or MIT
Description  : jsoncpp is an implementation of a JSON (http://json.org) reader and writer in
             : C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format.
             : It is easy for humans to read and write. It is easy for machines to parse and
             : generate.

Available Packages
Name         : jsoncpp
Version      : 1.8.1
Release      : 3.fc26
Arch         : i686
Size         : 92 k
Source       : jsoncpp-1.8.1-3.fc26.src.rpm
Repo         : updates
Summary      : JSON library implemented in C++
URL          : https://github.com/open-source-parsers/jsoncpp
License      : Public Domain or MIT
Description  : jsoncpp is an implementation of a JSON (http://json.org) reader and writer in
             : C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format.
             : It is easy for humans to read and write. It is easy for machines to parse and
             : generate.

@ollien You need to update polybar to the latest git commit, this problem still occurs in 3.0.5

@patrick96 I am on 1158d5d.

Yes, that's the most recent one. But I see from the following line in your log that you don't have the fix for this issue in your repo, because there is something else on that line in the newest version:
/home/nick/Downloads/polybar/lib/i3ipcpp/libs/jsoncpp-1.7.7/src/lib_json/json_reader.cpp:1235:3: note: here
   case '/':

Maybe you need to run git submodule update and if that doesn't work, delete the repo and clone it again.

Yep, that did it. Thank you!


Getting 400 error when trying PUSH, ANALYZE an image

Hi jgsqware,
Im trying to scan an image and the response i keep getting is a 400 error from clair
Please see output below:
/go/bin # clairctl health
Clair: ✔
/go/bin # clairctl --log-level debug pull node
2017-05-03 14:07:37.238585 D | config: Using config file: /go/bin/clairctl.yml
2017-05-03 14:07:37.238740 D | dockerdist: Downloading manifest for node
2017-05-03 14:07:37.238832 D | dockerdist: Retrieving repository client
2017-05-03 14:07:37.238907 D | dockerdist: endpoint.TLSConfig.InsecureSkipVerify: true
2017-05-03 14:07:38.707679 D | dockerdist: manifest type: *schema2.DeserializedManifest
2017-05-03 14:07:38.707702 D | dockerdist: retrieved schema2 manifest, no verification
Image: docker.io/library/node:latest
8 layers found
➜ sha256:cd0a524342efac6edff500c17e625735bbe479c926439b263bbe3c8518a0849c
➜ sha256:e39c3ffe41332a7a3c7f85f57e547361ec90b6e0091dd6058e06acccde2217d4
➜ sha256:85334a7c200103c122f3cbf56460f28fe688abc52655dc714afa939e49848ba8
➜ sha256:4c546d9d6a84ca2a1b7459a47978abe757bf67096d9dd704a9a5a0a786d2d325
➜ sha256:fa1ae2b8eedbdced67fe83aef561676ef90e78c7619042fe678c9023492be02b
➜ sha256:2e2f1cff6e9fd9e22ef1455c0a39a52f057bbbcc8d1fcf90a8257860ecfc89b4
➜ sha256:aa7b15936229d7e7931464c4aed9881f120c3002ec873b657b6a32e91720de8a
➜ sha256:04b1d7bd151da11311fffbbd1df3eaedaf89aac9d43d455422f1e3099d8a9754
/go/bin # clairctl --log-level debug analyze node
2017-05-03 14:07:51.113260 D | config: Using config file: /go/bin/clairctl.yml
2017-05-03 14:07:51.113423 D | dockerdist: Downloading manifest for node
2017-05-03 14:07:51.113548 D | dockerdist: Retrieving repository client
2017-05-03 14:07:51.113617 D | dockerdist: endpoint.TLSConfig.InsecureSkipVerify: true
2017-05-03 14:07:52.590200 D | dockerdist: manifest type: *schema2.DeserializedManifest
2017-05-03 14:07:52.590226 D | dockerdist: retrieved schema2 manifest, no verification
2017-05-03 14:07:52.590244 I | config: retrieving interface for local IP
2017-05-03 14:07:52.590248 D | config: no interface provided, looking for docker0
2017-05-03 14:07:52.590773 D | config: docker0 not found, looking for first connected broadcast interface
2017-05-03 14:07:52.591803 D | server: Update local server port from "0" to "42927"
2017-05-03 14:07:52.591814 I | server: Starting Server on <IP_ADDRESS>:42927
2017-05-03 14:07:52.596004 I | config: retrieving interface for local IP
2017-05-03 14:07:52.596019 D | config: no interface provided, looking for docker0
2017-05-03 14:07:52.596091 D | config: docker0 not found, looking for first connected broadcast interface
2017-05-03 14:07:52.596225 I | clair: Pushing Layer 1/8 [sha256:cd0a5]
2017-05-03 14:07:52.596302 D | clair: Saving sha256:cd0a524342efac6edff500c17e625735bbe479c926439b263bbe3c8518a0849c[https://registry-1.docker.io]
2017-05-03 14:07:52.606308 D | server: request url: /v2/library/node/blobs/sha256:cd0a524342efac6edff500c17e625735bbe479c926439b263bbe3c8518a0849c
2017-05-03 14:07:52.606325 D | server: request for image: node
2017-05-03 14:07:52.606385 D | server: host retreived: https://registry-1.docker.io
2017-05-03 14:07:52.606410 D | server: auth.insecureSkipVerify: true
2017-05-03 14:07:52.606419 D | server: request.URL.String(): https://registry-1.docker.io/v2/library/node/blobs/sha256:cd0a524342efac6edff500c17e625735bbe479c926439b263bbe3c8518a0849c
2017-05-03 14:07:52.949315 I | server: pull from clair is unauthorized
2017-05-03 14:07:53.688917 I | clair: adding layer 1/8 [sha256:cd0a5]: receiving http error: 400
client quit unexpectedly
2017-05-03 14:07:53.688961 C | cmd: pushing image "node:latest": receiving http error: 400

I am experiencing the same issue with the latest clarirctl build from master.
Also, I am running clair-2.0-rc1 as the backend

me too

same here. so what does clairctl expect from clair?
2017-05-10 11:08:53.044400 I | clair: Pushing Layer 1/8 [sha256:cd0a5]
2017-05-10 11:08:53.044466 D | clair: Saving sha256:cd0a524342efac6edff500c17e625735bbe479c926439b263bbe3c8518a0849c[https://registry-1.docker.io]
2017-05-10 11:08:53.151730 I | clair: adding layer 1/8 [sha256:cd0a5]: receiving http error: 400
client quit unexpectedly
2017-05-10 11:08:53.151764 C | cmd: pushing image "node:latest": receiving http error: 400

oh. now I think I start to understand. clair tries to talk back to the callee?
2017-05-10 09:08:54.745577 E | worker: layer sha256:cd0a524342efac6edff500c17e625735bbe479c926439b263bbe3c8518a0849c: failed to extract data from http://<IP_ADDRESS>:63063/v2/library/node/blobs/sha256:cd0a524342efac6edff500c17e625735bbe479c926439b263bbe3c8518a0849c: could not find layer

which it naturally is not able to

@ehaselwanter I am trying to do something very similar and having the same sort of issue

checked back with analyze-local-images this does not work either. same thing. so this local checking really does mean 'local' as in: you need to run it on the node clair runs.
but why am I able to specify a uri for clair then?
@jgsqware would you mind to share your knowledge about what should and what should not work?
what I want:

run clair on node a
run clairctl against node b

node a is able to have an outbound connection to node b
node b is not able to reach node a
if node b is not able to reach node a is a must: is there a certain port-range which needs to be open?

Hi, clairctl play as à reverse proxy for clair. Si when you want to analyse
an image in clair, you send the layers url to clair and clair download it.
The registry should be accessible by clair. In case of local images,
clairctl create a local server where clair can download layers. (it's the
clairctl url in your configuration file). Si that's why you receive a error
400.
I already had some discussion with clair maintainer to add the possibility
to post the layer. I have to implement it.
Is it answering your question?
Le mer. 10 mai 2017 20:35, Edmund Haselwanter<EMAIL_ADDRESS>a
écrit :

checked back with analyze-local-images this does not work either. same
thing. so this local checking really does mean 'local' as in: you need to
run it on the node clair runs.
but why am I able to specify a uri for clair then?
@jgsqware https://github.com/jgsqware would you mind to share your
knowledge about what should and what should not work?
what I want:

run clair on node a
run clairctl against node b

node a is able to have an outbound connection to node b
node b is not able to reach node a
if node b is not able to reach node a is a must: is there a certain
port-range which needs to be open?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jgsqware/clairctl/issues/35#issuecomment-300574328,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADJrq5U6hlGnekTQuyfdrFoVgg_kmBL0ks5r4gN5gaJpZM4NPewW
.

it is

I'm experiencing the same issue, any update here?

I will try to reproduce it

ok here is working
> go run main.go --log-level=debug analyze node

Image: docker.io/node:latest
 8 layers found

  ➜ Analysis [sha256:d3b6d] found 94 vulnerabilities.
  ➜ Analysis [sha256:671d0] found 94 vulnerabilities.
  ➜ Analysis [sha256:1df5a] found 94 vulnerabilities.
  ➜ Analysis [sha256:74bb2] found 94 vulnerabilities.
  ➜ Analysis [sha256:dbed9] found 94 vulnerabilities.
  ➜ Analysis [sha256:9021b] found 32 vulnerabilities.
  ➜ Analysis [sha256:fb593] found 24 vulnerabilities.
  ➜ Analysis [sha256:10a26] found 16 vulnerabilities.

So yes clair tried to connect the request initiator for authentication. I think in the last updates we can pass authorization token header to the clair request . I will investigate that

Here's my failure push run, analyze gives the same error.
./clairctl push --log-level debug -l centest1
2017-05-17 15:57:45.453239 D | config: Using config file: /clair/clairctl.yml
2017-05-17 15:57:45.453425 I | config: retrieving interface for local IP
2017-05-17 15:57:45.453433 D | config: no interface provided, looking for docker0
2017-05-17 15:57:45.455564 D | server: Update local server port from "0" to "37797"
2017-05-17 15:57:45.455579 I | server: Starting Server on <IP_ADDRESS>:37797
2017-05-17 15:57:45.460097 D | dockercli: docker image to save: centest1:latest
2017-05-17 15:57:45.460110 D | dockercli: saving in: /tmp/clairctl/centest1/blobs
2017-05-17 15:57:50.114878 I | config: retrieving interface for local IP
2017-05-17 15:57:50.114916 D | config: no interface provided, looking for docker0
2017-05-17 15:57:50.116624 I | clair: using http://<IP_ADDRESS>:37797/local as local url
2017-05-17 15:57:50.116678 I | clair: Pushing Layer 1/3 [bad6ca077b5b]
2017-05-17 15:57:50.116930 D | clair: Saving bad6ca077b5b0d46b546a4fef560ffd5ec8d2a9f30b716205be6952b4704c694[https://]
2017-05-17 15:57:51.124461 I | clair: adding layer 1/3 [bad6ca077b5b]: receiving http error: 400
client quit unexpectedly
2017-05-17 15:57:51.124496 C | cmd: pushing image "centest1:latest": receiving http error: 400

The clair (running in docker) log states:
{"Event":"could not download layer","Level":"warning","Location":"driver.go:129","Time":"2017-05-17 13:57:51.123092","error":"Get http://<IP_ADDRESS>:37797/local/centest1/blobs/bad6ca077b5b0d46b546a4fef560ffd5ec8d2a9f30b716205be6952b4704c694/layer.tar: dial tcp <IP_ADDRESS>:37797: getsockopt: no route to host"}
{"Event":"failed to extract data from path","Level":"error","Location":"worker.go:122","Time":"2017-05-17 13:57:51.123717","error":"could not find layer","layer":"bad6ca077b5b0d46b546a4fef560ffd5ec8d2a9f30b716205be6952b4704c694","path":"http://<IP_ADDRESS>:37797/local/centest1/blobs/bad6ca077b5b0d46b546a4fef560ffd5ec8d2a9f30b716205be6952b4704c694/layer.tar"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-17 13:57:51.124133","elapsed time":1004648648,"method":"POST","remote addr":"<IP_ADDRESS>:37482","request uri":"/v1/layers","status":"400"}

HTH

Ok, I found a fix for docker registry. I do some refactoring and push that soon

Could you try with the code of the PR #40 ?

Here are the results, unfortunately it isn't working yet.
./clairctl push --log-level debug -l centest1
2017-05-17 18:48:26.247508 D | config: Using config file: /clair/clairctl.yml
2017-05-17 18:48:26.247733 I | config: retrieving interface for local IP
2017-05-17 18:48:26.247745 D | config: no interface provided, looking for docker0
2017-05-17 18:48:26.249091 D | server: Update local server port from "0" to "40438"
2017-05-17 18:48:26.249108 I | server: Starting Server on <IP_ADDRESS>:40438
2017-05-17 18:48:26.253717 D | dockercli: docker image to save: centest1:latest
2017-05-17 18:48:26.253730 D | dockercli: saving in: /tmp/clairctl/centest1/blobs
2017-05-17 18:48:31.276651 I | config: retrieving interface for local IP
2017-05-17 18:48:31.276685 D | config: no interface provided, looking for docker0
2017-05-17 18:48:31.278357 I | clair: using http://<IP_ADDRESS>:40438/local as local url
2017-05-17 18:48:31.278376 I | clair: Pushing Layer 1/3 [bad6ca077b5b]
2017-05-17 18:48:31.278645 D | clair: Saving bad6ca077b5b0d46b546a4fef560ffd5ec8d2a9f30b716205be6952b4704c694[https:///v2]
2017-05-17 18:48:31.278700 D | clair: auth.insecureSkipVerify: true
2017-05-17 18:48:31.278712 D | clair: request.URL.String(): https:///v2/centest1/blobs/bad6ca077b5b0d46b546a4fef560ffd5ec8d2a9f30b716205be6952b4704c694/layer.tar
2017-05-17 18:48:31.278730 E | clair: response error: Head https:///v2/centest1/blobs/bad6ca077b5b0d46b546a4fef560ffd5ec8d2a9f30b716205be6952b4704c694/layer.tar: http: no Host in request URL
2017-05-17 18:48:31.282464 I | clair: adding layer 1/3 [bad6ca077b5b]: receiving http error: 400
client quit unexpectedly
2017-05-17 18:48:31.282488 C | cmd: pushing image "centest1:latest": receiving http error: 400

Corresponding clair logs:
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-17 16:50:17.282694","elapsed time":282927,"method":"POST","remote addr":"<IP_ADDRESS>:35476","request uri":"/v1/layers","status":"400"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-17 16:50:58.802613","elapsed time":6481798,"method":"POST","remote addr":"<IP_ADDRESS>:35586","request uri":"/v1/layers","status":"400"}

In your case, you are using the local flag. Clair should have accessible to
clairctl Host to download the layers. Is the clair instance able to connect
to the clairctl Host ?
Le mer. 17 mai 2017 18:51, Marcel Boogert<EMAIL_ADDRESS>a
écrit :

Here are the results, unfortunately it isn't working yet.
./clairctl push --log-level debug -l centest1
2017-05-17 18:48:26.247508 D | config: Using config file: /clair/clairctl.yml
2017-05-17 18:48:26.247733 I | config: retrieving interface for local IP
2017-05-17 18:48:26.247745 D | config: no interface provided, looking for docker0
2017-05-17 18:48:26.249091 D | server: Update local server port from "0" to "40438"
2017-05-17 18:48:26.249108 I | server: Starting Server on <IP_ADDRESS>:40438
2017-05-17 18:48:26.253717 D | dockercli: docker image to save: centest1:latest
2017-05-17 18:48:26.253730 D | dockercli: saving in: /tmp/clairctl/centest1/blobs
2017-05-17 18:48:31.276651 I | config: retrieving interface for local IP
2017-05-17 18:48:31.276685 D | config: no interface provided, looking for docker0
2017-05-17 18:48:31.278357 I | clair: using http://<IP_ADDRESS>:40438/local as local url
2017-05-17 18:48:31.278376 I | clair: Pushing Layer 1/3 [bad6ca077b5b]
2017-05-17 18:48:31.278645 D | clair: Saving bad6ca077b5b0d46b546a4fef560ffd5ec8d2a9f30b716205be6952b4704c694[https:///v2]
2017-05-17 18:48:31.278700 D | clair: auth.insecureSkipVerify: true
2017-05-17 18:48:31.278712 D | clair: request.URL.String(): https:///v2/centest1/blobs/bad6ca077b5b0d46b546a4fef560ffd5ec8d2a9f30b716205be6952b4704c694/layer.tar
2017-05-17 18:48:31.278730 E | clair: response error: Head https:///v2/centest1/blobs/bad6ca077b5b0d46b546a4fef560ffd5ec8d2a9f30b716205be6952b4704c694/layer.tar: http: no Host in request URL
2017-05-17 18:48:31.282464 I | clair: adding layer 1/3 [bad6ca077b5b]: receiving http error: 400
client quit unexpectedly
2017-05-17 18:48:31.282488 C | cmd: pushing image "centest1:latest": receiving http error: 400
Corresponding clair logs:
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-17 16:50:17.282694","elapsed time":282927,"method":"POST","remote addr":"<IP_ADDRESS>:35476","request uri":"/v1/layers","status":"400"}
{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2017-05-17 16:50:58.802613","elapsed time":6481798,"method":"POST","remote addr":"<IP_ADDRESS>:35586","request uri":"/v1/layers","status":"400"}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jgsqware/clairctl/issues/35#issuecomment-302151748,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADJrq9QuBiqep336MWLbmY8thedBkNZSks5r6yWpgaJpZM4NPewW
.

2017-05-17 18:48:26.249108 I | server: Starting Server on <IP_ADDRESS>:40438

clairctl IP(<IP_ADDRESS>) should be docker IP, I think the the clair instance can not to connect to the clairctl Host
@jgsqware

@lcgkm good catch.
@mboogert if you run clairctl in a container, you should expose the clairctl port. It can be configured via your .clairctl.yml file.
if not, you can specify a specific interface to clairctl connect on, as @lcgkm said #39

Thanx @lcgkm !!
I had to allow the local docker0 subnet to connect to my local machine. It's all running in the same machine. It's working now !!

@mboogert Could you please explain a little more on how you solved this problem?

I'm also curious.

I needed to add the following iptables rule:
-A POSTROUTING -s <IP_ADDRESS>/16 ! -o docker0 -j MASQUERADE


/path/to/instance/ ???

I copied and pasted my Game.ini and GameUserSetting.ini to the same folder on a new server /ShooterGame/Config/LinuxServer/ and neither are working. Look at the readme and it says /path/to/instance/config.*******. I have no idea what this means. I also don't know why the game.ini and gameusersettings.ini are not working when they previously worked on another server and I haven''t the slightest what it means by /path/to/instance/. Does that mean in that instance folder with ShooterGame folder? or Config/LinuxServer? I can't tell if it just isn't working for me or they have relocated the folder in which it is supposed to be in for arkmanager.

Replace /path/to/instance/config with the path to the instance config

so in my scenario, /etc/arkmanager/instances/config.game.ini file.
I have tried there and it is not loading my game.ini file. Unless "config" relates to the name of the config instead of just "config.game.ini", run it as "nameofinstance.game.ini"

Your Game.ini and GameUserSettings.ini belong in ShooterGameServer/Saved/Config/LinuxServer.  The ini files specified by arkGameUserSettingsIniFile and arkGameIniFile (which by default have the same basename and path as your instance config) overwrite those files.
Assuming your instance config is /etc/arkmanager/instances/crystal.cfg, then /etc/arkmanager/instances/crystal.GameUserSettings.ini will overwrite ShooterGameServer/Saved/Config/LinuxServer/GameUserSettings.ini

permissions in Linux are a $%#@ that's all. :) Thank you!


Extend Limiting Links in RichTextField

Is your proposal related to a problem?

I am currently struggling with removing the Internal Link option from a project. Nobody who is working on it can figure out why, but Internal Link always becomes "None" when we pick a page, meaning it doesn't work at all, so we figured using external links works fine. However, we obviously don't want to ship a broken product, which is what Internal Links currently are, but there is absolutely no way to remove them.
Describe the solution you'd like

When using RichTextField(features=['h2', 'h3', ...) make it possible to pick specific link types, not just link
Describe alternatives you've considered

I have tried using CSS to hide the option and then a hook to make the default External Link doesn't seem to work, because after making another link it defaults back to Internal Link. I also wanted to try to extend the admin templates to remove it, but the chooser/_link_types.html file is not extendable as it doesn't use any blocks.
Additional context

The rest of the wagtailadmin pages that don't already should use blocks, so that one can extend them and modify them manually if what you are trying to do doesn't exist already.

You seem to propose a complex workaround to Wagtail as a fix for a bug in your project...
I'm pretty sure that internal links in a clean Wagtail project work fine. Internal links are a core feature for a CMS.
I'd advice you to seek support on fixing your internal link bug.

Regardless, it's a feature that would be nice to have.

Using only external URLs (that is full URLs) is prone to issues. e.g. if the paths change.
Granted that is likely less of an issue as 2.16 which introduced automatic redirect creation.
As @allcaps mentioned internal links are a core feature. I would suggest creating your own link chooser plugin (see https://docs.wagtail.org/en/stable/extending/extending_draftail.html#extending-the-draftail-editor as a staring point)


potentially incorrect instructions in customer guide

[Enter feedback here]
in the "Give tenant 2 access" section:
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/share-images-across-tenants#give-tenant-2-access
this doc says:

In the Azure portal sign in as Tenant 2 and give the app registration access to the resource group where you want to create the VM.
Select the resource group and then select Access control (IAM). Under Add role assignment select Add.
Under Role, type Contributor.

(emphasis mine)
I am an Azure support engineer helping a customer work through this and when we granted Contributor access at the resource group level, we still received permissions errors. We the added permission at the subscription level and the script worked. The instructions should be changed, or if resource group level works in some scenarios a tip should be added that if you still get permissions errors try elevating access to the subscription level.

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

ID: a777eea0-acf4-6f1d-9e56-e6069dddc577
Version Independent ID: d858a0bd-ec1c-4e32-e1d1-784feecd57c0
Content: Share gallery images across tenants - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/share-images-across-tenants.md
Service: virtual-machines
Sub-service: gallery
GitHub Login: @sandeepraichura
Microsoft Alias: saraic

@ZeroDeltaE-MS
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@sandeepraichura
Can you please check and add your comments on this doc update request as applicable.

#please-close This article has been retired and should redirect to a simpler sharing solution for cross-tenant (Direct Shared). Thank  you!


Suggest usernames when typing @ in comment

When typing @ in a comment box and writing > 2 letters we should be filtering through a list of usernames to find usernames that match and show a list to the user.
Looked like this in old codebase, feel free to make it look better:

Ready for testing on dev

That's doable. I'll implemented it in a way when mentions list is populated with usernames of people who have commented on the question until the user triggers BE request to search (input query is > 2 symbols)

The latest changes are available for testing on dev

Some comments:

author usernames should be included in the mentions list
I see this bug occasionally, where the link to the user is displayed, but it's not clear to me what causes it

it'd be nice if the mentions list was sorted so it started with the names that begin with what I've written (e.g. @ryanb should list RyanBeck before bryanbaran).
Occasionally if I write @ryanb, go down to the menu and press tab on RyanBeck, I get @ryan@Ryanbeck. Also when this happens ctrl+A and backspace deletes only the first character.
if I try to select a tagged username in the comment box (either by dragging my cursor over the username or pressing shift+up), my cursor disappears and stops working. I have to click the comment box again for it to work.
currently selecting a username automatically enters a space after I press another character, but this is not shown before. That is: I write out @ and then nangchrys, I press tab and I see @nangchrys|, I press "a" and I see @example123 a|. But I instinctively press space after @nangchrys| and end up with two spaces.

Do you mean question authors? We already populate the list with comment authors and it seems to work correctly, so want to double-check

Yes, comment authors seems to work correctly to me too.

Could you share a link to comment where this was reproduced?

Here are some: one, two, three, four. I've only seen it happen when the tag is created by the reply button, but these are also more frequent so I'm not sure. Also I think it's visible when it happens, i.e. if the user is paying attention they can see and delete the extra link and it works fine.

I wasn't able to reproduce it. Could you share which browser and OS you're using? Also, it would be very helpful if you could record a screencast (maybe there are some specific pre-conditions when the issue appears)

Firefox on Windows. It doesn't happen always, here it happens twice I think, once in the beginning and once in the end. You can see my attempt at deleting it by ctrl+A & backspace repeatedly.
https://github.com/user-attachments/assets/9bc563a2-97a4-4aa6-a465-bee86c93f95d

Also another bug. Steps to reproduce:

Click reply in a comment.
Click in the comment box, it shows this

Without typing anything click outside the comment box. It shows this

Click in the comment box again and try to type. Nothing happens.

Deployed fixes to the dev environment. Some key updates: mentions are now displayed as plain text in edit mode rather than being formatted as markdown links (similar to how GitHub handles it). This change resolves the conflict between the mentions plugin and the editor’s native link plugin. It also provides a more scalable solution, as mentions will be stored as regular links in the backend. This approach eliminates dependency on the profile page’s URL schema on the client side.
Regarding the following point:

f I try to select a tagged username in the comment box

Adding proper styling for a focused mention box in edit mode would require significant effort. The reason is that the mentions package we use is not fully supported by the MDX Editor. The plugin’s theming API isn’t compatible with the editor, so we’d need to implement a custom patch for the package. Given this, I assume this option is not critical. However, let me know if we should prioritize it. We can either include it as part of this high-priority ticket or create a separate, lower-priority task for it.

Everything seems to be working great and the remaining issue is definitely low-priority. Thanks!

@nangchrys could you put the remaining issue(s) in a new ticket? I'll close this one.

Tracking here: https://github.com/Metaculus/metaculus/issues/1597


Validating subscription receipt on Android..

So i manged to validate the receipt on ios for auto renewal subscription, and when i want to check if the subscription is still active i can send the receipt again to my server to get the new expiration date..
but what about android? is it the same process? I just send the receipt to my server and send it again whenever i need the updated expiration date?  and how the validation response will look like?

@iaphub Can you handle this question? I use to handle receipt with other modules in my other app. You may find something like node-iap.

If you call getSubscriptions() and your subscription is returned, it means that your subscription is active


FreeBSD: use of undeclared crate or module secret_service

Someone reported the following issue on my project:
error[E0433]: failed to resolve: use of undeclared crate or module `secret_service`
  --> /home/fc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/keyring-2.0.4/src/secret_service.rs:82:5
   |
82 | use secret_service::blocking::{Collection, Item, SecretService};
   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `secret_service`

error[E0432]: unresolved import `secret_service`
  --> /home/fc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/keyring-2.0.4/src/secret_service.rs:83:5
   |
83 | use secret_service::{EncryptionType, Error};
   |     ^^^^^^^^^^^^^^ help: a similar path exists: `crate::secret_service`
   |
   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>

error[E0282]: type annotations needed
   --> /home/fc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/keyring-2.0.4/src/secret_service.rs:158:14
    |
158 |         self.map_matching_items(delete_item, true)?;
    |              ^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the method `map_matching_items`
    |
help: consider specifying the generic arguments
    |
158 |         self.map_matching_items::<_, T>(delete_item, true)?;
    |                                ++++++++

error[E0282]: type annotations needed for `Vec<T>`
   --> /home/fc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/keyring-2.0.4/src/secret_service.rs:216:13
    |
216 |         let credentials = self.map_matching_items(Self::new_from_item, true)?;
    |             ^^^^^^^^^^^
217 |         Ok(credentials[0].clone())
    |            -------------- type must be known at this point
    |
help: consider giving `credentials` an explicit type, where the placeholders `_` are specified
    |
216 |         let credentials: Vec<T> = self.map_matching_items(Self::new_from_item, true)?;
    |                        ++++++++

error[E0282]: type annotations needed
   --> /home/fc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/keyring-2.0.4/src/secret_service.rs:233:14
    |
233 |         self.map_matching_items(delete_item, true)?;
    |              ^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the method `map_matching_items`
    |
help: consider specifying the generic arguments
    |
233 |         self.map_matching_items::<_, T>(delete_item, true)?;
    |                                ++++++++

error[E0618]: expected function, found `F`
   --> /home/fc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/keyring-2.0.4/src/secret_service.rs:273:26
    |
247 |     pub fn map_matching_items<F, T>(&self, f: F, require_unique: bool) -> Result<Vec<T>>
    |                                            - `f` has type `F`
...
273 |             results.push(f(item)?);
    |                          ^------
    |                          |
    |                          call expression requires function

error[E0618]: expected function, found `F`
   --> /home/fc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/keyring-2.0.4/src/secret_service.rs:277:26
    |
247 |     pub fn map_matching_items<F, T>(&self, f: F, require_unique: bool) -> Result<Vec<T>>
    |                                            - `f` has type `F`
...
277 |             results.push(f(item)?);
    |                          ^------
    |                          |
    |                          call expression requires function

Some errors have detailed explanations: E0282, E0432, E0433, E0618.
For more information about an error, try `rustc --explain E0282`.
    Checking serde_path_to_error v0.1.11
error: could not compile `keyring` (lib) due to 7 previous errors
warning: build failed, waiting for other jobs to finish...

Your crate is used like this in my project:
[dependencies.keyring_native]
package = "keyring"
version = "2.0.4"
default-features = false
features = ["linux-no-secret-service"]

I read https://github.com/hwchen/keyring-rs/issues/36, could it be related?

Hi @soywod, it looks like the secret-service is not installed on your user's build machine.  Since the secret service is the only supported keystore on FreeBSD, it's not possible to use features to disable its use.  The linux-... features only apply to Linux builds, not to FreeBSD builds.  On FreeBSD, the secret service is always required.
Thinking about this, I suppose there might be users on FreeBSD who are bringing their own keystore and thus need this crate to compile without installing the secret service. We could allow disabling the secret service on FreeBSD by using the mock keystore as the default.  But I'd like to hear from you about whether your user needs this (because they are, in fact, bringing their own keystore) or whether they simply need to install the secret service on their machine (e.g., by running pkg install libgnome-keyring as root).

Thank you for your reply and sorry for the late mine.

But I'd like to hear from you about whether your user needs this (because they are, in fact, bringing their own keystore) or whether they simply need to install the secret service on their machine (e.g., by running pkg install libgnome-keyring as root).

My users are not necessarily developers, so I would bet on the second option.
But I have a question related to your Cargo.toml: why is secret-service optional for FreeBSD? To force lib-consumers to have secret-service in their dependencies? For example, I have a lib called secret-lib that consumes your lib, and secret-lib is used by a bigger project called Himalaya, a CLI to manage emails (the user that reported the issue tried to build this project). What is the impact of having secret-service as a required dependency in your lib VS secret-lib VS Himalaya?

Hi Clément, to answer your question, I need to draw a careful distinction between the secret-service, which is a Rust crate, the gnome-keyring, which is native FreeBSD software maintained by the Gnome project, and the secret service API, which is a public API maintained by the Gnome project.
Currently, the keyring crate has the secret-service crate as a required dependency on FreeBSD systems.  (This is because it's the only FreeBSD module we support that implements a secure credential store.)  Because the secret-service crate itself requires the host system to have an installation of a native library which implements the secret service API in order to compile correctly, users on BSD who try to build/link the keyring crate without having installed libgnome-keyring (or an equivalent) will get the error reported by your user.
Because the secret-service crate is actually usable against a number of different native libraries (all of which implement the secret service API), neither the keyring crate nor the secret-service crate attempt to install a specific native module: those are assumed to be installed either by the OS or the user.
So, as I see it, you have three options for secret-lib/Himalaya:

You can warn users of Himalya on FreeBSD that they need to install libgnome-keyring themselves.
You can have the FreeBSD Himalaya installer (if there is one) check for the existence a compatible library and, failing to find one, install libgnome-keyring itself.
You can ask me to enhance the feature set of the keyring crate to make the secret-service crate be an optional dependency on FreeBSD (which would make the non-persistent mock credential store be the default).  However, that would leave Himalaya without any persistent credential storage, which probably wouldn't work very well.

I hope you find this answer useful! Please get back to me here with any further questions.

So I'm reopening this because #153 has made me realize that people may really want to compile this crate with no underlying platform support on all platforms.

Version 2.2 (just released) fixes this.  If you don't want to use secret service on FreeBSD, you can build with no default features.  At that point you will be using the mock keystore by default.


Upgrade 0.22.0 to 1.0.2 (macOS 15.1.1): host VPN does not work within vzNAT VM (but slirp does)

Description
Description
Host macOS 15.1.1 (24B91) with VPN from corporate that uses HTTP proxy.

* Connected to <proxyip> (<proxyip>) port 8080
> GET http://www.google.com/ HTTP/1.1
> Host: www.google.com
> User-Agent: curl/8.9.1
> Accept: */*
> Proxy-Connection: Keep-Alive
>
* Request completely sent off

(hangs)

@marcelbeumer One of the changes since 0.22 preferring the additional network over the builtin user network, you can try this.
You probably see something like this in ip r:
$ ip r
default via <IP_ADDRESS> dev lima0 proto dhcp src <IP_ADDRESS> metric 100
default via <IP_ADDRESS> dev eth0 proto dhcp src <IP_ADDRESS> metric 200
...

To have the same setup of 0.22, you can change metric: 100 for the vzNAT interface:
% limactl edit /proxytestok
...
networks:
- vzNAT: true
  metric: 200

This will bring back the issues in 0.22 when install k8s when having 2 default routes with the same default metric, but maybe these issues are not affecting what you do.
Start the vm, you will see now:
$ ip r
default via <IP_ADDRESS> dev eth0 proto dhcp src <IP_ADDRESS> metric 200
default via <IP_ADDRESS> dev lima0 proto dhcp src <IP_ADDRESS> metric 200
...

Does it change anything?

Yes, with metric: 200 it works again!
Thanks a lot. What should we do with this GH issue?

Great that it works, let keep the issue open for now. If this issue is very common maybe we need to change the default metric to keep the old behavior.

@jandubois do you think we should change the metric to the default value to keep 0.22 behavior? We assumed that adding additional network means you want to use it, so it should be preferred. But it seems that some features work only with the user network, so maybe lima is not ready for preferring the additional network.
For the use case of multiple k8s clusters using shared network using custom metric works fine, so using default metric is fine.
We have only one report so far, so I'm not sure it is worth a change. And we also need to understand why this case is solved by using non-optimal configuration of 2 default routes with same metric.

I'm not keen of changing behaviour, and then changing it back, unless it is absolutely necessary.
It would be better to understand first why this is breaking some scenarios, and to figure out if there is a different way to make them work again automatically.

Host macOS 15.1.1 (24B91) with VPN from corporate that uses HTTP proxy.

@marcelbeumer is it possible to reproduce this on another machine without your corporate VPN/HTTP proxy?
If you and find how to reproduce it, we can try to understand why it does not work with the default confguration.
Also maybe you try add a note in the relevant docs about this issue with the solution?


ANC - Logic - Mastitis

Issue
We are updating the logic for mastitis.

Getting rid of the early mastitis or engorgement diagnosis - that logic will now diagnose as mastitis

update the medication distribution screen

To Do:

update screen per design
- update logic per logic document

@jeanette-pelizzon
wrong screenshot

@anvmn a slight redirection here: We will keep the diagnoses as they appeared before (early mastitis and engorgement), rather we will combine all the medication options for all three diagnoses (early mastitis, mastitis, and engorgement) so that every medication option is available for every diagnosis.

@adamhstewart @anvmn
@adamhstewart Since "We will keep the diagnoses as they were before", could you please revert the changes in the Excel sheet? According to @anvmn it should look like this:

nutrition env
tablet

Checked and Approved:

The the medication distribution screen has been updated: the same medication are offered for early mastitis or engorgement and mastitis diagnoses. Examples:

@jeanette-pelizzon can you confirm the above comment and add to the master doc.

reverted the excel doc back. Should be good to go now.


Add directive test for admonition/danger

Follows this topic about admonition levels on symfony/symfony-docs: [RFC] Differenciate "caution" admonitions #19181
The bloc danger will be used soon in Symfony docs (cc javiereguiluz comment ).
So this PR allow a single test to check its compilation.

Failing test seems related to Doctrine Parser, i suggested a fix

Thanks Simon!
In order to "demote" the current caution admonition, we should update its icon.
In this PR, the new danger is using the same icon as the caution. That's fine.
But, let's change the icon of caution to use the typical triangle icon.
Our icons come from the project Heroicons (https://heroicons.com/outline) so let's use this for caution:
<svg xmlns="http://www.w3.org/2000/svg" fill="none" width="24" height="24" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z" /></svg>

Thanks!

Done!
I reused the triangle icon already present in the file
(the light code difference is due to -i think-  those already in the project were compressed a tiny bit)

Thanks Simon for working on this feature, this is much appreciated.

@javiereguiluz thank you people for all the work done here :)


[PRODUCT]: Add NWRFC Products to Cumulus

Product Source (Sample Pattern)

[ ] https://www.nwrfc.noaa.gov/weather/netcdf/2022/20220810/QTF.2022081012.nc.gz
[ ] https://www.nwrfc.noaa.gov/weather/netcdf/2022/20220810/QTE.2022081012.nc.gz
[ ] https://www.nwrfc.noaa.gov/weather/netcdf/2022/20220810/QPF.2022081012.nc.gz
[ ] https://www.nwrfc.noaa.gov/weather/netcdf/2022/20220810/QPE.2022081012.nc.gz

NWD POCs
Eric C., Sonja M., Kevin M., and Ross W.
Product Format

[x] NetCDF

Hey @FHanbali, excellent! I think this will be a great set of products to add. To my knowledge - these are not included in the NCEP Stage IV CONUS Mosaic.
Would love to plan this as a project we can work closely with the NWD team so they're involved in every step of the process. Recommend we have a kickoff meeting with them to discuss the products, exchange relevant information. Let's connect this week on schedule date for this work.

Breaking this into 4 separate issues, one for each of the 4 data products.

[ ] NWRFC Temperature Forecast
[ ] NWRFC Temperature "Observed"
[ ] NWRFC Precipitation Forecast
[ ] NWRFC Precipitation "Observed"


curl high level form wrapper

andre reported this on 2018-01-25T17:39:44Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=18298
CC List

greensunny12
igor.khasilev

Description
It would be great if std.net.curl could be enhanced with an high level wrapper for form posts (multipart/form-data).

A low level curl example you can see here:
https://curl.haxx.se/libcurl/c/postit2.html

greensunny12 commented on 2018-02-03T15:24:54Z
PR to the docs: https://github.com/dlang/phobos/pull/6116

andre commented on 2018-02-03T20:14:20Z
I have a quite uncommon issue with the package "request".

I work for a company which has rules how open source software can be used. Each software component needs to go through an open source process. Also each dependency needs to go through this process. And if the version of a dependency is changed I have to go through this process again.

request has in its standard configuration only 1 dependency. But "dub" build will cause the download also of the dependencies of the vibe.d configuration. In the end, this behavior of dub causes me to go through the process of all none needed dependencies:

Fetching libevent 2.0.2+2.0.16 (getting selected version)...
Fetching diet-ng 1.4.4 (getting selected version)...
Fetching requests 0.6.0 (getting selected version)...
Fetching botan-math 1.0.3 (getting selected version)...
Fetching openssl 1.1.6+1.0.1g (getting selected version)...
Fetching botan 1.12.9 (getting selected version)...
Fetching eventcore 0.8.27 (getting selected version)...
Fetching memutils 0.4.9 (getting selected version)...
Fetching vibe-d 0.8.2 (getting selected version)...
Fetching vibe-core 1.3.0 (getting selected version)...
Fetching libasync 0.8.3 (getting selected version)...
Fetching taggedalgebraic 0.10.9 (getting selected version)...
Performing "debug" build using dmd for x86.
requests 0.6.0: building configuration "std"... <--------- std build

If possible I would like to stay with std.net.curl;)
I would like to call the needed curl functions from my user code but that is not possible because the access to curl handle is private.
<EMAIL_ADDRESS>
Could the access to this handle be provided from user code?

greensunny12 commented on 2018-02-03T15:07:44Z
This is essentially a WONTFIX.
Use requests: https://github.com/ikod/dlang-requests

We should add a note to the docs though.

igor.khasilev commented on 2018-02-05T11:03:52Z
Hello,

What you described is known and annoying problem with dub.

will the problem with requests fixed if I'll provide also Makefile in distribution, so that you can clone proper tag from github and run make?

andre commented on 2018-02-05T19:57:52Z
(In reply to igor.khasilev from comment #4)
> Hello,
>
> What you described is known and annoying problem with dub.
>
> will the problem with requests fixed if I'll provide also Makefile in
> distribution, so that you can clone proper tag from github and run make?

Hello Igor,

that is really kind of you but unfortunately not possible in my scenario.
In full detail:

- I have my dub project in an internal enterprise github repository
- On every push to master branch a CI process (XMake) is triggered
- A d plugin for XMake will build my project using dub build in a standardized way
- Within this build process, no connection to the internet (code.dlang.org) is allowed to guarantee always the same build result
- Therefore all dependency needed to be included within a local path of the dub project

I will check what is the current state of the dub issue. I would prefer a clean straight forward solution.

Kind regards
André


Firefox - Duplicated date (2015-10-17)

2015 - 10 - 17 is appearing twice on Firefox

Thanks @alepaez for the details. I'm gonna investigate this and #153 as they both have to do with what feels like a looping or counter issue.

@alepaez what time zone are you in? We've had some issues with a specific timezone that seem to be related to a general JS Date bug. I'm looking for the issue where we discussed this...

Found it: #131. Is this only happening in Firefox, or can you replicate it across all browsers?

Thank you guys!
@kylestetz I'm in GMT -3. It's only happening in Firefox (Tested in Chrome, Safari and Firefox)

I can't reproduce this. Can you tell us about your development environment? OS, browser version, clndr version, etc.

I'm running clndr.min.js v1.2.0 on production.
Customer who reported the bug environment:
Windows 7, Firefox 39.0
My development environment:
OSx Yosemite, Firefox 38.0.5
Already tried to update to clndr.min.js v1.2.15, but the bug persisted.

Interesting, we're in the same environment but I can't see this one.
As an aside, definitely use v1.2.15! It is fully backwards-compatible down to 1.2.0 and some nice things have been introduced since.

jQuery version could have influence on this bug?

Sure it's possible, and actually moment would be the more likely candidate to mess things up. I am testing the example/index.html page in the clndr repo, which loads jquery v1.10.2, moment v2.8.3, and underscore v1.5.2.

Ok, those are the versions I have here.
jquery: 1.8.2
moment: 2.9.0
underscore: 1.4.2

It looks like this issue is related to when daylight savings time ticks over. In my region, October 3 is being duplicated, which marks the beginning of daylight savings time.

I've re-tested this in FF with the latest libraries and can't recreate it at all. I've tried changing to many different timezones and the calendars render correctly in FF and Chrome on linux. I'm going to close this as it's gone stale (11 months) but @alepaez please feel free to re-open this if you can recreate it with the current, up-to-date libraries and can provide the full environment info.
I suspect that if it's related to #131 in any way then it's a UTC / DST issue for browsers in certain timezones but I just can't duplicate the error :frowning:


#683 implemented

#683 implemented

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Vadim-Bulavin sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Control Addins in V2 extensions

How am I able to create and include JS control addins in my V2 extension?

I think you will get a very similar answer to JS as in Issue #276 . That is, JS in on premise ok, but not in the cloud.
Alternatively, you can use Azure Functions, or other HTTP APIs, for example, from your own webservice.
In the case of cloud solutions, however, you probably have to pay attention to the EU data protection guidelines, just as I do ;).

What I'm looking for is the gui control addins we create with js. For example to include Bing Maps to the client, as in the Microsoft example.
I can imagine the resource file being the same, but I will not be able to include an interface in the addins folder.

Ok then look times here in #146 , Kalbers has said a response to GUI JS Addins something. Relatively at the end.

We do not yet support JavaScript client control add-ins. It is in our plans though, but we do not have >an exact date for when it is going to be delivered.
Thanks
Kalman

We are starting the work on JS control add-ins and they should be available within the next 2-3 updates.

Does this mean that built-in addins such as the 'Microsoft.Dynamics.Nav.Client.WebPageViewer' will also be available to use in the next 2-3 updates?

We will work on them after completing the generic control add-in support so they will be ready soon after.


AppStoreExtract failing due to small/unknown size?

Hi, I am trying to use the AppStoreExtract.sh script, but am getting the following error: hdiutil: create failed - Host is down. I know you said that the script will fail when the app is too small of a size, but is there any way to fix this? I'm wondering if the hdiutil "host is down" error has to do with that issue.
I am on macOS 10.14.6, MacBook Pro 13 inch, 2017, 2.5 GHz Intel Core i7 w/ 16GB of ram.
Thanks for the help!!

Try using v3.1
https://github.com/blakeusblade/MacAdminHelpers/tree/master/AppStoreExtract


Camera indicator (green dot) after disconnect

Hello, I was wondering if someone has a problem with iOS 14 when the green dot appears even after the video ended or even in disable mode?

https://github.com/blackuy/react-native-twilio-video-webrtc/issues/396

@ceaglest @paynerc  Need your assist here as earlier as possible. Thanks!

@Balasnest,
The green dot is active anytime the camera is still capturing video, regardless if the room is connected or not. Be sure to call the stopCapture method of the TVICameraSource as well when you are no longer capturing video.
Ryan

@paynerc Thanks mate! It worked perfectly.


Improve a bit the kernel interface and Mitosis compatibility

I still think it makes sense to move the measure into a type parameter but I think I have an idea for the other question

How do you like
julia> using Distributions

julia> (kernel(Normal) do x; (x, 2x) end)(1.0)
Normal{Float64}(μ=1.0, σ=2.0)

julia> kernel((x->x, x->2x), Normal)(1.0)
Normal{Float64}(μ=1.0, σ=2.0)

I still think it makes sense to move the measure into a type parameter

I agree this is nice. It just seems to me we might sometimes need f::Function. Anyway, if we do it seems like an easy enough extension.
Using the MeasureTheory interface, would it also work as
julia> kernel(x -> (μ=x, σ=2x), Normal)(1.0)
Normal{Float64}(μ=1.0, σ=2.0)

and
julia> kernel((μ = x -> x, σ = x -> 2x), Normal)(1.0)
Normal{Float64}(μ=1.0, σ=2.0)

?

would it also work as

Yes, I wasn't sure if for this case it makes sense to retain the old form
 kernel(Normal, μ = x -> x, σ = x -> 2x)(1.0)

Ok, I put the function argument first now and left the convenient call signature with the named arguments in.


Unexpected moveset [Mud Slap, Mud Bomb] for #50 Diglett

i edit pokemon.json to this
-find Diglett ( number #50)
and edit fast attack ( add "Mud Slap" )
"Fast Attack(s)": [
"Mud Slap",
"Mud Shot",
"Scratch"
and error gone

Merged.


Clarified some functions and added tests

Coverage decreased (-0.004%) to 97.421% when pulling 176259e90b5d96ae08fca642ffb55e770c291c30 on thongsav-usgs:master into 4c06d9457d55b435ae0c36779ca0f8bd32b2b0ee on USGS-R:master.

Coverage increased (+0.001%) to 97.426% when pulling 1f7ca08b33133a2761b4e5ca25e381f3119d2a4e on thongsav-usgs:master into 4c06d9457d55b435ae0c36779ca0f8bd32b2b0ee on USGS-R:master.

Coverage increased (+0.001%) to 97.426% when pulling 1f7ca08b33133a2761b4e5ca25e381f3119d2a4e on thongsav-usgs:master into 4c06d9457d55b435ae0c36779ca0f8bd32b2b0ee on USGS-R:master.


License ?

Hello, under what license is this project released under ? I would like to study it to learn from it. Thank you.

Thank you for your interest.
This repository is MIT-licensed. I have added a LICENSE file to clarify that. You can find some details on how the project works under the docs/ directory (some files are only in Italian, though).
Just a courtesy. If your study results in any kind of publication, please add a reference to the following extended abstract:
L. Di Stefano, E. Clementini, and E. Stagnini, “Reactive Obstacle Avoidance for Multicopter UAVs via Evaluation of Depth Maps,” in Proceedings of Workshops and Posters at the 13th International Conference on Spatial Information Theory (COSIT), L’Aquila, Italy, Sep. 2017, pp. 41–43, doi: 10.1007/978-3-319-63946-8_10. URL: https://link.springer.com/chapter/10.1007%2F978-3-319-63946-8_10


Requirements Classification and Organization

Organize and classify the elaborated requirements.

Please refer to the requirements document. Deliverable of Milestone 1.


Stackin Showcase

[ ] I have followed (at least) the PR section of the contributing guide.

Duplicate of #25360


After leaving app idle for some time, active subreddit banner color changes to black

https://www.reddit.com/r/slide_ios/comments/9npeku/bug_after_leaving_app_idle_for_some_time_active/

I think this is closable now


Handle all active clang-analyzer warnings

Can you confirm that the outputs of simulation and inference are the same before and after this PR?  We really need some regression tests!

I've compared the output before and after this change, and it looks like there are differences. Can you think of anything that would change the numerical outputs in what you have changed?

Yes, regression tests would document expectations, in a way that's currently not immediately obvious to someone new in the project.  The way that checked-in files get changed depending on what is run also makes things pretty awkward.
Were the differences in parallel runs?  The thing which I was concerned about which might change the results based on the modification would be if some of the MPI communications overran the buffers they're pointed at (I'm not saying it's wrong, just that it's an easy thing to get wrong...).

sim.toml gets the same results in Output.
inf.toml differs.  As usual, the switch in MBP.cc needs to be hacked get deterministic results, but this isn't the whole story.
OK, I found what the difference is.  At MBPCHAIN.cc:1158
t = data.settime[sett] + ran()*dt;

clang-analyzer highlights that the value of t isn't used, but I missed the side effect that the call to ran() steps forwards through the random number sequence.
// t = data.settime[sett] + ran()*dt;
(void) ran(); // Through away a random number so as not to change results

appears to retain the results the same as dev, at least for this case.

Yes, regression tests would document expectations, in a way that's currently not immediately obvious to someone new in the project. The way that checked-in files get changed depending on what is run also makes things pretty awkward.

Working on it! 🙂  That needs to stop.

Were the differences in parallel runs? The thing which I was concerned about which might change the results based on the modification would be if some of the MPI communications overran the buffers they're pointed at (I'm not saying it's wrong, just that it's an easy thing to get wrong...).

sim.toml was fine, inf.toml was different both in serial and parallel.

sim.toml gets the same results in Output.
inf.toml differs. As usual, the switch in MBP.cc needs to be hacked get deterministic results, but this isn't the whole story.

I've added a parameter (on dev) you can put in the toml file or on the command line:
# How to choose proposals
propsmethod = "fixednum"

OK, I found what the difference is. At MBPCHAIN.cc:1158
t = data.settime[sett] + ran()*dt;

clang-analyzer highlights that the value of t isn't used, but I missed the side effect that the call to ran() steps forwards through the random number sequence.

🙂

// t = data.settime[sett] + ran()*dt;
(void) ran(); // Through away a random number so as not to change results

appears to retain the results the same as dev, at least for this case.

Great!

I force-pushed a rebased version of this with the additional call to ran(). I confirm that this maintains the results.  It can go away eventually, but I'll keep it in for now.

WIth regard to the
"t = data.settime[sett] + ran()*dt;"
line, I've removed it because it wasn't necessary.

WIth regard to the
"t = data.settime[sett] + ran()*dt;"
line, I've removed it because it wasn't necessary.

Yes, Robin had already removed it as the analyzer also reported that it wasn't necessary.


Game-wide variables in config. (IE: Primary/Secondary Currencies names)

Allows for easier changing for game owners.

Done~


ModuleNotFoundError: No module named 'azure.mgmt.web.v2021_01_01'

Jumpstart scenario or ArcBox flavor which you are working on.
https://azurearcjumpstart.io/azure_arc_jumpstart/azure_arc_app_svc/aks/aks_app_service_arm_template
Describe the bug.
After the deployment, when rdp connecting to the VM client, the initial script failed with error message.
File "C:\Users\arcdemo\.azure\cliextensions\appservice-kube\azext_appservice_kube\custom.py", line 301, in _get_kube_client
    return client.kube_environments
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/web/_web_site_management_client.py", line 627, in kube_environments
ModuleNotFoundError: No module named 'azure.mgmt.web.v2021_01_01'

Not sure if I missed something or if this is a bug on dependencies.
To Reproduce.
Just following the doc and hit error at the section Post Deployment
Expected behavior.
expecting no error
Environment summary.
az-cli version on my WSL: 2.42.0
Screenshots.

The error is shown in this screenshot, attaching the logs too.
logs.txt
Meanwhile, on Azure portal, this is what I see.

Additional context.

Thank you @Devinwong, I was able to repro and just submitted a new Az CLI upstream issue.
/cc @apwestgarth


Removed unused functions from postprocess.jl

These functions are not used in anywhere, maybe unnecessary.

I think now everything is changed ready to go for 0.2.1

Coverage decreased (-2.5%) to 72.723% when pulling cf476618a83dc9aaffb07af4a570f1d728895580 on ahojukka5:master into 9b4c1a4c5e9a384db8ea4f14f68e83111ba20e6f on JuliaFEM:master.

If we will need them, we should be able to find them from the history.

Coverage decreased (-2.5%) to 72.723% when pulling cf476618a83dc9aaffb07af4a570f1d728895580 on ahojukka5:master into 9b4c1a4c5e9a384db8ea4f14f68e83111ba20e6f on JuliaFEM:master.


Learning GitHub

Become familiar with the GitHub platform and be able to effectively collaborate with others using Git and GitHub.

Learned How to create an issue


[Removal]: Request Removal

Hotspot Name
Macho Vermilion Halibut
Hotspot b58 Address
112nTenHoPSTvhoJ8wsnbGb8CKd7mv6qBS88trRmjuskH5Rqrya5
Discord Handle
No response
Hotspot Manufacturer
Panther X2
Removal Reason
I used to do things that were not for creating coverage but I stopped. Please save me.
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
This is the first blockchain project I have participated in. I don't have any experience. It may be that I don't understand the rules and requirements of the project in detail, which has caused the wrong deployment method. Deploy according to the rules.Can i have second chance? Thank you for your help.

no. We will be continuing to ban more PantherX cheaters.


Doesn't support hierarchyid type

I need add a property in ApplicationUser Class which datatype is hierarchyid.
How can I do that?

Can you not simply inherit from ApplicationUser and add the properties you want to your new class?

This is more of an entity framework question, they would need to support it. @divega any idea on a timescale here?

This is by design in EF. You should ask in the EF repo about this. https://github.com/aspnet/EntityFrameworkCore


Unable to show toolbar

Thank you for releasing this!  I've been excited to try this since I watched your talk where you showed and mentioned you were working on this.

I've seen the toolbar ~once~ (It's always there on the dashboard, I just accidentally increased the text size of that browser window and it was pushing the toolbar off the screen >_<), but only on the live dashboard. I'm sure I've done something wrong, but I believe I have followed the instructions from the readme.
I'm seeing this error:
13:02:20.573 module=gen_server function=error_info/7 [error] GenServer #PID<0.1614.0> terminating                                     ** (BadMapError) expected a map, got: nil                                                                                (phoenix_profiler 0.1.0) lib/phoenix_profiler/toolbar/toolbar_live.ex:148: anonymous fn/2 in PhoenixProfiler.ToolbarLive.handle_info/2
    (phoenix_live_view 0.17.5) lib/phoenix_live_view.ex:750: Phoenix.LiveView.update/3
    (phoenix_profiler 0.1.0) lib/phoenix_profiler/toolbar/toolbar_live.ex:148: PhoenixProfiler.ToolbarLive.handle_info/2
    (phoenix_live_view 0.17.5) lib/phoenix_live_view/channel.ex:250: Phoenix.LiveView.Channel.handle_info/2
    (stdlib 3.17) gen_server.erl:695: :gen_server.try_dispatch/4
    (stdlib 3.17) gen_server.erl:771: :gen_server.handle_msg/6
    (stdlib 3.17) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Last message: {:event_duration, 56292}
State: %{components: {%{}, %{}, 1}, join_ref: "60", serializer: Phoenix.Socket.V2.JSONSerializer, socket: #Phoenix.LiveView.Socket<ass
igns: %{__changed__: %{}, durations: nil, exits: [], exits_count: 0, flash: %{}, live_action: nil, memory: nil, profile: %PhoenixProfi
ler.Profile{info: :enable, node: :nonode@nohost, server: PMWeb.Profiler, start_time: -576430045227789722, system: %{elixir:
 "1.13.1", otp: "24", phoenix: '1.6.2', phoenix_live_view: '0.17.5', phoenix_profiler: '0.1.0'}, system_time:<PHONE_NUMBER>932217851, tok
en: "FswbZutVDnLPTlYAABSk", url: "http://localhost:4000/live_dashboard/_profiler?nav=PMWeb.Profiler&pan
el=request&token=FswbZutVDnLPTlYAABSk"}, request: %{action: "nil", class: "disconnected", endpoint: "n/a", plug: "nil", router: "n/a",
 router_helper: :router_not_set, status_code: ":|", status_phrase: "No Profiler Session (refresh)"}}, endpoint: PMWeb.Endpo
int, id: "phx-FswbZxQEtyJOVhLB", parent_pid: nil, root_pid: #PID<0.1614.0>, router: nil, transport_pid: #PID<0.1511.0>, view: PhoenixP
rofiler.ToolbarLive, ...>, topic: "lv:phx-FswbZxQEtyJOVhLB", upload_names: %{}, upload_pids: %{}}

Elixir: 1.13.1
OTP: 24.2
Alpine Linux: 3.13.6
Phoenix: 1.6.2
LiveView: 0.17.5
LiveDashboard: 0.6.1

Edit:
I can see pages are being profiled:

Hi @iautom8things, thanks for the report! I believe this is fixed on main, could you try it and let me know? :)

Thank you, for the quick response!
I now see:
16:39:30.173 module=gen_server function=error_info/7 [error] GenServer #PID<0.1428.0> terminating                                     ** (KeyError) key :latest_event not found
    (phoenix_profiler 0.1.0) lib/phoenix_profiler/toolbar/toolbar_live.ex:149: anonymous fn/2 in PhoenixProfiler.ToolbarLive.handle_in
fo/2
    (phoenix_live_view 0.17.5) lib/phoenix_live_view.ex:750: Phoenix.LiveView.update/3
    (phoenix_profiler 0.1.0) lib/phoenix_profiler/toolbar/toolbar_live.ex:149: PhoenixProfiler.ToolbarLive.handle_info/2                  (phoenix_live_view 0.17.5) lib/phoenix_live_view/channel.ex:250: Phoenix.LiveView.Channel.handle_info/2
    (stdlib 3.17) gen_server.erl:695: :gen_server.try_dispatch/4
    (stdlib 3.17) gen_server.erl:771: :gen_server.handle_msg/6
    (stdlib 3.17) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Last message: {:event_duration, 159125}
State: %{components: {%{}, %{}, 1}, join_ref: "439", serializer: Phoenix.Socket.V2.JSONSerializer, socket: #Phoenix.LiveView.Socket<as
signs: %{__changed__: %{}, durations: %{}, exits: [], exits_count: 0, flash: %{}, live_action: nil, memory: nil, profile: %PhoenixProf
iler.Profile{info: :enable, node: :nonode@nohost, server: PMWeb.Profiler, start_time: -576459808492150569, system: %{elixir
: "1.13.1", otp: "24", phoenix: '1.6.2', phoenix_live_view: '0.17.5', phoenix_profiler: '0.1.0'}, system_time:<PHONE_NUMBER>758988648, to
ken: "FsxLl6S3DVBoyOQAAB-D", url: "http://localhost:4000/live_dashboard/_profiler?nav=PMWeb.Profiler&pa
nel=request&token=FsxLl6S3DVBoyOQAAB-D"}, request: %{action: "nil", class: "disconnected", endpoint: "n/a", plug: "nil", router: "n/a"
, router_helper: :router_not_set, status_code: ":|", status_phrase: "No Profiler Session (refresh)"}}, endpoint: PMWeb.Endp
oint, id: "phx-FsxLmFSaJN3I5DQh", parent_pid: nil, root_pid: #PID<0.1428.0>, router: nil, transport_pid: #PID<0.1298.0>, view: Phoenix
Profiler.ToolbarLive, ...>, topic: "lv:phx-FsxLmFSaJN3I5DQh", upload_names: %{}, upload_pids: %{}}```

@iautom8things I am pretty confident it is fixed now, but please re-open if not! :)

Thank you, Michael!  I don't see any errors, anymore!  But I'm still not seeing the profiler toolbar on any of my pages (except the LiveDashboard for some reason)

If the toolbar is being rendered on the LiveDashboard pages, then it would seem you have configured the profiler correctly. 🤔
The toolbar is injected into HTML responses by the Plug in your Endpoint. If you view-source on one of your pages, do you see the toolbar HTML being injected? In other words, is the code being delivered to the browser, but maybe something else is causing it not to appear?

Ok ... so two things:

Maybe I'm a dingbat.

This is a phoenix app that started out on a much earlier version of phoenix that I've updated several times to keep up with the jones.  I created a new test phoenix app and tried to figure out what was different between my project and what is auto generated.
Apparently I missed a step and only had an app layout myapp_web/layouts/app.html.eex and myapp-web/layouts/live.html.leex but  no root layout myapp_web/layouts/root.html.eex.  I split up my app layout into a root layout and added the put_root_layout plug.
I now see the toolbar on my pages!

I didn't know #1 was successful until I got desperate and tried a different browser.  Apparently the last thing I had done, when I viewed the toolbar on the LiveDashboard, was close it.  That set the localStorage for portal-manager.dev.c-spot.run-phxprof-toolbar-show to false.

The close button works, as I imagine you'd expect it to, on the LiveDashboard.  It shrinks to just a small phoenix logo.  But on my Live+Dead View pages, it disappears completely.  I can create another issue for this, if you'd like?

I suspect the close button is there, but perhaps it is being hidden somehow?
In your browser's dev tools, you can inspect the source for the mini toolbar element:
<div class="phxprof-minitoolbar">

Is it being injected into the page? If so, is it being hidden by some other styles?

Thank you for your patience, and help.  I was able to track this down to the fact that clicking the close button applies the class hidden on the toolbar div.  We use TailwindCSS and that class is provided as (docs):
hidden {
  display: none;
}

Would it be possible for phoenix_profiler to use a different class name, a prefix or let this be configurable?

Perfect, thank you for all of your help today!

Thanks for trying out the profiler! :)


passing response body through with error on bad error code in client

For https://ionchannel.atlassian.net/browse/CS-1984

I do believe it won't break anything, but there is a chance that some of our services expect explicit strings to match rather than containing partial strings.
A possible more useful approach to this would be to create our own IonicError that implements the Error interface. In our use cases of it we can have err.Message, err.Body, and err.Status to individually inspect.


cannot use GPU

Which version of CUDA should tensorflow-gpu2.2.0rc3 correspond to? I use cuda10.0 under Ubuntu 18.04.4, and tensorflow-gpu2.2.0rc3 cannot use GPU

CUDA 10.1