Add default value to keypath.get()

This PR add the ability to keypath.get() to pass a default value to return in case the path searched was not found.
const el = keypath.get(obj, 'missing.path', false);
// console.log(el) => false

const el = keypath.get(obj, 'missing.path', {name: 'Gustavo'});
// console.log(el) => {name: 'Gustavo'}

Codecov Report

Merging #23 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #23   +/-   ##
=======================================
  Coverage   90.57%   90.57%
=======================================
  Files          14       14
  Lines         658      658
=======================================
  Hits          596      596
  Misses         62       62

Impacted Files
Coverage Δ

src/keypath.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


\LaTeX should not be italic

Replace the text below with the details of the issue you are facing.
DO NOT simply erase the form and type a free-form response.
Issue Summary
\LaTeX should not be italic
https://t.tutu.to/img/visLz
Steps to Reproduce:

Any other information you want to share that is relevant to the issue
being reported. Especially, why do you consider this to be a bug? What
do you expect to happen instead?
Technical details:

MathJax Version: idk
Client OS: idk
Browser: Chrome 126.0.6478.63

I am using the following MathJax configuration:
idk
and loading MathJax via
<script<EMAIL_ADDRESS>
https://decadroid.github.io/mathjax-live-editor/
Supporting information:

Please supply a link to a (live) minimal example page, when possible.
If your issue is with the display of the mathematics produced by MathJax, include a screen snapshot that illustrates the problem, when possible.
Check your browser console window for any error messages, and include them here.
Include the MathJax configuration you are using, and the script tag that loads MathJax itself.

In actual LaTeX, the \LaTeX macro is actually only valid in text mode, not math mode, so what it should produce in math mode is not clear.  In text mode, \LaTeX is typeset in the surrounding font, so can be upright, italic, bold, sans-serif, etc., as shown in the table below:
Actual LaTeX

So in math mode, it would be natural to typeset it in the math italic font that would be used in that setting.
In MathJax, you can use \rm or \mathrm to get an upright version; e.g., {\rm\latex} or \mathrm{\LaTeX}.  But you can also get a bold or sans-serif, or other version, as in \mathbf{\LaTeX}, \mathsf{\LaTeX}.  For example:
MathJax

If the \LaTeX macro were to force upright roman letters, this would not be possible.
If you want to force that yourself, however, you can do
\let\myLaTeX=\LaTeX
\renewcommand{\LaTeX}{\mathrm{\myLaTeX}

once at the top of you page, for example, and then \LaTeX would be upright for the rest of that page.


Retrieve client comments directly - given a specific story

Add 'comments' method to Client.rb that pulls comments from a
story, given there is a story_id and project_id provided

I added this method to the Client after I worked on a project using this gem. My team and I were using the Pivotal Tracker API to store a user's data in our database. We discovered it would be much easier to call the comments method directly on the Client instead of having to iterate over each Story that we were importing for the current user. I modified the gem inside our project and thought you all might find it useful.
I am a junior developer so any feedback/comments on this whole process would be greatly appreciated. Thanks!

@timsjpark thanks for taking the time to contribute back to the project. It is always appreciated.
I would prefer to keep the methods on the client as limited as possible. I already think has taken on too much responsibilty. You can actually already do exactly what you want by using the Story resource directly. Please see this commit.
https://github.com/dashofcode/tracker_api/commit/48f85a5ba557fbaa6f9ec90d41125c80641c5da5
In general, I like this pattern better than littering the client with things that are not its responsibility.

@forest I see where you're coming from. Thanks for the input!


How to export tweek rules?

Hi,
I am trying to export tweek rules and to do this I am trying to attach a volume with docker and also looking another way for tweek rest API, but it seems nothing works for me. any hint will be great help for me.
Thanks

Tweek rules are saved as plain files in a git backend, it's possible to export them by cloning the git service using ssh (git clone ssh://git@localhost:4001/tweek/repo using a private key) or using docker cp to copy /tweek/repo and clone locally.
It might be also achievable by mounting the /tweek/repo folder.


[QUESTION] How can I  write a authentication/authorization providers like Google, Facebook, Twitter, GitHub, etc.?

First check

[*] I used the GitHub search to find a similar issue and didn't find it.
[*] I searched the FastAPI documentation, with the integrated search.
[*] I already searched in Google "How to X in FastAPI" and didn't find any information.

Description
How can I  write a authentication/authorization providers like Google, Facebook, Twitter, GitHub, etc.?

@yaakovazat Have you checked the issue https://github.com/tiangolo/fastapi/issues/12?


cd.js swallows the initial error

Node version (or tell us if you're using electron or some other framework):
not relevant
ShellJS version (the most recent version/Github branch you see the bug on):
v0.5.8
Operating system:
not relevant
Description of the bug:
The current implementation of cd.js is swallowing the actual error. The exception caught in line 27 (e) is not logged nor used further in the the error handling. This hides errors such as chdir not supported in worker threads or other causes not covered by the current handling error code in this file.
Example ShellJS command to reproduce the error:
Not needed as this is just an observation on the code.

Duplicate of : https://github.com/shelljs/shelljs/issues/1112


[Nodejs] session.sessionState.lastAccess is always the current timestamp

Using Node.js lib 3.2.1
Hi,
I'm trying to use a middleware to expire the user dialog if they have been inactive for too long.
I'm trying this:
bot.use({
        botbuilder: function (session, next) {
                const shouldExpire = (s) => (Date.now() - s.sessionState.lastAccess) > TIME_IDLE_TO_RESET_SESSION);
                if(shouldExpire(session)) expire();
                ...

However, Date.now() - s.sessionState.lastAccess is always 0. I was expecting lastAccess to be the last time the user has messaged the bot?

Good catch... I'll move where that's getting set to be after all session middleware runs.

Just committed that change. Will go out in the next update. Likely Monday if not sooner. For now... I'd just add your own timestamp to the sessionState to track when you last saw the session.

Should be fixed in v3.2.3. Please let me know if it's not and I'll re-open this issue.


When sending email to external users, internal users are removed from To header

Which is incorrect... We are doing it to avoid piping emails to external users to the external mail client, but there must be a better way.

Here's the problem. Currently, we strip all the internal addresses from the message before we pipe the message to sendmail. This is done to prevent sendmail from delivering messages to the ubikom recipients, because it will happily do just that. So, if we don't strip the internal addresses, the messages to internal recipients will be delivered twice, first time directly, and the second time via gateway. But if we strip the internal addresses, the external users receive weird messages addressed to no one (if we strip message from To header).
A solution would be to modify gateway receiver to ignore messages originating from Ubikom (because they are already delivered, bypassing gateway).
So, if<EMAIL_ADDRESS>sends message to<EMAIL_ADDRESS>and CC to<EMAIL_ADDRESS>message to alice is delivered directly. Gateway gets the message, and forwards it to sendmail as is. Sendmail sends it to postfix, which pipes it back to gateway. Gateway looks at it, says oh it's from<EMAIL_ADDRESS>so I will just ignore it. Nice.


INVM Crawling for Packages, etc. does not work with dockerized crawler

Description
Build a dockerized crawler and try to use it to inspect the host itself (INVM mode). The crawler will run, but it will keep inspecting itself, i.e., the container.
How to Reproduce
Build the container
sudo docker build -t crawler .

Run crawler to just collect packages and do a simple count to test
$ sudo docker run --privileged --net=host --pid=host -v /cgroup:/cgroup:ro -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /var/lib/docker:/var/lib/docker:ro -v /var/run/docker.sock:/var/run/docker.sock -v $PWD/output:/crawler/output -it crawler --features package | wc -l

429 (428 pkgs + 1 metadata line)

DO the same from host:
$ dpkg -l | wc -l

598

Do the same directly from the crawler container:
$ sudo docker run -it --entrypoint /bin/bash crawler
root@bc94958a3b78:/crawler# dpkg -l | wc -l

433 (428 pkgs + 5 header lines)

What to do
I am not sure what we could be doing about this. If we want to run the dockerized version also for hosts, the crawler needs to scan host pkg contents.

Thanks Canturk!
If dockerized crawl for host is desired, we would need to mount the host's /etc etc. inside the container.
And then inform the crawler to look at the new mountpoint to crawl packages.

I am not sure about this. We would ideally expect parity between native vs. dockerized, but this would not be the key feature of dockerized crawler.
Can you please tell me how complicated this seems to you? Is it possible to just share the fs of host; container only contains the process but shares most of the fs? just like you do w pid, etc. namespaces?

If gets complicated, alternative is to document it so people dont expect the INVM behavior to be the same either mode.

It would depend upon the feature'. For package' for example, we can directly mount host's /var/lib/dpkg'  inside the crawler container and it should work.  For files we would need to mount etc'.
Its doable, one would need to go over all features individually to ensure parity.


trying to fix flaky deadline test

What this PR does:
Trying to fix flaky deadline test.. Couldn't reproduce it.. I improved a bit a shutdown of the executor service in the BridgeTest, increased the timeout, moved this to common.. Not sure really why it fails on the action..

CI-only failures are really nasty :-/


[dv/clkmgr] Add stress testpoint as V3 milestone

Require stress test development for V3 milestone.
Signed-off-by: Guillermo Maturana<EMAIL_ADDRESS>

Please also import the testplan "hw/dv/tools/dvsim/testplans/stress_all_with_reset_testplan.hjson".
@weicaiyang, that stress_all_with_rand_reset is marked as V2. IMO we can de-prioritize to V3, considering we have only found DV testbench issues and not real RTL issues. WDYT?

@matutem, looks like the automated intr and alert tests are now enabled.
https://reports.opentitan.org/hw/ip/clkmgr/dv/latest/results.html
Please also uncomment those testplan imports at the top so that they get mapped properly?

Please also import the testplan "hw/dv/tools/dvsim/testplans/stress_all_with_reset_testplan.hjson".
@weicaiyang, that stress_all_with_rand_reset is marked as V2. IMO we can de-prioritize to V3, considering we have only found DV testbench issues and not real RTL issues. WDYT?

Now that I think about it, the common stress testplan does not have a vanilla stress test - do you recall why?

@matute, would you also please add a testpoint that replicates the bug in:
https://github.com/lowRISC/opentitan/issues/6504
I think it should be possible to do that in clkmgr IP level and validate the fix (which IMO is not yet made).

Please also import the testplan "hw/dv/tools/dvsim/testplans/stress_all_with_reset_testplan.hjson".
@weicaiyang, that stress_all_with_rand_reset is marked as V2. IMO we can de-prioritize to V3, considering we have only found DV testbench issues and not real RTL issues. WDYT?

Now that I think about it, the common stress testplan does not have the vanilla stress test - do you recall why?

we usually includes multiple sequences in stress_all, but how we run and what we include may vary. For example, most of blocks run sub-sequence sequentially, but xbar runs all sub-sequences in parallel. We may not include all sequences, for example, we don't include those timing sensitive tests that require zero_delays. It's good to document theses in testplan.
For stress_all_with_rand_reset, it's really just stress_all across with reset. DV users don't even need to create the sequence as it's created automatically like csr_test. Hence, we have common testplan for it.

Please also import the testplan "hw/dv/tools/dvsim/testplans/stress_all_with_reset_testplan.hjson".
@weicaiyang, that stress_all_with_rand_reset is marked as V2. IMO we can de-prioritize to V3, considering we have only found DV testbench issues and not real RTL issues. WDYT?

Agree, to change it to V3. Let me update that.

Please also import the testplan "hw/dv/tools/dvsim/testplans/stress_all_with_reset_testplan.hjson".
@weicaiyang, that stress_all_with_rand_reset is marked as V2. IMO we can de-prioritize to V3, considering we have only found DV testbench issues and not real RTL issues. WDYT?

Now that I think about it, the common stress testplan does not have the vanilla stress test - do you recall why?

we usually includes multiple sequences in stress_all, but how we run and what we include may vary. For example, most of blocks run sub-sequence sequentially, but xbar runs all sub-sequences in parallel. We may not include all sequences, for example, we don't include those timing sensitive tests that require zero_delays. It's good to document theses in testplan.
For stress_all_with_rand_reset, it's really just stress_all across with reset. DV users don't even need to create the sequence as it's created automatically like csr_test. Hence, we have common testplan for it.

I see, thanks for the explanation. It is good to allow users to write their own description for the stress test.


Fitbounds method

Hi jasper07,
I am using this library for an aggregation binding of multiple co-ordinates on the google maps. However, if the co-ordinates are far apart, I am unable to set the zoom of the map accordingly and get all the co-ords in the same window without manual zoom.
I checked the google maps documentation and there is a method called as "fitBounds" which is used to bring all the markers in the same view. Can you please implement that in your library. I extend my contribution in this.
you can reach me on<EMAIL_ADDRESS>Thank you
Arshad Feeroz

Hi Arshad
I added a FitToMarkers feature to the Map control, If set, the zoom level is set such that all markers are brought into view. It uses the Markers position to determine the bounds of the map, if you need to do something similar for other positions, the code should give you a good idea of how it maybe implemented.
  <gmaps:Map height="250px" zoom="12" lat="-33.895" lng="151.275" fitToMarkers="true">
        <gmaps:markers>
            <gmaps:Marker lat="-33.895" lng="151.275" info="Bondi Beach" />
            ...
        </gmaps:markers>
    </gmaps:Map>

Please contribute back if you make changes you think others may find useful.
Below are links to the code, there are also related updates to demo app and unit tests
Source Map._FitToMarkers
Demo Mashup
Unit Test code
Unit Test runner module


No logic apps created

I'm following the MS deploy guide here. https://learn.microsoft.com/en-us/azure/azure-functions/start-stop-vms/deploy
I'm deploying this to my visual studio dev subscription and trying to deploy in UKSouth. I've confirmed I have owner privs on the subscription. The deployment says is completes successfully but when I go to the resource group there are no logicapps like in the deployment guide.

@adrianspringer999 so even after you refresh the RG, you can't see the logic apps? Can you check the RG's deployment under settings tab to validate the components that it gets created?

I just had the same thing happen to me.  The issue was that I ran the "Non-availability zone-based solution" for a new deployment:
https://github.com/microsoft/startstopv2-deployments/blob/main/README.md
That's because the way that the headings are laid out is confusing unless you read everything very carefully.  I saw this heading and went for it, not taking in the Existing Users part:
Get Latest Version (Existing Users)
To make it clearer, "Existing Users" should instead read "Existing Deployments", and the paragraph under the Global Azure heading should have a subheading like "New Deployments".


Update to use gcloud-ruby

Update the sample app and README to use gcloud-ruby instead of google/api_client.

@thagomizer Thoughts?

Tested on my machine using mac default ruby 2.0.0. Works great.
Merging!
Thanks, @blowmage.


DataSets search stack

dataset(name) now searches for the first occurrence of name within a set of projects in a dataset search stack.
The stack can be initialized using patterns in the JULIA_DATASETS_PATH environment variable, which works somewhat similarly to JULIA_LOAD_PATH:

@ means the path of the current active project as returned by
Base.active_project(false) This can be useful when you're "doing
scripting" and you've got a project-specific Data.toml which resides
next to the Project.toml. This only applies to projects which are explicitly
set with julia --project or Pkg.activate().
Explicit paths may be either directories or files in Data.toml format.
For directories, the filename "Data.toml" is implicitly appended.
As in DEPOT_PATH, an empty path component means the user's default
Julia home directory, joinpath(homedir(), ".julia", "datasets")

All these paths are used to refer to data projects on the local disk in the Data.toml format.
If these local files are updated, this will be reflected dynamically in updating the associated
project in the stack.
This simplified version of the code loading rules (LOAD_PATH/DEPOT_PATH) is
used as it seems unlikely that we'll want data location to be julia-version-dependent
in the same way that that code is. (So there's no need for the # expansion.)
Unlike LOAD_PATH, JULIA_DATASETS_PATH is expanded inside the program as
a stack of AbstractDataProject. This is to allow other arbitrarily programmable data
projects to be added at runtime as necessary.  For example, fetching a list of datasets
from a server rather than from a local file.
TODO

Docs
Tests

@pfitzseb it would be great if you could have a look at the general design here. (Happy for any detailed code review too, though there's still some code cleanup and tests to fix/write).
I'm hoping this will help a lot with the interactivity we want on JuliaHub; to have availability of the user's datasets dynamically up to date and to deal with refreshing any authentication info.

I feel like this design makes a lot of sense (keeping the FS in sync with any Data.toml updates is really nice to have). The actual update code (in JuliaHub) might be a bit tricky though; we'll need to decide how to trigger Data.toml updates etc (in general I'm not sure what happens when you e.g. delete a dataset while it's used by a job).

Thanks for having a look :+1:

we'll need to decide how to trigger Data.toml updates etc

For the cluster I was imagining Data.toml be updated via the kubernetes secrets mechanism. Then the auto-update code here should just work (mainly this would apply to interactive jobs).
For usage outside the cluster we can have our own JuliaHub-specific AbstractDataProject (perhaps installed when the user loads JuliaHubClient) which isn't backed by a local Data.toml file, but by the JuliaHub API.

what happens when you e.g. delete a dataset while it's used by a job

I think the best thing here would be to just let the job fail. Providing a clear error message is the tricky part. It could probably be done by modifying the S3 access policy used by the job which will then cause a permission error we can catch.

I've added tests and reworked the API a bunch so I think this is basically ready.
Looks like there's a test or two to fix on windows.


Eventbus jobqueue

This migrates away from volley, over to OKHttp 3.8.1, Retrofit 2.3.0, GreenRobot EventBus, and the Android Priority Job queue.  It separates out the retrieval of the information from the plex server to various jobs.   The jobs will then fire events that the application can listen for and respond too.

This is good enough for now.  Will continue fixing the remaining bugs as I work on other items.


Unexpected value 'SlimScroll' declared by the module

I am getting an error after upgrading from Angular 4 to Angular 5:
Unexpected value 'SlimScroll' declared by the module 'JqueryModule'. Please add a @Pipe/@Directive/@Component annotation.

Package was updated to version 2.0.0. 🎉


Investigate free figma user cap

Find out how many people can use a free Figma file at the same time

add to team account and bitwarden

To be added to bitwarden in the future


Remove duplicate record in Scala and Java default libraries table

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

#assign:WilliamDAssafMSFT

#sign-off


Error on creating cluster while starting new node on existing database

I'm desperately trying to upgrade my v2.0.15 clustered DB to v2.1.5 however I'm running into funny situation here.
As suggested to me, I shutdown all the clusters' nodes and now I'm trying to start new ones using the existing database files. However I'm constantly getting following error even when using the node name of a previously existing node:
com.orientechnologies.orient.server.distributed.ODistributedException: Error on creating cluster 'payment-option_b3d5c6d2096e' in class 'payment-option'
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installLocalClusterPerClass(OHazelcastPlugin.java:1611)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installDbClustersForLocalNode(OHazelcastPlugin.java:1280)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.loadDistributedDatabases(OHazelcastPlugin.java:1421)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:187)
	at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:979)
	at com.orientechnologies.orient.server.OServer.activate(OServer.java:346)
	at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)
Caused by: com.orientechnologies.orient.server.distributed.ODistributedException: Quorum cannot be reached because there are no nodes available
	at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.calculateQuorum(OHazelcastDistributedDatabase.java:364)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:142)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:363)
	at com.orientechnologies.orient.server.distributed.ODistributedStorage.command(ODistributedStorage.java:317)
	at com.orientechnologies.orient.server.distributed.ODistributedStorage.addCluster(ODistributedStorage.java:1275)
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.addCluster(ODatabaseDocumentTx.java:1257)
	at com.orientechnologies.orient.core.metadata.schema.OClassImpl.createClusterIfNeeded(OClassImpl.java:2081)
	at com.orientechnologies.orient.core.metadata.schema.OClassImpl.addCluster(OClassImpl.java:1058)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installLocalClusterPerClass(OHazelcastPlugin.java:1604)

my write quorum is set to 1 to avoid any need but it seems it is simply impossible to start any node because the quorum will never be reached anyway.

Could you please provide the startup log of bot nodes?

there is only one log as this is the first node that should start correctly. situation is:

the database directory is remaining from a v2.0.15 and is copied with no change to v2.1.5
the node name set for this first node is new

following the startup log, where you see ....  [OServerConfigurationLoaderXml]
2015-11-18 09:00:06:495 WARNI Assigning distributed node name: sslc-db-1 [OHazelcastPlugin]
2015-11-18 09:00:08:456 WARNI [sslc-db-1] opening database 'sslc'... [OHazelcastPlugin]
2015-11-18 09:00:08:557 WARNI [sslc-db-1] updated distributed configuration for database: sslc:
----------
{
  "version": 0,
  "autoDeploy": true,
  "hotAlignment": false,
  "executionMode": "undefined",
  "readQuorum": 1,
  "writeQuorum": 1,
  "failureAvailableNodesLessQuorum": false,
  "readYourWrites": true,"clusters":{
    "internal": {
},
    "index": {
},
    "*": {
  "servers": ["sslc-db-backup-1","sslc-db-1","<NEW_NODE>"]
},
    "oschedule_node1444062165793": {
  "servers": ["sslc-db-backup-1","sslc-db-1","<NEW_NODE>"]
},
....

    "_studio_node1444062165793": {
  "servers": ["sslc-db-backup-1","sslc-db-1","<NEW_NODE>"]
},
....
    "user_node1444661341242": {
  "servers": ["sslc-db-backup-1","sslc-db-1","<NEW_NODE>"]
},
....
    }
}
---------- [OHazelcastPlugin]
2015-11-18 09:00:08:596 WARNI [sslc-db-1] updated distributed configuration for database: sslc:
----------
{
  "version": 0,
  "autoDeploy": true,
  "hotAlignment": false,
  "executionMode": "undefined",
  "readQuorum": 1,
  "writeQuorum": 1,
  "failureAvailableNodesLessQuorum": false,
  "readYourWrites": true,"clusters":{
    "internal": {
},
    "index": {
},
    "*": {
  "servers": ["sslc-db-backup-1","sslc-db-1","<NEW_NODE>"]
},
    "oschedule_node1444062165793": {
  "servers": ["sslc-db-backup-1","sslc-db-1","<NEW_NODE>"]
},
....
    "_studio_node1444062165793": {
  "servers": ["sslc-db-backup-1","sslc-db-1","<NEW_NODE>"]
},
....
    "ouser_node1444661341242": {
  "servers": ["sslc-db-backup-1","sslc-db-1","<NEW_NODE>"]
},
....
    }
}
---------- [OHazelcastPlugin]
2015-11-18 09:00:09:322 SEVER [sslc-db-1] error on creating cluster 'oschedule_sslc-db-1' in class 'OSchedule':  [OHazelcastPlugin][sslc-db-1] Error on starting distributed plugin
com.orientechnologies.orient.server.distributed.ODistributedException: Error on creating cluster 'oschedule_sslc-db-1' in class 'OSchedule'
    at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installLocalClusterPerClass(OHazelcastPlugin.java:1611)
    at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installDbClustersForLocalNode(OHazelcastPlugin.java:1280)
    at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.loadDistributedDatabases(OHazelcastPlugin.java:1421)
    at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:187)
    at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:979)
    at com.orientechnologies.orient.server.OServer.activate(OServer.java:346)
    at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)
Caused by: com.orientechnologies.orient.server.distributed.ODistributedException: Quorum cannot be reached because there are no nodes available
    at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.calculateQuorum(OHazelcastDistributedDatabase.java:364)
    at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:142)
    at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:363)
    at com.orientechnologies.orient.server.distributed.ODistributedStorage.command(ODistributedStorage.java:317)
    at com.orientechnologies.orient.server.distributed.ODistributedStorage.addCluster(ODistributedStorage.java:1275)
    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.addCluster(ODatabaseDocumentTx.java:1257)
    at com.orientechnologies.orient.core.metadata.schema.OClassImpl.createClusterIfNeeded(OClassImpl.java:2081)
    at com.orientechnologies.orient.core.metadata.schema.OClassImpl.addCluster(OClassImpl.java:1058)
    at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installLocalClusterPerClass(OHazelcastPlugin.java:1604)
    ... 6 more

using v2.0.15, using a new node name does not make any trouble and server starts successfully. also on v2.1.5 if I set node name to something used before (for example using v2.0.15) the problem does not appear.

So with v2.1.5 can you confirm this is fixed?

I'm not sure what you mean with fixed, here again an overview:
v2.0.15, using new node name and existing database directory ~> server starts successfully and creates new clusters for new node name
v2.1.5, using node name that was used by v2.0.15 and existing database directory ~> server starts successfully
v2.1.5, using NEW node name and existing database directory ~> server fails to start, it obviously tries to create new clusters but fails.
the last case does not seem a functional situation, it means first node in a cluster will always fail to start with a new node name because it can not reach the quorum (why a lonely node has to reach quorum?) and it can only be started with a node name which has been previously created by an older version.

this is getting even more problematic, I have now new exceptions even using existing node names when database is running on v2.1.5. When I add new classes to database I get following exception:
catching com.orientechnologies.orient.server.distributed.ODistributedException: Error on creating cluster 'new-class-name_node1447768640786' in class 'new-class-name'
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installClustersOfClass(OHazelcastPlugin.java:1230) ~[?:?]
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.propagateSchemaChanges(OHazelcastPlugin.java:1162) ~[?:?]
	at com.orientechnologies.orient.server.distributed.ODistributedStorage.command(ODistributedStorage.java:320) ~[orientdb-server-2.1.5.jar:2.1.5]
	at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:63) ~[orientdb-core-2.1.5.jar:2.1.5]
	at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1319) ~[orientdb-server-2.1.5.jar:2.1.5]
	at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:396) ~[orientdb-server-2.1.5.jar:2.1.5]
	at com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:223) ~[orientdb-server-2.1.5.jar:2.1.5]
	at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77) ~[orientdb-core-2.1.5.jar:2.1.5]
Caused by: com.orientechnologies.orient.server.distributed.ODistributedException: Quorum cannot be reached because there are no nodes available
	at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.calculateQuorum(OHazelcastDistributedDatabase.java:364) ~[?:?]
	at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:142) ~[?:?]
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:363) ~[?:?]
	at com.orientechnologies.orient.server.distributed.ODistributedStorage.command(ODistributedStorage.java:317) ~[orientdb-server-2.1.5.jar:2.1.5]
	at com.orientechnologies.orient.server.distributed.ODistributedStorage.addCluster(ODistributedStorage.java:1275) ~[orientdb-server-2.1.5.jar:2.1.5]
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.addCluster(ODatabaseDocumentTx.java:1257) ~[orientdb-core-2.1.5.jar:2.1.5]
	at com.orientechnologies.orient.core.metadata.schema.OClassImpl.createClusterIfNeeded(OClassImpl.java:2081) ~[orientdb-core-2.1.5.jar:2.1.5]
	at com.orientechnologies.orient.core.metadata.schema.OClassImpl.addCluster(OClassImpl.java:1058) ~[orientdb-core-2.1.5.jar:2.1.5]
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installClustersOfClass(OHazelcastPlugin.java:1223) ~[?:?]
	... 7 more

this is pretty critical and means I have to either turn off clustering completely and use single instances or to roll back to v2.0.15.

I tried your use case and works. Could I have your database to try with it locally? In case send to support - at - orientdb.com. Thanks.

I will provide you the DB on given email, I wanted to give another details which may be important to be aware of, I'm using this docker image to run my DB: github.com/mohamnag/ecs-orientdb
currently I switched to single instance DB with disabled clustering which is not optimal but it at least works.

The problem seems in the node names: you have configured 4 nodes, but no node is active to distributed the request. You should remove the node names from distributed-config.json under your database directory first.

I can confirm that by removing all the other node names I could start the first node in distributed mode successfully. however I'm still unable to run the second node due to #5340 to be able to confirm that distributed mode works as expected.
PS: was this on the migration guide that one shall remove node names manually?

Commented and closed #5340. Please look at my comment. Could you now retry if you can start nodes?


[Version 1.56.2] Extension host terminated unexpectedly

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.56.2
OS Version: Windows 10

Steps to Reproduce:

Remove .vscode folder and reinstall VSCode
Open VSCode to see the extension host terminated unexpectedly error

@cloudsere Does this reproduce all the time, even when opening an empty window? Does this reproduce when disabling all extensions? Can you please share the extension host log (F1 > Developer: Show Logs... > Extension Host)?

I am sorry about that! That's definitely wrong. Could you please share the renderer log or any logs that have content / show errors ?

I reinstall my windows system...and it worked for several days...today it happens again @alexdima can you help with it?
20210621T010951.zip

@vscode-triage-bot can you help to re open this issue?

@cloudsere Thank you for the logs. Unfortunately, they are not really revealing of any problem. But on taking another look at your initial screenshot, I noticed the following:

Do you have any kind of software installed (e.g. antivirus software) that would actively interfere with named pipes ?

@alexdima I use event logs and found a same log as https://github.com/microsoft/vscode/issues/97031 this issue, but this seems have no affect on the extension host termination error... I think windows defender is the only anti virus software I have, can you tell me how can I check whether a software is interfered with named pipes?

@cloudsere Is there anything special about your Windows machine?
e.g. is it Windows 10 Home/Pro or Windows Server, is your computer domain joined, is it managed by your organization in any way, do you have proxies configured? Is there anything special ?

@alexdima Yes, my computer is domain joined and managed by my organization(microsoft:)), I have proxies configured

@alexdima After debugging for a long time, I found that my DNS server is of high CPU usage, and I run ipconfig /all and found infinite list of strange server <IP_ADDRESS>, I run netsh  interface  ip set DNS Name="Ethernet"  source=DHCP in powershell, and it works!

@cloudsere I'm not an expert with that, so I'm not sure I understood what the problem was, nor what the fix was. Could you please elaborate so I know in the future what problems there might be in the area of named pipes?

Sorry, I am also not sure whether this have something to do with name pipes...

Since your issue is resolved and there is nothing to do on our side, I will close this issue for now.


[WIP] collect metadata in k8s cm

This PR gives an options to persist RBD and CephFS metadata (currently stored on node) in a k8s configmap.
This is a WIP, for now it only supports RBD.
Related task: #66

Thanks for the work! The general idea seems ok. For the first round of comments:
Non-atomic operations on a shared ConfigMap introduce race conditions
There's a race condition in read->modify->write when adding/deleting objects in a shared ConfigMap resulting in loosing the result of either of those operations.
Unrelated to the race condition but we should also take the size limit of a single CM object into the account - etcd is limiting us at 1MB per object which seems enough but since this implementation is using a single CM for all volumes it manages, maybe this is something to look out for.
Reusing metadata persistence code in both drivers
This one is just for refactoring so that we don't have the same thing implemented twice. Perhaps we could add a new package under pkg/util- this would contain interface for metadata manipulation with type-erased data + implementations for local storage and k8s CM. Maybe something like:
type CachePersister interface {
  Get(..., data interface{}) error
  Update(..., data interface{}) error
  Delete(...) error
}

Be more explicit about the type of metadata storage
Instead of having a bool --persistmetadata cmd argument, something more explicit could be more suitable, e.g. --metadatastorage=[node|configmap]. Also, IMHO any mention of Kubernetes-specific terminology should be indicated as such e.g. by prefixing such names with k8s_ (as in k8s_configmap rather than just configmap).
@rootfs thoughts?

Thanks for the feedback @gman0 !

Non-atomic operations on a shared ConfigMap introduce race conditions
There's a race condition in read->modify->write when adding/deleting objects in a shared ConfigMap resulting in loosing the result of either of those operations.

Unrelated to the race condition but we should also take the size limit of a single CM object into the account - etcd is limiting us at 1MB per object which seems enough but since this implementation is using a single CM for all volumes it manages, maybe this is something to look out for.

I haven't thought about it... Do you have an idea how to handle both of these cases?
About the size limit of CM; I can't think of a direct solution to check it. Maybe counting characters in the data object?

@mickymiek for a quick start, you can make one cm per volume. In the cm, add a special label so when we list all volumes, we can list by label. You can find an example here

cc @rohan47

updated my PR, PTAL @gman0 @rootfs, thanks !

Also, please run gofmt to fix the formatting errors.

Updated, PTAL @gman0!

Looks better, I'll post more comments on weekend.


Add Str.replace* builtins

Blocked by https://github.com/roc-lang/roc/issues/4018

Why can't I get the REPL to pick up on my changes? Is it related to #4018?
[jan@framey roc]$ cargo run repl
    Finished dev [unoptimized + debuginfo] target(s) in 0.20s
     Running `target/debug/roc repl`

  The rockin’ roc repl
────────────────────────

Enter an expression, or :help, or :q to quit.

» Str.replaceFirst

── NOT EXPOSED ─────────────────────────────────────────────────────────────────

The Str module does not expose `replaceFirst`:

4│      Str.replaceFirst
        ^^^^^^^^^^^^^^^^

Did you mean one of these?

    Str.splitFirst
    Str.repeat
    Str.split
    Str.splitLast

»

@JanCVanB I pushed some fixes - the reason they weren't showing up as exposed is that builtins need to be manually registered in Symbol - see https://github.com/roc-lang/roc/pull/4019/commits/2030774e6838f473797eb5c165c6fe77b0f1d551
I also fixed some type mismatches and added some tests!

My hero!

I'll never forget about Symbol again.

It works! Ready to merge!


🚀 Feature: scope Gitlab Org Data integration to a single group

🔖 Feature description
The group field for a GitlabProviderConfig is described as
https://github.com/backstage/backstage/blob/e9e5da25b832d2bbfaaadb2e73ec2ea6a8e1edb9/plugins/catalog-backend-module-gitlab/config.d.ts#L32-L36
and
https://github.com/backstage/backstage/blob/e9e5da25b832d2bbfaaadb2e73ec2ea6a8e1edb9/docs/integrations/gitlab/discovery.md?plain=1#L25
This is consistent with the behaviour of the GitlabDiscoveryEntityProvider, which uses the parameter to filter projects:
https://github.com/backstage/backstage/blob/e9e5da25b832d2bbfaaadb2e73ec2ea6a8e1edb9/plugins/catalog-backend-module-gitlab/src/providers/GitlabDiscoveryEntityProvider.ts#L155-L162
Since the GitlabOrgDiscoveryEntityProvider also consumes a GitlabProviderConfig, it could interpret the same parameter in a corresponding fashion regarding groups and users:

the only groups ingested are the referenced group itself and its descendants.
the only users ingested are direct members of the referenced group or its descendants.

🎤 Context
Narrowing the set of users and groups to ingest is helpful when your organization is using a GitLab instance shared with other software projects that are not tracked in Backstage. Also, if your GitLab instance contains a lot of data, it can be helpful to narrow the scope of ingestion to get faster feedback while testing and iterating on your provider config.
✌ Possible Implementation
In #16023 I mention a GraphQL query that can fetch a group and its descendant groups, as well as direct memberships at each level of the hierarchy. That's a pretty good fit for this issue too!
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Thanks for creating this and #16023. Think they both seem reasonable! :pray:

Still needs to be implemented

Anyone up for this? Right now we are using the public gitlab.com and backstage tries to list/discover all users which are hundreds of thousands..

My team is currently working on this. Hoping to have some changes to review and collect feedback in the coming days

Hi, just wanted to comment that this stuff is risky as in GitLab self-hosted it's reasonable that you want all users (of the whole instance) but just a subgroup for teams, and that's why I worked on a merged MR in the past to allow fetch only subgroups of a specific group:
        group: org/teams # Optional. Must not end with slash. Accepts only groups under the provided path (which will be stripped)

Instead in the SaaS instance you still want the second option as your teams description will definitely be under some subgroup, but you only want the user that are member of your root level group, so we should probably add an option that tell us which is the root level group.

@sbarrypoppulo if you need help I'd be happy to work with you on this

@matteosilv Yes, having to support slightly different logic for Self-Managed GitLab and GitLab.com is a bit of a challenge. We've handled this in our implementation like so:

For GitLab Self-Managed: Continue to use the /users and /groups endpoints (group parameter is optional)
For GitLab.com: Use GraphQL queries to fetch group and it's descendant groups and fetch the direct members of the groups (group is required for GitLab.com)

We're fairly close to opening a PR for review, so would appreciate any feedback and testing of the proposed changes! Our solution is potentially geared towards our Orgs particular group and membership structure, but will hopefully provide something that can be built upon.

For example with your current implementation you seem to be breaking the assumption I made with my MR:
In my case I have my root level group that is my-company and my teams are under the subgroup my-company/teams, so when I list user I'd like them t be listed under the root level group and not under my-company/teams, so I think we should change this line:
  users = (await client.listSaasUsers(this.config.group)).items;

and pass the root level group, stripping out any subgroup.
What do you think?

I commented in your fork. I can help and test it on my instance if needed

Closing this as resolved by #18889


CPU time values documentation is missing units

I believe it's microseconds, but it should be specified.

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

ID: 24764159-9678-dad1-dfbd-f0563e2146f9
Version Independent ID: 87a7ac36-8697-6ddd-e9a4-fd8b019e3ecd
Content: sys.dm_db_tuning_recommendations (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-dynamic-management-views/sys-dm-db-tuning-recommendations-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @jovanpop-msft
Microsoft Alias: jovanpop

@tussosedan Thank you for the feedback, assigning this to the author for review.

#assign-julieMSFT

@tussosedan Hi Alex, I am looking into this with the other issues you submitted for this article.

#https://github.com/MicrosoftDocs/sql-docs-pr/pull/14517/files

@tussosedan Hi Alex, on further review the CPU time values were added to the document. I will go ahead and close this issue. The @notification mechanism continues to work even after an item is closed, in case further communication is needed. Thank you for your contribution to Microsoft Docs and we hope to hear from you again.

#please-close


golang client sdk

I use https://github.com/gioui as do others to build Web, Desktop and Mobile apps.
Can you provide a golang SDK perhaps.
I image it will be a subset of the golang cli perhaps but i have not looked into too deeply.
The hasura graphql golang client seems to be the main import ?
I think it would be very easy to make an example. Here is a common example basis: https://github.com/gioui/gio-example/tree/main/component

Hey @gedw99.
Do you mean a Nhost Golang client/SDK as we have for JavaScript/TypeScript to make it easy to interact with graphql, auth, storage, and functions?

Yes i know you have a JS / TS code lib to interact with the graphql, auth, storage, and functions?
But i would like a golang equivalent so that i can built web, desktop and mobile apps to work with nhost.
i would use GIUIO which is a golang GUI framework.

I started working on a client. It is quite minimal yet:

NhostClient providing access to Auth, Storage (and later Graphql and Functions) clients
Auth client

Sign in with email/password (nhostClient.Auth.SignInEmailPassword())
Sign out (nhostClient.Auth.SignOut()
Callbacks on token change (nhostClient.Auth.OnTokenChanged()) and auth status change (nhostClientAuth.OnAuthStateChanged())

Storage client

Automatic update of access token when Auth refreshes token
Get presigned URL for downloading files (nhostClient.Storage.GetPresignedUrl())

https://github.com/beepsoft/nhost-go


Tensorboard logdir not right

Data location: path:/mnt/tensorboard
/opt/conda/bin/python /opt/conda/bin/tensorboard --logdir=path:/mnt/tensorboard --port=12148 --bind_all

path:

mightbe not required
and I killed
/opt/conda/bin/python /opt/conda/bin/tensorboard --logdir=path:/mnt/tensorboard --port=12148 --bind_all
and rerun
/opt/conda/bin/python /opt/conda/bin/tensorboard --logdir=/mnt/tensorboard --port=12148 --bind_all
Tensorboard worked

@lbin are you suggesting a bug fix? would you like to submit a PR for this fix?

Hi lbin, where did you see the command /opt/conda/bin/python /opt/conda/bin/tensorboard --logdir=path:/mnt/tensorboard --port=12148 --bind_all?
I think the usage of --logdir=path:/mnt/tensorboard is wrong.

Hi lbin, where did you see the command /opt/conda/bin/python /opt/conda/bin/tensorboard --logdir=path:/mnt/tensorboard --port=12148 --bind_all? Is it a part of OpenPAI's document? I think the usage of --logdir=path:/mnt/tensorboard is wrong.

I used ssh to login into the container, and 'htop' to get this command

What is the version of your OpenPAI?

What is the version of your OpenPAI?

v1.0.1

Can you share your job configuration? I'm going to reproduce this bug.

protocolVersion: 2
name: face_detector_with_data_aug_f310d520
type: job
jobRetryCount: 0
prerequisites:

type: dockerimage
name: docker_image_0
auth:
registryuri: '<IP_ADDRESS>:5000'
uri: '<IP_ADDRESS>:5000/pytorch:latest'
taskRoles:
taskrole:
instances: 1
completion:
minFailedInstances: 1
minSucceededInstances: -1
taskRetryCount: 0
dockerImage: docker_image_0
resourcePerInstance:
gpu: 8
cpu: 32
memoryMB: 241850
commands:

git clone ssh://out_private_address
git checkout -b data_aug origin/data_aug
'pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple'
pip install opencv-python
pip install -e .
cd projects/facetron
mkdir datasets
python train_net.py --config-file
configs/r_50_3x.yaml --num-gpus 8
secrets: '******'
defaults:
virtualCluster: default
extras:
com.microsoft.pai.runtimeplugin:
plugin: ssh
parameters:
jobssh: true
userssh:
type: custom
value: >-
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAACAQDdbk0A/bP90VdsaXU9HD0W2rxb0eOKoy71ExmoDIjYpyLk32CEmL8MWYxU6WamDRHUvw6BMduiuabwawQM1zMRi+AGOGMoxg/Rm0gNs5fOKBtNVOIEq9+JVQg5GukjSOTbVwzmXoBnO2I9h6mHPael2mzPz2+Df/TxFR1Mo8etWRNCsSKgDBp8Wkz6FBaSy+yulIOfLNJi8SaOUjAmptF5eGX+xW+aMSXakgl4pK5rFl2Bve5YtHHR/2qej5yMzAmlQImuoK5QBSx2+7nHl21aykmVCR24sBG1Rnu2Ms716CnGd1CkHuyuXeSGlLp287Id0oWBBIblvWbia4kRtD79an0FrTjgp9xu6iqeA+KyExIVDpiNtXoRGgWbgyg/pkavPryZPtbCAQ0pAzwB3jbmxTNmJMjdwwR161CUUphjbmqvNZHvwpe2Q+iWoaYr30pK5+/Lad+d0dG2Ks5cTTVybi9+Gv9EvIgwO6zrKd0/mATeeXp80lZQJj0MH7ThmXycE0jCMvqWh3OWQu/St/RzBGm37Ek4hm1kge881hUoFIog+9AuEHuBhGosx4TMrEP8bAKozS1bkKX8n7qq+DhAo8D0sXs3ncTWxKpfYu4eNXweGNyekwQFbP+E//S9ct0GQ+UhfRHP1FoX/KXuT87pjg8yrRlL1l5leFqaJh6WCw==
<EMAIL_ADDRESS>plugin: teamwise_storage
parameters:
storageConfigNames:
- nfs-storage
plugin: tensorboard
parameters:
port: 12148
logdir:
path: /mnt/tensorboard

@lbin are you suggesting a bug fix? would you like to submit a PR for this fix?

https://github.com/microsoft/pai/blob/v1.0.1/contrib/submit-job-v2/src/App/TensorBoard.tsx#L408  maybe here give the wrong path, but i am not familiar with tsx or pai framwork @scarlett2018 @hzy46

https://github.com/microsoft/pai/blob/v1.0.1/contrib/submit-job-v2/src/App/TensorBoard.tsx#L385
Object.keys(logDirectories).forEach((key) => {       logPathList.push(${logDirectories[key]});     });
@hzy46 is this right?

@lbin, after a careful check of tensorboard command, I find --logdir=path:/mnt/tensorboard is not wrong. It is a proper setting.
Here is the help for tensorboard:

You can see tensorboard allows formats like --logdir=name1:/path/to/logs/1,name2:/path/to/logs/2. I tried --logdir=path:/mnt/tensorboard and it worked. I'm not sure whether it is a problem of tensorboard version. My tensorboard version is 1.15.0.

my tensorboard version is 2.2.2

optional arguments:
-h, --help            show this help message and exit
--helpfull            show full help message and exit
--logdir PATH         Directory where TensorBoard will look to find
TensorFlow event files that it can display.
TensorBoard will recursively walk the directory
structure rooted at logdir, looking for .tfevents.
files. A leading tilde will be expanded with the
semantics of Python's os.expanduser function.
--logdir_spec PATH_SPEC
Like --logdir, but with special interpretation for
commas and colons: commas separate multiple runs,
where a colon specifies a new name for a run. For
example: tensorboard --logdir_spec=name1:/path/to/log                         s/1,name2:/path/to/logs/2. This flag is discouraged
and can usually be avoided. TensorBoard walks log
directories recursively; for finer-grained control,
prefer using a symlink tree. Some features may not
work when using --logdir_spec instead of --logdir.

Thanks, I found it is a breaking change of tensorboard v2.0.0. Refer to https://github.com/tensorflow/tensorboard/releases/tag/2.0.0:
The --logdir flag no longer supports passing multiple comma-delimited paths,

which means that it now supports paths containing literal comma and colon
characters, like ./logs/m=10,n=20,lr=0.001 or ./logs/run_12:30:15. To
mimic the old behavior, prefer using a tree of symlinks as it works with more
plugins, but as a fallback the flag --logdir_spec exposes the old behavior.
See PR 2664.

I think our tensorboard plugin should use --logdir_spec when tensorboard >= v2.0.0

@Binyang2014 Could you help modify https://github.com/microsoft/openpai-runtime/blob/master/src/plugins/tensorboard/tensorboard.sh.template#L28 ?

As the describe above for --logdir_spec. This flag is discouraged and can usually be avoided. @lbin can you use symlinks as the command suggested to avoid using --logdir_spec?

As the describe above for --logdir_spec. This flag is discouraged and can usually be avoided. @lbin can you use symlinks as the command suggested to avoid using --logdir_spec?

I downgraded my tensorboard~

Fixed by: #4658


Generic bytes overload for unknown/unsupported data types

If turbodbc doesn't yet support a particular datatype perhaps it could be mapped to raw binary bytes and leave it to the user to convert into something sensible.
This is just a suggested workaround for #142 but would be generally useful for other unsupported types too.

Makes perfect sense, Dave.


uBlock blocks any url with mixpanel, so it breaks if the script is even imported

Steps

require mixpanel on Ionic project

Expected
the app to work
Actual
the app doesn't work because the error is not handled and platform ready never happens

Closed by https://github.com/agencyenterprise/cordova-mixpanel-plugin/commit/39562c9c38d504df4c8fb737cae7fc34a3eba608


failed to add service - already in use if OpenGL driver installed

Hello,
I am trying to use aminogfx-gl on a Raspberry Pi Model B.
I have been able to npm install without problem (the code has been compiled with no error).
I can run the demos if I don't active the OpenGL driver.
Now, when I activate the driver
rapsi-conf -> Avdanced Options -> GL Driver
G1 GL (Full KMS) OpenGL desktop driver with full KMSMS
G2 GL (Fake KMS) OpenGL desktop driver with fake KMSMS
G3 Legacy        Original non-GL desktop driver
And I choose G1 or G2, i get the following error:
pi@rastapi:~/workspace/aminogfx-gl$ node demos/circle.js

failed to add service - already in use?

What does that mean ?
If I choose G3, it works; but does that mean that aminogfx, in this case, uses a software emulation ?
Thanks

Look's like it is a problem with the Raspberry itself and the openGl driver.
I have tried
sudo rpi-update
and split memory 128, 256 with no success
Look's like I am not the only one having these problem.

You cannot use any x window OpenGL driver because aminogfx-gl directly accesses EGL/OpenGL. No driver is needed for aminogfx-gl. The driver blocks any other software from accessing OpenGL.
128 MB GPU memory is recommended.

OK, thanks


index page

Hi there! I don't see a description for this PR, but based on the changes, did you mean to open a PR against your fork instead of this repo?

Yes! Sorry about that.
On Wed, Jan 4, 2023 at 9:58 AM Brent Jackson @.***>
wrote:

Hi there! I don't see a description for this PR, but based on the changes,
did you mean to open a PR against your fork instead of this repo?
—
Reply to this email directly, view it on GitHub
https://github.com/gatsbyjs/gatsby-starter-shopify/pull/78#issuecomment-1371109703,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXFCN23MDPV3CACFR5F3DDLWQWM3FANCNFSM6AAAAAATGB423Y
.
You are receiving this because you authored the thread.Message ID:
@.***>

--

This electronic message may contain information that is privileged,
confidential, and may otherwise be protected from disclosure. If you are
not an intended recipient or have inadvertently received this message,
please contact the sender immediately in a separate email. You may not
review, copy or distribute this message and please delete the original
message such that it cannot be recovered.


Where is the Objectron 2stage graph?

Solution: Objectron
Where can I find the file with the precise description of the graph used by the 2 stage architecture Objectron??? At this
link
I can only see files with 1_stage description in the name.
Which one is referred to the 2stage architecture?

Besides I dont understand if the detection and tracking is applied differently to the 2stage architecture, because it seems from the papers and the documentation that the detection and tracking subgraphs are related only to the 1stage

https://arxiv.org/abs/2006.13194
does the technique described here in this paper is applied also to the 2stage architecture?

Hi @matildao-pane .
Yes , that paper describes about 2 stage architecture.


Adding a simple function to test env vars

This function was created based the request from kustomize team:
this is for kubernetes-sigs/kustomize#2999
Please pay attention that go functions don't get built, so to make my e2e work I've done this hack:
https://github.com/GoogleContainerTools/kpt-functions-catalog/pull/103/commits/84f2c5702d021f925437633b9db442486dcaf86c#diff-60fe268f71ae7f8409aff40d0a3e51d8

this is for https://github.com/kubernetes-sigs/kustomize/pull/2999
cc: @monopole , @Shell32-Natsu

@frankfarzan sorry for the delay with the new version.
I've completely removed the template mechanism and have made a really simple function, but since it works with env variables it can be used when the value isn't knows. E.g. timestamping example.
while I was working on this I found several little issues in the repo:

https://github.com/GoogleContainerTools/kpt-functions-catalog/pull/116 - forgot about functions/ts/build/kustomize_build.Dockerfile - didn't fix, since it doesn't fail
https://github.com/helm/charts/commit/2f54b7c00c9e72b210dbcfb6254a68746672a6a7#diff-4ea099515951a32bd22484cbcc15d627597b97b43f6df64437b8ca64a2ff6676 - chart is deprecated and that causes error - partially fixed, partially commented
https://github.com/GoogleContainerTools/kpt-functions-catalog/blob/master/tests/annotate_config.sh#L53 - this branch has been removed and that causes error - fixed


Fix Graph Filter Error in Search

Description:

Reproducing the issue:

[1] . creating index:

curl -XPUT localhost:9200/test-index --data '{   "settings": {     "index": {       "analysis": {         "analyzer": {           "search_analyzer": {             "filter": [               "stop",               "asciifolding",               "elision",               "lowercase",               "synonym_graph",               "snowball",               "unique"             ],             "tokenizer": "standard",             "type": "custom"           },           "index_analyzer": {             "filter": [               "stop",               "asciifolding",               "elision",               "word_delimiter",               "flatten_graph",               "lowercase",               "snowball",               "unique"             ],             "tokenizer": "standard",             "type": "custom"           }         },         "filter": {           "synonym_graph": {             "lenient": "true",             "synonyms": [               "head board, bed head, bedhead, headboard"             ],             "type": "synonym_graph"           },           "synonyms": {             "synonyms": [               "head board, bed head, bedhead, headboard"             ],             "type": "synonym"           },           "word_delimiter": {             "preserve_original": "true",             "type": "word_delimiter"           }         }       }     }   },   "mappings": {     "dynamic": "strict",     "properties": {       "merchandising_keywords": {         "analyzer": "index_analyzer",         "index_options": "docs",         "search_analyzer": "search_analyzer",         "type": "text"       }     }   } } ' -H "Content-Type:Application/json"

[2 ] querying by
curl 'localhost:9200/test-index/_search?pretty' --data '{"query": {"match": {"merchandising_keywords": "Gas Lift Storage Bed Frame with Arched Bed Head in King"}}}' -H "Content-Type:Application/json"
[3 ] outcome
'get 404 error' assertion error

Testing with logging information. the Input of the function is a graph created from lucene, GraphTokenStreamFiniteStringsorg.apache.lucene.util.graph.GraphTokenStreamFiniteStrings. Found out when there is no document added, the graph has no path, only the source node.  so while walking through the graph to find side path get assertion error, start =0, end = -1, state =0,  next_state = 0

[2022-12-29T15:07:35,251][INFO ][o.o.p.PluginsService     ] [runTask-0] PluginService:onIndexModule index:[test-index/jVsetp_JTSuPkUBIeKFuYg][2022-12-29T15:07:35,290][DEBUG][o.o.c.c.C.CoordinatorPublication] [runTask-0] publication ended successfully: Publication{term=1, version=3} [2022-12-29T15:07:35,423][DEBUG][o.o.c.c.PublicationTransportHandler] [runTask-0] received diff cluster state version [4] with uuid [aSNgAs0GRIK8AkGNiu_TjQ], diff size [620] [2022-12-29T15:07:35,453][DEBUG][o.o.c.c.C.CoordinatorPublication] [runTask-0] publication ended successfully: Publication{term=1, version=4} [2022-12-29T15:07:49,047][INFO ][o.o.i.s.MatchQuery       ] [runTask-0]   check the sourceCachingTokenFilter@52e91aa3 term=,bytes=[],startOffset=55,endOffset=55,positionIncrement=0,positionLength=1,type=word,termFrequency=1,keyword=false [2022-12-29T15:07:49,048][INFO ][o.o.i.s.MatchQuery       ] [runTask-0]   check the GraphTokenStreamFiniteStringsorg.apache.lucene.util.graph.GraphTokenStreamFiniteStrings@6389dd20 [2022-12-29T15:07:49,048][INFO ][o.o.i.s.MatchQuery       ] [runTask-0] articulationPoints.length:  0 [2022-12-29T15:07:49,048][INFO ][o.o.i.s.MatchQuery       ] [runTask-0] i:  0 [2022-12-29T15:07:49,049][INFO ][o.o.i.s.MatchQuery       ] [runTask-0] lastState:  -1 [2022-12-29T15:07:49,049][INFO ][o.o.i.s.MatchQuery       ] [runTask-0] end:  -1 [2022-12-29T15:07:49,049][INFO ][o.o.i.s.MatchQuery       ] [runTask-0] catch assertion error:  java.lang.AssertionError: state=0 nextState=0

Applying the fix
to catch the error raising from lucene, and return empty query. Because there is no path found, no need to go further to analyze the graph, return empty query results.

** this is the query result as expected after the fix:
curl 'localhost:9200/test-index/_search?pretty' --data '{"query": {"match": {"merchandising_keywords": "Gas Lift Storage Bed Frame with Arched Bed Head in King"}}}' -H "Content-Type:Application/json"
{
"took" : 68,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 0,
"relation" : "eq"
},
"max_score" : null,
"hits" : [ ]
}
}
Issues Resolved
https://github.com/opensearch-project/OpenSearch/issues/5379
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #5665 (1c1959d) into main (b3deb12) will decrease coverage by 0.16%.
The diff coverage is 62.50%.

@@             Coverage Diff              @@
##               main    #5665      +/-   ##
============================================
- Coverage     71.11%   70.95%   -0.17%
+ Complexity    58670    58562     -108
============================================
  Files          4760     4760
  Lines        279515   279522       +7
  Branches      40348    40348
============================================
- Hits         198775   198329     -446
- Misses        64606    64981     +375
- Partials      16134    16212      +78

Impacted Files
Coverage Δ

...n/java/org/opensearch/index/search/MatchQuery.java
75.89% <62.50%> (-0.35%)
:arrow_down:

...adonly/AddIndexBlockClusterStateUpdateRequest.java
0.00% <0.00%> (-75.00%)
:arrow_down:

...readonly/TransportVerifyShardIndexBlockAction.java
9.75% <0.00%> (-58.54%)
:arrow_down:

...pensearch/indices/breaker/CircuitBreakerStats.java
27.77% <0.00%> (-41.67%)
:arrow_down:

...indices/readonly/TransportAddIndexBlockAction.java
20.68% <0.00%> (-37.94%)
:arrow_down:

.../opensearch/client/indices/CloseIndexResponse.java
56.25% <0.00%> (-35.00%)
:arrow_down:

.../indices/readonly/AddIndexBlockRequestBuilder.java
0.00% <0.00%> (-33.34%)
:arrow_down:

...search/search/aggregations/pipeline/EwmaModel.java
24.44% <0.00%> (-28.89%)
:arrow_down:

...ch/cluster/metadata/MetadataIndexStateService.java
46.61% <0.00%> (-25.50%)
:arrow_down:

...nsearch/index/shard/IndexingOperationListener.java
63.93% <0.00%> (-22.96%)
:arrow_down:

... and 455 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

test failure in build 8978:
REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.action.support.replication.TransportReplicationActionTests.testClosedIndexOnReroute" -Dtests.seed=22C2F47F9CF3054C -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-SY -Dtests.timezone=Etc/GMT0 -Druntime.java=19

org.opensearch.action.support.replication.TransportReplicationActionTests > testClosedIndexOnReroute FAILED
    java.lang.IllegalStateException: No local node found. Is the node started?
        at __randomizedtesting.SeedInfo.seed([22C2F47F9CF3054C:4E3C56FCFF618C07]:0)
        at org.opensearch.cluster.service.ClusterService.localNode(ClusterService.java:156)
        at org.opensearch.action.support.replication.TransportReplicationAction$ReroutePhase.<init>(TransportReplicationAction.java:890)
        at org.opensearch.action.support.replication.TransportReplicationAction$ReroutePhase.<init>(TransportReplicationAction.java:883)
        at org.opensearch.action.support.replication.TransportReplicationActionTests.testClosedIndexOnReroute(TransportReplicationActionTests.java:640)

Doesn't seem related to the code change.

In build 8982:
REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.indices.replication.SegmentReplicationRelocationIT.testPrimaryRelocationWithSegRepFailure" -Dtests.seed=4CCBB588DFDFA1DA -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=es-BO -Dtests.timezone=Europe/Simferopol -Druntime.java=19

org.opensearch.indices.replication.SegmentReplicationRelocationIT > testPrimaryRelocationWithSegRepFailure FAILED
    java.lang.AssertionError: Count is 24 hits but 48 was expected.  Total shards: 1 Successful shards: 1 & 0 shard failures:
        at __randomizedtesting.SeedInfo.seed([4CCBB588DFDFA1DA:C854ED08956797F7]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.opensearch.test.hamcrest.OpenSearchAssertions.assertHitCount(OpenSearchAssertions.java:303)
        at org.opensearch.indices.replication.SegmentReplicationRelocationIT.testPrimaryRelocationWithSegRepFailure(SegmentReplicationRelocationIT.java:190)

in build 8984:
REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.indices.replication.SegmentReplicationRelocationIT.testPrimaryRelocation" -Dtests.seed=A006921DD2141D23 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ar-BH -Dtests.timezone=Africa/El_Aaiun -Druntime.java=19

org.opensearch.indices.replication.SegmentReplicationRelocationIT > testPrimaryRelocation FAILED
    java.lang.AssertionError: Count is 69 hits but 138 was expected.  Total shards: 1 Successful shards: 1 & 0 shard failures:
        at __randomizedtesting.SeedInfo.seed([A006921DD2141D23:180EA5CFF17D4ECD]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.opensearch.test.hamcrest.OpenSearchAssertions.assertHitCount(OpenSearchAssertions.java:303)
        at org.opensearch.indices.replication.SegmentReplicationRelocationIT.testPrimaryRelocation(SegmentReplicationRelocationIT.java:114)


Add Responsive Implementation

What's New?

Responsive Width based on Window Dimensions Width
Responsive Height based on Window Dimensions Height
Responsive Text based on Window Dimensions Width

Maybe on next version, should to implement DRY to reduce duplicate code.
https://en.m.wikipedia.org/wiki/Don't_repeat_yourself

thanks for the suggestion, it will be great though. I'll try to implement it on 0.6.0 (Major Update)


iCub falls face down

@atabakd wrote:

I have been trying to get this demo to work again, but I cannot remember which iCub model we were using. It works if I use "iCubGazeboV2_5 fixed" but iCub falls on the ground if I use "iCubGazeboV2_5 standing".
I am not sure if this was the expected behavior:thinking:
Cheers,

Thanks for moving it to the right place @pattacini. I just wanted to point that I was referring to the tutorial on impedance control.

Sorry, my mistake then, I thought it was opened into vvv-school/vvv-school.github.io repo.
Issue restored in the original place.


Azure Functions SDK not able to integrate with Azure Cosmos DB Tables

Hi,
Am trying to integrate Azure Functions with Cosmos DB Tables, but it's failing. I've opened a separate conversation with Cosmos DB Team and it was flagged as an issue with Azure Functions SDK as the namespaces are same in Azure Functions SDK and Cosmos DB Premium Tables.
Please help to resolve the issue.
Just to add more - am using C# scripts and VS Studio templates for writing code.

Is there any update on this?


What future for Voyager?

Laravel version
10
PHP version
8.2
Voyager version
1.6
Database
8.0
Description
Good morning,
Voyager has been scaring me for a while... no more recent updates, still no compatibility with Laravel 10...
Are the administrators of this project still dealing with it?
Or is Voyager destined for abandonment?

Expected behavior
Nothing, just to tell you that I was on Slack Voyager and now you're on heroku...
Screenshots
No response
Additional context
Disappointment 😕

It seems that it has no future
I published push pequest a long time ago, but no one needs it
It's a shame, really.


Zoomify and Controlify mods cannot start together because of a Quilted Fabric API quirk

Relevant issue at the other end: https://github.com/isXander/Zoomify/issues/195
It seems as though the version parse method used by Quilt is ever so slightly different to induce some mods' code into behaving erratically.
Relevant calls:
https://github.com/isXander/Zoomify/blob/1.20/src/main/kotlin/dev/isxander/zoomify/integrations/IntegrationHelper.kt

Thanks for reminding me to transfer the issue

QFAPI has nothing to do with this. This is an issue with Quilt Loader itself.

@isXander Sorry, I tried! Sorry to you too @OroArmor :(

I'd assume that 2.x.x in Quilt does not match betas.

Can be closed?


FFImageLoading not working on Xamarin.forms using .Net Standard 2.0

Description
FFImageLoading is not working with .Net Standard 2.0.
Steps to Reproduce

Create a new Xamarin.Forms project with .Net Standard 2.0 called FF for Android, UWP.

Add the Nuget packages

Add the following line to the Android

CachedImageRenderer.Init(enableFastRenderer: true);

Add a new image to the PCL project called MyGif.gif

Change the MainPage to:

<ContentPage.Content>

<ff:CachedImage Source="resource://FF.MyGif.gif"  />

</ContentPage.Content>

Expected Behavior
Show the image in the view
Actual Behavior
It doesn't show the image
Basic Information

Version with issue: 2.3.4
Last known good version: ?
Platform: Windows 10

Screenshots

Reproduction Link / Code

It's working for me on UWP, Android and iOS.

Interesting. I debugged this for a couple of hours but I couldn't get it to work.
Do you keep the images in the .Net Standard PCL or the platform specific projects? Could you provide more information about what version of FFImageLoading you used, etc? Would it be possible to share the code?

@kahaeia1 If you keep your files in another assembly, you must specify it, as stated here: https://github.com/luberda-molinet/FFImageLoading/wiki/Data-URL-&-Embedded-Resources-support-(including-base64)#embedded-resources-uri-support
or use new EmbeddedResourceImageSource(resourceName, assembly)
Also possible duplicate of: https://github.com/luberda-molinet/FFImageLoading/issues/910

@daniel-luberda I did use resource://{resourceName} exactly how it was taught in https://www.youtube.com/watch?v=eVA9C7Ik_AM&t=313s and it didn't work.

Arf, maybe my problem came from here. The ImageCache does not work on my Xamarin forms project using dotnet standard 2.0. I've just had the ImageCache on my ContentPage with an http URL as Source, but it never shows anything, and without error.

Whre exactly in the samples can be found a Xamarin.Forms project (IoS, Droid, UWP), where FFImageLoading is used from a .NetStandard 2.x library ?
Thx for help.

See this: https://github.com/luberda-molinet/FFImageLoading/issues/979


Make feature image in cards link to post detail page

Be sure to use the react router <Link> component

I can do this one up quick for you :)

#37


Mark AdMob as deprecated

Description

Provide details of the change, and generalize the change in the PR title above.

Updates to the header files in admob/src/include/firebase/admob:

mark all methods, classes and functions as deprecated.
link to the upcoming migration guide.  URL is correct but the document isn't public yet.
add FIREBASE_DEPRECATED macro prefix to each method and function.

Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Local integration test runs on iOS and Android
Integration Test CI

Type of Change
Place an x the applicable box:

[ ] Bug fix. Add the issue # below if applicable.
[X] New feature. A non-breaking change which adds functionality.
[ ] Other, such as a build process or documentation change.

Notes
Release notes update will be added when feature/admob_2021 is merged.

Do we want this in the 9.0.0 release, or in the release that contains the new GMA?

Do we want this in the 9.0.0 release, or in the release that contains the new GMA? Also remember to include a readme update.

9.1.0. I'd hate to deprecate an entire SDK without providing the replacement for it.


bandcamp plugin

Linking an album or artist or whatever should show some metatadata. Not sure how able we are to actually pull this off, as I don't know if this is normalized across bandcamp pages.

I contacted bandcamp to see if they would give an api key for this project and they gave this response:

Thanks for your interest. Our APIs are currently limited to Label Accounts (bandcamp.com/labels) looking to pull physical order and general sales information, though that might change down the road. Please keep an eye on bandcamp.com/developer for updates.

So that's a no go on the bandcamp API.

We ran into this for the amazon module as well, and using xray is working well enough there.
I'd have no problem with css-selectoring bandcamp pages until thy have a proper api.
The amazon module's code serves as a good example imo:
https://github.com/euank/EuIrcBot/blob/b44ed0ae2262b8cb855fd48ba0fec8b4f3f9dc4d/modules/amazon/index.js#L32-L34


Short solution needed: "Get expiration time of key in Redis" (php-redis)

Please help us write most modern and shortest code solution for this issue:
Get expiration time of key in Redis (technology: php-redis)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Get expiration time of key in Redis


Sending status "messageSendingStatePending" forewer

I am trying to send pdf file from bot to user. After I use "sendMessage", an updateNewMessage is returned to me, with the messageSendingStatePending status, but it is not sent to the chat. You can wait as long as you like, the status of the message will not change
v: {
_: 'updateNewMessage',
message: {
_: 'message',
id: id,
sender_id: { _: 'messageSenderUser', user_id: user_id},
chat_id: chat_id,
sending_state: { _: 'messageSendingStatePending' },
is_outgoing: true,
is_pinned: false,
can_be_edited: false,
can_be_forwarded: true,
can_be_saved: true,
can_be_deleted_only_for_self: false,
can_be_deleted_for_all_users: true,
can_get_added_reactions: false,
can_get_statistics: false,
can_get_message_thread: false,
can_get_viewers: false,
can_get_media_timestamp_links: false,
can_report_reactions: false,
has_timestamped_media: true,
is_channel_post: false,
is_topic_message: false,
contains_unread_mention: false,
date:<PHONE_NUMBER>,
edit_date: 0,
unread_reactions: [],
reply_in_chat_id: 0,
reply_to_message_id: 0,
message_thread_id: 0,
self_destruct_time: 0,
self_destruct_in: 0,
auto_delete_in: 0,
via_bot_user_id: 0,
author_signature: '',
media_album_id: '0',
restriction_reason: '',
content: { _: 'messageDocument', document: [Object], caption: [Object] }
}
}
Using tdl library for Node.js

Do you handle updateMessageSendFailed?
If yes and the update isn't sent, then Telegram is blocked in your area and you need to use a proxy.
You can check TDLib logs for details.


Feature request: rename PowerShell Core to UltraShell

Summary of the new feature / enhancement
PowerShell Core should be renamed to UltraShell, otherwise it's mistaken with Windows PowerShell. Since this project is not an update of the other (with full retro-compatibility) they shouldn't be called the same. It's a sort of impersonation and I feel is misleading for the non techie user. In fact I know most people is not aware they are different programs.
Proposed technical implementation details (optional)
No response

Since this project is not an update of the other (with full retro-compatibility) they shouldn't be called the same.

MSFT explicitly say that it is next version of PowerShell - Windows PowerShell version is 5 and PowerShell version was 6 and now 7.
Keeping compatibility is main priority.
No doubts PowerShell vNext will replace  Windows PowerShell 5.1 in future.

I've opened several bugs due to script incompatibility between version 5 and 7 (#12446 #12443). Keeping compatibility "priority" is not any guarantee of any kind. It's like python2 and python3.

Those 2 bugs you mention aren't really related to Ansible. #12446 is about a native command not being found on the system with isn't something PowerShell provides you. #12443 is about a custom script that isn't shipped at all by PowerShell but some 3rd party. That's not to say there aren't any incompatibility issues between the 2 versions but that's mostly down to the changes .NET Core (now just .NET) made to make it cross platform.

The names are "PowerShell" and "Windows PowerShell". The executables have different names pwsh  vs PowerShell.
Neither of the examples you quoted are incompatibilities. - both are user errors an .EXE wasn't visible, and a script hadn't been installed (to the right place at least).
Genuine incompatibilities do exist, mostly with modules which require an earlier version of .NET - which has retained its name.

Neither of the examples you quoted are incompatibilities. - both are user errors an .EXE wasn't visible, and a script hadn't been installed (to the right place at least).

Check this one #16731

Pretty sure that depends on being on .NET Framework 4. You need to ask the person whose code you're cutting and pasting if they have a version for .NET 6.

Can't we specify PowerShell to use .NET Framework version 4, or to launch older versions of PowerShell?

Keeping compatibility with PowerShell scripts themselves as much as we can has been a priority, yes. However, you're talking about a .NET Core / .NET application being compatible with .NET Framework 4, which has been out of support for many years now (unless you mean 4.8, which I believe is the only version of 4.x still in support?).
.NET Framework applications and libraries are by and large simply not compatible with newer .NET versions; that's not something PowerShell can do anything about. If you want to run something under Windows PowerShell you can do so, and if you're shipping a module you can specify in the manifest that it only supports specific PowerShell versions or platforms.
If the module manifest does not specify supporting the Core edition of PowerShell, pwsh will typically attempt to load the module in 'windows compatibility mode', where it will actually load the module in Windows PowerShell and communicate between the processes to allow you to use it. This isn't perfect, but it's the closest you'll get without just running Windows PowerShell.

Also the shortcut should be renamed, from PowerShell 7 (x64).lnk to PowerShell Core 7 (x64).lnk. Same for 32 bits version and other architectures.

If I must read documents it means it's not intuitive. Hence I request it's renamed to Ultra or whatever, but not just PowerShell.

I agree with the sentiment that dropping 'Core' from the title has made it confusing to properly distinguish between the two, but calling the project 'UltraShell' is just silly.


[0.10] show tag keys failing with ERR: write message type: use of closed network connection

ii  influxdb                      0.10.0-1            amd64               Distributed time-series database.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.2 LTS
Release:	14.04
Codename:	trusty

influx
Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
Connected to http://localhost:8086 version 0.10.0
InfluxDB shell 0.10.0

use telegraf
Using database telegraf
show tag keys
ERR: write message type: use of closed network connection

the same version of influxdb in my local machine returning proper output.

I tried 0.10 and current master and show tag keys works as expected.


Update ezancestry, works local

I updated ezancestry recently. There is probably still some work to be done here, but figured this is a good start.

Thanks @arvkevi ! I'll merge if the updates look good to you.

LGTM, thanks for the updates on your end to get it merged.


[BUG]: (Installation error) GDAL installed but still error.

Getting this error on using pip install .
Processing c:\users~\desktop\solaris
Complete output from command python setup.py egg_info:
GDAL must be installed to use solaris. See the documentation for more info. We recommend installing GDAL within a conda environment first, then installing solaris there.
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users~1\AppData\Local\Temp\pip-req-build-ul7kltv3\
I have already checked that GDAL is installed. Kindly help.

I got the same issue here when installing in colab. Is there any advice how to handle this problem?


Logged out Iconic Artists Rail update

Trending via most searched will not be available to us for an extended period of time so we'd like to swap it out with most saved artworks and change the name of the rail:

[ ] Change rail name to "Works by Popular Artists"
[ ] Power the rail using the trending API via artists with most follows

Module

Related: https://github.com/artsy/force/issues/292

(Updated description to state that the data should be based on follows instead of saved artworks.)

Should be fixed with https://github.com/artsy/force/issues/297 & https://github.com/artsy/metaphysics/issues/444


ehn:update readme.md to mention the correct node version we should depend on.

Description
Update readme.md, mention the correct node version we should depend on.

One small suggestion, but thanks!

done.


Support urls with underscores

On the Metabase db configuration page, if the host contains underscores, e.g.: clickhouse_app, connection attempt always results in port is missed or wrong. With hosts without underscores, it works like a correctly.
Metabase log:
08-09 07:59:08 DEBUG middleware.log :: PUT /api/database/4 400 10 ms (1 DB calls)
{:valid false, :dbname "port is missed or wrong", :message "port is missed or wrong"}

Driver version: 0.3 https://github.com/enqueue/metabase-clickhouse-driver/releases/download/0.3/clickhouse.metabase-driver.jar
Metabase version: v0.32.10

How to solve this problem ?

the problem seem to come from a bug/strictness in java.net.URI from jdk ...
java.net.URI are used in https://github.com/ClickHouse/clickhouse-jdbc/blob/master/clickhouse-jdbc/src/main/java/ru/yandex/clickhouse/ClickhouseJdbcUrlParser.java#L42 to decode jdbc url...
two bug are in jdk : https://bugs.openjdk.org/browse/JDK-8221675 and https://bugs.openjdk.org/browse/JDK-8019345.
also spring had the same pb... https://github.com/spring-projects/spring-framework/issues/24439
the good solution while be to fix in java.net.URI...
the other solution are to use alternative URI parse in clickhouse jdbc driver...

i'found the message "port is missed or wrong" are throw by old clickhouse-jdbc version....  an update of the clickhouse-jdbc dependancy can change a little the problem...

Should be fixed in the upcoming 0.9.0 release as it will include JDBC driver 0.3.2-patch11 by default.

Should be fixed in 0.9.0


Send email notifications on successful registration, forgot password, successful new order

[x] define email notification for successful registration
[x] define email notification for forgot my password
[x] send email after successful registration
[x] send email after successful  forgot password
[x] send email after successful new order

done.


Booklet simple

simple booklet imposition layout by default. advanced booklet option for 4up.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

93 of 98 (94.9%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.02%) to 69.189%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/pdfcpu/booklet.go
88
93
94.62%

Files with Coverage Reduction
New Missed Lines
%

pkg/pdfcpu/booklet.go
1
79.11%

pkg/pdfcpu/configuration.go
2
33.77%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
32795

Relevant Lines:
47399

💛  - Coveralls


[Revert]"[PDI-19926] Put a file with FTP: An error doesn't occur when we change the local directory permissions."

reverting this commit as it is causing issue related to ftp put as it couldnot recognize path related to vfs

:white_check_mark: Build finished in 10m 58s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
plugins/put-a-file-with-ftp/impl

:ok_hand: All tests passed!
Tests run: 5, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

[PDI-19926] Put a file with FTP: An error doesn't occur when we change the local directory permissions. by Mandakini111 · Pull Request #9078 · pentaho/pentaho-kettle (github.com)


How to set responses just return string

I have one api just return a plain string, I don't want to return all Model.
I don't know how to set response to return a plain string.

Hi @zerox12311 ,
You can add parameter produces in Api Operation.
Example:
@ApiOperationGet({     description: "Get versions objects list",     summary: "Get versions list",     responses: {       200: {         type: SwaggerDefinitionConstant.Response.Type.STRING       }     },     produces: [       SwaggerDefinitionConstant.Produce.JSON,       SwaggerDefinitionConstant.Produce.TEXT_PLAIN     ]   })   @httpGet("/")   public getVersions(     request: express.Request,     response: express.Response,     next: express.NextFunction   ): void {     response.send("My text");   }
I hope this will help you.

Thank you!!!

I close this issue.


Small typo in the sample codes in TypeScript main page.

In the "Starts from JavaScript, Ends with JavaScript" session, there is an example code.

It seems that the IDE already detects the errors: getDst() is invalid. But someone just ignored it and copied such codes to the page....
If we are not demonstrating the "error detection feature" of our IDE, I suggest that we should fix it.
Thanks.

More than a few people have been confused by this over time, it's possible we need to make the purpose of the example clearer.

More than a few people have been confused by this over time, it's possible we need to make the purpose of the example clearer.

"TypeScript points out code errors at compile time so your JavaScript code runs reliably at runtime"


[2.0.1-cherrypick]Fix-6941][API] Fix the failure of querying details of alert group

PR #6942
ISSUE #6941

Codecov Report

:exclamation: No coverage uploaded for pull request base (2.0.1-prepare@36fd0c8). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 97f3f29 differs from pull request most recent head 9aea3a7. Consider uploading reports for the commit 9aea3a7 to get more accurate results

@@               Coverage Diff                @@
##             2.0.1-prepare    #7066   +/-   ##
================================================
  Coverage                 ?   32.63%
  Complexity               ?     1604
================================================
  Files                    ?      433
  Lines                    ?    14482
  Branches                 ?     1437
================================================
  Hits                     ?     4726
  Misses                   ?     9293
  Partials                 ?      463

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 36fd0c8...9aea3a7. Read the comment docs.


Want to Add Glowing Text Animations

Describe the project
The project aims to create a glowing text animation effect using HTML and CSS. The purpose is to add a visually appealing and attention-grabbing animation to a heading on a web page.
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[x] New Project

Additional context
I want to work on this issue. Please assign this issue to me @TusharKesarwani
Screenshots
Like this

I want to work on this issue. Please assign this issue to me


Add performance test

A tool for checking performance with tests description support.
See clickhouse-performance-test --help for additional information.
A test is written in XML and consists of:

a name of a test
how many times it should be processed
tags/names for filtering
preconditions for RAM size, cpu cache and data existing
settings to apply to DBMS before running a test
type of a query: loop or once
stop criterions
metrics for output
substitutions for parametric queries

Main test (all metrics in JSON): https://gist.github.com/luc1ph3r/59aeeddb393e0a2c335f6477a34358dc
Test for mini-output (should be launched with --lite flag): https://gist.github.com/luc1ph3r/cae23cc9765f873c04706cb512bf0761
Test for average speed (default precision isn't big enough to stop. Kill it with SIGINT): https://gist.github.com/luc1ph3r/c019bda5e3dc6f472375cb0292128763
Test for preconditions (flushes CPU cache, checks for RAM size and data existence):
https://gist.github.com/luc1ph3r/619e953b9fca613a60711e0d5f525915

Can one of the admins verify this patch?

After this change ClickHouse programs fail to build when configured with -DUNBUNDLED=ON -DUSE_STATIC_LIBRARIES=OFF because libclickhouse.so is not linked with boost_filesystem.
g++   -D_GLIBCXX_USE_CXX11_ABI=1 -pipe -msse4.1 -msse4.2 -mpopcnt -std=gnu++1z  -fno-omit-frame-pointer -Wall -Wnon-virtual-dtor  -Werror -Os -DNDEBUG  -static-libgcc -static-libstdc++  -D_GLIBCXX_USE_CXX11_ABI=1 @CMakeFiles/iotest.rsp  -o utils/iotest/iotest
dbms/libclickhouse.so.1.1.54233: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
dbms/libclickhouse.so.1.1.54233: undefined reference to `vtable for boost::program_options::error_with_option_name'
dbms/libclickhouse.so.1.1.54233: undefined reference to `boost::program_options::variables_map::variables_map()'
dbms/libclickhouse.so.1.1.54233: undefined reference to `boost::program_options::error_with_option_name::what() const'
dbms/libclickhouse.so.1.1.54233: undefined reference to `typeinfo for boost::program_options::error_with_option_name'
…

https://github.com/orivej/ClickHouse/commit/19200a3e25198e4965261de4c49174d4433e8804 fixes this, but I do not know if it is the right fix.

This happens because add_headers_and_sources(dbms src/Client) in dbms/CMakeLists.txt pulls dbms/src/Client/PerformanceTest.cpp into libclickhouse.so, but does not add link dependency on boost_filesystem. Configuring with -DUSE_STATIC_LIBRARIES=OFF is sufficient to reproduce the issue (i.e. -DUNBUNDLED=ON is not necessary).

Thanks for investigation! Is this Ok? https://github.com/yandex/ClickHouse/commit/0fcb6300a2601edbf98a2b32d170dc48d032472a

Yes, now it's fine.


docs: updated README (build)

Updated the build instructions for compiling OpenSSL. Should be in darwin64-arm64-cc otherwise project will not link correctly on Apple Silicon.
Although it built for me, please feel free to correct me if this is not correct.
Cheers

Thank you for your contribution. Which error do you get without changing anything? Just for documentation

No worries! No basically noticed the program was not linking correctly for the Apple M1 chips. Was also getting a lot of warning on ninja.
Anyway, it was the least I could do to keep this project open source :)

Thanks for the answer. Is the bundle provided by github working on your computer, because there we use the old variant to build openssl?

@JBongars


Manifest for s390x broken

docker pull mongo on s390x now fails with "Failed to pull image "mongo:4.0": rpc error: code = Unknown desc = no image found in manifest list for architecture s390x, OS linux" . To fix this issue I had to pull from s390x/mongo. Did something happen to the s390x manifest listing? I see on the https://hub.docker.com/r/s390x/mongo a warning saying WARNING: THIS IMAGE IS NOT SUPPORTED ON THE s390x ARCHITECTURE. Thanks

@tianon Thanks for pushing the manifest file. Looks like you can close out this issue.


Prefer og:title over the title

This is to prevent Facebook pages from always appearing with "Comments" as a title.

Have you tested this doesn't break other sites? ex: youtube?

A random YouTube video seems to work fine. Any others you want me to check?

merged


Fix clippy:: collapsible_else_if

I don't want to touch ftw or ftw users (ls, rm, ...) right now, as they're under active dev


Sema: Improve diagnostics logic for references to imported decl behind a restrictive import

The use of access-level keywords on imports restrict where these dependencies can be used, e.g. a type imported as internal can only be used in internal or lower decls. This PR centralizes and moves the logic applying these restrictions deeper in the access-scope logic instead of separately tracking the import access-level. Also simplify how we find the import with the restriction to point at it with a note.
This change fixes an edge case with the previous system that forbade the use of of a type from a private import in a fileprivate decl. This should be allowed as the scope of a private import is at the file level, similarly to file private.
There is some unintended changes to diagnostics details. In the case where multiple types referenced by a decl are problematic, we try to diagnose only to the most problematic one. This prioritization order changed in some cases and I plan on investigating it further.

@swift-ci Please smoke test

@swift-ci Please smoke test


Pin statsd-instrument gem to 2.3.X line as 2.5.0 has incompatible changes

What are you trying to accomplish with this PR?
Prevent kubernetes-deploy failures in statsd-instrument
How is this accomplished?
statsd-instrument 2.5.0 introduces API incompatible changes that break our monkey patching. This pins the statsd-instrument.gem to 2.3.X line, which is currently 2.3.5
What could go wrong?
We need to update our monkey-patching as a proper long-term solution, but right now without this patch deploys will fail when they do a bundle update, as they try to emit metrics through a broken API interface.

Without this if i bundle install locally I get 2.5.0 for statsd-instrument, with this i get 2.3.5
I had to read into the twiddle-wakka on rubygems to refresh on how this fuzzy versioning works https://guides.rubygems.org/patterns/

cc @wvanbergen

Stacktrace of sample failure:

Traceback (most recent call last):
--
  | 11: from /usr/bin/kubernetes-deploy:23:in `<main>'
  | 10: from /usr/bin/kubernetes-deploy:23:in `load'
  | 9: from /usr/lib/ruby/gems/2.5.0/gems/kubernetes-deploy-0.27.0/exe/kubernetes-deploy:71:in `<top (required)>'
  | 8: from /usr/lib/ruby/gems/2.5.0/gems/kubernetes-deploy-0.27.0/lib/kubernetes-deploy/options_helper.rb:28:in `with_processed_template_paths'
  | 7: from /usr/lib/ruby/gems/2.5.0/gems/kubernetes-deploy-0.27.0/exe/kubernetes-deploy:83:in `block in <top (required)>'
  | 6: from /usr/lib/ruby/gems/2.5.0/gems/kubernetes-deploy-0.27.0/lib/kubernetes-deploy/deploy_task.rb:140:in `run!'
  | 5: from /usr/lib/ruby/gems/2.5.0/gems/kubernetes-deploy-0.27.0/lib/kubernetes-deploy/statsd.rb:67:in `block in measure_method'
  | 4: from /usr/lib/ruby/gems/2.5.0/gems/kubernetes-deploy-0.27.0/lib/kubernetes-deploy/statsd.rb:37:in `distribution'
  | 3: from /usr/lib/ruby/gems/2.5.0/gems/statsd-instrument-2.5.0/lib/statsd/instrument.rb:462:in `distribution'
  | 2: from /usr/lib/ruby/gems/2.5.0/gems/statsd-instrument-2.5.0/lib/statsd/instrument.rb:373:in `measure'
  | 1: from /usr/lib/ruby/gems/2.5.0/gems/statsd-instrument-2.5.0/lib/statsd/instrument.rb:537:in `collect_metric'
  | /usr/lib/ruby/gems/2.5.0/gems/statsd-instrument-2.5.0/lib/statsd/instrument/backends/udp_backend.rb:110:in `collect_metric': undefined method `<' for nil:NilClass (NoMethodError)


Benchmark against milvus-lite

Add benchmark stats for milvus-lite
following code in https://github.com/1yefuwang1/vectorlite/blob/main/benchmark/benchmark.py

Done by https://github.com/1yefuwang1/vectorlite/pull/28


Add support for Swift Package Manager

Hi.
I developed the support for use this library with Swift Package Manager. I didn't do anything else. Can you merge and generate the tag 2.2.0?
Thanks!

Thank you @RafaelFernandezAlv !
@gontovnik I have checked this and works fine, would it be possible to merge it?


Working (Failing) with Jekyll

I've done a lot of searching and can't seem to find a solution. I am currently using Jekyll for my blog and I can not seem to get Instafeed to render my images. I have tested the same code I have in a plain html page and it renders my images fine, so I have to assume it's failing because of Jekyll. I don't have any other plugins or anything strange working with Jekyll. I'm using a template with Instafeed and in my source code is show's my image tag rendered like this: . If anyone can direct me to a solution, I'd love to find one.

Hi @maxatbrs ,
I´ve used your suggestion about verbatim and Twig and got it working.
Thank You very much.

@armaduarte :100: